Answered step by step
Verified Expert Solution
Question
1 Approved Answer
customers customerid INT(11) firstName VARCHAR(50) lastName VARCHAR(50) address VARCHAR(255) city VARCHAR(50) + State CHAR(2) zip VARCHAR(20) phoneNo VARCHAR(15) Indexes products productid INT(11) title VARCHAR(50) orders
customers customerid INT(11) firstName VARCHAR(50) lastName VARCHAR(50) address VARCHAR(255) city VARCHAR(50) + State CHAR(2) zip VARCHAR(20) phoneNo VARCHAR(15) Indexes products productid INT(11) title VARCHAR(50) orders orderId INT(11) ++ artist VARCHAR(50) customerId INT(11) 1 unitPrice DECIMAL (9... xes orderDateAndTime DATETIME Indexes describeOrder Details orderId INT(11) productid INT(11) orderQty INT(11) downloadDateAndTime VARCHAR (45) creditcard Type VARCHAR(3) creditcard Number VARCHAR(25) Indexes 5. Write SQL statements (i.e., insert statements) to populate database tables. Each table must have at least 3 tuples. 6. Write SQL scripts to retrieve tuples of each table populated. 7. Write a SQL script to retrieve music file names purchased by each customer
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