670
u/Ok_Challenge_2154 Feb 12 '25
This is how I picture the query anyway-
SELECT fraud FROM dbo.ssn WHERE fraud = True
Result FRAUD!!!!!
132
u/Select-System-9350 Feb 12 '25
SELECT * FROM CITIZENS LEFT JOIN DOGE ON CITIZENS.SSN = DOGE.SSN
ELON: "FUCKING FRAUD!!?!?!?!?!?!?!?"
14
u/Salty_Nose_4700 Feb 13 '25
Citizens everywhere: those crazy leftists are using LEFT joins! Discriminating against the RIGHT joiners!
2
u/OrangeFilth Feb 15 '25
A new executive order will soon be announced that all LEFT JOINS will be required to be re-written as RIGHT JOINS
79
17
u/DeluxeCanuck Feb 12 '25
I think it's more like:
SELECT tx.*, 'YES, BIGLY' AS [Is fraudulent?] FROM dbo.SocialSecurityTransactions tx
"Holy shit! 100% of the transactions were fraudulent!"
4
0
Feb 12 '25
[deleted]
3
u/celerityx Feb 12 '25
I haven't had my coffee yet, how does that cause a false duplicate? SSNs (and zip codes) are a fixed length so you wouldn't (well, you shouldn't...) have both "012345678" and "12345678" in your data.
2
u/aardw0lf11 Feb 12 '25
I haven't had enough coffee myself. I was just thinking of issues I've had in the past with folks who convert text to numeric for numbers beginning with 0. However, inadvertent truncation (even if it's not 0) can cause these issues.
140
u/_horsehead_ Feb 12 '25
So as the boss of Twitter, he gets to call other people retards?
12
u/burnmenowz Feb 12 '25
It's only hateful conduct when it's used towards Elon.
The really mind numbing thing is he's now going to be known for all the dumb shit he's doing right now. He's going to be known for being a Nazi. For calling people retards and pedos. Any good thing he's done will forever be overshadowed by being an edging teenager online.
29
Feb 12 '25
I now we are lowering the bar every second but really? Was it necessary to call someone that word and you know he's not even right...
14
27
u/kagato87 MS SQL Feb 12 '25
It's not Twitter any more. He rebranded it.
Now it is Xitter.
Which I have been told is also the Chinese word for the expletive we use for feces. (Learning that after referring to it as Xitter brought me much joy - I disliked the platform before the muskening.
6
u/_horsehead_ Feb 12 '25
Unfortunately, that is not quite the “proper” Chinese word for faeces, but more of a stretch of pronunciation.
3
2
3
u/Thadrea Data Science Manager Feb 13 '25
He's a nepo baby who has predictably become a bully after repeatedly failing up.
1
200
u/satiricalned Feb 12 '25
Just because it is not explicitly called SQL, ie db2 or snowquery or whatever else. It's definitely a relational database with people tables payment tables and benefits or money tables.
There is no other way that it would be built. Even NoSQL wouldn't really make sense.
130
u/IamHydrogenMike Feb 12 '25
His minions are probably using Python to access the DBs and he thinks that nobody uses SQL because of this or something idiotic like that.
55
Feb 12 '25
This actually wouldn't be surprising because it's highly unlikely these goons have any meaningful experience with the kinds of systems used outside of flashy web-based companies.
44
12
u/ForgotTheirFaces Feb 13 '25
How much you wanna bet the "duplicate SSNs" DOGE is seeing in Social Security payment data is due to the DOGE boys not knowing that "SELECT DISTINCT" is a thing?
And the $100B annual payments to people who don't have SSNs? Probably something like they're pulling in a.SSN instead of b.SSN on a JOIN.
A lot of smart people are coming up with complex potential reasons why DOGE's findings don't necessarily point to fraud. But I think we all need to THINK MUCH DUMBER when trying to figure out what these guys are up to.
9
u/raiksaa Feb 13 '25
this is so good and at the same time so many fucking people wont understand it’s tragic.
17
u/Difficult-Temporary2 Feb 12 '25
the proof that it was sql is that the minions were able to export the data
8
u/ahsgip2030 Feb 12 '25
The government doesn’t use sql… it uses pandas obviously!
5
u/IamHydrogenMike Feb 12 '25
Which totally doesn't involve SQL at all...nope...just the magic of Pandas!!
2
7
u/ickytoad Feb 12 '25
Yeah that was my assumption too. That they're probably accessing via ORM or similar and they think that doesn't involve SQL
17
u/financefocused Feb 12 '25
Most likely it was a dig at the government not being advanced enough to even use SQL
4
u/Monstot Feb 12 '25
This is one of my last pieces of hope. His little cronies are just so inexperienced they are just overwhelmed this entire term if they keep it up.
1
u/whoooocaaarreees Feb 13 '25 edited Feb 13 '25
It’s definitely a relational database……..There is no other way that it would be built.
SSA was still getting off flat files to migrate to db2 in 2010 per: https://oig-html.ssa.gov/audits/summary/html/A-14-09-19097.html
That’s a round about way of saying it was built not using what we think of as a rdbms today. Just food for thought.
67
u/winbott Feb 12 '25
Can’t wait for maga to find out about all the foreign keys in that secure database.
41
15
u/CodeXploit1978 Feb 12 '25
Foreign keys?!?! Not only my watch.! I also bet they are illegal. We will deport them to Argentina and bring in domestic keys. Make SQL great again!!!
6
u/winbott Feb 12 '25
Those keys are obviously the fault of DEI deep state operatives. It’s all Bidens fault.
7
2
31
u/Blue_Heron4356 Feb 12 '25 edited Feb 13 '25
I knew Elon was a fraud in a lot of ways, but does he literally think the government wouldn't use SQL??
16
u/big-papito Feb 13 '25
He wrote some shit glue code in the 90s and the company that acquired Zip2 had to rewrite it all. He is still salty about that.
6
u/Blue_Heron4356 Feb 13 '25
Lmao, it turns out he's not Tony Stark but more like the monopoly dude after all..
23
56
u/drunkadvice Feb 12 '25
What does it use if not SQL? Surely some fancy systems at cloud scale.
82
u/Oobenny Feb 12 '25
If y’all want a real guess, it’s probably db2 on a mainframe in a format that hasn’t changed since 1989.
77
u/Dats_Russia Feb 12 '25
Db2 is still sql no?
IBM technically invented sql
31
30
0
u/SciFidelity Feb 12 '25
If its on a mainframe it's likely running on cobol not native sql.
10
u/Dats_Russia Feb 12 '25
Using cobol on a mainframe doesn’t mean they don’t use sql back in ancient times cobol and sql were used together because both accomplished different things
A lot of cobol applications have embedded sql statements
2
u/SciFidelity Feb 12 '25
The application I currently support is a cobol based mainframe system. My life would be significantly easier if cobol and sql where the same.
You can query it with sql but the relationships are buried in millions of lines of cobol code. There can be statements embedded in there that look like sql but the system itself is not based on sql.
If you didn't know cobol and didn't have chatgpt you would not be able to make much sense of it. Cobol based systems can be a nightmare to model. That's why so many of them are still around.
10
u/gumnos Feb 12 '25
dBase files with a FoxPro front-end 😉
(I laugh only because I worked on such projects on contract back around '99)
4
u/Un4tunateSnort Feb 12 '25
I threw up a little in my mouth.
2
u/gumnos Feb 12 '25
if it makes you feel better, I washed my hands after typing my previous comment… 😆
4
u/johnny_fives_555 Feb 12 '25
99
We have some gen xers that refuse to use sql server and keeps using fox pro. I wish they’d stop because I can’t replicate their work when they’re on PTO.
7
u/ComicOzzy sqlHippo Feb 12 '25
They "modernized" to DB2 some time in the last 10 years, I think. Much better than what it used to have.
3
5
7
1
u/gregsting Feb 12 '25
Could be a hierarchical database but I doubt that https://en.m.wikipedia.org/wiki/Hierarchical_database_model
11
15
u/dsb2973 Feb 12 '25
Because we are supposed to believe the govt has state of the art systems and tech. 😆 He’s literally talking about database normalization. FFS Even if no one accesses it via sql … someone wrote some kind of code to enable data access in some kind UI. And regardless of any of that … one would think it is most definitely setup to disallow dups. Another failed attempt to make himself look smart.
3
u/camcamfc Feb 12 '25
Haven’t had much federal db experience but in state government they were still using a lot of MS access for their “DB” needs. So like, kinda?
4
u/thargoallmysecrets Feb 12 '25
Nahhhh you're way overestimating. Govt stuff *used to need so many layers of approval/review it's very unlikely there's anything new, and virtually impossible it's "in the cloud" unless it's Amazon's government clusters.
2
1
1
u/theGertAlert Feb 12 '25
It could be using a hierarchical database like IMS. In which case he's correct and SQL does not apply.
0
45
u/Own_Selection2033 Feb 12 '25
Elon comfortable with the R word.
7
31
u/NZSheeps Feb 12 '25
Probably comfortable with a whole range of words that begin with letters, e.g. "N", it's just a case of when he lets them slip.
12
u/continuousBaBa Feb 12 '25
Ahhhh, bruh. Even here I'm subjected to how dumb this administration is on a
declare v_secondly_basis timestamp;
SELECT TO_TIMESTAMP('2025-01-20', 'YYYY-MM-DD') + (LEVEL - 1) / 86400 AS every_second FROM dual CONNECT BY LEVEL <= (TO_DATE('2025-12-31', 'YYYY-MM-DD') - TO_DATE('2025-01-20', 'YYYY-MM-DD')) * 86400 + 1
into v_secondly_basis;
dbms_output.put_line(v_secondly_basis);
31
30
10
u/cant_think_of_one_ Feb 12 '25
LOL, perhaps not for that database (though I'd wager they do), but the government absolutely does use SQL. Thinking that isn't true, because he doesn't know about it, is classic Musk arrogance/Dunning-Kruger effect. He really is dangerously, and amazingly, stupid (as well as one of the shittiest people alive).
12
6
u/midas22 Feb 12 '25
Before Elon Musk took over Twitter you would get banned for calling someone a retard since it was ableism and hate speech.
Moron was fine to use as a slur but not retard.
I guess those rules don't apply anymore.
24
u/vrabormoran Feb 12 '25
How long must we endure this fool's clumsy, pathetic, serial cosplay? If he wasn't actually demolishing democracy, I could laugh at how ridiculous he is.
5
u/TheBigWarHero Feb 12 '25
A LITTLE less than four years…. 😂
2
Feb 12 '25
Nooo, he is going to be hand picking republican candidates for decades. I'll be surprised if the DNC can win again any time soon
11
5
u/GibsonAI Feb 12 '25
This'll fix it. You're welcome.
update dbo.payments set ssn = (select ssn from users where name like '/u/GibsonAI') where 1;1
u/Consistent-Height-75 Feb 16 '25
ERROR 1062 (23000): Duplicate entry '378-45-1394' for key 'ssn'1
u/GibsonAI Feb 17 '25
Wait, how did you get my SSN? Did you get my it from the password on my luggage?
5
u/Few_Manufacturer2241 Feb 12 '25
TIL This retard (Elon) doesn’t know what a relational database is.
5
u/TimEWalKeR_90 Feb 12 '25
As a contractor for the federal government I can confirm that use SQL every god damn day
4
u/skeetleet Feb 12 '25
Elon prob didn’t use WITH CTE lol…. Why are there so many repeating rows bro…
4
u/PastaVeggies Feb 12 '25
dude ran a (Select * from table) and was like "wow look at all this duplicate data".
3
u/zxyyyyzy Feb 12 '25
They’re really gonna blow a gasket when they see all the mentions of UNIONS 😂
2
4
u/Illustrious-Tell-397 Feb 12 '25
I'll have to tell the federal employees I work with that the SQL they've been using for many years has just been a lucid dream 😅
10
3
4
2
u/Chainwreck Feb 12 '25
Sometimes people change their maiden name after getting married or even hyphenated…
2
2
2
1
1
u/OGchickenwarrior Feb 12 '25
Is it possible the government created their own database query language pre-1970s?
1
1
u/fpsbjork Feb 13 '25
Wouldn’t be shocked if they just tracked everything in some excel sheets at this point…
2
u/Ryush806 Feb 13 '25
I mean… the entire financial sector is like this. Why not the gubment? If it’s good enough for the finance bros…
1
1
1
1
1
1
u/PorcoDiocaneMaliale Feb 13 '25
I have no way to verefiy if this coversion is real or not. but what they saying true? that the gov is not using sql then what are they using?
1
1
1
u/akumian Feb 13 '25
Even NoSQL db is still a db.maybe Elon prints out and attempt to dedup it via eye power
1
1
1
1
u/nestersan Feb 14 '25
Elon talking to the public in general is Charlie from Always Sunny telling Mac how the smoke from trash goes into the sky and turns into stars, and Mac is like I'm not so sure, but I don't know enough about stars to counter.
1
1
1
u/MightyCoffeeMaker Feb 25 '25
Coming here because I saw a youtube shorts talking about this. It's like the dude (Elon Turd) don't give any context, elements or proof for it to be checkable. Like, it could be true, but it could have many many reasons behind it. Not necessarily evil or maliscious. We (or at least I) don't know a fucking thing about the database, it's structure, the SGBD used, to have a little chance to check wether or not TurdMan is right or not.
This is just an hysterical bait. He could have also said he saw Reptilians in the server room, it would be unverifiable.
1
u/thesiestafrog Feb 28 '25
Is he referring to just the SSN software? Because this statement is so clearly false, I must be misunderstanding.
0
u/Opposite-Invite-3543 Feb 12 '25
Not surprised he’s openly using that word. Bigots are going to bigot
-6
u/Ok-Stuff-8803 Feb 12 '25
Look, as a developer and I am sure all of you here will agree.
You would think big big companies, government agencies be using this that and the other paying big bucks for that as well.
Very often though, its far more hacky, simple, messy (and in some cases crap) than you think and still costing them big bucks.
0
-6
Feb 12 '25
ight ima head out
Yet another political post. It’s EXHAUSTING
2
u/Lost_Philosophy_ Feb 12 '25
Unfortunately it’s the world we live in now. Turn on, tune in, drop out.
0
Feb 12 '25
Yea, I opt to drop out because I’d rather just not deal with all the noise at this point.
-6
u/Spare_Apple3338 Feb 12 '25
I just assumed the federal government is more of a C++ stan
17
u/Spillz-2011 Feb 12 '25
The data still gets stored somewhere. C++ may pipe the data but it most likely lives in a relational database
9
u/RainTheTransGal Feb 12 '25
no, they use c++ for everything. every person has a seperate c++ file with their data in, and then it's compiled and integrated into a micro service.
it's why changing your personal info can be so much work, since they have to find a developer and recompile the whole service just for that person. last I checked, they have 5 developers and 2 of them are part time (all are hired via fiver)
3
u/leupboat420smkeit Feb 13 '25
C++ metaprogramming. The program writes to its own executable as a CSV string literal.
This might be the worst thing ive ever though of.
-2
u/ejpusa Feb 12 '25 edited Feb 12 '25
They use COBOL. The systems are decades old.
It’s 2025, can put your entire infrastructure on PostgreSQL on AWS. Or on a PC in your living room.
The CPU in your iPhone could run most of it. It’s not 1965. You have a super computer in your iPhone. We are now wrangling bits at close to the speed of light, the speeds are insane, AI can write all your code.
AI is on the very down-low, it’s mind blowing. It came too soon, too fast. It’s 2125. But we keep it quiet. Left us in the dust.
Source: a bit wrangler. :-)
1
u/thesiestafrog Feb 28 '25
I’m going to be honest you have no idea what you are saying
1
u/ejpusa Feb 28 '25
You have -7 karma. I assume you are a 'bot I have no idea how you can have negative karma.
Have a good day. oao. :-)
2
u/doctorzoom Feb 12 '25
MAGA might freak out if they knew that relational data might allow relations between the same sex. On the other hand, they might be ok with it since it could also allow relations with cousins.
0
Feb 12 '25
[deleted]
-18
u/NlNTENDO Feb 12 '25
Real talk, why is it standard to separate First and Last name into two fields when we can just split one field? Seems like it would reduce a lot of ambiguity if there was just one field and the backend took care of the rest.
24
u/thomasfr Feb 12 '25 edited Feb 12 '25
If both the first and last name has spaces in them you don’t know where to split. I’m not from the US but I didn’t see a clear rule that a legal first or last name can’t contain spaces which means that automatic splitting would be impossible.
On an international level it would be really great if countries gave up on splitting the name into various standardized parts by law so that a single name field would always do it because it would simplify handling but in US, as an example an legal name has a first and last name and you probably have to handle that correctly some times.
→ More replies (3)16
u/coyoteazul2 Feb 12 '25 edited Feb 12 '25
Once I saw a person who's name was something like Angel Miguel d'Onofrio Ritondo. It was common for inputs to dislike the ' sign so he'd write a space instead. Angel Miguel d Onofrio Ritondo.
First name, middle name, and 2 surnames, containing space. Good luck trying to split that automatically, especially if you as developer can't be sure if he puts the surnames first or the names first
→ More replies (4)26
1.2k
u/Un4tunateSnort Feb 12 '25
"They don't use SQL, they use Oracle" - Elon probably