SQLize Online / PHPize Online  /  SQLtest Online

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

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear