getRanking = function()
local rankCash = conn:query('SELECT TOP 3 * FROM teamSystem ORDER BY cash DESC')
local resultCash = rankCash:poll(-1) or {}
local rankReputation = conn:query('SELECT TOP 3 * FROM teamSystem ORDER BY reputation DESC')
local resultReputation = rankReputation:poll(-1) or {}
return resultCash,resultReputation
end,
[2018-01-18 11:39:10] WARNING: new\storage\sql_team.lua:148: poll failed; near "3": syntax error
WTF ERROR dahsdjksaj alguem sabe outra sql que vá me da o mesmo resultado ou como acerta isso?