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

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

ANSWER DOWNLOAD EXAMIANS APP

Introduction to SQL
In an SQL SELECT statement querying a single table, according to the SQL-92 standard the asterisk (*) means that:

all records with even partial criteria met are to be returned.
all columns of the table are to be returned.
None of these
all records meeting the full criteria are to be returned.

ANSWER DOWNLOAD EXAMIANS APP

Introduction to SQL
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' AND 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' AND temperature > 70;

ANSWER DOWNLOAD EXAMIANS APP