Question 17 5 points Save Ang Consider the database table structure s.docx

  • No School
  • AA 1
  • 3

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

Image of page 1

Subscribe to view the full document.

Question 17 5 points Save Ang Consider the database table structure shown in the figure. (a) Write a SELECT statement (compatible with an Oracle RDBMS) that returns the invoice number and the vendor name for those invoices where the terms were not the same as the usual default terms for that vendor. The list returned should be in alphabetical order by vendor name. It does not have to include any description of the actual terms for the invoice. (b) Then write two rows of sample data that might be retrieved by the query. What is actually retrieved depends on what is in the table. The data you write does not have to match any data that is actually in our sample tables. Constraint PK UNIQUE Table: vendors Column Name Data Type Nullable Default Data vendor_id number No vendor_name varchar2(50) No vendor_addressi
Image of page 2
Image of page 3
  • Fall '19
  • Relational model, invoice, relation

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