Select Page

University of Maryland MS SQL Advanced Queries Discussion

Question Description

Create the following queries on the ITCO630_A database used in Unit 3 and save them all in a file called ITCO630_P5.SQL. Please note that you can execute individual queries in a query file by highlighting the lines that you want to execute before running the script. Remember to define what database to use with a USE statement. Complete the following:

  1. Using a join, get the full details of all the students who work on the mid-term exam assignment.
  2. Get the assignment names (duplicates eliminated) being worked on by students at Central University.
  3. Get the last names of all the students who are working on assignment A1.
  4. Get the student numbers and start dates of all the students with start dates equal to the earliest date.
  5. Insert yourself into the student table using the last five digits of your phone number as the student number and show yourself as attending Central University. Then show all the records in the student table.
  6. Delete yourself from the student table by matching your student number, and then show all the records in the student table.

You should create a zip file called ITCO630_P5.ZIP with your query file (ITCO630_P5.SQL) included.

In a separate word document in 3-4 paragraphs discuss the following:

  • Think of a purpose for creating a database and describe the database. Explain why you would want to use a database for this purpose.
  • What example could you offer that would demonstrate using a subquery?
  • What example could you offer that would demonstrate using a join?
  • In your view, would you prefer using subqueries, or joins, and why?
  • What are some performance considerations when determining whether to use subqueries or joins?

"Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you "A" results."

Order Solution Now