--
-- Created by SQL::Translator::Producer::SQLite
--- Created on Mon Mar 22 11:08:33 2010
+-- Created on Thu Jun 3 11:52:50 2010
--
-;
--
-- Table: artist
CREATE TABLE artist (
artistid INTEGER PRIMARY KEY NOT NULL,
name varchar(100),
- rank integer NOT NULL DEFAULT '13',
+ rank integer NOT NULL DEFAULT 13,
charfield char(10)
);
CREATE INDEX books_idx_owner ON books (owner);
+CREATE UNIQUE INDEX books_title ON books (title);
+
--
-- Table: employee
--
-- View: year2000cds
--
CREATE VIEW year2000cds AS
- SELECT cdid, artist, title, year, genreid, single_track FROM cd WHERE year = "2000"
\ No newline at end of file
+ SELECT cdid, artist, title, year, genreid, single_track FROM cd WHERE year = "2000";