You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
208 B
MySQL
12 lines
208 B
MySQL
2 years ago
|
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;
|