CBSE Class 12 Computer Science Structured Query Language MCQs Set 02

Multiple Choice Questions (MCQs) for Class 12 Computer Science: Structured Query Language

Access targeted multiple-choice questions for Structured Query Language designed to align with the latest CBSE academic syllabus for Class 12 Computer Science. These objective practice sets help students evaluate their conceptual understanding and improve exam readiness.

Practice Structured Query Language MCQs for Class 12 Computer Science

Access the complete set of multiple-choice questions for Structured Query Language below. This focused format allows students to isolate specific topics for thorough review and uninterrupted practice alongside official CBSE textbooks.

Multiple Choice Questions

Question 1: …… provides statements for creation and deletion of the database tables, views.
(a) DDL
(b) DCL
(c) DML
(d) TCL
Show Answer & Explanation

Answer: (a) DDL

Explanation:

  • DDL stands for Data Definition Language.
  • It has CREATE, ALTER and DROP for tables and views.
  • So the answer is (a) DDL.
Question 2: Which of the following is/are advantage(s) of SQL?
(a) High speed
(b) Client/server language
(c) Easy to learn
(d) All of the options
Show Answer & Explanation

Answer: (d) All of the options

Explanation:

  • SQL is fast, works in client/server systems and is easy to learn.
  • All the three given points are advantages.
  • So the answer is (d) All of the options.
Question 3: Which aggregate function returns the count of all rows in a specified table?
(a) SUM()
(b) DISTINCT()
(c) COUNT()
(d) None of the options
Show Answer & Explanation

Answer: (c) COUNT()

Explanation:

  • COUNT() is the aggregate function that counts rows.
  • COUNT(*) gives the number of rows in the table.
  • So the answer is (c) COUNT().
Question 4: The 'SET' clause is used along with ………….. command.
(a) DELETE
(b) DESCRIBE
(c) CREATE
(d) UPDATE
Show Answer & Explanation

Answer: (d) UPDATE

Explanation:

  • The SET clause gives new values to columns.
  • It is written as UPDATE table SET column = value.
  • So the answer is (d) UPDATE.
Question 5: The ………….. operator is used for pattern matching.
(a) BETWEEN
(b) LIKE
(c) IN
(d) LOOKSLIKE
Show Answer & Explanation

Answer: (b) LIKE

Explanation:

  • LIKE matches a pattern in a column.
  • It uses % for any characters and _ for one character.
  • So the answer is (b) LIKE.
Question 6: Which clause is similar to 'HAVING' clause in MySQL?
(a) SELECT
(b) WHERE
(c) FROM
(d) None of the mentioned
Show Answer & Explanation

Answer: (b) WHERE

Explanation:

  • HAVING filters rows after grouping.
  • WHERE also filters rows, but before grouping.
  • So the answer is (b) WHERE.
Question 7: ……… is a simple SQL join condition that uses equal sign as a comparison operator.
(a) Equi join
(b) Non-equi join
(c) Both (a) and (b)
(d) None of the options
Show Answer & Explanation

Answer: (a) Equi join

Explanation:

  • A join with the equal sign (=) in its condition is an equi join.
  • A non-equi join uses other signs like < or >.
  • So the answer is (a) Equi join.
Question 8: Which of the following is not an aggregate function?
(a) AVG()
(b) ADD()
(c) MAX()
(d) COUNT()
Show Answer & Explanation

Answer: (b) ADD()

Explanation:

  • AVG(), MAX() and COUNT() are aggregate functions.
  • There is no aggregate function called ADD().
  • So the answer is (b) ADD().
Question 9: In which function, NULL values are excluded from the result returned?
(a) SUM()
(b) MAX()
(c) MIN()
(d) All of the options
Show Answer & Explanation

Answer: (d) All of the options

Explanation:

  • SUM, MAX and MIN all ignore NULL values.
  • So all of them leave out NULLs from the result.
  • So the answer is (d) All of the options.
Question 10: Which of the following join selects all rows from both the tables as long as the condition satisfies?
(a) Inner Join
(b) Left Join
(c) Right Join
(d) Natural Join
Show Answer & Explanation

