ผู้ใช้ที่มีรายการโปรดมากที่สุด ไม่จำเป็นต้องใช้ตารางทั้งหมด
Users with the most Favorites.It is not neccessary to use all the tables.
 VoteTypes:  Id [ number]  Name [ text] 
SELECT U.Id AS "user_link", (SELECT COUNT(V.Id) AS "favorites" FROM Votes AS V, VoteTypes AS Vt WHERE Vt.Id = V.VoteTypeId AND U.Id = V.UserId AND Vt.Id = 5) AS "favs" FROM Users AS U WHERE (SELECT COUNT(V.Id) AS "favorites" FROM Votes AS V, VoteTypes AS Vt WHERE Vt.Id = V.VoteTypeId AND U.Id = V.UserId AND Vt.Id = 5) > 1000 ORDER BY FAVS DESC