I am trying to speed up a PHP script and I am currently pushing some PHP logic in the Mysql domain of the thing. Is there a way to make a different select query if the first
Another way:
SELECT A INTO @v FROM proxies ORDER BY A LIMIT 1; SELECT * FROM proxies WHERE A=@v