“An SQL query walks into a bar…” (bar joke)

“A guy walks into a bar…” is a typical form of what has been called the “bar joke.” There are several jokes involving SQL (Structured Query Language), pronounced “sequel” or by the letters “ess-que-el” by some. The jokes involve “tables” at a bar or at a restaurant.
 
“A SQL query goes to a restaurant, walks up to 2 tables and says ‘Can I join you’?” was posted on DevTopics on May 9, 2008. “A SQL query goes to a restaurant, walks up to 2 tables and says ‘Can I join you’?” was posted on Alessandro Lacava‘s blog on May 9, 2008. “Possibly the worst tech joke ever ! A SQL query goes to a restaurant, walks up to 2 tables and says ‘Can I join you’?” was posted on Twitter by Shaf Ali on May 12, 2008. “A SQL query goes to a restaurant, walks up to 2 tables and says ‘Can I join you?’?” was posted on Reddit—Dadjokes on January 28, 2021.
 
“Retweeting @ramayac: A SQL query goes into a bar, wanders up to 2 tables and says ‘can i join you’” was posted on Twitter by Jeff Rush on September 10, 2008. “A SQL Query walks into a bar and goes up to two tables. ‘Mind if I join you?’” was posted on Twitter by Chris #BlackLivesMatter on September 17, 2008. “An SQL query goes into a bar, walks up to two tables and says, ‘Can I join you?’” was posted on Reddit—Funny on February 5, 2009. “A SQL query walks into a bar and sees two tables. He walks up to them and says ‘Can I join you?’” was posted on Reddit—Programming on February 5, 2009.
 
“An SQL query goes into a bar, walks up to two tables and says, ‘Can I join you?’” was posted on Twitter by Nathan O on November 25, 2008. “Stupid SQL joke just passed to me: An SQL query goes into a bar, walks up to two tables and says, ‘Can I join you?’” was posted on Twitter by Adam later on November 25, 2008. “An SQL query goes into a bar, walks up to two tables and says, ‘Can I join you?’” was posted on Reddit—Funny on February 5, 2009. “An SQL query walks into a bar. He goes up to two tables and says, ‘Can I JOIN you?’” was posted on Reddit—Mysql on May 25, 2013.
 
“RT @mattmattmatty An SQL query goes into a restaurant, walks up to two tables and says ‘can I join you?’ #dumbjoke #imsosorry” was posted on Twitter by My Public Timeline on October 13, 2009. “An SQL query walks into a restaurant with a dozen friends. Waiter asks: Should I join 2 tables sir? Query: No thanks,That’s my job! #fb” was posted on Twitter by Tejas H S on July 26, 2011. “An SQL Query walks into a restaurant, goes up to 2 tables and says ‘Can I join you?’ #geekjokes” was posted on Twitter by Ricki Larkin on May 31, 2012.
   
   
Wikipedia: SQL
SQL (/ˌɛsˌkjuːˈɛl/) S-Q-L, /ˈsiːkwəl/ “sequel”; Structured Query Language) is a domain-specific language used in programming and designed for managing data held in a relational database management system (RDBMS), or for stream processing in a relational data stream management system (RDSMS). It is particularly useful in handling structured data, i.e. data incorporating relations among entities and variables.
           
DevTopics
Best Programming Jokes
May 6, 2008
(...)
COMMENTS
Jaymz Says:
May 9th, 2008 at 3:25 am
A SQL query goes to a restaurant, walks up to 2 tables and says “Can I join you”?
 
Alessandro Lacava
Funny short jokes and aphorisms about programming (and programmers of course)
May 09, 2008 Programming, Aphorisms
(...)
A SQL query goes to a restaurant, walks up to 2 tables and says “Can I join you”?
   
Twitter
Shaf Ali
@shaf
Possibly the worst tech joke ever ! A SQL query goes to a restaurant, walks up to 2 tables and says “Can I join you”?
10:18 AM · May 12, 2008·Twitter Web Client
   
Twitter
Mariela
@aquarium
“A SQL query goes to a restaurant, walks up to 2 tables and says “Can I join you”?” via
@optimiced (en) http://tinyurl.com/6ouyjo
1:48 PM · May 21, 2008·Twitter Web Client
 
Twitter
Jeff Rush
@jeffrush
Retweeting @ramayac: A SQL query goes into a bar, wanders up to 2 tables and says “can i join you”.
3:57 PM · Sep 10, 2008·Twitter Web Client
     
Twitter
Chris #BlackLivesMatter
@inxilpro
Hah: “A SQL Query walks into a bar and goes up to two tables. ‘Mind if I join you?’”
9:32 AM · Sep 17, 2008·Twitter Web Client
         
Twitter
Nathan O
@preds
An SQL query goes into a bar, walks up to two tables and says, “Can I join you?”
12:19 AM · Nov 25, 2008·Twitter Web Client
   
Twitter
Adam
@djthread
Stupid SQL joke just passed to me: An SQL query goes into a bar, walks up to two tables and says, “Can I join you?”
10:54 AM · Nov 25, 2008·Twitter Web Client
 
Reddit—Funny
Posted by u/Maddog_Delphi97 February 5, 2009
An SQL query goes into a bar, walks up to two tables and says, “Can I join you?”
 
Reddit—Programming
Posted by u/zoomzoom83 February 5, 2009
A SQL query walks into a bar and sees two tables. He walks up to them and says ‘Can I join you?’
         
Google Groups: comp.databases.theory
laugh of the day
Roy Hann
Jun 10, 2009, 11:35:28 AM
.(JavaScript must be enabled to view this email address) wrote:
I didn’t see the first joke so stop me if you’ve heard this one.
 
An SQL query goes into a bar and sees two tables in the corner. So it goes over and says, “Mind if I join you?”
 
