mysql help

Hi guys, i’ve been trying to retrieve a value ( warning level ) from a table but i keep receiving

I’ve this:



local warnings = db:query("SELECT warnings FROM Information WHERE id = '"..target_ply:SteamID().."'")


id = varchar 255
warnings = int (11)

Any clue of what’s wrong :frowning: ?