subject

Submit a series of SQL statements that when executed in sequence yields a functional database with tables constraints and relationships. Create Database Exercise Part 1:
Please include the following information in your tables:
Ensure you use the proper data type and constraint for each attribute
This exercise will help you identify the sequence a website must present to the user, given the dependencies you are embedding into the database structure.
All of the symbols you created in the EERD must be transferred to the CREATE statement. Primary Keys, Foreign Keys, UNIQUE constraints, NOT NULL constraints, dependencies, etc.
Write the CREATE statements for the database and ALL the tables in the EERD.
This file should be able to run without errors. Also, I should be able to re-run the file without errors.
DROP the database before starting. For example:
DROP DATABASE IF EXISTS abc1234 ;
CREATE DATABASE IF NOT EXISTS abc1234 ;
USE abc1234 ;
DROP TABLE IF EXISTS abc1234.side ;
CREATE TABLE IF NOT EXISTS abc1234.side (
side_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
side_name VARCHAR(50) NOT NULL UNIQUE KEY,
side_description TEXT NOT NULL,
is_sweet BOOLEAN NOT NULL DEFAULT 1
side_cost_ingredients DECIMAL(7,2) NOT NULL,
side_cost_prep DECIMAL(7,2) NOT NULL,
) ENGINE=InnoDB AUTO_INCREMENT=1001 ;
Every time you create a table with AUTO_INCREMENT you should increment the sequence by a base sequencing number, 1000 for instance. Therefore, the Entree table for example, you should start at 2001.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:30
What does 21 pilots middle aged name as a band 15 years prior to them naming their band 21 pilots?
Answers: 1
question
Computers and Technology, 23.06.2019 04:20
Which network media uses different regions of the electromagnetic spectrum to transmit signals through air? uses different regions of the electromagnetic spectrum to transmit signals through air.
Answers: 2
question
Computers and Technology, 23.06.2019 07:00
You need a quick answer from a coworker. the most effective way to reach your coworker is through a. cloud server b. instant message c. teleconference d. telepresence
Answers: 1
question
Computers and Technology, 23.06.2019 11:30
Auser is given read permission to a file stored on an ntfs-formatted volume. the file is then copied to a folder on the same ntfs-formatted volume where the user has been given full control permission for that folder. when the user logs on to the computer holding the file and accesses its new location via a drive letter, what is the user's effective permission to the file? a. read b. full control c. no access d. modify e. none of the above
Answers: 1
You know the right answer?
Submit a series of SQL statements that when executed in sequence yields a functional database with t...
Questions
question
Mathematics, 19.01.2020 04:31
question
Mathematics, 19.01.2020 04:31
Questions on the website: 13722361