Create a table named faculty to store facultyid

Assignment Help Basic Computer Science
Reference no: EM131400927

Making a SQL file with the following conditions:

1. Create a table named Faculty to store FacultyID( Primary key), FirstName, LastName, Email, Dateof birth and number of courses taught to date. You should select the appropriate data types andconstraints 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 CourseTitle. 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. Youshould 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 25FacultyCourses 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 modifythe 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, andCourse title as appropriate. Note you should use 3 separate select statements to satisfy thisrequirement

10. Use Select statements to display all Faculty who have not taught any courses11. Use Select statements to display all Courses offered before 198412. Use Select and appropriate joins to display all columns from the Faculty and Course tables foreach Faculty and Course in the FacultyCourse table. Note: this will be a 3-table join.

Reference no: EM131400927

Questions Cloud

Systems requirements and analysis : 1. Would you continue to work for a company if you disagreed with the firm's system development mission statement? Why or Why not?
Identify the most important strengths of your organization : Assess the organization's internal environment. Identify the most important strengths and weaknesses of your organization including an assessment of the organization's resources.
What is the value of the load resistance : The output voltage of a certain OTA with a load resistance is determined to be 3.5 V. If its transconductance is and the input voltage is 100 mV, what is the value of the load resistance?
Analyze why or why not you believe it is a pure competitor : Select a company which you believe is quite close to be purely (perfectly) competitive. Analyze why or why not you believe it is a pure competitor
Create a table named faculty to store facultyid : 1. Create a table named Faculty to store FacultyID( Primary key), FirstName, LastName, Email, Dateof birth and number of courses taught to date. You should select the appropriate data types andconstraints for the table.
Information about its velocity and acceleration : From the figure we can see that the car has a displacement of 25 m at 0.50 s and 2000 m at 6.40 s. Its displacement at other times can be read from the graph; furthermore, information about its velocity and acceleration can also be obtained from t..
Stuxnet and the new cyber weapons : Cyber activities can be transnational, and the changing environment is blurring the traditional distinctions between crime, espionage, terrorism and warfare.
Instructions to add two unsigned numbers : Write instructions to add two unsigned numbers 3FH and 47H and save the result in data register REG3 (ADRESS 03H). Identify the status of Z and C flags.
Difference between a op-amp buffer and a normal wire : Signal processing: What is the difference between a op-amp buffer and a normal wire? Can we treat them like they can replace each other?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Sort a n-element integer array with different elements

comparisons required by the Quicksort, and Mergesort algorithms to sort a n-element integer array with different elements

  What is the phase relationship between the signals

Suppose the voltage across an inductor of a circuit is represented by y 2 cos 2x and the current across the component is represented

  Using jflab find a linear grammar for the language

The language L= {a n b m : n?m} is context free. Using JFlab find a linear grammar for the language.

  What is the system log used for

What is the system log used for?

  Which part of the try-catch statement must be witten

Mark the following statements are True or False. If a statement is False, explain why? a. There can be only one catch-lause for each try-catch statement. b. A catch-lause is an exception handler. c. A throw statement must be located within a try-c..

  Prove complement is unique

Prove complement is unique

  Aes uses the indirect-rijndael algorithm

AES uses the Indirect-Rijndael algorithm  2. packet filter protect networks by blocking packets based on the packets' content

  Jerry''s appliance has a special promotion

Jerry's Appliance has a special promotion for its week long Anniversary Sale. After Customers have picked out the merchandise they wish to buy, they can draw three balls from an urn to determine the sum of the discount they will receive on their p..

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Methods-majority of target audience can play applications

What are some methods that we can guarantee that majority of target audience can play applications?

  How are the transfers into the idle states affected

Describe how the partitioning rules should be modified to handle Mealy outputs. How are the transfers into the idle states affected?

  What if four hexadecimal digits are used

What if four hexadecimal digits are used?

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