Managing a students database

Report a typo

As the new database manager at a school, you will need to maintain a SQL database that contains a list of students. Each student has an ID, first name, last name, and birth date. Given the following SQL code with some missing parts (represented as ▭), your task is to fill in the blanks to define the correct SQL data types for the Students table's columns and then add a new student to this table with a SELECT statement returning all the students.

Fill in the gaps with the relevant elements
 Students (
    StudentID  PRIMARY KEY,
    FirstName (50),
    LastName VARCHAR(50),
    BirthDate 
);

INSERT INTO Students (StudentID, FirstName, LastName, BirthDate)
VALUES (1, 'John', 'Doe', '1990-12-01');

SELECT * FROM Students;
ALTER TABLEINTEGERFLOATTIMESTAMPDATECREATE TABLEBOOLEANVARCHAR

Create a free account to access the full topic