Error in query: SELECT * FROM comp WHERE comp_id = "509666" LIMIT 1