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

  1. Create a table StudentInfo with following fields:
    1. ID
    2. First Name
    3. Last Name
    4. SSN
    5. Date of Birth
  2. Create a table ClassInfo table:
    1. ID
    2. Class Name
    3. Class Description
  3. Create a table RegisteredClasses table:
    1. StudentID
    2. 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:

  1. Query to show all records from StudentInfo whose first name is John
  2. Query to show all records from StudentInfo whose last name is Doe
  3. 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!