1. The DBMS acts as an interface between what two components of an enterprise-class database system?
Ans:- A
2. SQL stands for ________ .
Ans:-A
3. Because it contains a description of its own structure, a database is considered to be _______ .
Ans:-C
4. You can add a row using SQL in a database with which of the following?
Ans:- C
5. The wildcard in a SELECT statement is which of the following?
Ans:- C
6. The command to eliminate a row from a table is:
Ans:- C
7. The SQL WHERE clause:
Ans:- B
8. Which of the following is the original purpose of SQL?
Ans:-D
9. The wildcard in a WHERE clause is useful when?
Ans:- B
10. A view is which of the following?
Ans:- A
11. The command to eliminate a table from a database is:
Ans:-B
12. ON UPDATE CASCADE ensures which of the following?
Ans:-B
13. SQL data definition commands make up a(n) ________ .
Ans:-A
14. The SQL keyword(s) ________ is used with wildcards.
Ans:-A
15. Which of the following is the correct order of keywords for SQL SELECT statements?
Ans:-A
16. A subquery in an SQL SELECT statement is enclosed in:
Ans:-C
17. The result of a SQL SELECT statement is a(n) ________ .
D. tableAns:- D
18. Which one is not the command of DDL?
Ans:- C
19. Grant & Revoke are the commands ___________.
Ans:- C
20. Commands of TCL are ?
Ans:-A
21. Which of the following are the five built-in functions provided by SQL?
Ans:- A
A.Database application and the database
B.Data and the database
C.The user and the database application
D.Database application and SQL
B.Data and the database
C.The user and the database application
D.Database application and SQL
2. SQL stands for ________ .
A.Structured Query Language
B.Sequential Query Language
C.Structured Question Language
D.Sequential Question Language
B.Sequential Query Language
C.Structured Question Language
D.Sequential Question Language
3. Because it contains a description of its own structure, a database is considered to be _______ .
A.Described
B.metadata compatible
C.self-describing
D.an application program.
B.metadata compatible
C.self-describing
D.an application program.
4. You can add a row using SQL in a database with which of the following?
A.ADD
B.CREATE
C.INSERT
D.MAKE
B.CREATE
C.INSERT
D.MAKE
5. The wildcard in a SELECT statement is which of the following?
A.%
B.&
C.∗
D.#
B.&
C.∗
D.#
6. The command to eliminate a row from a table is:
A.REMOVE FROM CUSTOMER
B.DROP FROM CUSTOMER
C.DELETE FROM CUSTOMER
D.UPDATE FROM CUSTOMER
B.DROP FROM CUSTOMER
C.DELETE FROM CUSTOMER
D.UPDATE FROM CUSTOMER
7. The SQL WHERE clause:
A.limits the column data that are returned.
B.limits the row data are returned.
C.Both A and B are correct.
D.Neither A nor B are correct.
B.limits the row data are returned.
C.Both A and B are correct.
D.Neither A nor B are correct.
8. Which of the following is the original purpose of SQL?
A.To specify the syntax and semantics of SQL data definition language
B.To specify the syntax and semantics of SQL manipulation language
C.To define the data structures
D.All of the above.
B.To specify the syntax and semantics of SQL manipulation language
C.To define the data structures
D.All of the above.
9. The wildcard in a WHERE clause is useful when?
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.
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.
10. A view is which of the following?
A.A virtual table that can be accessed via SQL commands
B.A virtual table that cannot be accessed via SQL commands
C.A base table that can be accessed via SQL commands
D.A base table that cannot be accessed via SQL commands
B.A virtual table that cannot be accessed via SQL commands
C.A base table that can be accessed via SQL commands
D.A base table that cannot be accessed via SQL commands
11. The command to eliminate a table from a database is:
A. REMOVE TABLE CUSTOMER;
B.DROP TABLE CUSTOMER;
C.DELETE TABLE CUSTOMER;
D.UPDATE TABLE CUSTOMER;
B.DROP TABLE CUSTOMER;
C.DELETE TABLE CUSTOMER;
D.UPDATE TABLE CUSTOMER;
12. ON UPDATE CASCADE ensures which of the following?
A. Normalization
B.Data Integrity
C. Materialized Views
D. All of the above.
B.Data Integrity
C. Materialized Views
D. All of the above.
13. SQL data definition commands make up a(n) ________ .
A. DDL
B. DML
C. HTML
B. DML
C. HTML
D. XML
14. The SQL keyword(s) ________ is used with wildcards.
A. LIKE only
B. IN only
C. NOT IN only
D. IN and NOT IN
B. IN only
C. NOT IN only
D. IN and NOT IN
15. Which of the following is the correct order of keywords for SQL SELECT statements?
A. SELECT, FROM, WHERE
B. FROM, WHERE, SELECT
C. WHERE, FROM,SELECT
D. SELECT,WHERE,FROM
B. FROM, WHERE, SELECT
C. WHERE, FROM,SELECT
D. SELECT,WHERE,FROM
16. A subquery in an SQL SELECT statement is enclosed in:
A. braces — {…}.
B. CAPITAL LETTERS.
C. parenthesis — (…)
B. CAPITAL LETTERS.
C. parenthesis — (…)
D. brackets — [...].
17. The result of a SQL SELECT statement is a(n) ________ .
A. report
B. form
C. file
C. file
D. table
18. Which one is not the command of DDL?
A. create
B. alter
C. delete
D. drop
B. alter
C. delete
D. drop
19. Grant & Revoke are the commands ___________.
A. DDL
B. DML
C. DCL
D. TCL
B. DML
C. DCL
D. TCL
20. Commands of TCL are ?
A. COMMIT &ROLLBACK
B. DROP &TRUNCATE
C. UPDATE &DELETE
D. NONE OF THESE
B. DROP &TRUNCATE
C. UPDATE &DELETE
D. NONE OF THESE
21. Which of the following are the five built-in functions provided by SQL?
A. COUNT, SUM, AVG, MAX,MIN
B. SUM, AVG, MIN, MAX,MULT
C. SUM, AVG, MULT, DIV,MIN
D. SUM, AVG, MIN, MAX,NAME
B. SUM, AVG, MIN, MAX,MULT
C. SUM, AVG, MULT, DIV,MIN
D. SUM, AVG, MIN, MAX,NAME
No comments:
Post a Comment