41. Which of the following query finds the total rating of the sailors who have reserved boat "103"?
42. The SELECT statement SELECT 'Hi' FROM DUAL WHERE NULL = NULL; Outputs
43. Which of the following is illegal?
44. If a query involves NOT, AND, OR with no parenthesis
45. Let the statement
SELECT column1 FROM myTable;
return 10 rows. The statement
SELECT ALL column1 FROM myTable;
will return
SELECT column1 FROM myTable;
return 10 rows. The statement
SELECT ALL column1 FROM myTable;
will return
46. Table employee has 10 records. It has a non-NULL SALARY column which is also UNIQUE.
The SQL statement
SELECT COUNT(*) FROM employee WHERE SALARY > ALL (SELECT SALARY FROM EMPLOYEE);
prints
The SQL statement
SELECT COUNT(*) FROM employee WHERE SALARY > ALL (SELECT SALARY FROM EMPLOYEE);
prints