You will finish the Books table of a small library, choose the data types of two fields and choose the primary key.
Your tasks.
books: ("B4", "Sea Stories", 240, 7.5) and ("B5", "Bird Songs", 96, 4.25).types, give Pages and Price their SQLite data types: INTEGER or REAL.key_field to the name of the field that is a suitable primary key.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…