I\'m trying to use multiple SELECT statements in a query to get data from the database but I get an error. The query is:
SELECT * FROM (SELECT *
The from table needs an alias
SELECT * FROM (SELECT * FROM players WHERE lid = 0) as T WHERE NOT EXISTS (SELECT * FROM players WHERE lid = 1)
Will work
Though the query seems to make no sense. It is not a syntax error anymore