sql: can i do a max(count(*)) ?
- by every_answer_gets_a_point
here's my code:
select yr,count(*) from movie
join casting on casting.movieid=movie.id
join actor on casting.actorid = actor.id
where actor.name = 'John Travolta'
group by yr
here's the question
Which were the busiest years for 'John Travolta'. Show the number of movies he made for each year.
here's the table structure
movie(id, title,…