Question: 1. How many databases are created by the script? 2. List the database names and the tables created for each database. 3. How many records
1. How many databases are created by the script?
2. List the database names and the tables created for each database.
3. How many records does the script insert into the om.order_details table?
4. How many records does the script insert into the ap.invoices table?
5. How many records does the script insert into the ap.vendors table?
6. Is there a foreign key between the ap.invoices and the ap.vendors table?
7. How many foreign keys does the ap.vendors table have?
8. What is the primary key for the om.customers table?
9. Write a SQL command that will retrieve all values for all fields from the om.orders table
10. Write a SQL command that will retrieve the fields: title and artist from the om.items table
-- ************************************************************* -- This script creates all 3 sample databases (AP, EX, and OM) -- for Murach's MySQL by Joel Murach -- *************************************************************
Please give me the command to help me know about the answes.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
