Hello everyone,
This is a quickie.
I’m pretty new to SQL, and MySQL.
I’m currently learning at Google Code University’s Introduction to Databases and MySQL (http://code.google.com/edu/tools101/mysql.html).
I’m following the tutorial via MySQL console, and I keep getting a syntax error when i type this:
create table orders (order_no int not null auto_increment, FK_cust_no int not null,
foreign key(FK_cust_no) references customer(cust_no), primary key(order_no));
Thanks in advance!