Answer: (a) Inner Join

Explanation:

  • An inner join keeps rows from both tables where the join condition is true.
  • Left and right joins also keep unmatched rows of one table.
  • So the answer is (a) Inner Join.
Question 11: Consider the following statement:
SELECT emp_no, name FROM employee ________ desig
Which of the following option will be used to display the employee number and names of similar designations together?
(a) FIELD()
(b) GROUP BY
(c) ORDER BY
(d) Both b and c
Show Answer & Explanation

Answer: (b) GROUP BY

Explanation:

  • GROUP BY puts rows with the same value of a column together.
  • Here the rows with the same desig are grouped.
  • So the answer is (b) GROUP BY.
Question 12: Which of the following statements is appropriate to display roll Number and names of all students that belongs to any section of class 11?
(a) SELECT roll_no, name FROM student WHERE class LIKE ‘11’
(b) SELECT roll_no, name FROM student WHERE class LIKE ‘11%’
(c) SELECT roll_no, name FROM student WHERE class LIKE ‘11_’
(d) SELECT roll_no, name FROM student WHERE class NOT LIKE ‘11’
Show Answer & Explanation

Answer: (c) SELECT roll_no, name FROM student WHERE class LIKE ‘11_’

Explanation:

  • Section names like 11A, 11B have one more character after 11.
  • In LIKE, _ stands for exactly one character, so '11_' fits them.
  • So the answer is (c) SELECT roll_no, name FROM student WHERE class LIKE '11_'.
Question 13: The MAX () function finds the
(a) Maximum number of records entered in a table
(b) Maximum number of rows allowed to be entered
(c) Maximum value of the selected column
(d) None of the options
Show Answer & Explanation

Answer: (c) Maximum value of the selected column

Explanation:

  • MAX() is an aggregate function.
  • It returns the largest value in the selected column.
  • So the answer is (c) Maximum value of the selected column.
Question 14: Which SQL function returns the sum of values of a column of numeric type?
(a) TOTAL ( )
(b) ADD ( )
(c) SUM ( )
(d) All of the options
Show Answer & Explanation

Answer: (c) SUM ( )

Explanation:

  • SUM() adds up all values of a numeric column.
  • TOTAL() and ADD() are not SQL functions.
  • So the answer is (c) SUM ( ).
Question 15: Which operator is used to compare a value to a specified list of values?
(a) ANY
(b) BETWEEN
(c) ALL
(d) IN
Show Answer & Explanation

Answer: (d) IN

Explanation:

  • IN checks whether a value matches any value in a list.
  • Example: WHERE city IN ('Delhi', 'Agra').
  • So the answer is (d) IN.
Question 16: Which of the following join gives the intersection of two tables?
(a) Outer join
(b) Inner join
(c) Equi join
(d) None of the options
Show Answer & Explanation

Answer: (b) Inner join

Explanation:

  • An inner join gives only the rows that match in both tables.
  • That common part is the intersection of the two tables.
  • So the answer is (b) Inner join.
Question 17: Which of the following function count all the values except NULL?
(a) COUNT(*)
(b) COUNT(column_name)
(c) COUNT(NOT NULL)
(d) COUNT(NULL)
Show Answer & Explanation

Answer: (b) COUNT(column_name)

Explanation:

  • COUNT(*) counts all rows, even rows with NULL values.
  • COUNT(column_name) counts only the values that are not NULL.
  • So the answer is (b) COUNT(column_name).
Question 18: Which keyword can be used to return only different values in a particular column or a whole table?
(a) WHERE
(b) DISTINCT
(c) ALL
(d) BETWEEN
Show Answer & Explanation

Answer: (b) DISTINCT

Explanation:

  • DISTINCT removes repeated values from the result.
  • So only different values are shown.
  • So the answer is (b) DISTINCT.
Question 19: Which of the following statements is appropriate to display item names and rates of the products having their names ending with ‘soap’?
(a) SELECT item_name, rate FROM product WHERE item_name LIKE ‘%soap’
(b) SELECT item_name, rate FROM product WHERE item_name LIKE ‘soap%’
(c) SELECT item_name, rate FROM product WHERE item_name LIKE ‘_soap’
(d) SELECT item_name, rate FROM product WHERE item_name LIKE ‘soap_’
Show Answer & Explanation

Answer: (a) SELECT item_name, rate FROM product WHERE item_name LIKE ‘%soap’

Explanation:

  • Names ending with 'soap' need % before the word.
  • % stands for any number of characters, so '%soap' fits.
  • So the answer is (a) ... LIKE '%soap'.
Question 20: Which of the following aggregate functions ignore NULL values?
(a) COUNT
(b) MAX
(c) AVERAGE
(d) All of the options
Show Answer & Explanation

Answer: (d) All of the options

Explanation:

  • Aggregate functions skip NULL values in a column.
  • This is true for MAX and the other column-wise functions given.
  • So the answer is (d) All of the options.
Question 21: Assertion (A): ORDER BY clause is used to sort the records.
Reason (R): For sorting, the keywords ASC and DESC are used.
(a) Both A and R are true and R is the correct explanation for A.
(b) Both A and R are true and R is not the correct explanation for A.
(c) A is true but R is false.
(d) A is false but R is true.
Show Answer & Explanation

Answer: (a) Both A and R are true and R is the correct explanation for A.

Explanation:

  • ORDER BY sorts the records of a result.
  • ASC and DESC give the direction of sorting, so R explains A.
  • So the answer is (a) Both A and R are true and R is the correct explanation for A.
Question 22: Assertion (A): MAX and MIN are aggregate functions
Reason (R): These can work on multiple rows.
(a) Both A and R are true and R is the correct explanation for A.
(b) Both A and R are true and R is not the correct explanation for A.
(c) A is true but R is false.
(d) A is false but R is true.
Show Answer & Explanation

Answer: (a) Both A and R are true and R is the correct explanation for A.

Explanation:

  • MAX and MIN are aggregate functions, so A is true.
  • They work on a group of rows and return one value, so R is true.
  • R explains why they are aggregate functions.
  • So the answer is (a).
Question 23: Assertion (A): The FIELD function is used by ORDER BY clause.
Reason (R): The FIELD function consider only distinct values of argument expression.
(a) Both A and R are true and R is the correct explanation for A.
(b) Both A and R are true and R is not the correct explanation for A.
(c) A is true but R is false.
(d) A is false but R is true.
Show Answer & Explanation

Answer: (c) A is true but R is false.

Explanation:

  • FIELD() is a function used inside ORDER BY, so A is true.
  • FIELD() returns the position of a value in a list; it does not pick distinct values.
  • So R is false.
  • So the answer is (c) A is true but R is false.
Question 24: Assertion (A): FLOAT and DOUBLE are data types
Reason (R): Both can hold any number upto 23 digits.
(a) Both A and R are true and R is the correct explanation for A.
(b) Both A and R are true and R is not the correct explanation for A.
(c) A is true but R is false.
(d) A is false but R is true.
Show Answer & Explanation

Answer: (c) A is true but R is false.

Explanation:

  • FLOAT and DOUBLE are numeric data types, so A is true.
  • FLOAT holds about 23 digits of precision and DOUBLE holds more, so R is false.
  • So the answer is (c) A is true but R is false.
Question 25: Assertion (A): The PRIMARY KEY constraint is given with column.
Reason (R): NULL values are not allowed to be entered using the NOT NULL constraint.
(a) Both A and R are true and R is the correct explanation for A.
(b) Both A and R are true and R is not the correct explanation for A.
(c) A is true but R is false.
(d) A is false but R is true.
Show Answer & Explanation

Answer: (b) Both A and R are true and R is not the correct explanation for A.

Explanation:

  • A PRIMARY KEY constraint is given on a column, so A is true.
  • NOT NULL does not allow NULL values, so R is true.
  • But R does not explain A.
  • So the answer is (b) Both A and R are true and R is not the correct explanation for A.
