You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
793 B

-- Open up psql and create a sql_lab database if you haven't already done so.
-- If you already have a sql_lab database, no need to create it again.
-- Write SQL commands under the prompts below, and run the file to get results.
-- In case there is already a televisions table, drop it
-- Create a televisions table
-- The table should have id, model_name, screen_size, resolution,
-- price, release_date, photo_url
-- Insert 4 televisions into the tv_models table
-- Select all entries from the tv_models table
-- HUNGRY FOR MORE?
-- Look at this afternoon's instructor notes and read on altering tables before attempting below
-- Alter the tv_models, removing the resolution column
-- and add vertical_resolution and horizontal_resolution columns