Generate all tables