Question: Q# 5: From the below table (a) Write a SQL query to retrieve the number of employees having different salaries in each city. (b) Write

Q# 5: From the below table

(a) Write a SQL query to retrieve the number of employees having different salaries in each city.

(b) Write a query to retrieve the number of employees in each city, having salary > 15000

Q# 5: From the below table (a) Write a SQL query to

\begin{tabular}{|c|c|c|c|c|c|c|} \hline EmplD & EmpName & \multicolumn{1}{c|}{ EmpEmail } & PhoneNumber & Salary & City \\ \hline 1 & Nidhi & nidhiesample.com & 9955669999 & 50000 & Mumbai \\ \hline 2 & Anay & anay\&sample.com & 9875679861 & 55000 & Pune \\ \hline 3 & Rahul & rahulesample.com & 9876543212 & 35000 & Delhi \\ \hline 4 & Sonia & sonia@sample.com & 9876543234 & 35000 & Delhi \\ \hline 5 & Akash & akashesample.com & 9866865686 & 25000 & Mumbai \\ \hline \end{tabular}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!