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
Which of the following are the five built-in functions provided by SQL?
Options
A. COUNT, SUM, AVG, MAX, MIN
B. SUM, AVG, MIN, MAX, MULT
C. SUM, AVG, MULT, DIV, MIN
D. SUM, AVG, MIN, MAX, NAME
Correct Answer
COUNT, SUM, AVG, MAX, MIN
Introduction to SQL problems
Search Results
1. 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 (_)
2. 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.
3. 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
4. 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 (*)
5. 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
6. Find the SQL statement below that is equal to the following: SELECT NAME FROM CUSTOMER WHERE STATE = 'VA';
Options
A. SELECT NAME IN CUSTOMER WHERE STATE IN ('VA');
B. SELECT NAME IN CUSTOMER WHERE STATE = 'VA';
C. SELECT NAME IN CUSTOMER WHERE STATE = 'V';
D. SELECT NAME FROM CUSTOMER WHERE STATE IN ('VA');
Show Answer
Scratch Pad
Discuss
Correct Answer: SELECT NAME FROM CUSTOMER WHERE STATE IN ('VA');
7. Which of the following is valid SQL for an Index?
Options
A. CREATE INDEX ID;
B. CHANGE INDEX ID;
C. ADD INDEX ID;
D. REMOVE INDEX ID;
Show Answer
Scratch Pad
Discuss
Correct Answer: CREATE INDEX ID;
8. To sort the results of a query use:
Options
A. SORT BY.
B. GROUP BY.
C. ORDER BY.
D. None of the above is correct.
Show Answer
Scratch Pad
Discuss
Correct Answer: ORDER BY.
9. The benefits of a standard relational language include which of the following?
Options
A. Reduced training costs
B. Increased dependence on a single vendor
C. Applications are not needed.
D. All of the above.
Show Answer
Scratch Pad
Discuss
Correct Answer: Reduced training costs
10. Which of the following do you need to consider when you make a table in SQL?
Options
A. Data types
B. Primary keys
C. Default values
D. All of the above.
Show Answer
Scratch Pad
Discuss
Correct Answer: All of the above.
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