SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
select d.DEPARTMENT, cast(min(e.salary) as float) / nullif(cast(max(e>salary) as float), 0) as SALARY_DIFF_RATIO from employee as e join DEPARTMENT as d on e.dept_no = d.dept_no group by d.DEPARTMENT order by SALARY_DIFF_RATIO desc ; SELECT 'Last_query_cost' AS "Variable_name", 0 AS "Value" FROM RDB$DATABASE;

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear