Course Content
Databases in Python
Databases in Python
Challenge: Table Design
Task
You need to complete the code to create a table in an SQLite database named cars
. The table should contain four fields:
id
— a unique identifier for the car.brand
— the brand of the car.engine_capacity
— the engine capacity of the car.video_presentation
— a video presentation of the car.
Fill in the blanks in the SQL query by choosing the correct data types for each field.
Thanks for your feedback!
Challenge: Table Design
Task
You need to complete the code to create a table in an SQLite database named cars
. The table should contain four fields:
id
— a unique identifier for the car.brand
— the brand of the car.engine_capacity
— the engine capacity of the car.video_presentation
— a video presentation of the car.
Fill in the blanks in the SQL query by choosing the correct data types for each field.
Thanks for your feedback!
Challenge: Table Design
Task
You need to complete the code to create a table in an SQLite database named cars
. The table should contain four fields:
id
— a unique identifier for the car.brand
— the brand of the car.engine_capacity
— the engine capacity of the car.video_presentation
— a video presentation of the car.
Fill in the blanks in the SQL query by choosing the correct data types for each field.
Thanks for your feedback!
Task
You need to complete the code to create a table in an SQLite database named cars
. The table should contain four fields:
id
— a unique identifier for the car.brand
— the brand of the car.engine_capacity
— the engine capacity of the car.video_presentation
— a video presentation of the car.
Fill in the blanks in the SQL query by choosing the correct data types for each field.