Professional Documents
Culture Documents
+------+--------+-----------+------+
1 row in set (0.00 sec)
mysql> select * from sectionA where salary not between 10000 and 20000;
+------+--------+-----------+------+
| name | salary | des | id |
+------+--------+-----------+------+
| Arun | 20900 | assistent | 3 |
| Aru | 30900 | unknown | 4 |
+------+--------+-----------+------+
2 rows in set (0.00 sec)
mysql> insert into sectionA values ('CurtAngle', 30900, 'sale manager', 6);
Query OK, 1 row affected (0.03 sec)
mysql> select * from sectionA where salary between 10000 and 20000 order by id d
esc;
+-------+--------+-----------+------+
| name | salary | des | id |
+-------+--------+-----------+------+
| varun | 10900 | assistent | 2 |
| mohit | 10000 | clerk | 1 |
+-------+--------+-----------+------+
2 rows in set (0.00 sec)
mysql>