SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
SELECT actor_id, COUNT() OVER (PARTITION BY film_id ORDER BY actor_id) as count FROM film_actor WHERE count>5 GROUP BY actor_id ORDER BY 2

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear