Mysql
Mysql
Mysql
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> cc
Database changed
+------------------+-------------+------+-----+---------+----------------+
+------------------+-------------+------+-----+---------+----------------+
+------------------+-------------+------+-----+---------+----------------+
4 rows in set (0.05 sec)
-> 25000);
-> 25000);
-> 10000);
-> 9000);
-> 15000);
+----------+------------+------------------+---------+
| 2 | Cricket | 9 | 25000 |
| 3 | Basketball | 7 | 10000 |
| 4 | Badminton | 3 | 9000 |
| 5 | Tennis | 5 | 15000 |
+----------+------------+------------------+---------+
mysql> 30),
+------------------+-------------+------+-----+---------+----------------+
+------------------+-------------+------+-----+---------+----------------+
+------------------+-------------+------+-----+---------+----------------+
+----------+--------------+------------------+--------+
+----------+--------------+------------------+--------+
| 1 | Mr.Mahesh | 11 | 35000 |
| 2 | Mr.Shobhit | 13 | 40000 |
| 3 | Mr.Rahul | 8 | 30000 |
| 4 | Mrs.Sangeeta | 19 | 100000 |
| 5 | Mr.Robert | 17 | 90000 |
+----------+--------------+------------------+--------+
+--------------------+-------------+------+-----+---------+----------------+
+--------------------+-------------+------+-----+---------+----------------+
| S_nos_no | int | NO | PRI | NULL | auto_increment |
+--------------------+-------------+------+-----+---------+----------------+
+----------+------------+--------------------+-------------+-------------+
+----------+------------+--------------------+-------------+-------------+
| 1 | Football | 31 | 18 | 13 |
| 2 | Cricket | 60 | 31 | 29 |
| 3 | Basketball | 30 | 15 | 15 |
| 4 | Badminton | 8| 4| 4|
| 5 | Tennis | 11 | 5| 6|
+----------+------------+--------------------+-------------+-------------+
mysql>
+------------------+-------------+------+-----+---------+----------------+
+------------------+-------------+------+-----+---------+----------------+
+------------------+-------------+------+-----+---------+----------------+
+----------+------------+------------------+---------------+
+----------+------------+------------------+---------------+
| 1 | Football | 17 | 3|
| 2 | Cricket | 6| 14 |
| 3 | Basketball | 7| 39 |
| 4 | Badminton | 9| 4|
| 5 | Tennis | 2| 41 |
+----------+------------+------------------+---------------+
-> auto_increment,sport
-> varchar(20),Training_Centre
+------------------+-------------+------+-----+---------+----------------+
+------------------+-------------+------+-----+---------+----------------+
+------------------+-------------+------+-----+---------+----------------+
4 rows in set (0.00 sec)
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 'Ground’,20000)' at line 1
+----------+------------+------------------+------------------+
+----------+------------+------------------+------------------+
+----------+------------+------------------+------------------+