What SQL can be used to list the tables, and the rows within those tables in an SQLite database file - once I have attached it with the
Try PRAGMA table_info(table-name); http://www.sqlite.org/pragma.html#schema
PRAGMA table_info(table-name);