Ben insanların fotoğrafları oy verebilirsiniz sitemde bir işlevi var. Ne zaman biri oy-düğmesine benim senaryom (mysql) bir tablodaki bir satır ekler tıklatın.
(Tablo adı = sever): Her satırda, bu gibi görünüyor
id --------- userId --------- photoName --------- tarih
1 ----------- 21 ---------- ---- 34234 ----------- 20100101
How do i find the top 10 photos that people has been voting on? I tried "SELECT TOP 10 photoName FROM likes" but that didnt work...