libdb/test/sql_codegen/data/database_without_name.sql

10 lines
370 B
MySQL
Raw Normal View History

2011-09-13 17:44:24 +00:00
CREATE DATABASE;
CREATE TABLE coin (cid INT(8) PRIMARY KEY,
unit VARCHAR(20),
value NUMERIC(8,2), -- just a comment here;
mintage_year INT(8),
mint_id INT(8),
CONSTRAINT mint_id_fk FOREIGN KEY(mint_id)
REFERENCES mint(mid));