0% found this document useful (0 votes)
11 views1 page

CHPT 15

The document contains a series of multiple-choice questions related to SQL commands and data manipulation. It covers topics such as SQL command definitions, table population, data retrieval methods, and SQL clauses. Additionally, it includes questions on aggregate functions and Python commands for runtime data input.

Uploaded by

msharur4
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views1 page

CHPT 15

The document contains a series of multiple-choice questions related to SQL commands and data manipulation. It covers topics such as SQL command definitions, table population, data retrieval methods, and SQL clauses. Additionally, it includes questions on aggregate functions and Python commands for runtime data input.

Uploaded by

msharur4
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

XII STANDARD COMPUTER SCIENCE

Data Manipulation through SQL

1. Which is the object used to perform all SQL commands?


(a) Table (b)Cursor
(c) field (d) record

2. How do you define a SQL command?

(a)single quoted string (b) double quoted string


(c)triple quoted string (d) string

3. Which is the command used to populate a table?


(a) INSERT (b) NULL
(c) ADD (d) DROP

4. Which method uses the SQL command to get all the data from the table?
(a) Get (b) select
(c) execute (d) Query

5. Which command is used to retrieve a single record of a query?


(a) Fetch() (b) fetchall()
(b) Fetchone() (d) fetchmany()

6. Which clause avoids duplicate entries present in a table?


(a)where (b) distinct
(c) Groupby (d) Having

7. Identify which is not a SQL clause.


(a) GROUP BY (b)ORDER BY
(c) HAVING (d) CONDITION

8. Which SQL clause helps to filter the data based on condition?


(a) HAVING (b) WHERE
(c)NOT (d) AND

9. Identify which is not a aggregate function?


(a) COUNT() (b) RESULT()
(c)MAX() (d) SUM()

10. Which command in python accepts data during run time?


(a) input() (b) accept()
(c) get()s (d)gets()

You might also like