Wednesday, January 21, 2009

SQL Rocks

SQL Rocks

SELECT TOP 3 PERCENT * FROM Mike.Thoughts
WHERE BrainFunction > 0.1
AND SubjectMatter in ('Microsoft SQL Server', 'Whatever')
AND Topic IN (SELECT RAND(Topic) FROM Mike.RecentIdeas)
ORDER BY ThoughtDate DESC

No comments: