Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Part II. Table creation and data insertion 2- Write a SQL script to create a new database called UCL. Create the tables based on your
Part II. Table creation and data insertion 2- Write a SQL script to create a new database called "UCL". Create the tables based on your designs in Part I in this database. Save the script as Asg3_Q2.sql. Name the constraints using tableName columnName constraint format. For example, if the customer name is a required field (not null), name the constraint as CUSTOMER_NAME_NN. 3- Run the above script and verify that the tables and constraints were created properly by executing the command describe "tableName" 4- Add at least two rows in each table, you can use the description given in Assignment 1 or think about your usage experience with Seneca Security Lab to give you an idea for sample data. Create a script to enter the information. Save the statements in a script named Asg3_Q4.sql. 5- When done, query all rows of all tables (select *) save the script as Asg3_Q5.sql and save output in Asg3_Q5.txt
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