Tools such as ORMs, migration scripts and admin screens need to ask the database about its own structure: which columns does a table have, what types are they, which one is the primary key? SQLite answers through PRAGMA commands, and many of them can also be used like tables inside a query.
Write a query that lists the structure of the orders table by reading pragma_table_info('orders'): return name, type, "notnull" and pk for every column.
name, type, notnull, pkpragma_table_info('orders')ordersSELECT ... FROM pragma_table_info('orders') works like a table.
notnull is also a keyword, so quote it: "notnull".
No results yet
Run your code to check it against the examples, or submit to run every test.