libdb/test/sql_codegen/data/two_same_name_indexes.sql

12 lines
287 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_index1 ON coin(unit);