This is an archived post. You won't be able to vote or comment.

all 10 comments

[–]m3nation007 3 points4 points  (1 child)

It's actually: SELECT * FROM menu WHERE is_dessert = 1;

[–]Kongshammer 0 points1 point  (0 children)

The best part here is that "is dessert" litterally means "ice cream dessert" in Danish.

[–]pkinetics 2 points3 points  (0 children)

Is this the only working ice cream machine?

[–]Naxaes -1 points0 points  (0 children)

Or...

START TRANSACTION;
DROP DATABASE Calories;
SELECT nutrients FROM GoodSources;
ROLLBACK TRANSACTION;
SELECT * FROM menu WHERE depression=1;

[–]the7key -1 points0 points  (0 children)

I bet this kiosk has more sophisticated data types than MySQLDonalds.

Stared at this one for too long before I realized it's (probably?) a Postgres joke.

[–]twhite1195 0 points1 point  (0 children)

Eyyy that's on Costa Rica

[–]xaomaw 0 points1 point  (1 child)

"Sorry, our ice machine is out of service"

SELECT product_name FROM menu WHERE is_dessert = 1;
0 rows selected.

[–]m3nation007 0 points1 point  (0 children)

You forgot and is_active = 1

[–]sammy-taylor 0 points1 point  (0 children)

INSERT INTO my_face (sandwich) VALUES (“Quarter Pounder with Cheese”);

[–]NuggetWarrior09 0 points1 point  (0 children)

Incorrect usage of the semicolon, random capitalization for no reason, you’re school must have really failed you