WEEK 1 ASSIGNMENT#2   Complete the following exercise: Create a student table. The student table needs to include the following columns: Student ID Student First Name Student Last Name Middle Name City State ZIP Code GPA Use the appropriate data types for each column. Create a Primary Key constraint for the table. Make sure all columns contain either a NULL or NOT NULL constraint.

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter4: Constraints
Section: Chapter Questions
Problem 6HOA: Add a constraint to make sure the Rep_ID value entered in the BOOK_STORES table is a valid value...
icon
Related questions
icon
Concept explainers
Question

WEEK 1 ASSIGNMENT#2

 

Complete the following exercise:
  1. Create a student table. The student table needs to include the following columns:
    • Student ID
    • Student First Name
    • Student Last Name
    • Middle Name
    • City
    • State
    • ZIP Code
    • GPA
  2. Use the appropriate data types for each column.
  3. Create a Primary Key constraint for the table.
  4. Make sure all columns contain either a NULL or NOT NULL constraint.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Query Syntax
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr