select * from dba_users; select employee_id,first_name,department_name from employees inner join departme nts on employees.department_id = departments.DEPARTMENT_ID where department_id = 10; select last_name, salary from employees order by desc select employee_id,last_name,salary,department_id from employees where job_ID = &employee_num; SELECT * FROM &TABLA; select employee_id,&columna from &tabla where &columnawhere = &&valor order by & orderby select job_id "Job" from employees where substr(job_id,4) = 'REP'; select concat(concat(last_name,'''s job category is '),job_id) "Job" from employ ees where substr(job_id,1,2) = 'SA'; select employee_id, concat(first_name,last_name) name,length(last_name),instr(la st_name,'a') "Contains 'a'?" from employees where substr(last_name,-1,1) = 'n';