SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
/*SELECT title, release_year, length FROM film; INNER JOIN film ON film.fipm_id=film_category.film_id SELECT film_id FROM film_category; WHERE length > 180 AND name = 'Comedy' ORDER BY length ASC*/ SELECT f.title, f.release_year, f.length FROM film f HAVING f.length > 180 AND (SELECT name FROM category cat WHERE name = 'Comedy') /*GROUP BY film_id FROM film_category, name FROM category*/ ORDER BY f.length ; show status like 'Last_query_cost';

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear