Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Table Design | More About SQLite
Databases in Python
course content

Course Content

Databases in Python

Databases in Python

1. Introduction to SQLite
2. CRUD
3. More About SQLite
4. SQLAlchemy

bookChallenge: Table Design

Task
test

Swipe to show code editor

You need to complete the code to create a table in an SQLite database named cars. The table should contain four fields:

  1. id — a unique identifier for the car.
  2. brand — the brand of the car.
  3. engine_capacity — the engine capacity of the car.
  4. 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.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 3
toggle bottom row

bookChallenge: Table Design

Task
test

Swipe to show code editor

You need to complete the code to create a table in an SQLite database named cars. The table should contain four fields:

  1. id — a unique identifier for the car.
  2. brand — the brand of the car.
  3. engine_capacity — the engine capacity of the car.
  4. 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.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 3
toggle bottom row

bookChallenge: Table Design

Task
test

Swipe to show code editor

You need to complete the code to create a table in an SQLite database named cars. The table should contain four fields:

  1. id — a unique identifier for the car.
  2. brand — the brand of the car.
  3. engine_capacity — the engine capacity of the car.
  4. 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.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Task
test

Swipe to show code editor

You need to complete the code to create a table in an SQLite database named cars. The table should contain four fields:

  1. id — a unique identifier for the car.
  2. brand — the brand of the car.
  3. engine_capacity — the engine capacity of the car.
  4. 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.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 3. Chapter 3
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt