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