Question 26: Ronita stores product data in the table Product:
PNoPNameQtyDate_Of_Mfg
P01Pencil202020-09-01
P02Eraser51990-09-11
P03Book162000-04-03
P04Notebook152016-12-11
P05Color102015-02-04
A command that displays the details of all the products will be
(a) SELECT * FROM Product;
(b) SHOW * FROM Product;
(c) DISPLAY * FROM Product;
(d) SELECT ALL details FROM Product;
Show Answer & Explanation

Answer: (a) SELECT * FROM Product;

Explanation:

  • SELECT * shows all columns of the table.
  • With no WHERE clause, all rows come.
  • So the answer is (a) SELECT * FROM Product;
Question 27: Ronita stores product data in the table Product:
PNoPNameQtyDate_Of_Mfg
P01Pencil202020-09-01
P02Eraser51990-09-11
P03Book162000-04-03
P04Notebook152016-12-11
P05Color102015-02-04
The default date format in which date has to be stored in MySQL is
(a) DD-MM-YYYY
(b) DD-YY-MM
(c) MM-YY-DD
(d) YYYY-MM-DD
Show Answer & Explanation

Answer: (d) YYYY-MM-DD

Explanation:

  • MySQL keeps a date as year, month and day.
  • So the default format is YYYY-MM-DD, like 2020-09-01.
  • So the answer is (d) YYYY-MM-DD.
Question 28: Ronita stores product data in the table Product:
PNoPNameQtyDate_Of_Mfg
P01Pencil202020-09-01
P02Eraser51990-09-11
P03Book162000-04-03
P04Notebook152016-12-11
P05Color102015-02-04
Which command she can use to add a new column to the table?
(a) INSERT
(b) UPDATE
(c) ADD COLUMN
(d) ALTER
Show Answer & Explanation

Answer: (d) ALTER

Explanation:

  • ALTER TABLE changes the structure of a table.
  • With ADD it adds a new column.
  • So the answer is (d) ALTER.
Question 29: Ronita stores product data in the table Product:
PNoPNameQtyDate_Of_Mfg
P01Pencil202020-09-01
P02Eraser51990-09-11
P03Book162000-04-03
P04Notebook152016-12-11
P05Color102015-02-04
Suggest her a proper data type for the 'PName' column.
(a) Varchar
(b) Double
(c) Float
(d) Integer
Show Answer & Explanation

Answer: (a) Varchar

Explanation:

  • PName stores names like Pencil and Book, which are text.
  • Varchar is the data type for text.
  • So the answer is (a) Varchar.
Question 30: Ronita stores product data in the table Product:
PNoPNameQtyDate_Of_Mfg
P01Pencil202020-09-01
P02Eraser51990-09-11
P03Book162000-04-03
P04Notebook152016-12-11
P05Color102015-02-04
She is confused whether she has to use the 'COLUMN' clause with the ALTER TABLE command to add a column to the table. What should she do ?
(a) COLUMN clause is must.
(b) COLUMN clause is optional.
(c) COLUMN clause is must for adding integer columns only.
(d) None of the options
Show Answer & Explanation

Answer: (b) COLUMN clause is optional.

Explanation:

  • In MySQL, ALTER TABLE ... ADD works with or without the word COLUMN.
  • So the COLUMN word is optional.
  • So the answer is (b) COLUMN clause is optional.
Question 31: Tables CUSTOMER and TRANSACTION:
CNOCNAMEADDRESS
101Richa JainDelhi
102Surbhi SinhaChennai
103Lisa ThomasBangalore
104Imran AliDelhi
105Roshan SinghChennai
TRNOCNOAMOUNTTYPEDOT
T00110115000Credit2017-11-23
T0021032000Debit2017-05-12
T0031023000Credit2017-06-10
T00410312000Credit2017-09-12
T0051011000Debit2017-09-05
To display details of all Transactions of TYPE Credit from table TRANSACTION.
(a) SELECT * FROM TRANSACTION WHERE Type = 'Credit';
(b) SELECT AMOUNT FROM TRANSACTION WHERE Type = 'Credit';
(c) SELECT Type FROM TRANSACTION WHERE Type = 'Credit';
(d) None of the options
Show Answer & Explanation

