English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

CREATE TABLE payment_details(
receipt_num INTEGER(5) NOT NULL,
payment_date DATE NOT NULL,
payment_amount FLOAT NOT NULL,
cus_num INTEGER(5) NOT NULL,
tour_num INTEGER(5) NOT NULL,
CONSTRAINT `cus_num` FOREIGN KEY `cus_num`(`cus_num`)
REFERENCES `customer`(`cus_num`),
CONSTRAINT `tour_num` FOREIGN KEY `tour_num`(`tour_num`)
REFERENCES `tour`(`tour_num`));


wats wrong?

2007-08-04 20:46:35 · 2 answers · asked by SQL 1 in Computers & Internet Programming & Design

2 answers

try double quotation marks instead of single ones.

2007-08-04 20:58:27 · answer #1 · answered by iyiogrenci 6 · 1 0

It works in my PC. Its fine. Go ahead

2007-08-05 04:36:04 · answer #2 · answered by Sujiyas 1 · 0 0

fedest.com, questions and answers