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

  Advantages of database management

Discuss the advantages of a database management approach to the file processing approach? Give examples to illustrate your answer.Outline the benefits and limitations of the relational database model for business applications today?

  How much of the total materials handling cost

How much of the total materials handling cost would be allocated to the wall mirrors - the materials handling cost is allocated on the basis of material moves

  Imagine that you work for a finance industry-based

imagine that you work for a finance industry-based organization. your organization is looking to submit its database

  Metropolis toys metropolis toys is an independent

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

  Write an sql statement that displays customer details

Write an SQL statement that displays customer details

  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.

  Does the reason for leaving the company

What is your recommendation for this policy and process? Does the reason for leaving the company affect the recommendation? Why or why not? Be specific and explain your reasoning.

  Simulate the implementation of a real-life database

Simulate the implementation of a real-life database, you will start with requirements elicitation for a given scenario. After all the basic functional and non-functional requirements have been gathered, you will start designing the database.

  Find an example of an actual data warehouse.

The data warehouse example provided should be publically accessible.

  Explain the diference between hash indexes and b+- ree index

Explain the difference between Hash indexes and B+- ree indexes. In particular, discuss how equality and range searches work, using anexample.

  Create a database to support the information management

Create a database to support the information management needs of an organization or individual. Explain why a database is a good tool to solve it. Describe what database features will be used and why. d. Provide background on the calculations, form..

  Create a gantt chart illustrating the project tasks

Write clearly and concisely about Systems Analysis and Development topics using proper writing mechanics and technical style conventions.

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