SQL Restaurant

Soldato
Joined
9 Jul 2013
Posts
3,846
Location
The Garden Tomb
How cool would it be if there was a restaurant where you had to execute an SQL query to order your food? And the food there was so good that it resulted in people having to learn SQL just so they can eat there? Like some kind of geek elite.


Hello, could I please have:

PHP:
SELECT s.ItemName, s.ItemPrice

FROM dbo.Starters s

WHERE s.ItemName = 'Prawns with Crispy Chorizo'

UNION

SELECT m.ItemName, m.ItemPrice

FROM dbo.Mains m

WHERE m.ItemName = 'Burgers - Quarter Pounder With Cheese'

UNION

SELECT si.ItemName, si.ItemPrice

FROM dbo.Sides si

WHERE si.ItemName IN ('Chips - Regular', 'Onion Rings')

UNION

SELECT d.ItemName, d.ItemPrice

FROM dbo.Desserts d

WHERE d.ItemName IN ('Chocolate Brownie')

UNION

SELECT b.ItemName, b.ItemPrice

FROM dbo.Beverages b

WHERE b.ItemName = 'Lagers - Corona Extra'
And then when you've finished your meal:

PHP:
SELECT *

FROM dbo.Bills b

WHERE b.TableUser = SUSER_SNAME()
 
No, your rubbish restaurant doesn't serve it.

How do you know? I bet you haven't even retrieved data from the menu!


U h8ers won't be laughing when I run a massively successful restaurant! I don't even need the dragons' help! They don't even know what they are talking about
 
I bet he runs OpenSSL, with the HeartBleed vulnerability feature built in too, which would let a patron order 1 glass of water and get a 3 course meal, brandy and a cigar for free :p

It's just an introductory deal we're running
 
Your idea is bad, your code is bad, your menu is bad, your decor is atrocious and you should feel bad.

Why the hate broh? I hand crafted the decor :(

Also means you don't have to worry about mixing up your words when the NotEspeciallyAttractiveButFirstFemaleYou'veSpokenToExceptYourMum waitress comes over to take your order.

"Enjoy your meal"


"You too" :/
 
I don't see why everyone is so negative on this idea?

How is it any different from going to a restaurant where the menu is all in French or Italian, and you have to speak French to order?

Because people come from all over the world to GD, where they can let out their h8

and ferret gifs
 
Seeing as the OP didn't even mention anything about snails or tortoises, I'm surprised at the amount of butthurt flying around (which I could understand - snails and tortoises make me angry as well! (cos of faget)). But I guess for each insufferable cretin in GD, there are 10 butthurt fagets following them around telling everyone about how bad they are.

Also the irony of calling someone out on attention seeking posts, when their post does nothing but seek attention. Otherwise they could just use the ignore button?
 
Back
Top Bottom