A webcomic of romance, sarcasm, math, and language.
Special 10th anniversary edition of WHAT IF?—revised and annotated with brand-new illustrations and answers to important questions you never thought to ask—coming from November 2024. Preorder here!
{{Title text: SELECT * FROM GHOSTS}}
[[Woman stumbles upon tablet, picks it up]]
Loaded table: People
Enter query
[[More people appear, woman is confused]]
[[Woman types in query]]
SELECT * FROM PEOPLE WHERE AGE > 30
[[People 1, 3, 4, 6, and 7 are highlighted]]
[[Woman types in a second query]]
SELECT * FROM PEOPLE WHERE ANUAL_INCOME > 100000
[[Person 4 is highlighted]]
[[Woman types in a third query]]
SELECT * FROM PEOPLE WHERE AFRAID_OF_FLYING = TRUE
[[People 2, 7, 9 and 10 are highlighted]]
[[Woman types in a fourth query query]]
SELECT * FROM PEOPLE WHERE HOURS_SINCE_WATCHING_PORN < 12
[[People 5, 7 and 10 are highlighted]]
[[Woman looking at tablet]]
Woman: Neat.
Woman: ...
[[Woman types in a final query]]
DROP TABLE PEOPLE
[[People vanish from scene, dropping what they were holding]]
xkcd.com is best viewed with Netscape Navigator 4.0 or below on a Pentium 3±1 emulated in Javascript on an Apple IIGS at a screen resolution of 1024x1. Please enable your ad blockers, disable high-heat drying, and remove your device from Airplane Mode and set it to Boat Mode. For security reasons, please leave caps lock on while browsing.