SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
select f.title, f.rating from film as f join inventory as i on f.film_id=i.film_id join rental as r on i.inventory_id=r.inventory_id join customer as c on r.customer_id=c.customer_id where c.first_name = 'KATIE ' and c.last_name ='ELLIOTT' order by case when rating ='R' then 1 else 2 end, title ; show status like 'Last_query_cost';

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear