Which query finds employees who earn more than any manager?
Which query returns the maximum salary from the staff table? (select all that apply)
What is the result of the following query on the staff table? SELECT COUNT(DISTINCT DEPTNUMB) FROM staff;
What does the following query return?
What is the result of running the following query?
SELECT TOP 1 Salary FROM (SELECT DISTINCT TOP 3 Salary FROM STAFF ORDER BY Salary DESC) AS TORDER BY Salary;What does the following query return?
SELECT E.EMP_ID, E.EMP_NAME, D.DEPT_NAME FROM Employees E FULL OUTER JOIN Departments D ON E.DEPT_ID = D.DEPT_ID;
What does the following query returns?
SELECT C.CUST_ID, C.CUST_NAME, O.ORDER_NUMBER FROM CUSTOMERS C LEFT JOIN ORDERS O ON C.CUST_ID = O.CUST_ID WHERE O.ORDER_NUMBER IS NULL;
What happens when you execute DROP TABLE Employees?
What does the following query do?
ALTER TABLE Employees ADD BirthDate DATE;