CuriousTab
Search
CuriousTab
Home
Aptitude
Computer
C Programming
C# Programming
C++ Programming
Database
Java Programming
Networking
Engineering
Biochemical Engineering
Biochemistry
Biotechnology
Chemical Engineering
Civil Engineering
Computer Science
Digital Electronics
Electrical Engineering
Electronics
Electronics and Communication Engineering
Mechanical Engineering
Microbiology
Technical Drawing
GK
Current Affairs
General Knowledge
Reasoning
Data Interpretation
Logical Reasoning
Non Verbal Reasoning
Verbal Ability
Verbal Reasoning
Exams
AIEEE
Bank Exams
CAT
GATE
IIT JEE
TOEFL
Jobs
Analyst
Bank PO
Database Administrator
IT Trainer
Network Engineer
Project Manager
Software Architect
Discussion
Home
‣
Database
‣
Introduction to SQL
Comments
Question
A subquery in an SQL SELECT statement is enclosed in:
Options
A. braces -- {...}.
B. CAPITAL LETTERS.
C. parenthesis -- (...) .
D. brackets -- [...].
Correct Answer
parenthesis -- (...) .
Introduction to SQL problems
Search Results
1. SQL query and modification commands make up a(n) ________ .
Options
A. DDL
B. DML
C. HTML
D. XML
Show Answer
Scratch Pad
Discuss
Correct Answer: DML
2. To define what columns should be displayed in an SQL SELECT statement:
Options
A. use FROM to name the source table(s) and list the columns to be shown after SELECT.
B. use USING to name the source table(s) and list the columns to be shown after SELECT.
C. use SELECT to name the source table(s) and list the columns to be shown after USING.
D. use USING to name the source table(s) and list the columns to be shown after WHERE.
Show Answer
Scratch Pad
Discuss
Correct Answer: use FROM to name the source table(s) and list the columns to be shown after SELECT.
3. A subquery in an SQL SELECT statement:
Options
A. can only be used with two tables.
B. can always be duplicated by a join.
C. has a distinct form that cannot be duplicated by a join.
D. cannot have its results sorted using ORDER BY.
Show Answer
Scratch Pad
Discuss
Correct Answer: has a distinct form that cannot be duplicated by a join.
4. The command to eliminate a table from a database is:
Options
A. REMOVE TABLE CUSTOMER;
B. DROP TABLE CUSTOMER;
C. DELETE TABLE CUSTOMER;
D. UPDATE TABLE CUSTOMER;
Show Answer
Scratch Pad
Discuss
Correct Answer: DROP TABLE CUSTOMER;
5. In an SQL SELECT statement querying a single table, according to the SQL-92 standard the asterisk (*) means that:
Options
A. all columns of the table are to be returned.
B. all records meeting the full criteria are to be returned.
C. all records with even partial criteria met are to be returned.
D. None of the above is correct.
Show Answer
Scratch Pad
Discuss
Correct Answer: all columns of the table are to be returned.
6. SQL data definition commands make up a(n) ________ .
Options
A. DDL
B. DML
C. HTML
D. XML
Show Answer
Scratch Pad
Discuss
Correct Answer: DDL
7. The Microsoft Access wildcards are ____ and ____ .
Options
A. asterisk (*); percent sign (%)
B. percent sign (%); underscore (_)
C. underscore(_); question mark (?)
D. question mark (?); asterisk (*)
Show Answer
Scratch Pad
Discuss
Correct Answer: question mark (?); asterisk (*)
8. ON UPDATE CASCADE ensures which of the following?
Options
A. Normalization
B. Data Integrity
C. Materialized Views
D. All of the above.
Show Answer
Scratch Pad
Discuss
Correct Answer: Data Integrity
9. The wildcard in a WHERE clause is useful when?
Options
A. An exact match is necessary in a SELECT statement.
B. An exact match is not possible in a SELECT statement.
C. An exact match is necessary in a CREATE statement.
D. An exact match is not possible in a CREATE statement.
Show Answer
Scratch Pad
Discuss
Correct Answer: An exact match is not possible in a SELECT statement.
10. The SQL -92 wildcards are ____ and ____ .
Options
A. asterisk (*); percent sign (%)
B. percent sign (%); underscore (_)
C. underscore(_); question mark (?)
D. question mark (?); asterisk (*)
Show Answer
Scratch Pad
Discuss
Correct Answer: percent sign (%); underscore (_)
Comments
There are no comments.
Enter a new Comment
Save
More in Database:
Advanced SQL
Data and Database Administration
Data Modeling with ER Model
Data Models into Database Designs
Data Warehousing
Database Design Using Normalization
Database Processing for BIS
Database Redesign
Distributed Databases
ER Model and Business Rules
Introduction to Database
Introduction to SQL
JDBC, Java Server Pages, and MySQL
Logical Database Design
Managing Databases with Oracle
Managing Multiuser Databases
Modeling Data in the Organization
Object-Oriented Data Modeling
Object-Oriented Database
ODBC, OLE DB, ADO, and ASP
Physical Database Design
SQL for Database Construction
SQL Server 2000
The Client-Server Database
The Database Development Process
The Database Environment
The Internet Database Environment
The Relational Model and Normalization
XML and ADO.NET