SQL joke for chemo patient
May 11, 2017 11:55 AM Subscribe
Help me craft a SQL joke to be printed on a bandana and/or t-shirt for a friend going through chemo
My dear friend and favorite DBA was just diagnosed with breast cancer and has started chemo infusions. I am going to get her a custom-printed bandana (which she has said she is thinking about wearing) and/or t-shirt with some humorous SQL joke.
Right now, I'm thinking about using the code from this XKCD, since it's an injection joke. And while the code by itself would be good, and she'd laugh, I'm wondering if anyone has any thoughts about
a) enhancing it with either more text or an image
b) another SQL injection joke (or other nerdy/SQL/database jokey thing) that might be good.
Please assume that she will appreciate the humor, and that I am doing many other non-funny things to support her.
Thanks in advance
My dear friend and favorite DBA was just diagnosed with breast cancer and has started chemo infusions. I am going to get her a custom-printed bandana (which she has said she is thinking about wearing) and/or t-shirt with some humorous SQL joke.
Right now, I'm thinking about using the code from this XKCD, since it's an injection joke. And while the code by itself would be good, and she'd laugh, I'm wondering if anyone has any thoughts about
a) enhancing it with either more text or an image
b) another SQL injection joke (or other nerdy/SQL/database jokey thing) that might be good.
Please assume that she will appreciate the humor, and that I am doing many other non-funny things to support her.
Thanks in advance
SELECT tblPERSON.LNAME, tblPERSON.FNAME, tblCELLS.* FROM tblPERSON INNER JOIN tblCELLS ON tblPERSON.PERSONid = tblCELLS.PERSONid WHERE (((tblCELLS.Healthy)=TRUE));
ETA:just a select query
posted by turkeybrain at 12:05 PM on May 11, 2017 [1 favorite]
ETA:just a select query
posted by turkeybrain at 12:05 PM on May 11, 2017 [1 favorite]
Best answer:
posted by Static Vagabond at 12:10 PM on May 11, 2017 [12 favorites]
UPDATE body SET cell = NULL WHERE type LIKE '%NCEROUS';
or a deletion: DELETE FROM body WHERE cell like '%ANCER%';
(the %'s are wildcards in SQL parlance).posted by Static Vagabond at 12:10 PM on May 11, 2017 [12 favorites]
Best answer: Surely this must be a delete statement:
posted by Lanark at 1:31 PM on May 11, 2017 [3 favorites]
DELETE FROM human.T_Cells@hospitalname friends_name
WHERE condition like '%CEROUS%';
posted by Lanark at 1:31 PM on May 11, 2017 [3 favorites]
Just googling "sql joke" or images gives a number of ideas. A few of them:
Graphic - related/explanation.
posted by flug at 2:58 PM on May 11, 2017
SELECT *This might be nice.
FROM [Users]
WHERE [Clue] > 0
No records found.
Graphic - related/explanation.
posted by flug at 2:58 PM on May 11, 2017
This schema behind this trigger declaration is probably a mess in SQL terms, but I like how it's almost human readable:
CREATE TRIGGER activate_chemo
AFTER INSERT ON hospital_bed
FOR EACH CELL
DECLARE
fuckyoucancer BOOLEAN;
BEGIN
DELETE FROM body WHERE cancer IS NOT NULL;
END;
posted by clawsoon at 8:07 PM on May 11, 2017
CREATE TRIGGER activate_chemo
AFTER INSERT ON hospital_bed
FOR EACH CELL
DECLARE
fuckyoucancer BOOLEAN;
BEGIN
DELETE FROM body WHERE cancer IS NOT NULL;
END;
posted by clawsoon at 8:07 PM on May 11, 2017
Response by poster: Update, in case anyone is interested.
Front:
Robert’); DROP TABLE students;--
with an arrow pointing to her port
Back:
UPDATE sandra.Mood
SET value = ‘Determined’ ,
status = ‘Active’;
DELETE FROM sandra.Body
WHERE cell LIKE '%ANCER%';
Thanks for the suggestions!
posted by Gorgik at 7:28 AM on May 14, 2017
Front:
Robert’); DROP TABLE students;--
with an arrow pointing to her port
Back:
UPDATE sandra.Mood
SET value = ‘Determined’ ,
status = ‘Active’;
DELETE FROM sandra.Body
WHERE cell LIKE '%ANCER%';
Thanks for the suggestions!
posted by Gorgik at 7:28 AM on May 14, 2017
This thread is closed to new comments.
posted by sammyo at 12:04 PM on May 11, 2017 [1 favorite]