Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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