Welcome to the Windows community forum, and interact with 3 million technical staff to enter the business needs of today. If no final information is found on the internet, leave A print for reference # Table A in Table T1, SELECT * FROM # T1t1WHERE (SELECTCOUNT (*) FROM (SELECTDISTINCTA, BFROM # T1WHEREAt
Welcome to the Windows community forum, and interact with 3 million technical staff> enter the business needs today. If you cannot find the final output on the internet, leave A print for reference # Table A in Table T1, SELECT * FROM # T1 t1 WHERE (select count (*) FROM (select distinct a, B FROM # T1 WHERE A = t
Welcome to the Windows community forum and interact with 3 million technicians>
Today's business needs. If you don't find the final output on the internet, leave a print for reference.
# At least three rows in column A and column B in Table T1 share the same data
SELECT * FROM # T1 t1 WHERE
(
Select count (*) FROM (
Select distinct a, B FROM # T1 WHERE A = t1.A
)
) = 1
AND (select distinct count (ID) FROM # T1 where a = t1.A)> = 3
Order by t1.A