select * from friends where Aid = ?
select *from m_tb
left join
(
select id, title, mid, max(times) as 最近时间
from m_vs
group by mid
) on (m_tb.id=m_vs.mid)
欢迎分享,转载请注明来源:内存溢出
select * from friends where Aid = ?
select *from m_tb
left join
(
select id, title, mid, max(times) as 最近时间
from m_vs
group by mid
) on (m_tb.id=m_vs.mid)
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)