Got something to say or just want fewer pesky ads? Join us... 😊

NSC's most promiscuous (biggest wasters) 2009



simon195

New member
Sep 11, 2007
467
WHAT ABOUT THESE POSTERS ???? :lolol::lolol:
3045778726_affd416eb3_b.jpg
 




maffew

Well-known member
Dec 10, 2003
9,023
Worcester England
SELECT saddos.username, count(b_llocks.post)
FROM
users saddos,
posts b_llocks
WHERE
saddos.username = b_llocks.username
AND
Year(b_llocks.datetime) = 2009
AND
saddos.teamsupported='BRIGHTON'
GROUP BY saddos.name
HAVING count(b_llocks.post)>to_do
ORDER BY has_a_life DESC

old school, I do believe your joins do not meet ANSI standards
 












clapham_gull

Legacy Fan
Aug 20, 2003
25,878
old school, I do believe your joins do not meet ANSI standards

The SQL standards are full of contradictions. So much for the relational model.

I prefer the so called "old" approach which is much closer to the relational algebra that it was originally based on.

You don't need an "inner join", which will be converted to the same query tree anyway underneath the hood.

:thumbsup:
 






Bevendean Hillbilly

New member
Sep 4, 2006
12,805
Nestling in green nowhere
Not even in the top 70...but still I need to re-evaluate my life.
 




























Tim Over Whelmed

Well-known member
NSC Patron
Jul 24, 2007
10,659
Arundel
Phew!
 


Albion and Premier League latest from Sky Sports


Top
Link Here