Question: Write SQL statement to create a student table. The table has student name, ID, major, age, address. ID is the primary key, and name and
- Write SQL statement to create a student table. The table has student name, ID, major, age, address. ID is the primary key, and name and age cannot be null. Age is a positive number and not greater than 70.
- Write SQL statement to create an employee table. The table has name, ID, department, title, birthday, and salary. The minimum salary for all employees are 30,000$, and only manager can have salary greater than 150,000$.
- Create a view CS_Student for CS students which includes ID, name, and address.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
