{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

SampleTest2-ids521

SampleTest2-ids521 - IDS 521 Advanced Database Management...

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

View Full Document Right Arrow Icon
IDS 521 - Advanced Database Management Sample Test2 Name:_____________________________ SSN: __________________________ For Test2, I plan to have 20 Multiple Choice questions (each one is worth 2 points) and eight essay questions, asking you to compose SQL, View, Trigger, and stored-procedure using T-SQL. Each of these questions is worth between 5 and 10 points. For Test2, you need to know the following topics: 1. Create DDL for tables. 2. Know how to insert into, update, and delete records from a table. 3. Create Triggers. 4. Create Views. 5. Query a single table and multiple tables using joins and sub queries. 6. Create stored-procedures using T-SQL. Sample Multiple Choice questions: 1. Which of the following statements best describes what this INSERT statement does? INSERT INTO InvoiceArchive SELECT * FROM Invoices WHERE TermsID = 1 a. Adds one row from the Invoices table to the InvoiceArchive table. b. Adds all of the rows in the Invoices table that have 1 in the TermsID column to the InvoiceArchive table. c. Adds all of the rows in the Invoices table to the InvoiceArchive table and sets the TermsID column to 1 in each row. d. Updates all of the rows in the InvoiceArchive table that have 1 in the TermsID column to the rows in the Invoices table.
Image of page 1

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

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ 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