SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
WITH res as (select film_id, title, replacement_cost, max(replacement_cost) as mm from film group by film_id, title order by 4 desc) select film_id, title, replacement_cost from res where mm = (select max(mm) from res) ; show status like 'Last_query_cost';

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear