Which of the following must be enclosed in double quotes? Strings Dates All of these Column Alias TRUE ANSWER : ? YOUR ANSWER : ?
NULL is the same as 0 for integer the same as 0 for integer and blank for character not a value the same as blank for character TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following query is correct for using comparison operators in SQL? SELECT name, course_name FROM student WHERE age>50 and <80; None of these SELECT name, course_name FROM student WHERE age>50 and WHERE age<80; SELECT name, course_name FROM student WHERE age>50 and age <80; TRUE ANSWER : ? YOUR ANSWER : ?
The wildcard asterisk (*) is the SQL-92 standard for indicating "any sequence of characters." True False TRUE ANSWER : ? YOUR ANSWER : ?
Scalar aggregate are multiple values returned from an SQL query that includes an aggregate function. True False TRUE ANSWER : ? YOUR ANSWER : ?
Which SQL keyword is used to retrieve only unique values? DISTINCT UNIQUE DIFFERENT DISTINCTIVE TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following query finds the name of the sailors who have reserved at least two boats? SELECT DISTINCT s.sname FROM sailors s, reserves r1, reserves r2 WHERE s.sid = r1.sid AND COUNT(r1.bid) > r2.bid SELECT DISTINCT s.sname FROM sailors s, reserves r1, reserves r2 WHERE s.sid = r1.sid AND r1.sid = r2.sid AND r1.bid ≠ r2.bid All of these SELECT DISTINCT s.sname FROM sailors s, reserves r1, reserves r2 WHERE s.sid = r1.sid AND r1.sid = r2.sid AND r1.bid <> r2.bid TRUE ANSWER : ? YOUR ANSWER : ?
The Microsoft Access wildcards are ____ and ____ . underscore(_); question mark (?) percent sign (%); underscore (_) question mark (?); asterisk (*) asterisk (*); percent sign (%) TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following is illegal? SELECT SYSDATE - (SYSDATE + 2) FROM DUAL; None of these SELECT SYSDATE - SYSDATE FROM DUAL; SELECT SYSDATE - (SYSDATE - 2) FROM DUAL; TRUE ANSWER : ? YOUR ANSWER : ?
Data manipulation language (DML) commands are used to define a database, including creating, altering, and dropping tables and establishing constraints. False True TRUE ANSWER : ? YOUR ANSWER : ?