Question

Add the following records to the teach table. The teach table determines which professor taught which...

  1. Add the following records to the teach table. The teach table determines which professor taught which course for the specified semester. Refer to Project 1 to determine what fields are in the teach table.
    1. 1, 101, 2, Fall 2021, St. Vincent, 115
    2. 2, 102, 3, Spring 2021, Dunleavy, 122
    3. 3, 101, 1, Spring 2021, St. Vincent, 104
    4. 4, 201, 7, Fall 2018, Depaul, 14
    5. 5, 201, 7, Fall 2021, Depaul, 30
    6. 6, 301, 6, Spring 2021, Dunleavy, 208
    7. 7, 301, 5, Fall 2021, Dunleavy, 305

Homework Answers

Answer #1

a. INSERT INTO teach VALUES (1,101,2,'Fall 2021','St. Vincet',115);

b. INSERT INTO teach VALUES (2,102,3,'Spring 2021','Dunleavy',122);

c. INSERT INTO teach VALUES (3,101,1,'Spring 2021','St. Vincent',104);

d. INSERT INTO teach VALUES (4,201,7,'Fall 2018','Depaul',14);

e. INSERT INTO teach VALUES (5,201,7,'Fall 2021','Depaul',30);

f. INSERT INTO teach VALUES (6,301,6,'Spring 2021','Dunleavy',208);

g. INSERT INTO teach VALUES (7,301,5,'Fall 2021','Dunleavy',305);

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
SQL Data: you can just copy paste it into mysql to. CREATE DATABASE University;USE University; CREATE...
SQL Data: you can just copy paste it into mysql to. CREATE DATABASE University;USE University; CREATE TABLE Student (  sid INT PRIMARY KEY,  name VARCHAR(20) NOT NULL,  address VARCHAR(20) NOT NULL,  major CHAR(2)); CREATE TABLE Professor (  pid INT PRIMARY KEY,  name VARCHAR(20) NOT NULL,  department VARCHAR(10) NOT NULL); CREATE TABLE Course (  cid INT PRIMARY KEY,  title VARCHAR(20) NOT NULL UNIQUE,  credits INT NOT NULL,  area VARCHAR(5) NOT NULL); CREATE TABLE Transcript (  sid INT,  cid INT,  pid INT,  semester VARCHAR(9),  year YEAR,  grade CHAR(1) NOT NULL,  PRIMARY KEY (sid, cid, semester, year),  FOREIGN KEY (sid) REFERENCES Student...
A loan made on March 14 is due September 13 of the following year. Find the...
A loan made on March 14 is due September 13 of the following year. Find the exact time for the loan in a​ non-leap year and a leap year. days. The exact time in a​ non-leap year is ? days The exact time in a leap year is ? days. Data Table Sequential Numbers for Dates of the Year Day of Month Jan. Feb. Mar. Apr. May June July Aug. Sept. Oct. Nov. Dec. 1 1 32 60 91 121...
Using the pivot table that you just created, determine which of the color types sold the...
Using the pivot table that you just created, determine which of the color types sold the least amount of yards using =MIN() Using the pivot table that you just created, determine which of the color types sold the largest amount of yards using =MAX() If Saeko wants to expand the colors in both the best selling and the worst selling color type, which two color types should she buy? Least amount sold: 5194 Largest amount sold: 7229 What colors should...
Bivariate Data & Probability After completing the calculation by hand in Q1 you can use Excel...
Bivariate Data & Probability After completing the calculation by hand in Q1 you can use Excel to check your answers before submitting. Q2 assesses your general understanding of probability and linear associations using Excel to analyse a large dataset. Question 1       Covariance and Correlation The table below shows a set of sample bivariate data. Calculate the covariance and correlation coefficient by completing the below table. Show all working. X Y (X - ) (Y - ) (X - )(Y -...
The Red Lobster Restaurant chain conducts regular surveys of its customers to monitor the performance of...
The Red Lobster Restaurant chain conducts regular surveys of its customers to monitor the performance of individual restaurants. One of the questions asks customers to rate the overall quality of their last visit. the listed responses are Poor 1, Fair 2, Good 3, Very Good 4, and Excellent 5. The survey also asks respondents whether their children accompanied them (1=yes) and (2=no). Graphically depict these data and describe your findings. Customer Rate Children 1 4 1 2 3 2 3...
Use the Manufacturing database from “Excel Databases.xls” on Blackboard. Use Excel to develop a multiple regression...
Use the Manufacturing database from “Excel Databases.xls” on Blackboard. Use Excel to develop a multiple regression model to predict Cost of Materials by Number of Employees, New Capital Expenditures, Value Added by Manufacture, and End-of-Year Inventories. Locate the observed value that is in Industrial Group 12 and has 7 employees. Based on the model and the multiple regression output, what is the corresponding residual of this observation? Write your answer as a number, round to 2 decimal places. SIC Code...
I am making a game like Rock Paper Scissors called fire water stick where the rules...
I am making a game like Rock Paper Scissors called fire water stick where the rules are Stick beats Water by floating on top of it Water beats Fire by putting it out Fire beats Stick by burning it The TODOS are as follows: TODO 1: Declare the instance variables of the class. Instance variables are private variables that keep the state of the game. The recommended instance variables are: 1. 2. 3. 4. 5. 6. A variable, “rand” that...
Researchers in a 2015 study by Flannery et al. sought to estimate the effectiveness of the...
Researchers in a 2015 study by Flannery et al. sought to estimate the effectiveness of the seasonal influenza vaccine in preventing acute respiratory infection (ARI). A total of 507 subjects from Texas who showed symptoms of ARI were recruited for this study. The data provided show the result of each subject's test for influenza. Click to download the data in your preferred format.    CrunchIt!    CSV    Excel    JMP    Mac-Text    Minitab    PC-Text    R   ...
Your firm works in construction and buys ASTM A325M8S bolts in very large numbers. You are...
Your firm works in construction and buys ASTM A325M8S bolts in very large numbers. You are interested in purchasing bolts from different suppliers and have obtained and tested samples of 200 bolts from three suppliers: Allnutt, Boltzman, Coachers.You have tested these in your new bolt testing machine, purchased after you had discovered your old bolt testing machine was performing erratically. (For the purposes of this question, you are safe to assume that the new machine works perfectly and that its...