How to get the employees who have a salary that is more than 50% of the average salary? – Mysql
I have two tables - employees and departments. The employees table has the following columns: emp_id, salary, dep_id. The departments table has the following: dep_id, department_name, manager. Now, I am trying to get the employee_ids of the employees who have…