Answered step by step
Verified Expert Solution
Question
1 Approved Answer
University of Jeddah College of Computer Science & Engineering IST Dept. Universitu or Jeddai Academic Year 2 0 2 1 / 2 0 2 2
University of Jeddah
College of Computer Science & Engineering IST Dept.
Universitu or Jeddai
Academic Year
CCDS Database II
Lab #
Review of Basic SQL command
Statement purpose
To review the basic of SQL statements create and load data
Activity Outcomes
Students will be able to use SQL statement to create tables, insert, delete, update, and select statements.
Instructor Note
Implement all the questions below and submit, for each question, the code and its execution result as a readable screenshot displayed by Oracle. The contents of the screenshot MUST be in a readable font size.
Answer the following questions.
Create the following tables from the COMPANY database specified in Figures : EMPLOYEE, DEPARTMENT, PROJECT, WORKSON DEPTLOCATIONS, DEPENDENT using SQLPLUS or MySQL workbench. Write your CREATE TABLE statements to create the tables. You should capture the execution in a spool file that will be turned in Specify appropriate key and referential integrity constraints. Choose appropriate data types for each attribute. Important Note: Because there are circular references in the referential integrity constraints, you may have to add some referential integrity constraints later, after the tables are first created without these constraints
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