r/SQL • u/Alone_Translator_638 • Apr 21 '26
Discussion [Feedback Request] I built a native "Daily SQL Challenge" interactive widget for Reddit. The mods suggested I run a pilot test with you all.
Hey r/SQL,
I’m a data engineer and recently built a “Daily SQL Challenge” widget that runs directly inside Reddit using Devvit.
The mods suggested running a small pilot first to see if it’s actually useful for the community.
How it works:
- Shows a real SQL interview question (joins, CTEs, window functions, etc.)
- You think/write your query
- Click “Reveal Answer” to see solution + explanation
- Vote on difficulty and compare with others
Try it here:
https://www.reddit.com/r/sql_arena_dev/
Need your feedback and if it’s helpful, I’ll push to bring this to r/SQL.
Thanks
11
Upvotes
•
u/ATastefulCrossJoin DB Whisperer Apr 21 '26
Hello everyone.
This is an app created by one of our community members being considered as a permanent addition to the subreddit as a fun interactive element.
They have been requested to do a round of user feedback so that they can better align it to the interests of the community.
Please take a look and provide constructive feedback that would make this a useful addition to this community
5
u/EbbyRed Apr 21 '26
Not sure I totally understand the function, but are responses supposed to be submitted to the reddit comments?
Today's prompt was strictly too broad and I'm not going to spend the time to outline something like that to neglect my actual work.
It would be more fun to have narrow technical questions, but I haven't looked at the past prompts yet.
4
u/avxjs Apr 21 '26
I'm confused, is the question "Design a relational data model for a sales database, incorporating normalization techniques" with no other information? Or is it not loading correctly for me?
4
u/EbbyRed Apr 21 '26
Also, it looks like the answers are probably just AI generated solutions to the prompts?
2
u/Zoidburger_ Apr 22 '26
Am I missing something? I look at prompts like "find employees earning the 2nd highest salary" and expect to be given a relational model to work with. Such as "the employees table has these columns," "the payroll table has these columns," "the party_names table has these columns," etc.
With this prompt and no other additional information, I could literally just say:
Ok well I found this convenient "rpt.employee_salaries_ranked" view and I query:
select *
from rpt.employee_salaries_ranked
where salary_rank = 2
That doesn't sound like a very good demonstration of SQL skills and knowledge. There are probably bad interview questions like this, but a good one will give you a controlled paradigm to work within that only has so many valid answers to it.
1
u/Alone_Translator_638 Apr 22 '26
Fair feedback, and you were right. Shipped a fix the bank was pulled from a large interview vault and some system-design prompts slipped through the SQL filter. Rebuilt it: 350 verified SQL-only questions, every answer has runnable
SELECT...FROMcode, titles cleaned up. Latest post on r/sql_arena_dev shows the new format. Thanks for pushing on this.1
u/Alone_Translator_638 Apr 22 '26
Update: shipped v0.0.30 today based on this feedback. Every question now has a bounded
Schemablock,Sample Rowswith tie markers, explicitEdge Cases*, and an*Expected Outputshape --- visible before Reveal (every answer has runnableSELECT...FROMcode). Upgraded to Devvit 0.12.20 for faster load. Live on r/sql_arena_dev now, public directory version in review. Zero text input in the widget, nothing collected will push source to GitHub this week. Thanks for the sharp critique made it meaningfully better. Check latest post -- https://www.reddit.com/r/sql_arena_dev/comments/1ssssdm/sql_arena_challenge_find_the_top_5_products_by/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button1
u/RobotAnna1 Apr 22 '26
Is the source code for the app available on github?
1
u/Consistent_Storm5560 Apr 23 '26
Hi everyone beginner here why my sqlite3 prompt never show up
4
u/[deleted] Apr 21 '26
[removed] — view removed comment
3
u/[deleted] Apr 21 '26
[removed] — view removed comment