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
4 months ago
363,715 views
0 shares
sql-memes, database-memes, syntax-error-memes, naming-conventions-memes, code-quality-memes | ProgrammerHumor.io
More Like This
When Your Front End And Back End Works But The Database Is Messed Up
8 months ago
178.5K views
0 shares
Ramsay's Kitchen Nightmares, But For Software Development
7 months ago
445.5K views
0 shares
Finally I know what they're saying
4 years ago
160.1K views
0 shares
Security Nightmare Disguised As Optimization
2 months ago
193.6K views
0 shares
The Oracle Codebase: Where Developers Go To Lose Their Sanity
2 months ago
311.2K views
1 shares
Apparel (affiliate)
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp