私は3つのテーブルを持っています
注文表
- ID
 - ユーザー名
 - 食通
 - 酔っ払い
 
食物
- 食通
 - 名前
 
飲む
- 酔っ払い
 - 名前
 
次のようなコマンド order_table テーブルを作成する-------------------------------------------- -----
create table order_table(
id int not null auto_increment, 
user_name varchar(26) not null, 
foodid int(11) not null, 
drinkid int(11) not null, 
primary key(id), 
FOREIGN KEY (foodid) REFERENCES food(foodid),
FOREIGN KEY (drinkid) REFERENCES food(drinkid)
)ENGINE=innodb;
食卓の作成 --------------------------------------------------- --------
create table food (
foodid int(11) not null auto_increment, 
name varchar(26) not null, 
primary key(foodid)
)ENGINE=innodb;
ドリンクテーブルの作成 --------------------------------------------------- -------
create table drink (
drinkid int(11) not null auto_increment, 
name varchar(26) not null, 
primary key(drinkid)
)ENGINE=innodb;
今私は問題を満たしています
ERROR 1005 : Can't create table 't.order_table' (errno: 150)
which t は私のデータベース名なので、このコードで何ができるでしょうか。皆さんに感謝します。