Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

[ 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]]
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

10th Edition

0137916787, 978-0137916788

More Books

Students also viewed these Databases questions

Question

Differentiate between HR metrics and HR analytics.

Answered: 1 week ago

Question

How do Data Types perform data validation?

Answered: 1 week ago

Question

How does Referential Integrity work?

Answered: 1 week ago