SQL Error

Hello Facepunch,
Im getting this error when trying to run
[LUA]sql.Query( “SELECT SteamID FROM player_stats WHERE SteamID=”…sql.SQLStr(ply:SteamID()) )[/LUA]
the full query is


SELECT SteamID FROM player_stats WHERE SteamID='STEAM_0:1:97086164'

and im getting the error


near ":1": syntax error

[editline]6th September 2015[/editline]

Its fine i solved it it was just a silly mistake