Escolar Documentos
Profissional Documentos
Cultura Documentos
2) Faça uma query para apresentar os códigos utilizados no campo jobs da tabela display EMPLOYEES, mas sem
repetições.
SELECT DISTINCT job_id
FROM HR.employees;
3) select FIRST_NAME, LAST_NAME , DEPARTMENT_ID, trunc(salary/ nvl(COMMISSION_PCT,1))
from HR.employees
where DEPARTMENT_ID=80;
4) select FIRST_NAME, LAST_NAME, JOB_ID
from HR.employees
where lower(JOB_ID)='pu_clerk'
5) Identifique 4 erros na sintaxe do commando a seguir:
SELECT employee_id, last_name
sal x 12 ANNUAL SALARY FROM employees;