subject

SERVER

Create the Pizza and Toppings tables, including all of their columns, datatypes, and constraints, including the foreign key constraint.
Insert at least four rows into the Pizza table. One of the pizzas should be named "Plain" because it will not have any toppings. Other than this, you select the ids, names, dates, and prices of your choosing (maybe you have some favorite pizzas?).

Insert toppings of your choosing into the topping table. One of the toppings should not be associated with any pizza, that is, the topping should be an "add-on" which is not included in any pizza’s standard toppings. Ensure that the "Plain" pizza has no toppings, and that all other pizzas have at least two toppings. Select all rows in both tables to view what you inserted.

As an exercise, attempt to insert a topping that references a pizza that doesn’t exist. Summarize:
why the insertion failed, and
how you would interpret the error message from your RDBMS so that you know that the error indicates the Pizza reference is invalid.
Fulfill the following request:

List the names and availability date of all pizzas whether or not they have toppings. For the pizzas that have toppings, list the names of the toppings that go with each of those pizzas. Order the list by the availability date, oldest to newest.

There are two kinds of joins that can be used to satisfy this request. Write two queries using each type of join to satisfy this request.
Fulfill the following request:

List the names of all toppings whether or not they go with a pizza, and the names of the pizzas the toppings go with. Order the list by topping name in reverse alphabetical order.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:10
Dean wants a quick way to look up staff members by their staff id. in cell q3, nest the existing vlookup function in an iferror function. if the vlookup function returns an error result, the text “invalid staff id” should be displayed by the formula. (hint: you can test that this formula is working by changing the value in cell q2 to 0, but remember to set the value of cell q2 back to 1036 when the testing is complete.)
Answers: 3
question
Computers and Technology, 23.06.2019 00:30
Quick pl which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 1
question
Computers and Technology, 23.06.2019 06:20
What is a point-in-time measurement of system performance?
Answers: 3
question
Computers and Technology, 23.06.2019 06:30
Which option correctly describes a dbms application? a. software used to manage databases b. software used to organize files and folders c. software used to develop specialized images d. software used to create effective presentations
Answers: 1
You know the right answer?
SERVER

Create the Pizza and Toppings tables, including all of their columns, datatypes,...
Questions
question
Mathematics, 16.12.2021 22:00
question
Biology, 16.12.2021 22:00
question
Biology, 16.12.2021 22:00
Questions on the website: 13722362