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

Kurssisisältö

Databases in Python

Databases in Python

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

book
Challenge: Table Design

Tehtävä

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.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 3. Luku 3
toggle bottom row

book
Challenge: Table Design

Tehtävä

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.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 3. Luku 3
Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?
some-alt