IST210 LAB5 - Lab 5 1 Input SELECT employee_id last_name...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Lab 5 1) Input SELECT employee_id , last_name , demo_department . department_id , name FROM demo_department , demo_employee ; Output * employee_id last_name department_id name 7369 SMITH 10 ACCOUNTING 7499 ALLEN 10 ACCOUNTING 7505 DOYLE 10 ACCOUNTING 7506 DENNIS 10 ACCOUNTING 7507 BAKER 10 ACCOUNTING 7521 WARD 10 ACCOUNTING 7555 PETERS 10 ACCOUNTING 7557 SHAW 10 ACCOUNTING 7560 DUNCAN 10 ACCOUNTING 7564 LANGE 10 ACCOUNTING 7566 JONES 10 ACCOUNTING 7569 ALBERTS 10 ACCOUNTING 7600 PORTER 10 ACCOUNTING 7609 LEWIS 10 ACCOUNTING 7654 MARTIN 10 ACCOUNTING 7676 SOMMERS 10 ACCOUNTING 7698 BLAKE 10 ACCOUNTING 7782 CLARK 10 ACCOUNTING 7788 SCOTT 10 ACCOUNTING 7789 WEST 10 ACCOUNTING 7799 FISHER 10 ACCOUNTING 7820 ROSS 10 ACCOUNTING 7839 KING 10 ACCOUNTING 7844 TURNER 10 ACCOUNTING 7876 ADAMS 10 ACCOUNTING * Only first 25 lines copied of very long list 2) Input SELECT state , salesperson_id FROM demo_customer , demo_employee WHERE state = 'tx' AND demo_customer . salesperson_id = demo_employee . employee_id ; Output TX 7560 TX 7560 TX 7564 TX 7654 TX 7564 TX 7789
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
TX 7789 TX 7789 TX 7789 Input SELECT demo_customer . name , salesperson_id , last_name , commission FROM demo_customer , demo_employee WHERE demo_customer . salesperson_id = demo_employee . employee_id ORDER BY commission DESC ; Output name salesperson_id last_name commission VOLLYRITE 7654 MARTIN 1400
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.
  • Summer '08
  • MCCONN,CHARLOTTERYOO,JUNGWOO
  • Smith Smith, PORTER ROSS ROSS ROSS ROSS ROSS ROSS ROSS WARD, ACCOUNTING ACCOUNTING ACCOUNTING

{[ snackBarMessage ]}

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