To 🔥 celebrate the holiday season, Also check out our NEWLY launched Annual plan (Up to 50% off). Use coupon code THANKSGIVING15 and enjoy additional 15% off all paid plans. Coupon expires at 2020/11/30 .
19. Most productive actor medium

Instruction

  • Write a query to return the first name and the last name of the actor who appeared in the most films.

Table 1: film_actor

Films and their casts

  col_name   | col_type
-------------+--------------------------
 actor_id    | smallint
 film_id     | smallint
 last_update | timestamp with time zone

  

Table 2: actor

  col_name   | col_type
-------------+--------------------------
 actor_id    | integer
 first_name  | text
 last_name   | text

  

Sample results

 first_name | last_name
------------+-----------
 MICHAEL       | JACKSON

Subscribe for solution