Sei certo che questo codice sia per mysql?
i nomi tabella e campo non sono stringhe e quindi non vanno virgolettati. Togli le apici, usa le parentesi tonde e hai pure un errore nel nome del campo. Creato description inserisci dexcription
Prova cosi':
codice:
CREATE TABLE widget
(
widgetid INT(10) NOT NULL primary key AUTO_INCREMENT,
name varchar(255) NOT NULL,
description text
);
INSERT INTO widget (name, description)
VALUES('Foo', 'This is a footacular widget!');
Se questi errori sono nel libro e riferiti a MySQL ... allora dubita del libro.