Create a query teacherspaybyclass that displays teacherid


Assignment: Management Information System

1. Open the Teachers table andadd three more names like your friendsto the Teachers table. Open the Students_Classestable and add more ClassID for each student to take at least three classes.

2. Open the Coursetable. The course fee (Fee) in the table Course happened to be typed as Short Text. Convert the Short Text type data for Fee field to real numbers with two digits below the decimal point (For example: "400.50" text should be displayed to 400.50 in real number). And display the average course fee at the bottom row.

3. Open the table Teachers_Classes and set up a lookup table for TeacherID that displays a teacher's last name(LastName of Teachers table) in the table Teachers that corresponds to the TeacherID number.

4. Open a relationship diagram by clicking Database Tools / Relationships from the top menu. On this diagram, establish 1-to-many relationships between the Teachers table and Teachers_Classestable viaTeacherID attribute.

5. Create a query, TeachersPayByClass, that displays TeacherID, LastName, ClassID, and AmountToPay. (Hint: Find the needed tables from the Relationship Diagram.)

6. Create a query, TeachersPayTotal, that displays TeacherID, LastName, and TotalPay as the sum of the fees for the classes that each teacher teaches. The TotalPay of the query should display in the Currency format. (Hint: You need ∑Totals / Group By function to set up the query.)

7. Open the table Classes. Provide a validation rule to the field EndingDate that the class should end after 5/1/2017. Also enter a warning message in the Validation Text in the case the previous validation rule is not kept.

8. Create a query, TuitionBalance that displays student's FirstName, LastName, TotalCharge as the sum of Fee in the Coursetable, AmountPaid, and Balance as [TotalCharge] - [AmountPaid]. All amounts should display in the Currency format. (Hint: You need ∑ Totals / Group By function to set up the query.)

Format your assignment according to the following formatting requirements:

1. The answer should be typed, double spaced, using Times New Roman font (size 12), with one-inch margins on all sides.

2. The response also includes a cover page containing the title of the assignment, the student's name, the course title, and the date. The cover page is not included in the required page length.

3. Also include a reference page. The Citations and references should follow APA format. The reference page is not included in the required page length.

Solution Preview :

Prepared by a verified Expert
Database Management System: Create a query teacherspaybyclass that displays teacherid
Reference No:- TGS02983998

Now Priced at $45 (50% Discount)

Recommended (96%)

Rated (4.8/5)