Question: Create a table StudentInfo with following fields: ID First Name Last Name SSN Date of Birth Create a table ClassInfo table: ID Class Name Class
- Create a table StudentInfo with following fields:
- ID
- First Name
- Last Name
- SSN
- Date of Birth
- Create a table ClassInfo table:
- ID
- Class Name
- Class Description
- Create a table RegisteredClasses table:
- StudentID
- ClassID
The RegisteredClasses table should have a foreign key relationship to StudentInfo and ClassInfo tables for the respective IDs. Also the IDs in StudentInfo and ClassInfo need to be primary keys.
When you submit the file your email should also contain the following SQL Queries:
- Query to show all records from StudentInfo whose first name is John
- Query to show all records from StudentInfo whose last name is Doe
- Query to delete all records from from ClassInfo where class name starts with ISAM'
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