Answer: (a) SELECT * FROM TRANSACTION WHERE Type = 'Credit';

Explanation:

  • We need all details, so we use SELECT *.
  • The condition Type = 'Credit' picks the credit rows.
  • So the answer is (a) SELECT * FROM TRANSACTION WHERE Type = 'Credit';
Question 32: Tables CUSTOMER and TRANSACTION:
CNOCNAMEADDRESS
101Richa JainDelhi
102Surbhi SinhaChennai
103Lisa ThomasBangalore
104Imran AliDelhi
105Roshan SinghChennai
TRNOCNOAMOUNTTYPEDOT
T00110115000Credit2017-11-23
T0021032000Debit2017-05-12
T0031023000Credit2017-06-10
T00410312000Credit2017-09-12
T0051011000Debit2017-09-05
Identify the primary key of table TRANSACTION.
(a) TRNO
(b) CNO
(c) TYPE
(d) DOT
Show Answer & Explanation

Answer: (a) TRNO

Explanation:

  • A primary key has a different value in every row and is never NULL.
  • TRNO (T001 to T005) is different in every row.
  • CNO repeats (101, 103), so it cannot be the key.
  • So the answer is (a) TRNO.
Question 33: Tables CUSTOMER and TRANSACTION:
CNOCNAMEADDRESS
101Richa JainDelhi
102Surbhi SinhaChennai
103Lisa ThomasBangalore
104Imran AliDelhi
105Roshan SinghChennai
TRNOCNOAMOUNTTYPEDOT
T00110115000Credit2017-11-23
T0021032000Debit2017-05-12
T0031023000Credit2017-06-10
T00410312000Credit2017-09-12
T0051011000Debit2017-09-05
To display the last date of transmission (DOT) from the table Transaction for the customer having CNO as 103.
(a) SELECT MAX(), DOT FROM TRANSACTION WHERE CNO = '103';
(b) SELECT MAX (DOT) FROM TRANSACTION WHERE CNO = '103';
(c) SELECT MIN (DOT) FROM TRANSACTION WHERE CNO = '103';
(d) None of the options
Show Answer & Explanation

Answer: (b) SELECT MAX (DOT) FROM TRANSACTION WHERE CNO = '103';

Explanation:

  • The last date is the latest date.
  • MAX(DOT) gives the latest date; CNO = '103' picks the customer.
  • So the answer is (b) SELECT MAX (DOT) FROM TRANSACTION WHERE CNO = '103';
Question 34: Tables CUSTOMER and TRANSACTION:
CNOCNAMEADDRESS
101Richa JainDelhi
102Surbhi SinhaChennai
103Lisa ThomasBangalore
104Imran AliDelhi
105Roshan SinghChennai
TRNOCNOAMOUNTTYPEDOT
T00110115000Credit2017-11-23
T0021032000Debit2017-05-12
T0031023000Credit2017-06-10
T00410312000Credit2017-09-12
T0051011000Debit2017-09-05
Find the output of
SELECT COUNT (*), AVG (AMOUNT) FROM TRANSACTION WHERE DOT>='2017-06-01';
(a) Count (*) = 4, AVG (AMOUNT) = 3900
(b) Count (*) = 5, AVG (AMOUNT) = 4875
(c) Count (*) = 4, AVG (AMOUNT) = 4375
(d) None of these
Show Answer & Explanation

Answer: (d) None of these

Explanation:

  • Rows with DOT on or after 2017-06-01 are T001, T003, T004 and T005.
  • Count = 4 and amounts are 15000, 3000, 12000, 1000.
  • Sum = 31000, so average = 31000 / 4 = 7750.
  • This is not in options (a) to (c), so the answer is (d) None of these.
