Introduction to SQL
Which of the following is the original purpose of SQL?

To define the data structures
To specify the syntax and semantics of SQL data definition language
To specify the syntax and semantics of SQL manipulation language
All of these

ANSWER DOWNLOAD EXAMIANS APP

Introduction to SQL
The HAVING clause does which of the following?

Acts EXACTLY like a WHERE clause.
Acts like a WHERE clause but is used for groups rather than rows.
Acts like a WHERE clause but is used for rows rather than columns.
Acts like a WHERE clause but is used for columns rather than groups.

ANSWER DOWNLOAD EXAMIANS APP

Introduction to SQL
Find the names of the countries whose condition is sunny.

SELECT country FROM location WHERE city UNION (SELECT city FROM weather WHERE condition = 'sunny');
SELECT country FROM location WHERE city IN (SELECT city FROM weather WHERE condition = sunny');
SELECT country FROM location WHERE city NOT IN (SELECT city FROM weather WHERE condition = 'sunny');
SELECT country FROM location WHERE condition = 'sunny';

ANSWER DOWNLOAD EXAMIANS APP