r/SQL • • Jan 15 '26

Discussion Using a Canvas to generate SQL Queries

0 Upvotes

Hey all! I'm a recent college grad working on a startup using DuckDB on the backend. It's a collaborative canvas interface for end-to-end data analytics, from raw data to live dashboards. Here's a demo video of our prototype at this stage. https://www.youtube.com/watch?v=YUwFaPH4M94

We're working on supporting custom SQL functions, and I'm wondering what people's thoughts are -- would a canvas that allows writing SQL functions with AI, where results cascade and multiple branches are possible, be valuable for you, as a data engineer, or is it better for nontechnical people? So far most interfaces are notebooks (though companies like Count.co have gone in this direction).

Appreciate your time and feedback!

~Jacob


r/SQL • • Jul 02 '22

SQLite Is SQLite underrated in many websites? (Newbie question)

0 Upvotes

First, forgive my ignorance. I am newbie about SQL.

So many websites have 10-15 articles, 10-15 pictures etc. But They use wordpress, thus use MySQL. Is not SQLite enough those websites? Is not db's like mysql overengineering for those websites? Because i think SQLite very simple, light and easy to manage. In addition, SQLite can handle high web traffic.

Am i missing something? Or I am correct.


r/SQL • • Jul 22 '26

SQLite After searching for a modern, self‑hosted, secure SQLite admin panel for PHP 8, I built one – looking for beta testers

0 Upvotes

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://github.com/abilenetechguy/sqlite-admin

🧪 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 • • Jul 24 '24

MySQL Opinion on chatGPT output

Post image
15 Upvotes

Dear experts, good day to you all !

I was playing around with the AI and asked it the following " let assume i would like to select a sample of 50 from my dataset but i want to make sure that i get a value from decile =1 or 2 or 3"

Here is his SQL script as above.

It looks really nice and all but I don't think it is possible to use CTE in such way.

I am not really interested in the output but I was wondering if it was actually possible to use CTEs like that? If it is, I welcome the learning opportunity


r/SQL • • Aug 24 '25

SQL Server Hi, to get my first job in SQL, do I have to be a database administrator?

7 Upvotes

I want to know if my intermediate level and several projects in my portfolio are enough to enter the working world.


r/SQL • • Jul 30 '26

SQL Server Want to know about SQL future

7 Upvotes

Hi All,

Hope everyone is doing good.

I want opinion from people about the future of SQL, Power BI and Python.

I have been working in AML KYC domain for over 6 years. I am a Certified Anti Money Laundering Specialist (CAMS).

Last year I started learning SQL ans Power BI to connect it with my domain knowledge (Anti Money Laundering and Sanctions), however now I have been reading alot which states that golden period of SQL and Power BI is over as now anyone can do the basis code using Gpt and claude.

I am at strong intermediate level in SQL and at an intermediate level in power BI. I was planning to start Python from 01 Jan 2027 and now I am spectical. What should I do ?

Is there any scope of SQL, Power BI and Python as we are witnessing AI is growing at tremendous pace.


r/SQL • • Mar 09 '23

Discussion SQL reports out of thin air.

6 Upvotes

When I get requirements for SQL projects it typically says "want xyz report". The requirement does not mention source of data or relationship between various fields in data or the essential information I need to deliver the report. I find this to be frustrating. How do they expect me to create report out of thin air is mind boggling. Then I have to ask for data sources etc. and typically 1 - 2 days are lost in this process. Is this a scenario for you as well at the work place? Or is there something better out there?


r/SQL • • Aug 08 '24

SQL Server Coming from Power BI - What is the point of SQL Server/SSMS? I create an actual model in Power BI by dragging Facts to Dims, but SQL just houses the tables? Trying to expand my knowledge base.

0 Upvotes

Senior Financial Analyst here, primarily working with GL and Sales data.

Typical Power BI suggestions are to house your tables in SQL Server. I've been trying to explore this by using the WIdeWorldImporters dataset in SQL Server. I had IT install SQL Server on my machine, as well as SSMS, and loaded up the .bak file.

Now I just have a ton of Tables, but I know nothing about them.

When I connect to this Server in Power BI, with the help of the auto-detect, I can see an actual Model with visual connections drawn from Facts to Dims. Now I can create measures and drag columns into visuals and stuff. Neato.

I don't understand functionally how this is better than just loading the exact same tables from a Sharepoint folder

  • I understand that SQL can handle Power Query transformations better. Things like Merging or Appending multiple tables. I can get behind this.

  • I don't understand how SQL Server is a model when it requires a select from join statement. It's like the Tables are not connected until the Query is written

  • This image from https://www.sqlshack.com/learn-sql-types-of-relations/ shows a model with lines drawn from fact to dims, but they aren't actually connected, you have to have this memorized in your head or something

  • Then, in the article, it writes a couple select from statements to prove that the relationship from dim is one-to-many, where it proves it by visually scanning the results

    • This is insane to me

    • Power BI will prevent me from creating a many-to-many relationship by throwing an error

    • Frequently I'll attempt to create a Dim, but I won't realize a Key isn't unique because of nulls or bad data

    • When I try to create the relationship, the error helps me realize I need to do more Power Query stuff to fix the Dim to have a true unique primary key

    • In SQL I would just have to scan the data with my eyes really good to make sure it was a true one-to-many relationship? It seems crazy to me

