Fork of
returning users 2
by Ilya
This query is marked as a draft
This query has been published
by Ilya.
SQL
x
USE ukwiki_p;
SELECT * FROM user where user_id in (332053,
302100,
6244,
196057,
518,
194903,
280816,
222910,
232608,
126620,
213527,
97767,
28406,
275583,
216665,
134323,
139495,
336355,
101507,
63404,
73039,
175664,
96151,
311539,
117705,
330314,
90554,
156997,
3164,
311413,
24293,
33729,
305389,
292839,
166180,
62105,
314092,
109499,
330287,
241221,
91020,
91295,
330312,
290025,
41768,
225,
278098,
15167,
161186,
12964,
1266,
330316,
81739,
120776,
311170,
265095,
123943,
38087,
171780,
100780,
293624,
118971,
297634,
53546,
53174,
337313,
148935,
51086,
146444,
306522,
311533,
1716,
287912,
225191,
1651,
92598,
77484,
282646,
284119,
110916,
70921,
108482,
34655,
133191,
19373,
210862,
304448,
2182,
81080,
313810,
68603,
71371,
186927,
325821,
133547,
6873,
87266,
27764,
286785,
45517,
79562,
205275,
41301,
660,
4187,
330233,
24031,
264159,
90380,
179742,
331166,
330171,
161601,
200228,
330310,
27886,
230086,
14195,
329856,
101311,
176236,
306124,
3712,
223739,
8365,
38209,
279786,
330318,
4318,
92426,
330183,
219166,
233157,
82109,
120171,
311574,
7151,
336849,
210478,
259788,
154747,
296288,
133615,
243754,
82600,
337817)
AND NOT EXISTS (
SELECT 1 from revision WHERE rev_user = user_id AND
20150601 * 1000000 <= rev_timestamp AND
rev_timestamp < 20160101 * 1000000
)
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.