#317

Net Salary After Tax

Compute the after-tax salary of each employee. The tax rate depends on the maximum salary inside the company. Return company_id, employee_id, employee_name and salary.

Expected output sample

This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.

salarycompany_idemployee_idemployee_name
255011Alice
408012Bob
612013Carol

Your query result will appear here