SQL file for tables

Initial, very rough.