Originariamente inviato da Games
potresti scrivermi la sintassi di 2) e 3) ??
Thanks
codice:
CREATE TABLE tabella (
id int(10) unsigned NOT NULL auto_increment,
testo text NOT NULL,
reference varchar(50)  NOT NULL default '',
PRIMARY KEY  (id),
UNIQUE KEY reference (reference)
)