0
这是我的查询我的SQL UNION +极限
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'
这里我的问题是我需要从每个SELECT语句只获取一行。是否有可能通过“限制”来获取它。请帮助
你甚至尝试? – MatBailie 2012-03-17 10:17:33