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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started