List all students and courses they are registered for

Assignment Help Database Management System
Reference no: EM131347127

Assignment

CUSTOMER (CustomerNumber, CustomerName, 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

Write SQL queries to produce the following results:

1) List all students and courses they are registered for. Include, in this order, CustomerNumber, CustomerName, Phone, CourseNumber, and AmountPaid.

2) List the total amount paid for each course starting after July 4, 2009. Include, in this order, CourseNumber, CourseName, and total amount paid for that course.

3) List the average amount paid for each customer. Include, in this order, CustomerName and average amount paid by that customer.

4) List all students registered in the Adv. Pastels starting on October 1, 2009. Include, in this order, CourseName, CourseDate, Fee, CustomerName, and Phone.

Reference no: EM131347127

Questions Cloud

What recommendations can you make to assist the company : Is Lobo using the lowest cost combination of workers to produce its targeted output? If not, what recommendations can you make to assist the company?
Determine the maximum theoretical reaction efficiency : Determine the maximum theoretical reaction efficiency, open circuit voltage, and maximum theoretical work output per mole of hydrogen consumed.
Explain approach you will take to ensure adequate nutrition : You are the registered nurse performing a health assessment on a newborn infant. From the functional health pattern portion of the assessment, you learn the mother is reluctant to breastfeed her baby. How do you respond? Explain the approach you w..
What is the bond yield to maturity : A bond's market price is $1,200. It has a $ 1,000 par value, will mature in 14 years, and has a coupon interest rate of 9 percent annual interest, but makes its interest payments semiannually. What is the bond's yield to maturity? What happens to the..
List all students and courses they are registered for : List all students and courses they are registered for. Include, in this order, CustomerNumber, CustomerName, Phone, CourseNumber, and AmountPaid.
Write a response about the given post : Breastfeeding an infant has numerous advantages. It ensures a child is protected from dangerous infections improving the child's immune system. Some of the nutrients in the colostrum such as calcium enable the infant to have strong and healthy bon..
What was the size of the team you were on in the development : What was the size of the team you were on in the Development (CapOne), and what is the size of your current team you're in (USAtoday)?
Determine the approximate percentage change in output : Discuss some of the methodological and measurement problems one might encounter in using time-series data to estimate the parameters of this model.
Write a response about the given post : Working as a nurse in the post-partum unit at my hospital may cause some issues. Me being a male nurse may put some patients in an awkward situation. Some patients may not feel comfortable talking about these issues with a male. And even if the..

Reviews

Write a Review

Database Management System Questions & Answers

  Create a pl-sql procedure - print out names of employees

Create a PL-SQL procedure that a company name, print out names of employees working at that company. Test your procedure with a company name you have in your company table.

  Describe the different procedure performed in dbms

Describe the different procedure performed in DBMS for student database in which fields are student id, student name, student class, marks.

  What dimensions of information would you include

Consider the issue of timely information with respect to the businesses discussed in the case. Which of the businesses must have the most up-to-date information in its data warehouse?

  How the difference between an outer join and an inner join

Give a primary key for each relation. Are there any relations for which there is an alternate candidate key which you have not chosen as the primary key? Why or why not?

  Applications of erd in modeling real-world applications

Construct the Entity Relationship Diagram (ERD) for the above given scenario. Identify all the entities, attributes of each entity including primary key, relationship between the entities and cardinality constraints. State any assumptions necessar..

  Summary of normalizing database tables that it staff use

Suppose that you are the database developer for a local college. The Chief Information Officer (CIO) has asked you to provide a summary of normalizing database tables that the IT staff will use in the upcoming training session

  Create all necessary and appropriate relationships.

Create all necessary and appropriate relationships.

  An art museum that needs to track the artwork artists and

write a 750- to 1050-word paper in which you complete the followingmiddot choose a database environment from the

  Use the client table as the source for the mailing labels

Use Avery C2163 labels, and use the default font and color settings. (Hint: Make sure the English option button is selected in the Unit of Measure section.

  Explain data normalization

Data Normalization: What is the importance of data normalization in the reduction of insertion and deletion anomalies? Provide examples of insertion and deletion anomalies. - Explain why it is important to reduce insert and deletion anomalies.

  Show all the lastnames from the customers table

Show all the LastNames from the Customers table and any associated OrdersIDs from the Orders Table.

  Create a database and import the text files into tables

Assignment - Database Management System, MrsAda Lovelace, your manager, has set up the following tasks for you to complete for this phase of the project: Create a Database and import the four (4) Text files into four (4) Tables and Modify Table Desig..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd