If you execute this query
SELECT \'test-a1\' AS name1, \'test-a2\' AS name2
the result will be a one row-selection with two columns having
In MySQL you could use UNION like this:
SELECT * from (SELECT 2006 AS year UNION SELECT 2007 AS year UNION SELECT 2008 AS year UNION ) AS years