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