Data Structures in Python and SQL
This is -- partially -- about the object-relational impedance mismatch.
But it's also about the parallel concepts between objects and relations. We'll use Python as our object model.
First, the obvious.
A SQL table is a list of rows. A row is a dictionary that maps a column name to a column …
more ...