view sql for popular stuff