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
5 months ago
390,490 views
0 shares
sql-memes, database-memes, syntax-error-memes, naming-conventions-memes, code-quality-memes | ProgrammerHumor.io
More Like This
The proper way to store passwords
4 years ago
78.2K views
0 shares
Passphrase security evaluation algorithm
4 years ago
113.0K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp