Creating a materialized view with SQL procedures | Hacker News Reader