BEGIN TRANSACTION; DROP TABLE IF EXISTS horses; CREATE TABLE horses ( id SERIAL PRIMARY KEY, name VARCHAR(30), farm VARCHAR(30), breed VARCHAR(50), prize INT, date_won DATE ); COMMIT;