Twitter
Joe Webb
@joewebb
told the “A SQL query walks into a restaurant…” joke during my Lunch & Learn session yesterday. Got only stares. Got to work on delivery.
8:37 AM · Jul 14, 2009·Twitter Web Client
   
Twitter
ꜱɪᴍᴏɴ ᴄᴏᴜꜱɪɴꜱ.
@simon_cousins
A SQL query walks into a restaurant and says to two tables “mind if I join you?” (via BBG)
8:50 PM · Jul 15, 2009·Twitter Web Client
   
Twitter
My Public Timeline
@tamed_public_tl
RT @mattmattmatty An SQL query goes into a restaurant, walks up to two tables and says ‘can I join you?’ #dumbjoke #imsosorry
4:12 AM · Oct 13, 2009·Twitter Web Client
 
Reddit—Programming
Posted by u/bananatalk April 12, 2010
A SQL query walks into a bar. He approaches two tables and says, Mind if I join you?
   
Reddit—Programming
Posted by u/grandeandy October 13, 2010
A SQL statement walks into a bar…goes up to two tables and asks “Can I join you?”
     
Reddit—Jokes
Posted by u/nzeeshan November 27, 2010
“A SQL query walks into a bar.
“A SQL query walks into a bar. He approaches two tables and says, Mind if I join you?” 
   
Twitter
Tejas H S
@tejas_hs
An SQL query walks into a restaurant with a dozen friends. Waiter asks: Should I join 2 tables sir?
Query: No thanks,That’s my job! #fb
9:22 AM · Jul 26, 2011·Echofon
   
Twitter
Ricki Larkin
@Triickii
An SQL Query walks into a restaurant, goes up to 2 tables and says “Can I join you?” #geekjokes
7:48 AM · May 31, 2012·Twitter for iPhone
 
Reddit—Jokes
Posted by u/anotherDocObVious December 3, 2012
A geeky joke: An SQL Query walks into a bar…
... and joins two tables.
   
Reddit—Mysql
Posted by u/mrivorey May 25, 2013
An SQL query walks into a bar…
An SQL query walks into a bar. He goes up to two tables and says, “Can I JOIN you?”
 
Reddit—ProgrammingJokes
Posted by u/Enum1 May 26, 2013
A SQL query in a bar…
A SQL query goes into a bar, walks up to two tables and asks, “Can I join you?”
BADUM TSS!
     
Reddit—Tablejokes
Posted by u/Amnestic October 26, 2013
“A SQL query walks into a bar. He sees two tables, walks over and asks…May I join you?
     
Reddit—Funny
Posted by u/devanteswiing November 29, 2013
A SQL query goes into a bar, walks up to two tables and asks…
“Can I join you?”
     
Reddit—Jokes
Posted by u/Banks618 August 25, 2014
A SQL statement walks into a bar…
he confidently walks up to a couple of tables and says, “May I join you?”.
 
Reddit—Jokes
Posted by u/tender_breasts December 31, 2014
A SQL Query walks into a bar
It Drops by a Group of Tables and asks, “can I Join you?”
 
Reddit—Jokes
Posted by u/Junglesweat69 February 21, 2015
A SQL Query Glides Into A Bar, In The Corner Of Said Bar Were Two Tables. SQL Query Glides Over To Said Tables and asks, May I Join You.
   
Reddit—Jokes
Posted by u/Caminsky May 15, 2015
An SQL query walks into a bar ...
Walks up to two tables and says:
“CAN I JOIN YOU?”;
 
Reddit—Jokes
Posted by u/TheOrigamiGamer16 April 6, 2017
A SQL Query
Walks into a bar, walks up to two tables and asks, “can I join you”?
     
Reddit—ProgrammerDadJokes
Posted by u/clickclickonsal June 18, 2017
Two sql developers walk into a bar & then walk straight out…
Because there were no tables they could join
   
Reddit—Jokes
Posted by u/Yangy August 7, 2017
An SQL query walks into a bar
Walks into a bar
, walks up to two tables and asks; “May I join you?” 
 
Reddit—ProgrammerHumor
Posted by u/Neoguy396 September 30, 2017
A SQL query walks into a bar and sees two tables.
He walks upto them and asks ” Can I join you? “
       
Reddit—Jokes
Posted by u/dennyitlo February 23, 2018
An SQL statement walks into a bar and sees two tables.
It approaches, and asks “may I join you?”
   
Twitter
Francesco Cesarini
@FrancescoC
An SQL query walks into a bar and sees two tables. It walks up to them and says ”May I join you?”
5:29 AM · Jul 4, 2018·Twitter Web Client
 
Reddit—ProgrammerDadJokes
Posted by u/KentoNishi October 14, 2018
2 SQL Queries walk into a bar.
They immediately walk out, because they couldn’t find a table.
     
Reddit—ProgrammerDadJokes
Posted by u/KentoNishi October 15, 2018
Part 2: 2 SQL queries walk into a bar.
Looks like you all wanted a sequel.
 
Twitter
mclinuxmaxe
@mclinuxmaxe
An SQL query walks into a bar, sees two tables, and says, “Can I join you?” #sql #mysql #postgresql #joke #webcomic #comic #code #coding #codes
6:12 PM · Aug 19, 2019·Twitter Web App
   
Twitter
Josh
@JoshDirkson
A SQL query walks into a restaurant, approaches two tables and says, “Can I join you?”
11:19 AM · Dec 18, 2020·Twitter for iPhone
   
Reddit—Dadjokes
Posted by u/manantyagi25 January 28, 2021
A SQL query goes to a restaurant, walks up to 2 tables and says
“Can I join you?”?
 
Reddit—Jokes
Posted by u/thendof March 21, 2021
A SQL query goes to the bar, walks up to two tables
“Can I join you?”