SQL provides the AS keyword, which can be used to assign meaningful column names to the results of queries using the SQL built-in functions. True False TRUE ANSWER : ? YOUR ANSWER : ?
The benefits of a standard relational language include which of the following? Applications are not needed Reduced training costs Increased dependence on a single vendor All of these TRUE ANSWER : ? YOUR ANSWER : ?
The result of a SQL SELECT statement is a(n) ________ . report file table form TRUE ANSWER : ? YOUR ANSWER : ?
To sort the results of a query use: None of these SORT BY. ORDER BY. GROUP BY. TRUE ANSWER : ? YOUR ANSWER : ?
The Microsoft Access wildcards are ____ and ____ . question mark (?); asterisk (*) asterisk (*); percent sign (%) percent sign (%); underscore (_) underscore(_); question mark (?) TRUE ANSWER : ? YOUR ANSWER : ?
Which SQL keyword is used to sort the result-set? SORT BY ORDER BY SORT ORDER TRUE ANSWER : ? YOUR ANSWER : ?
Find the name of those cities with temperature and condition whose condition is either sunny or cloudy but temperature must be greater than 70oF. SELECT city, temperature, condition FROM weather WHERE condition = 'sunny' OR condition = 'cloudy' OR temperature > 70; SELECT city, temperature, condition FROM weather WHERE condition = 'sunny' OR condition = 'cloudy' AND temperature > 70; SELECT city, temperature, condition FROM weather WHERE condition = 'sunny' AND condition = 'cloudy' OR temperature > 70; SELECT city, temperature, condition FROM weather WHERE condition = 'sunny' AND condition = 'cloudy' AND temperature > 70; TRUE ANSWER : ? YOUR ANSWER : ?
The SQL keyword GROUP BY instructs the DBMS to group together those rows that have the same value in a column. False True TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following query finds the names of the sailors who have reserved at least one boat? SELECT DISTINCT s.sname FROM sailors s, reserves r WHERE s.sid = r.sid; SELECT DISTINCT s.sname FROM sailors, reserves WHERE s.sid = r.sid; SELECT s.sname FROM sailors s, reserves r WHERE s.sid = r.sid; None of These TRUE ANSWER : ? YOUR ANSWER : ?
How to select all data from student table starting the name from letter 'r'? SELECT * FROM student WHERE name LIKE 'r%'; SELECT * FROM student WHERE name LIKE '_r%'; SELECT * FROM student WHERE name LIKE '%r'; SELECT * FROM student WHERE name LIKE '%r%'; TRUE ANSWER : ? YOUR ANSWER : ?