You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tco_setup/tco18_eligible_contests.sql
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,7 @@ WHERE p.project_status_id = 1
63
63
and NVL(pi82.value, 0) =0-- No TCO if these are tasks
64
64
and (selectlower(value) from project_info where project_id =p.project_idand project_info_type_id =6) not like'ibm cognitive%'-- exclude IBM Cognitive Community Segment
65
65
andp.project_id not in (30057468, 30057606) -- exclude specific challenges
66
+
andp.project_id not in (30063672, 30063673, 30063674, 30063675, 30063676 ) -- exclude consensys blockchain
66
67
andp.tc_direct_project_id not in (16411, 16412, 16413, 16406, 16399, 16407) -- exclude projects for fun and university challenges
67
68
and1=1;
68
69
-- and mod(p.project_id, 2) = 0;
@@ -84,6 +85,7 @@ WHERE p.project_status_id = 1
84
85
and NVL(pi82.value, 0) =0-- No TCO if these are tasks
85
86
and (selectlower(value) from project_info where project_id =p.project_idand project_info_type_id =6) not like'ibm cognitive%'-- exclude IBM Cognitive Community Segment
86
87
andp.project_id not in (30057968) -- exclude specific challenges
88
+
andp.project_id not in (30063672, 30063673, 30063674, 30063675, 30063676 ) -- exclude consensys blockchain
87
89
andp.tc_direct_project_id not in (16411, 16412, 16413, 16406, 16399, 16407)-- exclude projects for fun and university challenges
88
90
and1=1;
89
91
-- and mod(p.project_id, 2) = 0;
@@ -145,6 +147,7 @@ WHERE p.project_status_id = 1
145
147
andp.project_id not in (select project_id from contest_project_xref where contest_id in (650, 583)) -- make sure we exclude from tco
146
148
andp.project_id not in (selectce.contest_idfrom contest_eligibility ce)
147
149
and NVL(pi82.value, 0) =0-- No TCO if these are tasks
150
+
andp.project_id not in (30063672, 30063673, 30063674, 30063675, 30063676 ) -- exclude consensys blockchain
148
151
and (selectlower(value) from project_info where project_id =p.project_idand project_info_type_id =6) not like'ibm cognitive%'-- exclude IBM Cognitive Community Segment
149
152
andp.tc_direct_project_id not in (16411, 16412, 16413, 16406, 16399, 16407)-- exclude projects for fun and university challenges
150
153
and1=1;
@@ -166,6 +169,7 @@ WHERE p.project_status_id = 1
166
169
andp.project_id not in (selectce.contest_idfrom contest_eligibility ce)
167
170
and NVL(pi82.value, 0) =0-- No TCO if these are tasks
168
171
and (selectlower(value) from project_info where project_id =p.project_idand project_info_type_id =6) not like'ibm cognitive%'-- exclude IBM Cognitive Community Segment
172
+
andp.project_id not in (30063672, 30063673, 30063674, 30063675, 30063676 ) -- exclude consensys blockchain
169
173
andp.tc_direct_project_id not in (16411, 16412, 16413, 16406, 16399, 16407)-- exclude projects for fun and university challenges
170
174
and1=1;
171
175
-- and mod(p.project_id, 2) = 0;
@@ -226,6 +230,7 @@ WHERE p.project_status_id = 1
226
230
and NVL(pi82.value, 0) =0-- No TCO if these are tasks
227
231
and (selectlower(value) from project_info where project_id =p.project_idand project_info_type_id =6) not like'ibm cognitive%'-- exclude IBM Cognitive Community Segment
228
232
andp.project_id not in (30057516) -- exclude specific challenges
233
+
andp.project_id not in (30063672, 30063673, 30063674, 30063675, 30063676 ) -- exclude consensys blockchain
229
234
andp.tc_direct_project_id not in (16411, 16412, 16413, 16406, 16399, 16407)-- exclude projects for fun and university challenges
230
235
and1=1;
231
236
-- and mod(p.project_id, 2) = 0;
@@ -245,6 +250,7 @@ WHERE p.project_status_id = 1
245
250
andp.project_id not in (select project_id from contest_project_xref where contest_id in (646, 583)) -- make sure we exclude from tco
246
251
andp.project_id not in (selectce.contest_idfrom contest_eligibility ce)
247
252
and NVL(pi82.value, 0) =0-- No TCO if these are tasks
253
+
andp.project_id not in (30063672, 30063673, 30063674, 30063675, 30063676 ) -- exclude consensys blockchain
248
254
and (selectlower(value) from project_info where project_id =p.project_idand project_info_type_id =6) not like'ibm cognitive%'-- exclude IBM Cognitive Community Segment
249
255
andp.tc_direct_project_id not in (16411, 16412, 16413, 16406, 16399, 16407) -- exclude projects for fun and university challenges
250
256
and1=1;
@@ -304,6 +310,8 @@ WHERE p.project_status_id = 1
304
310
andp.project_id not in (select project_id from contest_project_xref where contest_id in (640, 583)) -- make sure we exclude from tco
305
311
andp.project_id not in (selectce.contest_idfrom contest_eligibility ce)
306
312
and NVL(pi82.value, 0) =0-- No TCO if these are tasks
313
+
andp.project_id not in (30063672, 30063673, 30063674, 30063675, 30063676 ) -- exclude consensys blockchain
314
+
307
315
and (selectlower(value) from project_info where project_id =p.project_idand project_info_type_id =6) not like'ibm cognitive%'-- exclude IBM Cognitive Community Segment
308
316
-- and mod(p.project_id, 2) = 0;
309
317
andp.tc_direct_project_id not in (16411, 16412, 16413, 16406, 16399, 16407)-- exclude projects for fun and university challenges
@@ -323,7 +331,8 @@ WHERE p.project_status_id = 1
323
331
andp.project_id not in (select project_id from contest_project_xref where contest_id in (641, 583)) -- make sure we exclude from tco
324
332
andp.project_id not in (selectce.contest_idfrom contest_eligibility ce)
325
333
and NVL(pi82.value, 0) =0-- No TCO if these are tasks
326
-
andp.project_id not in (30057968,30057832,30057829,30057831) -- exclude specific challenges
334
+
andp.project_id not in (30057968,30057832,30057829,30057831) -- exclude specific challenges
335
+
andp.project_id not in (30063672, 30063673, 30063674, 30063675, 30063676 ) -- exclude consensys blockchain
327
336
and (selectlower(value) from project_info where project_id =p.project_idand project_info_type_id =6) not like'ibm cognitive%'-- exclude IBM Cognitive Community Segment
328
337
-- and mod(p.project_id, 2) = 0;
329
338
andp.tc_direct_project_id not in (16411, 16412, 16413, 16406, 16399, 16407)-- exclude projects for fun and university challenges
0 commit comments