Question: [ 4 ] Chapter LB 2 . Activityr 2 . pdf ( 1 ) File | Ci / Users / CCAC _ Loaner / Documents

[4] Chapter LB2.Activityr2.pdf
(1) File | Ci/Users/CCAC_Loaner/Documents/Chapter%20...
CREATE TABLE STUDENT_ACTIVITY
StudentID
Activity
ActivityFee
INT
VARCHAR (45)
Numeric (6,2)
NOT NULL,
NULL,
NULL,
CREATE TABLE ACTIVITY_FEE(
Activity
INT (45)
NOT NULL,
ActivityFee
VARCHAR(6,2)
NULL.
INSERT STUDENT_ACTIVITY VALUES
SELECT * FROM STUDENT_ACTIVITY;
/
Chapter LB2_Activityr2.pdf
File
C:/Users/CCAC_Loaner/Documents/Chapter%20...
INSERT ACTIVITY_FEE VALUES
('Golf'65.00),
('Skiing'200.00),
('Swimming50.00);
SELECT * FROM ACTIVITY_FEE;
CREATE TABLE STUDENT_HOUSING
StudentID
Building
BuildingFee
2.
INT
INT (45)
Numeric (8,2)
NOT NULt, NULL. NULt:
CREATE TABLE HOUSING FEE(
Building
VARCHAR (45)
BuildingFee
Numeric (8,2)
NOT NULL, NULL
INSERT STUDENT_HOUSING VALUES
(100, 'Randopih', 3200.00),
(200, 'Ingersoll' 3400.00
CIT230 DATABASE SYSTEMS
LAB_1
Part 1.
Directions:
Before you start this exercise, you need to install MYSQL Workbench Server that you created during
Create the database.
Start the MySQL Server.
Execute the script by clicking the Execute button in the MySQL Editor toolbar or by pressing F6. When you do, the Messages tab indicates whether the script was executed successfully.
Enter and run MYSQL statements.
Open a new Query tab window by clicking the New Query button in the toolbar.
A. Using the MySQL database named Exercise_1.
Create tables with the following attributes, run the and test the command by using the SELEC FROM For instance:
\table[[,StudentID,,],[1,,Activity,ActivityFee],[,100,Golf,65.00],[2,100,Skiing,200.00],[3,200,Sking,200.00],[4,200,Swimming,50.00],[5,300,Skiing,200.00],[6,300,Swimming,50.00],[7,400,Golf,65.00],[8,400,Swimming,50.00]]
 [4] Chapter LB2.Activityr2.pdf (1) File | Ci/Users/CCAC_Loaner/Documents/Chapter%20... CREATE TABLE STUDENT_ACTIVITY StudentID

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!