Program 5
Program 5
2. Display the person IDs (PID),Cities and pincode of persons in descending order
of pincode.
3. Display the Firstname and cities of all the females getting basic salaries above
40000.
4. Display Firstnames and Basic Salaries of all the persons whose First Name starts
with 'G'.
mysql> select First_Name,Basic_Salary from persons where First_Name like 'G%';
+------------+--------------+
| First_Name | Basic_Salary |
+------------+--------------+
| Geeta | 50000 |
| Garima | 33000 |
+------------+--------------+
2 rows in set (0.00 sec)