SELECT 'item1 ' || item1 FROM basket WHERE item LIKE 'a%' UNION SELECT 'item2 ' || item2 FROM basket WHERE item2 LIKE 'a%' ORDER BY 1