GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

sql 122-181

Khamit Zhussip 30 Fragen

Quiz starten

Fragen in diesem Quiz (30)

  1. 1Consider the EMPLOYEES table. When condition in the WHERE clause limit the employees to IT Programmers with salary greater than 5000?
    1. AWHERE salary>5000 AND job_id = 'IT_PROG'
    2. BWHERE salary>5000 OR job_id = "IT_PROG"
    3. CWHERE salary>5000 AND job_id = IT_PROG
    4. DWHERE salary>5000 OR job_id = 'IT_PROG'
  2. 2Consider the EMPLOYEES table. Which of the following statements displays the date in the 'January, 19 1998'?
    1. ASELECT TO_CHAR(hire_date,'fmMonth, DD YYYY') FROM employees
    2. BSELECT TO_DATE(hire_date,'fmMONTH, DD YYYY') FROM employees
    3. CSELECT TO_DATE(hire_date,'fmMonth, DD YYYY') FROM employees
    4. DSELECT TO_DATE(hire_date,'fmMON, DD YEAR') FROM employees
  3. 3Consider the EMPLOYEES table. Which of the following will generate an error?
    1. ASELECT job_id, SUM(salary) FROM employees GROUP BY employees
    2. BSELECT * FROM employees
    3. CSELECT job_id FROM employees
    4. DSELECT name FROM employees WHERE name LIKE ‘A%’
  4. 4Consider the EMPLOYEES table. Which of the following displays the maximum average salary for each department?
    1. ASELECT MAX(AVG(salary)) FROM employees GROUP BY department_id
    2. BSELECT MAX(AVG(salary)) FROM employees
    3. CSELECT department_id, MAX(AVG(salary)) FROM employees GROUP BY department_id
    4. DSELECT AVG(MAX(salary)) FROM employees GROUP BY department_id
  5. 5Consider the TABLE table. Which of the following conditions in the WHERE clause will generate an error?
    1. ASELECT name FROM table WHERE COUNT(*) > 5;
    2. BSELECT name FROM table WHERE name LIKE ‘A%’;
    3. CSELECT name FROM table WHERE name LIKE ‘__A’;
    4. DSELECT name FROM table WHERE name LIKE ‘A__%’;
  6. 6Constraints always have a name.
    1. ARichtig
    2. BFalsch
  7. 7How to select a top
    1. ATOP or LIMIT
    2. BMAX
    3. CMIN
    4. DAVG
  8. 8Combining rows from two or more tables
    1. AJOIN
    2. BUNION
    3. CORDER BY
    4. DGROUP BY
  9. 9Combining the result-set of two or more SELECT statements
    1. AUNION
    2. BJOIN
    3. CGROUP BY
    4. DORDER BY
  10. 10GROUP BY is often used with aggregate functions
    1. ARichtig
    2. BFalsch

Informationen

Beschreibung
Quiz am sql 122-181, erstellt von Khamit Zhussip am 22/12/2019.
Sprache
English
Aufrufe
10
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck