I want to do something similar to the following in MySQL, but every permutation I try gives me errors.
SELECT five,six FROM (SELECT 5 AS five),(SELECT 6 AS six);
I was under the impression that SELECT's output table's, so that I could use SELECT whereever I could insert a table.
Can someone explain the subtleties of the structre of MySQL that prevents this statement from working as well as providing me a solution that does?
I know that it's got to be simple, but I haven't been able to find an answer to this anywhere.