select ue.nvcCompanyName as nvcCompanyName,ue.nvcUserName as nvcUserName,ue.nvcEmail ,ue.nvcQQ as QQ from userext ue where EXISTS (select COUNT(uaa.nvcEmail) as count from userapp uaa where ue.nvcEmail = uaa.nvcEmail GROUP BY uaa.nvcEmail having count > 5 ORDER BY uaa.nvcEmail DESC)
时间: 2024-11-05 03:45:18