P
piza
Unregistered / Unconfirmed
GUEST, unregistred user!
大意:
Insert INTO t2(F1, F2, F3)
SELECT T1.F1, COUNT(DISTINCT T1.F2),变量
FROM T1
GROUP BY T1.F1, T1.F2;
Insert INTO t2(F1, F2, F3)
SELECT T1.F1, COUNT(DISTINCT T1.F2),变量
FROM T1
GROUP BY T1.F1, T1.F2;