Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

slides.pyg 247 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
  1. SELECT a.name, AVG(m.imdb_score), COUNT(*)
  2. FROM movie m INNER JOIN appearances p
  3. ON m.id = p.movie_id INNER JOIN artist a
  4. ON p.artist_id = a.id WHERE p.role='director'
  5. GROUP BY a.name HAVING COUNT(m.id) > 9
  6. ORDER BY AVG(m.imdb_score) DESC LIMIT 1
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...