Read and answer Lessons 1 and 2 on SQL Boltarrow-up-right.
On your local computer:
Create a new database car_yards.
car_yards
Create a table of cars with the columns: id, brand, number_of_seats, max_speed using appropriate data types.
cars
id
brand
number_of_seats
max_speed
Insert 5 cars into the table using INSERT INTO.
INSERT INTO
Update the first car's brand to 'ferrari' (remember strings/text are single quotes in PostgreSQL).
'ferrari'
Delete the 3rd record from the table.
Select all cars that have a max_speed greater than 130.
Last updated 2 years ago