r/SQL • u/No_Channel_3299 • 8h ago
MySQL sqlWorkout
😌 SELECT 😌
r/SQL • u/echopulse • 4h ago
Hey folks 👋
For the last few weeks, I’ve been frustrated with the state of self‑hosted SQLite admin tools.
Most of them are either:
Abandoned (phpLiteAdmin hasn’t seen a proper update in years),
AdminNeo and other tools don't work without passwordless login plugins that didn't work well.
Overly complex (Adminer is great but not SQLite‑centric),
Or require a heavy stack (Node, Python, Docker) when all I wanted was a single PHP file I could drop on my server.
So I decided to build my own.
🔧 Features
Secure, built-in login system (not a plugin)
Browse, edit, insert, delete rows
Create / rename / drop tables
Import/Export (CSV, JSON, SQL, full DB)
Bulk delete, search, filters
Dark mode, undo (last 5 actions)
Multiple database support
Resizable sidebar
🚀 Try it
Upload admin.php & install.php
Run install.php to set username/password
Login and go
PHP 7.0+ with SQLite3 extension. No dependencies.
https://abilenetechguy.com/sqlite_admin.zip
🧪 Beta feedback wanted
Errors, UI annoyances, missing features – let me know!
Give it a spin and tell me what you think 🙏
– Abilene Tech Guy
r/SQL • u/sierrafourteen • 14h ago
I've ensured that my software is completely up to date, but my SSIS project (that uses OData as a source), will just refuse to accept data where one of the columns is the Edm.GeographyPoint type. I've tried entering specific columns into the query box (and therefore excluding the problem column), but it appears it will still throw an error, despite the data itself not containing any columns of that data type - I'm assuming it's downloading the column metadata for the entire table, seeing a data type it doesn't recognise, and throws an error.
I've tried using a different collection that doesn't have columns of that data type, and the SSIS project works with that - the problem is, there doesn't appear to be any way of fixing this. I've ensured the software is completely up to date.
r/SQL • u/codingdecently • 13h ago
r/SQL • u/Creative_Fox_8836 • 5h ago
r/SQL • u/Minimum_Ad5390 • 8h ago
I built SQL Mocker, an AI tool that helps users write SQL from natural-language questions using only schema metadata - tables, columns, data types, and relationships.

It can also test queries against dummy data and explain or improve existing SQL, without accessing your real data.
I’d appreciate honest feedback: would this be useful in your work?
r/SQL • u/Minimum_Ad5390 • 8h ago
I built SQL Mocker, an AI tool that helps users write SQL from natural-language questions using only schema metadata - tables, columns, data types, and relationships.

