Building a Poll App & Advanced SQL - How to use ORDER BY with window functions