Create a table named faculty to store facultyid

Assignment Help Database Management System
Reference no: EM131099781

Introduction to MySQL & Discussion.

First, let me let you know that the discussion for this week is attached and called "Week 6 Discussion - Create your own MySQL Database Script" & blank word document for anything that needs to go in their but will need to files as well called "Week 6 Discussion". Please send as a zip file called Week 6 Discussion as a seperate zip file from when you do the lab below.

You can follow the full lab if you'd like or if you want to skip down to the "Lab submission details" (on last page which is 14), you can. Lab submission details is what will be graded. You can get those from the PDF attached and or look below:

Lab submission details:

As part of the submission for this Lab, you will design your own tables and populate them with data based on the following requirements. For each of the requirements, be sure to save the specific SQL statements that you used. Please label each SQL statement corresponding to the numbered requirements below:

1. Create a table named Faculty to store FacultyID( Primary key), FirstName, LastName, Email, Date of birth and number of courses taught to date. You should select the appropriate data types and constraints for the table.

2. Create a table named Courses to store CourseID (Primary key), Discipline Name (e.g. SDEV), Course Number (e.g. 300), Number of Credits (e.g. 3), Year first offered (e.g. 2010) and Course Title. You should select the appropriate data types and constraints for the table.

3. Create a table named FacultyCourses to store the Faculty and the Courses they have taught. You should design the table based on the Faculty and Courses tables you previously created.

4. Use Insert statements to populate at least 10 faculty records, 5 Course records, and 25 FacultyCourses records

5. Use update statements to update all Courses to 4 credits

6. Use update statements to update any Faculty who have taught more than 4 courses to modify the number to 5 courses taught

7. Delete any Faculty record whose LastName starts with the letter ‘Z'

8. Delete any Course record that was first offered in 1999

9. Use select statements to display all records in all 3 tables. Order by the Faculty lastname, and Course title as appropriate. Note you should use 3 separate select statements to satisfy this requirement.

10. Use Select statements to display all Faculty who have not taught any courses

11. Use Select statements to display all Courses offered before 1984

12. Use Select and appropriate joins to display all columns from the Faculty and Course tables for each Faculty and Course in the FacultyCourse table. Note: this will be a 3-table join.

Create screen shots showing the successful running of each your scripts.

For your deliverables, you should submit a zip file containing your word document (or PDF file) with screen shots of the application running successfully along with your SQL script file. You do not need separate files for each script. You can include them in one SQL script.

Include your full name, class number and section and date in the document that is blank and attached called williamclementsSDEV300Lab7.

Reference no: EM131099781

Questions Cloud

Is it horizontally equitable : Is this type of tax supported by the "ability-to-pay" principle of tax equity? Is it vertically equitable? Is it horizontally equitable?
Daily calorie consumption of females : Construct a confidence interval for 95% , the difference between the mean daily calorie consumption of females in September-February and the mean daily calorie consumption of females in March-August. Then complete the table below.
What is the total revenue joe can earn in a year : What are the total opportunity costs of producing ten boats (explicit and implicit)?
Excessively suddenly stops the alcohol use : Alcohol withdrawal occurs when a person who uses alcohol excessively suddenly stops the alcohol use. Studies have shown that the onset of withdrawal is experienced a mean of 39.5 hours after the last drink, with a standard deviation of 18 hours.
Create a table named faculty to store facultyid : Create a table named Faculty to store FacultyID( Primary key), FirstName, LastName, Email, Date of birth and number of courses taught to date. You should select the appropriate data types and constraints for the table.
Find the amount credited and the outstanding balance : 1. How much would have to be paid on an invoice for $328 with terms of 2/10 ROG if the merchandise invoice is dated January 3, the merchandise arrives January 8, and the invoice is paid (a) January 11; (b) January 25?
Write a program to test your implementation of stack class : Write a program to test your implementation of this Stack class. You also need to provide at least 4 test cases for this program to test all the methods including constructor, push, pop, peek and size, and to test dynamic resizing
What has happened to your accounting profit : What has happened to your accounting profit?
Traditional and continuing features of the japanese economy : Discuss in details four traditional and continuing features of the Japanese economy and what should the Japanese government do about Abenomics?

Reviews

Write a Review

Database Management System Questions & Answers

  Write the proper sequence of activities in the design

Write the proper sequence of activities in the design of a video rental database. The initial ERD is shown in above (or refer to textbook figure 9.9). The design must support all rental activities, customer payment tracking, and employee work sche..

  Create ssis jobs and an operator

Use Hands-on Projects to create SSIS Jobs and an Operator; and use SQL Server Profiler tool.

  Define calculations and format the table

internship at Mountain View Realty, a real estate firm that focuses in the North Utah County area. The previous intern developed a spreadsheet listing houses listed and sold during the last several months. She included addresses, location, list pr..

  Data storage and compression

Data Storage and Compression- Imagine that you are serving in the role of director of data center operations for your company, which is currently using redundant sites as backup and manually managing replication and failovers

  Explain the type of analysis you completed

Your Memo will focus one paragraph on each of the Data Analysis sheets in your workbook. Explain the type of analysis you completed, the conclusions you drew, and a recommendation based on the analysis

  Yrace history of the development of databases

In 500 words or less, trace the history of the development of databases beginning with pre-computer days to the present.

  Draw erd with key attributes and data dictionary

Draw ERD with key attributes. You can use any notation to draw the ERD. Must include legend - Data dictionary for the above scenario

  How many green books it has

Webster Library wants to know how many green books it has. Out of the 500 shelves of books, 3 shelves were selected. These shelves hold 150 books each. 54 of the books sampled were green.

  Which part of the rdbms takes care of the data dictionary

Name the sub-systems of a RDBMS. Which part of the RDBMS takes care of the data dictionary and How?

  Metropolis toys is an independent family-owned manufacturer

metropolis toys is an independent family-owned manufacturer of wooden toys. the toys are designed by members of the

  Compares and contrasts design method for database management

The chief information officer (CIO) has asked you to choose any methodology to summarize the electronic data interchange (EDI), Compares and contrasts design methods for database management

  Alexander, the great: strength, weakness and contributions

There were immense qualities for Alexander, the great as a leader. One of the greatest qualities a leader should have is ambition.

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