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

Kursinnhold

Databases in Python

Databases in Python

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

book
Challenge: Table Design

Oppgave

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 desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 3. Kapittel 3
toggle bottom row

book
Challenge: Table Design

Oppgave

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 desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 3. Kapittel 3
Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Vi beklager at noe gikk galt. Hva skjedde?
some-alt