Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use the appropriate SQL statements to create the Sigma database on MySQL 1. CREATE the Sigma database 2. CREATE two tables (Alpha and Beta) in
Use the appropriate SQL statements to create the Sigma database on MySQL 1. CREATE the Sigma database 2. CREATE two tables (Alpha and Beta) in Sigma with the following attributes and constraints: Table Alpha Attribute alphaKey alphaName Datatype Integer String, max. 10 characters DATE Constraint Prime Key DEFAULT NULL alphaDate DEFAULT "2019-3-1" DEFAULT 5 DEFAULT NULL Foreign Key linking to table Beta, attribute alphaFKe Prime Key DEFAULT "RED alphalnteger betaFKey Integer Integer betakey betaColor Beta Integer String, max. 15 characters FLOAT Integer betaFloat alphaFKey DEFAULT 0.0 DEFAULT NULL Foreign Key linking to table Alpha, attribute betaFKey 3. INSERT the following records into Alpha: alphaKey alphaName Roger' Phil' Kevin Default Null aphaDate 2019-1-1' 2018-6-23 2020-8-17 Default 2010-1-1' alphalnteger Default 25 35 Default 1000 betaFKey 10 20 30 Default 40 10 20 4. INSERT the following records into Beta: betaKe 10 20 30 40 50 betaColor BLUE GREEN Default Default Orange betaFloat 10.01 Default 37.2 Default 99.99 alphaFKey Default 10 5. Display the data grids for the alpha and beta tables and examine the data that were inserted into them by the INSERT queries Export each grid as a text file. Combine them into a single pdf, and submit the pdf 6. Use the appropriate SQL statements to create the Sigma database on MySQL 1. CREATE the Sigma database 2. CREATE two tables (Alpha and Beta) in Sigma with the following attributes and constraints: Table Alpha Attribute alphaKey alphaName Datatype Integer String, max. 10 characters DATE Constraint Prime Key DEFAULT NULL alphaDate DEFAULT "2019-3-1" DEFAULT 5 DEFAULT NULL Foreign Key linking to table Beta, attribute alphaFKe Prime Key DEFAULT "RED alphalnteger betaFKey Integer Integer betakey betaColor Beta Integer String, max. 15 characters FLOAT Integer betaFloat alphaFKey DEFAULT 0.0 DEFAULT NULL Foreign Key linking to table Alpha, attribute betaFKey 3. INSERT the following records into Alpha: alphaKey alphaName Roger' Phil' Kevin Default Null aphaDate 2019-1-1' 2018-6-23 2020-8-17 Default 2010-1-1' alphalnteger Default 25 35 Default 1000 betaFKey 10 20 30 Default 40 10 20 4. INSERT the following records into Beta: betaKe 10 20 30 40 50 betaColor BLUE GREEN Default Default Orange betaFloat 10.01 Default 37.2 Default 99.99 alphaFKey Default 10 5. Display the data grids for the alpha and beta tables and examine the data that were inserted into them by the INSERT queries Export each grid as a text file. Combine them into a single pdf, and submit the pdf 6
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