Introduction to SQL
The wildcard in a WHERE clause is useful when?

An exact match is necessary in a SELECT statement.
An exact match is not possible in a CREATE statement.
An exact match is not possible in a SELECT statement.
An exact match is necessary in a CREATE statement.

ANSWER DOWNLOAD EXAMIANS APP

Introduction to SQL
Find the temperature in increasing order of all cities

SELECT city, temperature FROM weather;
SELECT city, temperature FROM weather ORDER BY city;
SELECT city FROM weather ORDER BY temperature;
SELECT city, temperature FROM weather ORDER BY temperature;

ANSWER DOWNLOAD EXAMIANS APP

Introduction to SQL
Find all the tuples having temperature greater than 'Paris'.

SELECT * FROM weather WHERE temperature > (SELECT temperature FROM weather WHERE city = 'Paris')
SELECT * FROM weather WHERE temperature > 'Paris' temperature
SELECT * FROM weather WHERE temperature > (SELECT city FROM weather WHERE city = 'Paris')
SELECT * FROM weather WHERE temperature > (SELECT * FROM weather WHERE city = 'Paris')

ANSWER DOWNLOAD EXAMIANS APP

Introduction to SQL
Which of the following query is correct for using comparison operators in SQL?

SELECT name, course_name FROM student WHERE age>50 and age <80;
SELECT name, course_name FROM student WHERE age>50 and WHERE age<80;
SELECT name, course_name FROM student WHERE age>50 and <80;
None of these

ANSWER DOWNLOAD EXAMIANS APP