AldiDuwiyanto_00000015975_lab2.docx - 1 SELECT LAST_NAME SALARY FROM EMPLOYEES WHERE SALARY > 12000 2 3 SELECT LAST_NAME SALARY FROM EMPLOYEES WHERE

AldiDuwiyanto_00000015975_lab2.docx - 1 SELECT LAST_NAME...

This preview shows page 1 - 3 out of 3 pages.

1. SELECT LAST_NAME, SALARY FROM EMPLOYEES WHERE SALARY > 12000 2. 3. SELECT LAST_NAME, SALARY FROM EMPLOYEES WHERE SALARY > 12000 OR SALARY <5000;
Image of page 1

Subscribe to view the full document.

4. SELECT LAST_NAME, JOB_ID, HIRE_DATE FROM EMPLOYEES WHERE LAST_NAME='Matos' OR LAST_NAME='Taylor' ORDER BY HIRE_DATE; 5. SELECT LAST_NAME, DEPARTMENT_ID FROM EMPLOYEES WHERE DEPARTMENT_ID IN (20,50) ORDER BY LAST_NAME; 6. SELECT LAST_NAME AS "Employee" , SALARY AS "Mounthly Salary" FROM EMPLOYEES WHERE SALARY BETWEEN 5000 AND 12000 AND DEPARTMENT_ID IN (20,50); 7. SELECT LAST_NAME,HIRE_DATE FROM EMPLOYEES WHERE HIRE_DATE LIKE '%94'; 8. SELECT LAST_NAME, JOB_ID FROM EMPLOYEES WHERE MANAGER_ID IS NULL; 9. SELECT LAST_NAME, SALARY, COMMISSION_PCT FROM EMPLOYEES WHERE COMMISSION_PCT IS NOT NULL
Image of page 2
Image of page 3
  • Fall '19
  • Aldi Duwiyanto

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes