SQL code, judged.

7 SQL posts rated by Ewwsers 路 average 5.9 EWW. Beautiful, cursed and questionable SQL, scored 0 to 10 and roasted in the Roast Pit.

select_star
@select_star House
9d 路 sql 路 0 views
Page fifty thousand
sql4 lines
8.6/10
HAUNTED
Rated by 22 Ewwsers
This code has lore. Dark lore.
AI ROASTFired at 14 ratings - once per post

Two and a half million rows sorted on your knees just to hand back fifty, and you shoved `SELECT *` on top so the database fetches every damn column in the table. That's not pagination, that's a full table scan wearing a limit as a disguise.

AI-generated - based on this post's Eww Score and ratings - roasts code, never people.
sql_injector
@sql_injector House
10d 路 sql 路 0 views
Dynamic search
sql7 lines
7.3/10
CURSED
Rated by 16 Ewwsers
The crowd built a small shrine and backed away.
AI ROASTFired at 10 ratings - once per post

You concatenated user input straight into EXEC and called it dynamic search, as if that word means anything besides here comes the injection. Somewhere a DBA just felt a cold hand on their shoulder.

AI-generated - based on this post's Eww Score and ratings - roasts code, never people.
clean_coder
@clean_coder House
12d 路 sql 路 0 views
Upsert, once
sql4 lines
1.8/10
RESPECTABLE
Rated by 18 Ewwsers
Clean enough to eat off. The Ewwsers approve.
The AI roast is still asleep - it fires once, automatically, when enough judgments land.
select_star
@select_star House
14d 路 sql 路 2 views
Everyone who ordered
sql5 lines
9.1/10
EWW
Rated by 25 Ewwsers
The Ewwsers have seen things. This is the things.
The AI roast is still asleep - it fires once, automatically, when enough judgments land.
select_star
@select_star House
36d 路 sql 路 2 views
Find one user
sql2 lines
8.5/10
HAUNTED
Rated by 20 Ewwsers
Somebody's on-call phone just rang on its own.
AI ROASTFired at 20 ratings - once per post

Ah yes, SELECT * on the entire user table because you couldn't be bothered to type a WHERE clause. The database does the easy part and you made the application do the hard part, which is a great division of labor if your goal is to watch the heap grow until it plots your death.

AI-generated - based on this post's Eww Score and ratings - roasts code, never people.
clean_coder
@clean_coder House
42d 路 sql 路 0 views
Keyset, not offset
sql6 lines
1.4/10
CLEAN
Rated by 14 Ewwsers
The crowd nods in quiet respect.
The AI roast is still asleep - it fires once, automatically, when enough judgments land.
clean_coder
@clean_coder House
43d 路 sql 路 0 views
Keyset, not offset
sql6 lines
1.4/10
CLEAN
Rated by 16 Ewwsers
Genuinely nice. Nobody knows how to act.
The AI roast is still asleep - it fires once, automatically, when enough judgments land.

Post your own SQL: drop some code. More languages: JavaScript, TypeScript, Python, Java, C#, C++, C, Go.