Mysql
Mysql
Mysql
Database changed
mysql> create table employee(Empno varchar(3) primary key,Ename varchar(25),salary
decimal(8,2) NOT NULL,Bonus int(5),
-> Dept id varchar(3));
ERROR 1064 (42000): 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 'id
varchar(3))' at line 2
mysql> create table employee(Empno varchar(3) primary key,ename varchar(25),salary
decimal(8,2) NOT NULL,/
-> bonus int(5),Dept id varchar(3));
ERROR 1064 (42000): 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 '/
bonus int(5),Dept id varchar(3))' at line 1
mysql> create table employee(empno varchar(3) Primary key,ename varchar(25),salary
decimal(8,2) NOT NULL,bonus int(5),Deptid varchar(3));
Query OK, 0 rows affected, 1 warning (0.05 sec)