Ciao, mi aggiungo all'argomento. Non riesco a creare una tavola...
codice:
mysql> show tables
    -> ;
+---------------------+
| Tables_in_magazzino |
+---------------------+
| listaprodotti       |
| listautenti         |
+---------------------+
2 rows in set (0.00 sec)


mysql> CREATE TABLE IF NOT EXISTS listaacquisti(
    -> id INT NOT NUL AUTO_INCREMENT PRIMARY KEY,
    -> nomeutente VARCHAR(20),
    -> cognome VARCHAR(20),
    -> categoria VARCHAR(20),
    -> progetto VARCHAR(20),
    -> nomeprodotto VARCHAR(20),
    -> quantita INT(10)
    -> );
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NUL AUTO_INCREMENT PRIMARY KEY,
nomeutente VARCHAR(20),
cognome VARCHAR(20),
cat' at line 2
mysql>