Question: 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

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

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 Accounting Questions!