Professional Documents
Culture Documents
DBMS Krishna
DBMS Krishna
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
Database changed
+-------------------+
| Tables_in_krishna |
+-------------------+
| book |
| comics |
| employee |
| sem4 |
| student |
| transaction |
+-------------------+
+-------+------+------+-----+---------+-------+
+-------+------+------+-----+---------+-------+
+-------+------+------+-----+---------+-------+
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 ',"Delhi")' at line 1
mysql> insert into hospital values("krishn",101,"Delhi");
+--------+------+-------+
+--------+------+-------+
+--------+------+-------+
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 'to doctors' at line 1
+-------+------+------+-----+---------+-------+
+-------+------+------+-----+---------+-------+
| Pid | int | NO | PRI | NULL | |
+-------+------+------+-----+---------+-------+
+-------+-------------+------+-----+---------+-------+
+-------+-------------+------+-----+---------+-------+
+-------+-------------+------+-----+---------+-------+