CProgram Files (x86)MySQLMySQL Server 5.1binmysql.exe9
CProgram Files (x86)MySQLMySQL Server 5.1binmysql.exe9
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create table csc(serial no. int primary key , name varchar(90),mobile no.
int(100),email varchar(20),stream varchar(20),dob varchar(20);
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 'no. int
primary key , name varchar(90),mobile no. int(100),email varchar(20),str' at line 1
mysql> create table csc(serial no int primary key , name varchar(90),mobile no
int(100),email varchar(20),stream varchar(20),dob varc
har(20);
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 'no int
primary key , name varchar(90),mobile no int(100),email varchar(20),strea' at line
1
mysql> create table csc(sno int primary key , name varchar(90),mobile no
int(100),email varchar(20),stream varchar(20),dob varchar(20
);
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 'no
int(100),email varchar(20),stream varchar(20),dob varchar(20)' at line 1
mysql> create table csc(serial no int primary key , name varchar(90),mobile no
int(100),email varchar(20),stream varchar(20),dob varchar(20);
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 'no int
primary key , name varchar(90),mobile no int(100),email varchar(20),strea' at line
1
mysql> create table csc(serial no int primary key , name varchar(90),mobile no
int(20),email varchar(20),stream varchar(20),dob varch
ar(20);
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 'no int
primary key , name varchar(90),mobile no int(20),email varchar(20),stream' at line
1
mysql> create table csc(serial_no int primary key , name varchar(90),mobile_no
int(100),email varchar(20),stream varchar(20),dob varc
har(20);
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 '' at
line 1
mysql> create table csc(serial_no int primary key , name varchar(90),mobile_no
int(100),email varchar(20),stream varchar(20),dob varchar(20));
Query OK, 0 rows affected (0.03 sec)
mysql>