This is my query
select PhoneNumber as _data,PhoneType as _type from contact_phonenumbers where ContactID = 3 and Type = 'R' and PT = 'M'
union
SELECT EmailID,Type from contact_emails where ContactID = 3 and Type = 'P'
UNION
SELECT EmailID,Type from contact_emails where ContactID = 3 and Type = 'O'
Here my problem is i need to fetch only one row from each select statement. Is it possible to fetch it through "limit".