libdb/test/sql_codegen/data/two_same_indexes.sql

11 lines
285 B
MySQL
Raw Normal View History

2011-09-13 17:44:24 +00:00
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_index ON coin(unit);