SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
SELECT actor_id, film_id, ROW_NUMBER() OVER (PARTITION BY film_id ORDER BY actor_id) FROM film_actor GROUP BY actor_id, film_id ORDER BY 2

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear