MCQOPTIONS
Saved Bookmarks
This section includes 155 Mcqs, each offering curated multiple-choice questions to sharpen your Technical Programming knowledge and support exam preparation. Choose a topic below to get started.
| 151. |
The ____ connective tests for set membership, where the set is a collection of values produced by a select clause. The ____ connective tests for the absence of set membership. |
| A. | Or, in |
| B. | Not in, in |
| C. | In, not in |
| D. | In, or |
| Answer» D. In, or | |
| 152. |
Select count (____ ID)from teacheswhere semester = ’Spring’ and year = 2010;If we do want to eliminate duplicates, we use the keyword ______in the aggregate expression. |
| A. | Distinct |
| B. | Count |
| C. | Avg |
| D. | Primary key |
| Answer» B. Count | |
| 153. |
A command to remove a relation from an SQL database |
| A. | Delete table table name |
| B. | Drop table table name |
| C. | Erase table table name |
| D. | Alter table table name |
| Answer» C. Erase table table name | |
| 154. |
A Boolean data type that can take values true, false, and________ . |
| A. | 1 |
| B. | 0 |
| C. | Null |
| D. | Unknown |
| Answer» E. | |
| 155. |
Which SQL Query is use to remove a table and all its data from the database? |
| A. | Create Table |
| B. | Alter Table |
| C. | Drop Table |
| D. | None of these |
| Answer» D. None of these | |