what's the error this program in mysql? -


create table order ( code int not null primary key, client_code int, suite_code int, gallery_code int, foreign key(client_code) references client(number), foreign key(suite_code) references suite(number), foreign key(gallery_code) references gallery(number) ); 

complains error in sql syntax near 'order'.

change name of table order, not reserved mysql, , work.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -