The document outlines steps to create a pizza shop database with two tables: a members table to store customer information like name, email, username, and password, and an items table to store menu items with an ID, name, and price. The members table is set up with a primary key on username and unique indexes on username and password to ensure uniqueness.
The document outlines steps to create a pizza shop database with two tables: a members table to store customer information like name, email, username, and password, and an items table to store menu items with an ID, name, and price. The members table is set up with a primary key on username and unique indexes on username and password to ensure uniqueness.
The document outlines steps to create a pizza shop database with two tables: a members table to store customer information like name, email, username, and password, and an items table to store menu items with an ID, name, and price. The members table is set up with a primary key on username and unique indexes on username and password to ensure uniqueness.
The document outlines steps to create a pizza shop database with two tables: a members table to store customer information like name, email, username, and password, and an items table to store menu items with an ID, name, and price. The members table is set up with a primary key on username and unique indexes on username and password to ensure uniqueness.
use pizza_shop_db; step 2: CREATE TABLE members ( first_name VARCHAR(45) NOT NULL, last_name VARCHAR(45) NOT NULL, email VARCHAR(45) NOT NULL, uname VARCHAR(45) NOT NULL, password VARCHAR(45) NOT NULL, PRIMARY KEY (uname), UNIQUE INDEX uname_UNIQUE (uname ASC) VISIBLE, UNIQUE INDEX password_UNIQUE (password ASC) VISIBLE);
step 3: CREATE TABLE items ( id INT NOT NULL, item_name VARCHAR(45) NOT NULL, price_rupee INT NOT NULL, PRIMARY KEY (id));