Find the name of all cities with their temperature, humidity and countries. SELECT city, temperature, humidity, country FROM location; SELECT weather.city, temperature, humidity, country FROM weather, location WHERE weather.city = location.city; SELECT weather.city, temperature, humidity, country FROM weather, location; SELECT weather.city, temperature, humidity FROM weather SELECT country FROM location WHERE weather.city = location.city; TRUE ANSWER : ? YOUR ANSWER : ?
Scalar aggregate are multiple values returned from an SQL query that includes an aggregate function. False True TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following must be enclosed in double quotes? Dates Column Alias Strings All of these TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following is a valid SQL type? All of these FLOAT NUMERIC CHARACTER 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' OR 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' AND condition = 'cloudy' AND temperature > 70; SELECT city, temperature, condition FROM weather WHERE condition = 'sunny' OR condition = 'cloudy' AND temperature > 70; TRUE ANSWER : ? YOUR ANSWER : ?
The qualifier DISTINCT must be used in an SQL statement when we want to eliminate duplicate rows. False True TRUE ANSWER : ? YOUR ANSWER : ?
Which SQL keyword is used to sort the result-set? SORT ORDER SORT BY ORDER BY TRUE ANSWER : ? YOUR ANSWER : ?
The SQL keyword BETWEEN is used: for ranges. None of these as a wildcard. to limit the columns displayed. 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 SQL commands is used to retrieve data? SELECT JOIN INSERT DELETE TRUE ANSWER : ? YOUR ANSWER : ?