Computer Science Homework Solutions
Problem
#132360

SQL Queries

Using the attached database, please show how to do 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 Amber Rebeck into the student table with the student number of 14420 and show as attending Central University. Then show all the records in the student table.
6. Delete Amber Rebeck by matching the student number 14420, and then show all the records in the student table.


For all parts in this problem, I am looking for SQL command being executed from Management Studio. So for inserting row into table, I need to see how a SQL command that will insert data into the table.. shows its execution.. and then shown the table with new data inserted..

Similarly, for deleting a row from a table, I want to specify a SQL command that will delete data into the table.. shows its execution.. and then shown the table with data deleted..

In addition to script file containing SQL commands for each of the subparts, we are also looking for a Word document containing screenshots of executing each of the commands successfully. Both the files can be zipped together.

Attached file(s):
Attachments
Database.zip  View File
Solution
What is this?
By OTA - Overall OTA Rating
Purchase Cost Now
$2.19 CAD (was ~$39.90)
Included in Download
  • Plain text response
  • Attached file(s):
    • Solution.zip
$2.19 Instant Download
Add to Cart
Why you can trust BrainMass.com
  • Your Information is Secure
  • Best Online Academic Help Service
  • Students find real academic Success
Related Solutions
  • SQL 2005 - Use SQL Management Studio to create a database called ITD640_P1.MDF. Add the tables and data shown below to the database. Use the appropriate field types and lengths for the tables. See attached fi ...
  • Internet Access Suggestion for Haukland University Hospital - This discussion is similar to the one discussed for Choice hotels. The only difference is that the company is a hospital, and not a Hotel Chain. Discuss a similar plan for Haukland University Hospital ...
  • Sliding Window Protocol - A data link layer runs a sliding window protocol. A transmits using a sending window size of 6 and B receives using a receiving window size of 1. We assume that A always has traffic to send and that B ...
  • 10 E-Education Technology Websites - I am trying to learn a bit more about E-Education and would like a listing of 10 or so of the most current, reliable, and relevant websites . Also why are they the most informative in regards to E ...
  • Introducing powerpoint presentation college microsoft office 2003 - We are doing a 8-12 powerpoint presentation and could use some help. Scenario: You have been asked to present tips on time management skills to new students at an online university. Your group will ...
Browse