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
(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.
(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.
(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().
(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.
(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.
(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.
(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.
(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().
(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.
(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.
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.
(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_'.
(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.
(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 ( ).
(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.
(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.
(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).
(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.
(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'.
(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.
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.
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).
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.
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.
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.
| PNo | PName | Qty | Date_Of_Mfg |
|---|---|---|---|
| P01 | Pencil | 20 | 2020-09-01 |
| P02 | Eraser | 5 | 1990-09-11 |
| P03 | Book | 16 | 2000-04-03 |
| P04 | Notebook | 15 | 2016-12-11 |
| P05 | Color | 10 | 2015-02-04 |
(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;
| PNo | PName | Qty | Date_Of_Mfg |
|---|---|---|---|
| P01 | Pencil | 20 | 2020-09-01 |
| P02 | Eraser | 5 | 1990-09-11 |
| P03 | Book | 16 | 2000-04-03 |
| P04 | Notebook | 15 | 2016-12-11 |
| P05 | Color | 10 | 2015-02-04 |
(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.
| PNo | PName | Qty | Date_Of_Mfg |
|---|---|---|---|
| P01 | Pencil | 20 | 2020-09-01 |
| P02 | Eraser | 5 | 1990-09-11 |
| P03 | Book | 16 | 2000-04-03 |
| P04 | Notebook | 15 | 2016-12-11 |
| P05 | Color | 10 | 2015-02-04 |
(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.
| PNo | PName | Qty | Date_Of_Mfg |
|---|---|---|---|
| P01 | Pencil | 20 | 2020-09-01 |
| P02 | Eraser | 5 | 1990-09-11 |
| P03 | Book | 16 | 2000-04-03 |
| P04 | Notebook | 15 | 2016-12-11 |
| P05 | Color | 10 | 2015-02-04 |
(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.
| PNo | PName | Qty | Date_Of_Mfg |
|---|---|---|---|
| P01 | Pencil | 20 | 2020-09-01 |
| P02 | Eraser | 5 | 1990-09-11 |
| P03 | Book | 16 | 2000-04-03 |
| P04 | Notebook | 15 | 2016-12-11 |
| P05 | Color | 10 | 2015-02-04 |
(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.
| CNO | CNAME | ADDRESS |
|---|---|---|
| 101 | Richa Jain | Delhi |
| 102 | Surbhi Sinha | Chennai |
| 103 | Lisa Thomas | Bangalore |
| 104 | Imran Ali | Delhi |
| 105 | Roshan Singh | Chennai |
| TRNO | CNO | AMOUNT | TYPE | DOT |
|---|---|---|---|---|
| T001 | 101 | 15000 | Credit | 2017-11-23 |
| T002 | 103 | 2000 | Debit | 2017-05-12 |
| T003 | 102 | 3000 | Credit | 2017-06-10 |
| T004 | 103 | 12000 | Credit | 2017-09-12 |
| T005 | 101 | 1000 | Debit | 2017-09-05 |
(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';
| CNO | CNAME | ADDRESS |
|---|---|---|
| 101 | Richa Jain | Delhi |
| 102 | Surbhi Sinha | Chennai |
| 103 | Lisa Thomas | Bangalore |
| 104 | Imran Ali | Delhi |
| 105 | Roshan Singh | Chennai |
| TRNO | CNO | AMOUNT | TYPE | DOT |
|---|---|---|---|---|
| T001 | 101 | 15000 | Credit | 2017-11-23 |
| T002 | 103 | 2000 | Debit | 2017-05-12 |
| T003 | 102 | 3000 | Credit | 2017-06-10 |
| T004 | 103 | 12000 | Credit | 2017-09-12 |
| T005 | 101 | 1000 | Debit | 2017-09-05 |
(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.
| CNO | CNAME | ADDRESS |
|---|---|---|
| 101 | Richa Jain | Delhi |
| 102 | Surbhi Sinha | Chennai |
| 103 | Lisa Thomas | Bangalore |
| 104 | Imran Ali | Delhi |
| 105 | Roshan Singh | Chennai |
| TRNO | CNO | AMOUNT | TYPE | DOT |
|---|---|---|---|---|
| T001 | 101 | 15000 | Credit | 2017-11-23 |
| T002 | 103 | 2000 | Debit | 2017-05-12 |
| T003 | 102 | 3000 | Credit | 2017-06-10 |
| T004 | 103 | 12000 | Credit | 2017-09-12 |
| T005 | 101 | 1000 | Debit | 2017-09-05 |
(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';
| CNO | CNAME | ADDRESS |
|---|---|---|
| 101 | Richa Jain | Delhi |
| 102 | Surbhi Sinha | Chennai |
| 103 | Lisa Thomas | Bangalore |
| 104 | Imran Ali | Delhi |
| 105 | Roshan Singh | Chennai |
| TRNO | CNO | AMOUNT | TYPE | DOT |
|---|---|---|---|---|
| T001 | 101 | 15000 | Credit | 2017-11-23 |
| T002 | 103 | 2000 | Debit | 2017-05-12 |
| T003 | 102 | 3000 | Credit | 2017-06-10 |
| T004 | 103 | 12000 | Credit | 2017-09-12 |
| T005 | 101 | 1000 | Debit | 2017-09-05 |
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.
| CNO | CNAME | ADDRESS |
|---|---|---|
| 101 | Richa Jain | Delhi |
| 102 | Surbhi Sinha | Chennai |
| 103 | Lisa Thomas | Bangalore |
| 104 | Imran Ali | Delhi |
| 105 | Roshan Singh | Chennai |
| TRNO | CNO | AMOUNT | TYPE | DOT |
|---|---|---|---|---|
| T001 | 101 | 15000 | Credit | 2017-11-23 |
| T002 | 103 | 2000 | Debit | 2017-05-12 |
| T003 | 102 | 3000 | Credit | 2017-06-10 |
| T004 | 103 | 12000 | Credit | 2017-09-12 |
| T005 | 101 | 1000 | Debit | 2017-09-05 |
(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.
| ANO | ANAME | ADDRESS |
|---|---|---|
| 101 | Nirja Singh | Bangalore |
| 102 | Rohan Gupta | Chennai |
| 103 | Ali Reza | Hyderabad |
| 104 | Rishabh Jain | Chennai |
| 105 | Simran Kaur | Chandigarh |
| TNO | ANO | AMOUNT | TYPE | DOT |
|---|---|---|---|---|
| T001 | 101 | 2500 | Withdraw | 2017-12-21 |
| T002 | 103 | 3000 | Deposit | 2017-06-01 |
| T003 | 102 | 2000 | Withdraw | 2017-06-12 |
| T004 | 103 | 1000 | Deposit | 2017-10-22 |
| T005 | 101 | 12000 | Deposit | 2017-11-06 |
(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;
| ANO | ANAME | ADDRESS |
|---|---|---|
| 101 | Nirja Singh | Bangalore |
| 102 | Rohan Gupta | Chennai |
| 103 | Ali Reza | Hyderabad |
| 104 | Rishabh Jain | Chennai |
| 105 | Simran Kaur | Chandigarh |
| TNO | ANO | AMOUNT | TYPE | DOT |
|---|---|---|---|---|
| T001 | 101 | 2500 | Withdraw | 2017-12-21 |
| T002 | 103 | 3000 | Deposit | 2017-06-01 |
| T003 | 102 | 2000 | Withdraw | 2017-06-12 |
| T004 | 103 | 1000 | Deposit | 2017-10-22 |
| T005 | 101 | 12000 | Deposit | 2017-11-06 |
(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';
| ANO | ANAME | ADDRESS |
|---|---|---|
| 101 | Nirja Singh | Bangalore |
| 102 | Rohan Gupta | Chennai |
| 103 | Ali Reza | Hyderabad |
| 104 | Rishabh Jain | Chennai |
| 105 | Simran Kaur | Chandigarh |
| TNO | ANO | AMOUNT | TYPE | DOT |
|---|---|---|---|---|
| T001 | 101 | 2500 | Withdraw | 2017-12-21 |
| T002 | 103 | 3000 | Deposit | 2017-06-01 |
| T003 | 102 | 2000 | Withdraw | 2017-06-12 |
| T004 | 103 | 1000 | Deposit | 2017-10-22 |
| T005 | 101 | 12000 | Deposit | 2017-11-06 |
(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.
| ANO | ANAME | ADDRESS |
|---|---|---|
| 101 | Nirja Singh | Bangalore |
| 102 | Rohan Gupta | Chennai |
| 103 | Ali Reza | Hyderabad |
| 104 | Rishabh Jain | Chennai |
| 105 | Simran Kaur | Chandigarh |
| TNO | ANO | AMOUNT | TYPE | DOT |
|---|---|---|---|---|
| T001 | 101 | 2500 | Withdraw | 2017-12-21 |
| T002 | 103 | 3000 | Deposit | 2017-06-01 |
| T003 | 102 | 2000 | Withdraw | 2017-06-12 |
| T004 | 103 | 1000 | Deposit | 2017-10-22 |
| T005 | 101 | 12000 | Deposit | 2017-11-06 |
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.
| ANO | ANAME | ADDRESS |
|---|---|---|
| 101 | Nirja Singh | Bangalore |
| 102 | Rohan Gupta | Chennai |
| 103 | Ali Reza | Hyderabad |
| 104 | Rishabh Jain | Chennai |
| 105 | Simran Kaur | Chandigarh |
| TNO | ANO | AMOUNT | TYPE | DOT |
|---|---|---|---|---|
| T001 | 101 | 2500 | Withdraw | 2017-12-21 |
| T002 | 103 | 3000 | Deposit | 2017-06-01 |
| T003 | 102 | 2000 | Withdraw | 2017-06-12 |
| T004 | 103 | 1000 | Deposit | 2017-10-22 |
| T005 | 101 | 12000 | Deposit | 2017-11-06 |
(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.
Free study material for Computer Science
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
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.
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.
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.
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.
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.