ciao a tutti sono nuovo e spero di aver usato il post giusto. Seguendo la guida trovata su html.it (http://database.html.it/guide/leggi/87/guida-mysql/) sto provando a creare un db seguendo il tutorial riportato, ma quando provo a creare questa table, premetto che per comodità ho modificato i tipi di valori,
mysql> create table prenotazioni (
-> 'id' int not null auto_increment,
-> periododal date not null,
-> periodoal date not null,
-> camera int not null,
-> idcliente int not null,
-> prezzototale decimal(7,2) not null,
-> primary key ('id'),
-> key 'camera' ('camera'),
-> key 'idcliente' ('idcliente')

mysql mi genera il seguente errore

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 '-> 'id' int not null auto_increment,
-> periododal date not null,
-> per' at line 2
qualcuno mi potrebbe dare una mano. grazie