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
573
October 23, 2021 09:57AM
315
October 23, 2021 12:24PM
220
October 24, 2021 02:27AM
312
October 24, 2021 10:43AM
223
October 26, 2021 02:31AM
231
October 26, 2021 03:58AM
264
October 26, 2021 05:03AM
225
October 26, 2021 09:40AM
234
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.