Question: From the l_employees table, list all the different combinations of dept_code and credit_limit. Count the number of employees who are in each of these categories.

From the l_employees table, list all the different combinations of dept_code and credit_limit. Count the number of employees who are in each of these categories. Sort the rows by dept_code and then by credit_limit. Exclude the SHP department in your results. Show only the dept_code, with a credit limit of over 12.50. Show your sql below.

Show me code step by step and or take screenshots of code and run test.

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!