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

Kursinnehåll

Databases in Python

Databases in Python

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

book
Challenge: Table Design

Uppgift

Swipe to start coding

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.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 3. Kapitel 3
toggle bottom row

book
Challenge: Table Design

Uppgift

Swipe to start coding

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.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 3. Kapitel 3
Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Vi beklagar att något gick fel. Vad hände?
some-alt