Introduction to SQL
Which of the following is illegal?

None of these
SELECT SYSDATE - (SYSDATE + 2) FROM DUAL;
SELECT SYSDATE - (SYSDATE - 2) FROM DUAL;
SELECT SYSDATE - SYSDATE FROM DUAL;

ANSWER DOWNLOAD EXAMIANS APP

Introduction to SQL
Find the names of these cities with temperature and condition whose condition is neither sunny nor cloudy

SELECT city, temperature, condition FROM weather WHERE condition NOT BETWEEN ('sunny', 'cloudy');
SELECT city, temperature, condition FROM weather WHERE condition BETWEEN ('sunny', 'cloudy');
SELECT city, temperature, condition FROM weather WHERE condition NOT IN ('sunny', 'cloudy');
SELECT city, temperature, condition FROM weather WHERE condition IN ('sunny', 'cloudy');

ANSWER DOWNLOAD EXAMIANS APP