pastebin v0.1.7
error
Feb 4 2012 5:34 PM
hits: 8
Anonymous
Jan 31 2012 4:15 AM
hits: 15
Anonymous
Jan 30 2012 1:29 PM
hits: 13
peliculas de sony
Jan 29 2012 8:35 AM
hits: 35
peliculas de sony
Jan 28 2012 9:52 AM
hits: 37
peliculas de sony
Jan 27 2012 6:39 AM
hits: 33
peliculas de sony
Jan 27 2012 6:38 AM
hits: 21
peliculas de sony
Jan 27 2012 6:38 AM
hits: 20
peliculas de sony
Jan 25 2012 2:16 PM
hits: 51
peliculas de sony
Jan 25 2012 2:15 PM
hits: 31
Anonymous
Jan 25 2012 2:15 PM
hits: 27
peliculas
Jan 25 2012 3:47 AM
hits: 45

Valid HTML 4.01 Strict

Valid CSS!


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
SELECT 
	p.username, o.organizationname, COALESCE(t.organizationid, t.mockingorganizationid) orgid 
FROM 
	contests c INNER join 
	contestteams ct ON c.contestid = ct.contestid INNER join 
	teams t ON ct.teamid = t.teamid INNER join 
	organizations o ON o.organizationid = COALESCE(t.organizationid, t.mockingorganizationid) INNER join
	organizationpersons op ON o.organizationid = op.organizationid INNER join
	persons p ON op.personid = p.personid
WHERE 
	c.contestid in 
		(
		SELECT 
			 be.contestid
		FROM 
			basketballevents be LEFT join 
			teams t1 ON be.teamid = t1.teamid LEFT join
			players pl ON be.playerid = pl.playerid INNER join
			teams t2 ON t2.teamid = COALESCE(t1.teamid, pl.teamid)
		GROUP BY
			be.contestid HAVING COUNT(DISTINCT t2.teamid) > 2
		)

paste below
title
language
description/question
action