O GoConqr está de visual novo! Conte para nós o que você achou.

Quiz

sql 122-181

Khamit Zhussip 30 perguntas

Fazer o quiz

Perguntas do 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. AVerdadeiro
    2. BFalso
  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. AVerdadeiro
    2. BFalso

Informações

Descrição
Quiz sobre sql 122-181, criado por Khamit Zhussip em 22-12-2019.
Idioma
English
Visualizações
10
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?