Question: 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

Construct database queries using Structured Query Language (SQL). Construct database using phpmyadmin

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 items

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!