Find the SQL statement below that is equal to the following: SELECT NAME FROM CUSTOMER WHERE STATE = 'VA'; SELECT NAME IN CUSTOMER WHERE STATE = 'VA'; SELECT NAME FROM CUSTOMER WHERE STATE IN ('VA'); SELECT NAME IN CUSTOMER WHERE STATE = 'V'; SELECT NAME IN CUSTOMER WHERE STATE IN ('VA'); TRUE ANSWER : ? YOUR ANSWER : ?
Which of the SQL statements is correct? None of these SELECT Username, Password WHERE Username = 'user1' SELECT Username, Password FROM Users SELECT Username AND Password FROM Users TRUE ANSWER : ? YOUR ANSWER : ?
Each index consumes extra storage space and also requires overhead maintenance time whenever indexed data change value. True False TRUE ANSWER : ? YOUR ANSWER : ?
DISTINCT and its counterpart, ALL, can be used more than once in a SELECT statement. False True TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following command makes the updates performed by the transaction permanent in the database? DELETE COMMIT TRUNCATE ROLLBACK 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' AND condition = 'cloudy' AND temperature > 70; 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; TRUE ANSWER : ? YOUR ANSWER : ?
What does the following query find?(SELECT DISTINCT r.sidFROM boats b, reserves rWHERE b.bid = r.bidAND b.color = 'red')MINUS(SELECT DISTINCT r.sidFROM boats b, reserves rWHERE b.bid = r.bidAND b.color = 'green') Find the sailor IDs of all sailors who have reserved red boats but not green boats Find the sailor Ids of atmost one sailor who have reserved red boats but not green boats None of These Find the sailor IDs of at least one sailor who have reserved red boats but not green boats TRUE ANSWER : ? YOUR ANSWER : ?
________ was adopted as a national standard by ANSI in 1992. Microsoft Access DBase SQL Oracle TRUE ANSWER : ? YOUR ANSWER : ?
Data manipulation language (DML) commands are used to define a database, including creating, altering, and dropping tables and establishing constraints. True False TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following query finds the total rating of the sailors who have reserved boat "103"? SELECT SUM(s.rating) FROM sailors s, reserves r WHERE s.sid = r.sid AND r.bid = 103 SELECT SUM(s.rating) FROM sailors s, reserves r AND r.bid = 103; c) SELECT COUNT(s.rating) FROM sailors s, reserves r WHERE s.sid = r.sid AND r.bid = 103 SELECT s.rating FROM sailors s, reserves r WHERE s.sid = r.sid AND r.bid = 103 TRUE ANSWER : ? YOUR ANSWER : ?