It can also test queries against dummy data and explain or improve existing SQL, without accessing your real data.
I’d appreciate honest feedback: would this be useful in your work?
r/SQL • u/what-pos • 2d ago
I'm starting to use SSMS at work, that's the only tool I have (no PowerShell cmdlet).
I need to execute an identical SQL Query on 300 servers, but I can't find a way to do that. Could anyone point me in the right direction please ?
So far, I did add the 300 servers to the registered servers by tinkering to not do it manually, but when I execute the query, I only get 50 ish servers connected, then SSMS hangs and crash.
r/SQL • u/Effective_Ocelot_445 • 2d ago
Iam interested in learning the techniques data engineers use when datasets grow from millions to billions of records. Beyond basic indexing, what strategies have made the biggest performance difference in production environments?
r/SQL • u/deusaquilus • 2d ago
How fast are PostgreSQL 19 Graph Queries? Do they perform at scale? Is there a difference between fixed and variable depth? I'll explore all this an more with real numbers and real scenarios in this upcoming series.
Also Upcoming:
- How do they compare to real Graph Engines e.g. Neo4j?
- How flexible is the modeling?
- Are materialized views possible?
- Doesn't SQL Server already do this?
etc...
r/SQL • u/datamonk9 • 2d ago
My team is migrating multiple AI applications and currently evaluating Lakebase.
I wanted to understand if we create a branch fr testing schema/data changes, are the vector indices isolated as well, or do we need to have an strategy to avoid rebuilding them repeatedly?
Also, any performance/operational things you ran into that might help.
Love to hear from anyone.
r/SQL • u/FixelSmith • 2d ago
r/SQL • u/AfternoonOne1231 • 2d ago
I wanted to develop Natural Language to create a report by Users ... themself. .help me to develop this bot ??
r/SQL • u/Significant_Ad_6731 • 3d ago
How advanced do I have to be in SQL to land a data analyst internship? Just a general question
I wanted a self-hosted ERD editor where multiple people could work on the same diagram without relying on a third-party cloud service, so I created an unofficial collaborative fork of drawDB.
This is not a new ERD editor built from scratch. It is based on the AGPL-licensed drawDB project, with a collaboration and persistence layer added on top.
What I added:
- Centralized diagram storage using SQLite
- Real-time collaboration over WebSockets
- Live table movement while another participant is dragging
- Participant presence and collaborative cursors
- Cursor positions mapped to diagram coordinates, so different pan/zoom states work correctly
- Optimistic version checks to prevent stale clients from silently overwriting newer changes
- A single Docker container for the frontend, API, WebSocket server, and SQLite storage
- SQL import/export support inherited from drawDB, with an additional MariaDB import compatibility fix
You can run it with:
docker compose up --build
Then open the same diagram URL in two browser sessions to collaborate.
A current limitation is that authentication and diagram-level permissions are not implemented yet, so it should currently be deployed only on a trusted network or behind an authenticated reverse proxy.
The project is open source under AGPL-3.0:
r/SQL • u/wassaman • 5d ago
Enable HLS to view with audio, or disable this notification
r/SQL • u/Vivekpandey76 • 5d ago
Hi everyone,
I'm currently creating a complete MySQL course focused on learning through real interview-style problems rather than just theory.
So far, I've covered 100+ SQL problems using a well-designed dataset that includes topics ranging from beginner to advanced, such as:
If you'd like to check out the course, here's the documentation and YouTube playlist:
📄 Documentation: https://github.com/vivekpandey76/Mysql-course
🎥 YouTube Playlist: https://youtube.openinapp.co/youtubseries
I'd really appreciate your feedback.
What topics do you think are still missing that every MySQL developer should know?
I'm looking for suggestions that would help make this course one of the most comprehensive resources for mastering MySQL—from beginner concepts to advanced interview preparation and real-world SQL.
Whether it's:
...or anything else you think is important, I'd love to hear your suggestions.
Thanks in advance! 😊
r/SQL • u/Any-Brief5828 • 5d ago
r/SQL • u/clairegiordano • 5d ago
r/SQL • u/erinstellato • 5d ago
r/SQL • u/Think-Log-4498 • 6d ago
Not sure if my title conveys the issue properly but let me try to explain.
Essentially i am trying to join multiple tables to return data. that is all fine for fields that have pretty much one to one with row, but there is a certain table that I would need multiple rows that belong to a certain key returned in one field. To add to this, i would only want to return rows that have a certain flag set.

So given the above tables, id want it to return
Site A A,B,D
Site B G
This is all within an already established Select Statement with multiple where joins. Not sure if that matters. So there is other data I need output, however i need this i addition to those statement.
r/SQL • u/codewithharsh31 • 6d ago
Delete is used to delete certain records but without where condition all records from the table will be deleted and the structure remains intact.
Truncate deletes all the records from the table but the structure of the table remains intact.
So , what is the difference between them if we are using delete without where condition it performs the same function as truncate ?
r/SQL • u/data9335 • 5d ago
Hi All,
I am a BI Admin with 4 years of experience. I joined my current company as a fresher with a package of 3.5 LPA, and my current package is 5 LPA.
I recently requested a better hike by sharing evidence of all the work I have done. I am confident in my skills and performance, but I feel I am underpaid. However, my offshore manager refused to provide a hike.
I then reached out to my onshore manager, who told me that this company usually does not give good hikes unless an employee resigns, and that during the retention process, I could get a better hike. He also assured me that he would take care of the retention process.
Trusting his words, I submitted my resignation without having another offer in hand. But now, he is saying that higher management is not willing to retain me. I am left with only one week of notice period, and I am actively looking for opportunities.
I have good knowledge of SQL and Linux scripting, and I am trying hard to move into Data Engineering. However, I am still failing in the first round due to SQL and Python.
I have an interview with CGI tomorrow. Could you please share real-time SQL, Python, and PySpark interview questions, including both theoretical and coding questions? It would be really helpful for my preparation.
Thanks in advance.
r/SQL • u/RepeatSoft1495 • 6d ago
Hi everyone,
Need a reality check on a production upgrade for a high-load app. I ruled out Galera due to synchronous write latency. (open to your suggestions)
Our Current Load & Specs:
sync_binlog=100 and innodb_flush_log_at_trx_commit=2 (for high write speed).Proposed HA Stack:
repman) to auto-pilot ProxySQL during master crashes.MY Questions:
repman + ProxySQL combination?sync_binlog=100, auto-failover via repman means risking a few lost transactions on hard master crashes. Is GTID enough to reconcile this safely during a split-second election?Thoughts? Any hidden traps before we build this? Thanks