Question: Expected output +------+ ---- ----------+ | Year | total_movies | +------+ ---- ----------+ | 2008 | 1 | | 2010 | 1 | | 2017
Expected output +------+ ---- ----------+ | Year | total_movies | +------+ ---- ----------+ | 2008 | 1 | | 2010 | 1 | | 2017 | 1 | | 2019 | 2 | | 2020 | 5 | +------+ ---- ----------+ +------+----------+ | Year | COUNT(*) | +------+----------+ | 2020 | 5 | | 2019 | 2 | | 2008 | 1 | | 2010 | 1 | | 2017 | 1 | +------+----------+
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
