Notes
Notes
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> use;
ERROR:
USE must be followed by a database name
mysql> use 11to12;
Database changed
mysql> create tale btech(roll no int, name varchar,age int
->
->
->
->
->
->
->
-> );
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 'tale
btech(roll no int, name varchar,age int
)' at line 1
mysql> create table btech(roll no int, name varchar,age int
-> );
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,
name varchar,age int
)' at line 1
mysql> create table btech(roll_no int, name varchar,age int
-> );
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 ',age int
)' at line 1
mysql> create table btech(roll_no int, name varchar,age int);
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 ',age
int)' at line 1
mysql> create table btech(roll_no int, name varchar(20),age int);
Query OK, 0 rows affected (0.89 sec)
mysql> create table BETCH (roll_no int ,name varchar(10) ,age int);
Query OK, 0 rows affected (0.48 sec)
mysql>