This is just a quick query I was trying to test it. When I tried creating a report from this query I could not access "Name" when I go to create group. If I leave the second select statement out I can access "Name" without a problem. I am using Crystal SQL Designer.
SELECT
People.`Name`,
People.`Age`,
People.`Sex`
FROM
`People` People
WHERE
People.`Sex` = 'M'
UNION
SELECT
People.`Name`,
People.`Age`,
People.`Sex`
FROM
`People` People
WHERE
People.`Sex` = 'F'