Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Construct database queries using Structured Query Language (SQL). Construct database using phpmyadmin using MySQL. I will post questions in 3 sequential because they are related
Construct database queries using Structured Query Language (SQL).
Construct database using phpmyadmin using MySQL. I will post questions in 3 sequential because they are related and must be functional altogether.
Part 1
1. Write SQL statement to create a database named myShopDB. 2. Write SQL statement to create two tables named ITEM and PURCHASE. The description of the tables is as below: ITEM id INT NOT NULL, AUTO INCREMENT, PRIMARY KEY name VARCHAR (35) PURCHASE id INT NOT NULL, AUTO INCREMENT, PRIMARY KEY FOREIGN KEY itemID quantity INT INT 3. Write SQL statements to insert THREE (3) new itemsStep 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