日期:2014-05-17 浏览次数:20809 次
CREATE TABLE [user]
(
id INT ,
userid VARCHAR(10) ,
sdate INT
)
INSERT INTO [user]
SELECT 1 ,
'aaa' ,
1
UNION ALL
SELECT 2 ,
'aaa' ,
1
UNION ALL
SELECT 3 ,
'bbb' ,
0
UNION ALL
SELECT 4 ,
'bbb' ,
1
UNION ALL
SELECT 5 ,
'bbb' ,
1
UNION ALL
&n