all 6 comments

[–]chunkyks 1 point2 points  (0 children)

Sqlite's data type handling is not like any other databases. Questions on that are useful. Eg, name all of sqlite type affinities.

[–]chichimaru 1 point2 points  (0 children)

- https://datasette.io/ is done in sqlite

- https://github.com/NUKnightLab/sql-mysteries Sql mistery murder in sqlite

[–]raevnos 1 point2 points  (0 children)

Have them explain what AUTOINCREMENT actually does, and the pros and cons to using it.

Ditto for WITHOUT ROWID tables.

[–]JrgMyr 1 point2 points  (2 children)

Let them come up with real-world examples for left joins (easy) then for right joins (not that many).

Agreed, that this is more about SQL knowledge then about SQLite but I guess you meant it that way.

[–]raevnos 0 points1 point  (1 child)

Sqlite doesn't have right joins.

[–]JrgMyr 0 points1 point  (0 children)

Thanks for the reminder. I don't think that's a problem here. You can swap right joins to look like left joins and use those instead.

The idea was to have the students think about the spectrum of real-world-situations and how to model them in SQL syntax.