Uploaded by Willie Young

Project 1

advertisement
Project 1
Chapters 1 through 5
1. SELECT DISTINCT last_name "LAST NAME", address, city, state, zip
FROM f_customers
2. SELECT producer, title
FROM d_cds
WHERE title = 'Carpe Diem' ;
3. SELECT Title, Year
FROM d_cds
WHERE year < 2000
4. SELECT last_name "LAST NAME", EMPLOYEE_ID "EMPLOYEE ID",
ROUND(SALARY*1.052536,2) "RAISED SALARY"
FROM employees
WHERE EMPLOYEE_ID BETWEEN 100 AND 102;
5. SELECT last_name "LAST NAME", NVL(overtime_rate,0) "OVERTIME STATUS"
FROM f_staffs
Download