mirror of
https://github.com/berkeleydb/libdb.git
synced 2024-11-17 01:26:25 +00:00
12 lines
287 B
MySQL
12 lines
287 B
MySQL
|
CREATE DATABASE numismatics;
|
||
|
|
||
|
CREATE TABLE coin (cid INT(8) PRIMARY KEY,
|
||
|
unit VARCHAR(20),
|
||
|
value NUMERIC(8,2),
|
||
|
mintage_year INT(8));
|
||
|
|
||
|
CREATE INDEX unit_index ON coin(unit);
|
||
|
|
||
|
CREATE INDEX unit_index1 ON coin(unit);
|
||
|
|