Homework
Part 1
Read and answer Lessons 1 and 2 on SQL Bolt.
Part 2
On your local computer:
Create a new database
car_yards.Create a table of
carswith the columns:id,brand,number_of_seats,max_speedusing appropriate data types.Insert 5 cars into the table using
INSERT INTO.Update the first car's
brandto'ferrari'(remember strings/text are single quotes in PostgreSQL).Delete the 3rd record from the table.
Select all cars that have a
max_speedgreater than 130.
Last updated
Was this helpful?