My Homework Help logo
  • Our services
    • Math homework Help
    • Excel Homework Help
    • Case Study Assignment Help | Do My Case Study Homework
    • PowerPoint Presentation Help
    • CIPD Assignment Help
    • Civil Engineering Homework Help – Do My Asssignment For Me
    • CPM Homework Help | Do My CPM Assignment For Me
    • Discussion Board Homework Help
    • Finance Homework Help – Do My Finance Assignment For Me
    • Nursing Homework Help
    • Programming Homework Help
    • SPSS Homework Help | Do My SPSS Assignment For Me Cheap
    • Statistics Homework Help
  • About Us
  • How It Works
  • My account
  • Order now
Order Now
Homework Help

Database | Database management systems homework help

2 min read
Posted on 
April 3rd, 2024
Home Homework Help Database | Database management systems homework help

CUSTOMER ( CustomerNumber, CustomerLastName, CustomerFirstName, Phone) COURSE ( CourseNumber, Course, CourseDate, Fee) ENROLLMENT ( CustomerNumber, CourseNumber, AmountPaid) where: CustomerNumber in ENROLLMENT must exist in CustomerNumber in CUSTOMER CourseNumber in ENROLLMENT must exist in CourseNumber in COURSE

CustomerNumber and CourseNumber are surrogate keys. Therefore, these numbers will never be modified, and there is no need for cascading updates. No customer data are ever deleted, so there is no need to cascade deletions. Courses can be deleted. If there are enrollment entries for a deleted class, they should also be deleted. These tables, referential integrity constraints, and data are used as the basis for the SQL statements you will create in the exercises that follow. For each SQL statement you write, show the results based on these data. Use data types consistent with what we have shown in class.

3.52. Write the SQL statements necessary to create the tables and their referential integrity constraints.

3.53. Populate the tables with data.

3.54. Write an SQL query to list all occurrences of Adv. Pastels. Include all associated data for each occurrence of the class.

3.55. Write an SQL query to list all students and courses they are registered for. Include, in this order, CustomerNumber, CustomerLastName, CustomerFirstName, Phone, CourseNumber, and AmountPaid.

3.56. Write an SQL query to list all students registered in Adv. Pastels start-ing on October 1, 2013. Include, in this order, Course, CourseDate, Fee, CustomerLastName, CustomerFirstName, and Phone.

3.57. Write an SQL query to list all students registered in Adv. Pastels starting on October 1, 2013. Include in this order, Course, CourseDate, CustomerLastName, CustomerFirstName, Phone, Fee, and AmountPaid. Use a join.

3.58. Modify your query to include all students, regardless of whether they registered in Adv. Pastels, starting October 1, 2013. Include, in this order, CustomerLastName, CustomerFirstName, Phone, Course, CourseDate, Fee, and AmountPaid.

Order an Essay Now & Get These Homework Help Features For Free:

Turnitin Report

Formatting

Title Page

Citation

Outline

Place an Order
Share
Tweet
Share
Tweet
Calculate the price
Pages (275 words)
$0.00
My Homework Help
Company
  • Get Homework Help
  • Home
  • About Us
  • How It Works
Legal
  • About
  • How It Works
How Our Homework Help and Essay Service:
My Homework Help The essays written at My Homework Help are not intended to be forwarded as finalized work, but they can still serve a dual purpose of research and study. My Homework Help does not endorse or encourage any form of plagiarism.
Subscribe
No Spam
  • Math homework Help
  • Excel Homework Help
  • Case Study Assignment Help | Do My Case Study Homework
  • PowerPoint Presentation Help
  • CIPD Assignment Help
  • Civil Engineering Homework Help – Do My Asssignment For Me
  • CPM Homework Help | Do My CPM Assignment For Me
  • Discussion Board Homework Help
  • Finance Homework Help – Do My Finance Assignment For Me
  • Nursing Homework Help
  • Programming Homework Help
  • SPSS Homework Help | Do My SPSS Assignment For Me Cheap
  • Statistics Homework Help
© 2025 My Homework Help. All rights reserved.
My Homework Help will be listed as ‘My Homework Help’ on your bank statement.

WhatsApp us