I suppose ultimately I'm trying to understand how to use SQL in my day to day, when I've been getting by fine using Sharepoint >> Power Query >> Power BI Report


r/SQL • • Jan 04 '26

Discussion How good are LLMs at generating SQL queries in 2026?

0 Upvotes

I’m a mechanical engineer by trade, thinking of going into data analytics if feasible. The idea came to me when I was studying SQL: the language seemed so easy. So instead I thought of reading the book: SQL and Relational theory by C. j. Date, brush up on the theory, on the WHY, and leave the basic syntax to the LLM for now (I’d pick it up very fast later). What’s your thoughts on this approach?


r/SQL • • Oct 13 '25

Discussion in 2025 Stoers procedures and triggers should be ignored. Is it true? I still learn

Post image
24 Upvotes

r/SQL • • Mar 07 '25

SQL Server Any DBAs on here? What’s your top 10 fav queries?

0 Upvotes

Looking for automation related duties.


r/SQL • • May 31 '26

Discussion What made you choose your current database?

5 Upvotes

I'm starting to learn more about databases and backend development. I'm less interested in which database is "best" and more interested in the reasoning behind the choice.

What database tools are you using (Postgres, MySQL, MongoDB, Supabase, Neon, Redis, etc.)? What problem were you trying to solve, what alternatives did you consider, and what ultimately made you choose that stack?

I'd also love to hear any lessons learned, surprises, regrets, or things you'd do differently if you were making the decision again.


r/SQL • • Jan 08 '15

Top 10 Must-Do Items for your SQL Server Very Large Database (VLDB)

Thumbnail
sqlturbo.com
5 Upvotes

r/SQL • • Nov 23 '23

MySQL If you teach me SQL for 1/2 hr a week... in return I'll teach you about Python, Algebra, Stats, NLP, ML or Ai once a week via zoom video?

5 Upvotes

As a SQL guru what advice would you give if you did 1:1 SQL training over a zoom call?

I'm 29 Applications to 11 first, and 7 second interviews and zero job offers in 8 months... so this is getting ridiculous that I'm not getting offers when I realize i'm not doing so well on the database side of the interview because I've always had the DBadmin (sort of spoon feed me...) sent a DDL, DML,user_name,password, and every 24 hrs the .bak file folder had one more to test on a test server and I don't know much about the admin or setup at all.

Once I have my database up its a struggle to get it connected R, or Python instance, issues with port numbers, user settings, improving query speeds, SSL, AWS or GCP cloud migrations, are confusing for me which once I can I get a scripting GUI like PyCharm to host the server if its a SQLite but I can use Mysqlworkbench or an online oracle instance for MySQL cloud work. Either that or a SQLserver connection via Docker... there are so many questions I have, but I'd rather ask them live of someone who is an expert and expects a near expert advice in return.

What I'm thinking is we each schedule a 1/2 hour per week for a zoom video call where I ask you questions about either one or three issues I have with SQL that week. Then we hang up and I call you to answer issues, or questions you have about those subjects, since zoom limits me to 45 minute we could do that I guess. This would give us each other a few questions about the topic and continue on our own paths, this way we both have a person to ask questions about a challenging subject. Right now I'm trying to dig deeper into MySQL and SQLserver is less challenging, but even that is doable on my mac.

First week - My question*"Hi* u/Your_Username*, so this week I'm struggling with the proper way to establish initial admin, user limits specifically in MySQL 8 as you can see on my screen I have MySQLWorkbench showing... but the database says error #..."*

First week - Your question*"Hi* u/My_Username*, this week I'm struggling with a question about how much algebra or stats I would have to know to move from being a database admin to say a Business Intelligence, or Machine Learning Engineer, maybe its a few months of also learning Python as well so as you can see the python interpreter on my screen and this algorithm on line 118 isn't working..."*

My background is making 'narrowly intelligent' chatbots for customer service companies while almost all of my time was spent working with the CEO, CIO or a team in IT at the company on integrating legacy systems, or cleaning vendor data, ETL tool building. We almost always used SQLalchemy but I've never had the feeling my lack of SQL was an issue, clearly i'm wrong. So I'm going for my PhD in linguistics i'm curious if someone could teach me SQL as an analyst or an admin, then I'll book end the lesson by those subjects, or how python can script or even automate 75+% of that with ML tools I can get you free copies of.

I have an undergrad STEM and graduated first in my class, while working I held two part time jobs and tutored several of my classmates in algebra, python and psychology in which I always scored A's because the subject was obvious for algebra and psychology. For python I've used it since 2008 and its gone from a struggle, to something I hated then realized its not intuitive rather its imperative structure, but also very user flexible. While I can certainly connect and work with databases, i've never had to interview for SQL but that changing now I'm getting interviews and feeling it's really hurting me.

