#2
抛砖引玉2015-02-24 04:11
|
初学数据库,linux怎么建立表啊,命令是什么??
[root@localhost ~]# sqlite3 mydb.txt
SQLite version 3.5.6
Enter ".help" for instructions
sqlite> create table Employee
...> (emp_id int not null,
...> emp_name varchar(10) not null,
...> address varchar(40),
...> );
SQL error: near ")": syntax error
sqlite> create table Employee
...> (emp_id int not null,
...> emp_name varchar(10) not null,
...> address varchar(40),
这是我在电脑上输入的,老是提示错?怎么建立啊