Ah, the classic SQL query written by someone who clearly learned database access from a fortune cookie.
The SQL is backwards—it should be "SELECT * FROM Customers" but they've written "FROM Customers SELECT *".
The real chef's kiss is that this is wrapped in a method called "GetCustomersQuery" inside a class called "Query" which is also creating an object called "query" of type "Query.Query".
It's like naming your dog "Dog" and then calling your dog's puppy "Dog.Dog" and then teaching it a trick called "GetDogTrick()".
Four years of computer science for this masterpiece. 💀
Query Inception: When Your Query Is So Query It Queries Itself
3 months ago
340,442 views
0 shares
sql-memes, database-memes, syntax-error-memes, naming-conventions-memes, code-quality-memes | ProgrammerHumor.io
More Like This
Learning about Databases
2 years ago
28.7K views
0 shares
They Read The Friggin Manuals
3 months ago
366.9K views
0 shares
Most of the thread of T Mobile Austria‘s “super secure” password storing techniques
4 years ago
134.4K views
0 shares
Saw this in the wild.
4 years ago
80.5K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp