Сервер: Денвер-3 2013-06-02
Не могу выполнить sql-запрос, выдаёт ошибку:
#1064 - 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 'create table users_social ( id int not null auto_increment primary key, user' at line 10
Сам запрос:
create table users
(
id int not null auto_increment primary key,
username varchar(50) not null unique key,
password varchar(100),
email varchar(100),
activ_status tinyint(1) default 0,
activ_key varchar(1000)
)
create table users_social
(
id int not null auto_increment primary key,
username varchar(100),
email varchar(100),
source varchar(100)
)