mySQL - error 1064
Hello all,
can not help why durring create simple table in MySQL showing me this error? whats wrong? please help I am a begginer
mysql> create table friends
-> (lastname varchar(15) not null,
-> firstname varchar(15) not null,
-> callprefix number(9) null,
-> phone varchar(10) null,
-> region char(2) not null,
-> zip varchar(5) null);
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 'number(9) null,
phone varchar(10) null,
region char(2) not null,
zip' at line 4
mysql>
Subject
Views
Written By
Posted
mySQL - error 1064
812
October 23, 2021 09:57AM
434
October 23, 2021 12:24PM
327
October 24, 2021 02:27AM
427
October 24, 2021 10:43AM
334
October 26, 2021 02:31AM
357
October 26, 2021 03:58AM
390
October 26, 2021 05:03AM
404
October 26, 2021 09:40AM
338
October 26, 2021 09:54AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.