Question 51

Examine the structure of the EMPLOYEES table. (Choose two.)

You must display the maximum and minimum salaries of employees hired 1 year ago.
Which two statements would provide the correct output?
  • Question 52

    Examine the structure of the CUSTOMERS table: (Choose two.)
    CUSTNO is the PRIMARY KEY.
    You must determine if any customers' details have been entered more than once using a different CUSTNO, by listing all duplicate names.
    Which two methods can you use to get the required result?
  • Question 53

    Which two are true about using constraints?
  • Question 54

    Examine these two queries and their output:
    SELECT deptno, dname FROM dept;

    SELECT ename, job, deptno FROM emp ORDER BY deptno;

    Now examine this query:
    SELECT ename, dname
    FROM emp CROSS JOIN dept WHERE job = 'MANAGER'
    AND dept.deptno IN (10, 20) ;
  • Question 55

    Examine the structure of the MEMBERS table: (Choose the best answer.)

    Examine the SQL statement:
    SQL > SELECT city, last_name LNAME FROM MEMBERS ORDER BY 1, LNAME DESC; What would be the result execution?