Question 35: Tables CUSTOMER and TRANSACTION:
CNOCNAMEADDRESS
101Richa JainDelhi
102Surbhi SinhaChennai
103Lisa ThomasBangalore
104Imran AliDelhi
105Roshan SinghChennai
TRNOCNOAMOUNTTYPEDOT
T00110115000Credit2017-11-23
T0021032000Debit2017-05-12
T0031023000Credit2017-06-10
T00410312000Credit2017-09-12
T0051011000Debit2017-09-05
Identify the foreign key of table TRANSACTION.
(a) TRNO
(b) CNO
(c) TYPE
(d) DOT
Show Answer & Explanation

Answer: (b) CNO

Explanation:

  • A foreign key links a table to the primary key of another table.
  • CNO in TRANSACTION is the primary key of CUSTOMER.
  • So the answer is (b) CNO.
Question 36: Tables ACCOUNT and TRANSACT:
ANOANAMEADDRESS
101Nirja SinghBangalore
102Rohan GuptaChennai
103Ali RezaHyderabad
104Rishabh JainChennai
105Simran KaurChandigarh
TNOANOAMOUNTTYPEDOT
T0011012500Withdraw2017-12-21
T0021033000Deposit2017-06-01
T0031022000Withdraw2017-06-12
T0041031000Deposit2017-10-22
T00510112000Deposit2017-11-06
To display the all dates of transaction (DOT) from the table TRANSACT for the Accounts having ANO as 103.
(a) SELECT DOT FROM TRANSACT WHERE ANO = 102;
(b) SELECT DOT FROM TRANSACT WHERE ANO = 103;
(c) SELECT DOT FROM TRANSACT WHERE ANO LIKE 103;
(d) None of the options
Show Answer & Explanation

Answer: (b) SELECT DOT FROM TRANSACT WHERE ANO = 103;

Explanation:

  • ANO = 103 picks the account.
  • DOT is the column to display.
  • So the answer is (b) SELECT DOT FROM TRANSACT WHERE ANO = 103;
Question 37: Tables ACCOUNT and TRANSACT:
ANOANAMEADDRESS
101Nirja SinghBangalore
102Rohan GuptaChennai
103Ali RezaHyderabad
104Rishabh JainChennai
105Simran KaurChandigarh
TNOANOAMOUNTTYPEDOT
T0011012500Withdraw2017-12-21
T0021033000Deposit2017-06-01
T0031022000Withdraw2017-06-12
T0041031000Deposit2017-10-22
T00510112000Deposit2017-11-06
To display details of all transactions of TYPE Deposit from Table TRANSACT
(a) SELECT * FROM TRANSACT WHERE TYPE = 'Deposit';
(b) SELECT TYPE FROM TRANSACT WHERE Type = 'Deposit';
(c) SELECT * FROM TRANSACT WHERE TYPE = 'withdraw';
(d) None of the options
Show Answer & Explanation

Answer: (a) SELECT * FROM TRANSACT WHERE TYPE = 'Deposit';

Explanation:

  • We need all details, so we use SELECT *.
  • The condition TYPE = 'Deposit' picks the deposit rows.
  • So the answer is (a) SELECT * FROM TRANSACT WHERE TYPE = 'Deposit';
Question 38: Tables ACCOUNT and TRANSACT:
ANOANAMEADDRESS
101Nirja SinghBangalore
102Rohan GuptaChennai
103Ali RezaHyderabad
104Rishabh JainChennai
105Simran KaurChandigarh
TNOANOAMOUNTTYPEDOT
T0011012500Withdraw2017-12-21
T0021033000Deposit2017-06-01
T0031022000Withdraw2017-06-12
T0041031000Deposit2017-10-22
T00510112000Deposit2017-11-06
Identify the primary key of table TRANSACT.
(a) TNO
(b) ANO
(c) TYPE
(d) DOT
Show Answer & Explanation

Answer: (a) TNO

Explanation:

  • The primary key must be different in every row.
  • TNO (T001 to T005) is different in every row, but ANO repeats.
  • So the answer is (a) TNO.
