(Q1) Computer » SQL
Which of the following do you need to consider when you make a table in SQL?
Data types
Primary keys
Default values
All of the above.
(Q2) Computer » SQL
SQL query and modification commands make up a(n) ________ .
DDL
DML
HTML
XML
(Q3) Computer » SQL
When three or more AND and OR conditions are combined, it is easier to use the SQL keyword(s):
LIKE only.
IN only.
NOT IN only.
Both IN and NOT IN.
(Q4) Computer » SQL
The Microsoft Access wildcards are ____ and ____ .
asterisk (*); percent sign (%)
percent sign (%); underscore (_)
underscore(_); question mark (?)
question mark (?); asterisk (*)
(Q5) Computer » SQL
Find the SQL statement below that is equal to the following: SELECT NAME FROM CUSTOMER WHERE STATE = 'VA';
SELECT NAME IN CUSTOMER WHERE STATE IN ('VA');
SELECT NAME IN CUSTOMER WHERE STATE = 'VA';
SELECT NAME IN CUSTOMER WHERE STATE = 'V';
SELECT NAME FROM CUSTOMER WHERE STATE IN ('VA');
(Q6) Computer » SQL
Which one of the following sorts rows in SQL?
SORT BY
ALIGN BY
ORDER BY
GROUP BY
(Q7) Computer » SQL
To sort the results of a query use:
SORT BY.
GROUP BY.
ORDER BY.
None of the above is correct.
(Q8) Computer » SQL
To define what columns should be displayed in an SQL SELECT statement:
use FROM to name the source table(s) and list the columns to be shown after SELECT.
use USING to name the source table(s) and list the columns to be shown after SELECT.
use SELECT to name the source table(s) and list the columns to be shown after USING.
use USING to name the source table(s) and list the columns to be shown after WHERE.
(Q9) Computer » SQL
SQL can be used to:
create database structures only.
query database data only.
modify database data only.
All of the above can be done by SQL.
(Q10) Computer » SQL
The SQL statement that queries or reads data from a table is ________ .
SELECT
READ
QUERY
None of the above is correct.