[{"columns":["EMPLOYEE_ID","FIRST_NAME","LAST_NAME","EMAIL","PHONE_NUMBER","HIRE_DATE","JOB_ID","SALARY","COMMISSION_PCT","MANAGER_ID","DEPARTMENT_ID"],"name":"employees","type":"grid"}]

List the full name (first and last name), and salary for those employees who earn below 6000.

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}

What are the full names and salaries for any employees earning less than 6000?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":6000}]}}

Display the first name, and department number for all employees whose last name is "McEwen".

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}

What are the first names and department numbers for employees with last name McEwen?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"McEwen"}]}}

what is the phone number of employees whose salary is in the range of 8000 and 12000?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}

Return the phone numbers of employees with salaries between 8000 and 12000.

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">=","value":8000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000}]}}

What are the full name (first and last name) and salary for all employees who does not have any value for commission?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}

Return the full names and salaries of employees with null commissions.

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}

Find the salary and manager number for those employees who is working under a manager.

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}

What are the salaries and manager ids for employees who have managers?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"manager_id","operation":"!=","value":"'null'"}]}}

display the emails of the employees who have no commission percentage and salary within the range 7000 to 12000 and works in that department which number is 50.

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}

What are the emails of employees with null commission, salary between 7000 and 12000, and who work in department 50?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}

display the average salary of employees for each department who gets a commission percentage.

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}

What is the average salary of employees who have a commission percentage that is not null?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"commission_pct","operation":"!=","value":"'null'"},{"actionType":"ChangeGrouping","column":"department_id"}]}}

return the smallest salary for every departments.

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}

What is the minimum salary in each department?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MIN"},{"actionType":"ChangeGrouping","column":"department_id"}]}}

display the department ID, full name (first and last name), salary for those employees who is highest salary in every department.

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}

What are the department ids, full names, and salaries for employees who make the most in their departments?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"MAX"},{"actionType":"ChangeGrouping","column":"department_id"}]}}