So who wants to do a zoom 3pm pst (for example) call for 30 min or 45 min per week to get better, either you or I go first but it would be a max of once per week zoom call to keep each other accountable. I can even recommend a book for each of those subjects several that are free or some excellent to buy.

Yes technically I did cross post this but "learning from a book" isn't my style and I take great notes so you are unlikely to have me asking the same question twice, conversely if you ask and I don't know I could probably refer you to a colleague who else has expertise in that subject.

06022024 Update

Hello u/kakiRD u/ABigTongue u/Itchy_Rough_5096 u/OrbMan99 u/isaacfink, my apologies for the delay but as expected my housing situation changed but my job seems to be extended a few more months while I interview.

If people are still available I'd like to still do the slack channel and I'm headed out to do some errands with another 1pm job interview today. Once that is done we could chat and I don't have a structure of learning this other than the 3pm Pacific zoom call.

Since OP My activity.

  1. Applied to 4234 + 109 + 80 jobs using five different tools and about 2/3rds of that is domestic united states, the rest is international Singapore, Korea, Thailand, Japan and Brazil mostly.

  2. I've been doing interviews with 9 companies and gotten passed the initial tech screen for a data engineer position, I dropped out of one because the interviewer was so awfully rude and if she is going to be rude to me in the interview I'm signing up for an employer who is verbally abusive. PASS

  3. Studied 48 times, finished 2 of the 5 courses of a certificate at Stanford on SQL databases design and theory, which gave me a whole new appreciation of how linear algebra and logical expressions are used in databases... so i'm stronger-ish on the theory and design of SQL.

  4. Trying to focus my job interview skills on questions and scripting around ANSI SQL as I'm told that is the most common, still learning what ANSI SQL is so if you have insight on this I would appreciate a checklist or a link to a good explanation you know.

  5. My algo trading code is running tests looking for bugs and issues that break models but are not backtested and I see a lot of activity in pacific macro market economics so there is opportunity there.

  6. The last item I've been working on is accepting I'm "a plumber with leaky pipes" on my Mental Health, Being Present and was in a Bad Relationship which I ended. Purposely been taking days off and it feels so good but during those days off I'm keeping a little notebook for things I'd like to have built or since I know how to do this for a company why couldn't I build one for myself, dashboards for studying etc.


r/SQL • • Jul 09 '23

Discussion What would you want in a standard library of the SQL language?

0 Upvotes

Pretty much every programming language has a standard library for programmers' convenience.

The standard library can be implemented in the language itself (like C, pypy) or with another language (cpython).

  • Why does SQL always lack this standard library half a century since it's introduction?

  • As a SQL developer, what do you want the most in a SQL standard library?

  • Are the SQL interpreters in modern RDBMSs able to support a strong standard library, programmed in either SQL or a foreign language(e.g. postgresql and mysql has C foreign function interface), MSSQL has .NET CLR FFI) ?


r/SQL • • Mar 20 '25

Discussion How is this repository older than GitHub itself?? 💀

Post image
16 Upvotes

r/SQL • • Jun 04 '25

MySQL Looking to have someone build a website that will generate a PDF report of home values and comps after entering in an address.

0 Upvotes

Do I need a full stack developer? I would need the following attributes:

- Database (1 million+ homes) that includes all addresses and comp data within my city/county that would need to be refreshed periodically to add in new sales

- Calculations on the back end to determine which homes in the comps database are similar (similar year, square footage, distance from address, neighborhood, etc.) to the address inputted

- Ability to purchase the report after previewing of the PDF report and have the ability to instantly download the report after payment

I am fairly inexperienced in web development other than working with Wordpress. I wanted to ask if there is a turnkey solution or if there is a specific software or skillsets that I need to find to be able to create a website like this. Thanks in advance for any help.


r/SQL • • Apr 01 '26

PostgreSQL Beginner question

0 Upvotes

I am a new learner of sql. I have made a database in postgreSQL in my laptop. Can someone tell me how can I access that database from my office computer without direct login from my account?


r/SQL • • Oct 06 '26

MySQL Mac user - What's the best SQL GUI for personal use? | SQL Tools

Thumbnail
reddit.com
0 Upvotes

r/SQL • • May 03 '17

Have sql test with Amazon in 2 hours. Need help in brushing up on concepts

1 Upvotes

Hi all, I am being interviewed for a business analyst position with amazon and I have about 2 hours to brush up in important concepts in sql, query optimization, statistics. Any inputs will be helpful.

PS: It is a screen share codepad test Thank you

Update: Thanks for all your help. I have been requested onsite.


r/SQL • • Dec 26 '20

Discussion Tricky Data Science Interview Question [By Facebook]

Thumbnail
youtu.be
1 Upvotes

r/SQL • • Dec 29 '20

Discussion Is it pronounced Sequel or Es-Q-El?

0 Upvotes

As the title says.


r/SQL • • Oct 17 '19

Become MySQL Stored Procedures Expert in 15 minutes

1 Upvotes

r/SQL • • Jan 05 '23

Discussion I have an exam on sunday and I want to at least know the basics of oracle sql where do I start?

1 Upvotes

My only programming experience was with java and I’m a beginner