Question 39: Tables ACCOUNT and TRANSACT:
ANOANAMEADDRESS
101Nirja SinghBangalore
102Rohan GuptaChennai
103Ali RezaHyderabad
104Rishabh JainChennai
105Simran KaurChandigarh
TNOANOAMOUNTTYPEDOT
T0011012500Withdraw2017-12-21
T0021033000Deposit2017-06-01
T0031022000Withdraw2017-06-12
T0041031000Deposit2017-10-22
T00510112000Deposit2017-11-06
Find the output of
SELECT COUNT (*), SUM (AMOUNT) FROM TRANSACT WHERE DOT<='2017-06-12';
(a) Count (*) = 2, SUM (AMOUNT) = 3000
(b) Count (*) = 2, SUM (AMOUNT) = 2000
(c) Count (*) = 2, SUM (AMOUNT) = 5000
(d) None of these
Show Answer & Explanation

Answer: (c) Count (*) = 2, SUM (AMOUNT) = 5000

Explanation:

  • Rows with DOT on or before 2017-06-12 are T002 (2017-06-01) and T003 (2017-06-12).
  • Count = 2.
  • Sum = 3000 + 2000 = 5000.
  • So the answer is (c) Count 2, SUM 5000.
Question 40: Tables ACCOUNT and TRANSACT:
ANOANAMEADDRESS
101Nirja SinghBangalore
102Rohan GuptaChennai
103Ali RezaHyderabad
104Rishabh JainChennai
105Simran KaurChandigarh
TNOANOAMOUNTTYPEDOT
T0011012500Withdraw2017-12-21
T0021033000Deposit2017-06-01
T0031022000Withdraw2017-06-12
T0041031000Deposit2017-10-22
T00510112000Deposit2017-11-06
Identify the foreign key of table TRANSACT.
(a) TNO
(b) ANO
(c) TYPE
(d) DOT
Show Answer & Explanation

Answer: (b) ANO

Explanation:

  • A foreign key refers to the primary key of another table.
  • ANO in TRANSACT is the primary key of ACCOUNT.
  • So the answer is (b) ANO.

Practice MCQs for Class 12 Computer Science Structured Query Language

Class 12 Computer Science Structured Query Language Objective Test Questions

Explore reliable practice questions for Structured Query Language tailored for Class 12 Computer Science learners. Use these multiple-choice formats to evaluate preparedness and strengthen problem-solving skills.

NCERT-Aligned Objective Questions and Solutions

Built using the official NCERT book for Class 12, these Computer Science objective sets provide reliable academic guidance. Pair your practice with our recommended NCERT solutions to master optimal problem-solving approaches.

Next Steps in Your Exam Preparation

Wrap up your chapter revision by testing your knowledge against standard question formats. Everything on our platform is provided free of charge.

FAQs

Where can I access latest CBSE Class 12 Computer Science Structured Query Language MCQs Set 02?

You can get most exhaustive CBSE Class 12 Computer Science Structured Query Language MCQs Set 02 for free on StudiesToday.com. These MCQs for Class 12 Computer Science are updated for the 2026-27 academic session as per CBSE examination standards.

Are Assertion-Reasoning and Case-Study MCQs included in the Computer Science Class 12 material?

Yes, our CBSE Class 12 Computer Science Structured Query Language MCQs Set 02 include the latest type of questions, such as Assertion-Reasoning and Case-based MCQs. 50% of the CBSE paper is now competency-based.

How do practicing Computer Science MCQs help in scoring full marks in Class 12 exams?

By solving our CBSE Class 12 Computer Science Structured Query Language MCQs Set 02, Class 12 students can improve their accuracy and speed which is important as objective questions provide a chance to secure 100% marks in the Computer Science.

Do you provide answers and explanations for CBSE Class 12 Computer Science Structured Query Language MCQs Set 02?

Yes, Computer Science MCQs for Class 12 have answer key and brief explanations to help students understand logic behind the correct option as its important for 2026 competency-focused CBSE exams.

Can I practice these Computer Science Class 12 MCQs online?

Yes, you can also access online interactive tests for CBSE Class 12 Computer Science Structured Query Language MCQs Set 02 on StudiesToday.com as they provide instant answers and score to help you track your progress in Computer Science.