🧀🧀🧀🧀🧀🧀🧀🧀🧀

0

Please login or register to vote for this query.

(click on this box to dismiss)

My solution to the "Who cut the cheese" swag challenge. User Account: https://meta.stackexchange.com/users/364003/mee

Software Engineering

Q&A for expert programmers interested in professional discussions on software development

SELECT
          Id AS [Post Link], Body,
     PostTypeId, 'Body' AS RelField FROM Posts
WHERE Body LIKE '%[Cc]heese%' AND 1=1 AND 2=2 AND
-- ------------------------------------------------
'Cheese'='Cheese' AND 3=3 AND 'cheese'='cheese' AND
 'fhc'='fhc' AND 'Jon Skeet'='Jon Skeet' AND 42=42
AND 0<1 AND 1>0 AND 'StackOverflow'!='Evil'  UNION
SELECT Id AS [Post Link], Title, PostTypeId, 'Title'
AS RelField FROM Posts WHERE Title LIKE '%[Cc]hee'+
'se%' AND 1=1 AND 2=2 AND 'Cheese'='Cheese' AND 3=3
AND 'cheese'='cheese' AND 'fhc'='fhc' AND 'Jon Skeet'
='Jon Skeet' AND 42=42 AND 0<1 AND 1>0 AND'Stack'+
'Overflow'!='Evil' AND 2=2 AND 1=1 AND 3=3 AND 1=1

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results