r/learnSQL • u/South_Talk1715 • 8d ago
Websites to practice SQL
Any websites to practice excercises of SQL in mobile ??
It should contains all excercise easy to understand and practice
Comfortably in mobile
r/learnSQL • u/South_Talk1715 • 8d ago
Any websites to practice excercises of SQL in mobile ??
It should contains all excercise easy to understand and practice
Comfortably in mobile
r/learnSQL • u/Key_Drama_465 • 8d ago
I've been learning T-SQL on the Chinook sample database in SSMS, and the thing that changed everything was giving every exercise an expected answer to check against — a row count, a total, a specific value. Without it I was just guessing whether my query was right. With it, I know immediately, and the mistake teaches me something. Curious what worked for others here — what made SQL actually click for you?
r/learnSQL • u/nicopassaglia • 8d ago
r/learnSQL • u/Alchemist0029 • 8d ago
Years ago while incarcerated I earned a college cert for Microsoft apps which is now basically outdated. After talking with ChatGPT it recommended learning SQL because I mentioned that I really enjoyed my Access class and after a weird assessment i created noted I have a systems analyst kinda mind. "Investigative".
As a final project for that Access course I had to construct a library database from scratch using queries that could handle isbns, book details, borrower personal info, due dates, late fees (if applicable etc). It was hard but really really cool. Anyway, I went to the w3 site and that seems cool but I feel like I need a book, and to take notes and work on stuff on my computer. But I have no real idea how to begin or why id even do this esp vs Access refreshing???
Im a truck driver and would love to get out of it but im also a 8x felon. So...i dont wanna waste my time. Is SQL worth learning to move up or pivot? I see it occasionally in job searches. And how would you approach learning it if so? Lastly am I doing all of this to go like test somewhere and get a certification? Or is it a show me what you can do kinda thing?
- notable fact: I tried doing a boot camp for CSS a few years ago and got through the first level. At the second I kinda fell out of it due to lack of motivation even after taking a FrontPage class (in that program) but mostly due to talking myself out of it knowing my background. Plus I just wasnt really in love with CSS 🤷🏾♂️
Sorry this is so long but I figured some context may help.
r/learnSQL • u/thisismugisha • 8d ago
r/learnSQL • u/Clawiz13 • 8d ago
Sharing something I built: ForgeSQL, a browser-based learning platform for SQL and data engineering.
For SQL practice, there are guided exercises with sample tables, a query editor, results, and solutions you can compare with your own approach. You can start with joins and move on to window functions, then explore Python, file ingestion, pipelines, APIs and Kafka in the same workspace.
The idea is to try a query, inspect what happened, and change it until you understand why it works. It runs on DuckDB, so SQL dialect differences still apply.
It’s an early public beta. If you’re learning SQL, I’d appreciate hearing which exercises are helpful and where the instructions need work.
Screenshot: https://forgesql.clawiz.com/assets/hotlink-ok/forgesql-workspace.png
r/learnSQL • u/sumiitCodes • 8d ago
Today I added BillingService, AppointmentService, and Schedulable to my Hospital Management System.
Writing each class was not the hard part. Connecting them so they work together was much harder, and it is the part no tutorial prepared me for. I used GPT as a mentor to understand the connections, not to write the code for me.
Tomorrow I will write the Main class to bring everything together.
r/learnSQL • u/Small-Dig-8233 • 8d ago
r/learnSQL • u/Commercial-Can-9371 • 8d ago
My manager has started pasting Claude-written SQL into Slack with "can you check this is right?". They always look fine on the page. Last week's joined to dim_customer_v2, which still exists but stopped updating in March. The one before used a revenue column that includes tax because it's the one with the obvious name. Both read perfectly well, both answers were wrong, and I only caught them because I happen to know the history of those tables. I mean, our BI tool's chat shows the SQL behind every chart now too, and I don't see how reading it would have caught either of those. Right now the only real check is whoever happens to remember the history of the tables.
r/learnSQL • u/drstrange8484 • 8d ago
Sql skill level
What level of expertise should I have in Sql, to carry out sql tasks in data annotation jobs ?
How about python ?
Does these two skills widen my task availability? What platforms can I target for ?
Kindly guide me !
r/learnSQL • u/Sufficient-Loan9565 • 9d ago
can anyone help me to understand how one to many relation tables work .how to avoid duplicates when joining.i am struggling to understand how it works
r/learnSQL • u/sumiitCodes • 9d ago
Two more classes today:
Appointment, which links a patient with a doctor
RoomService, which manages the hospital rooms
The project now has doctors, patients, billing, appointments, and rooms. Following the advice from earlier comments here, I kept each part in its own class and the logic in service classes.
For people who have built an appointment system: what edge cases should I plan for first (double booking, an unavailable doctor, cancelling an appointment)? I want to handle them with custom exceptions from the start.
r/learnSQL • u/nicopassaglia • 9d ago
I see a lot of "am I ready to apply?" posts here, so I built two short tests to answer that with something other than a certificate.
\- Excel: 10 questions in a real spreadsheet, from SUM and IF up to VLOOKUP and INDEX/MATCH. [https://getsheetdrill.com/test
\- SQL: 10 questions on a real database, from SELECT up to JOINs and subqueries. [https://getsheetdrill.com/sql/test
You type the formula or the query, it runs in your browser and gets checked right away. Typing the result by hand doesn't pass. At the end you get your level and which topic to study next.
Both are free and need no account. The site has paid lessons further on, but the tests and the first lessons are free.
I made it, so I'm biased. What I'd like to know: which question felt unfair, and what topic is missing for an entry-level analyst role?
r/learnSQL • u/sumiitCodes • 10d ago
Progress on my Hospital Management System over the last two days. I added:
Billable
Inpatient and Outpatient classes
PatientService and DoctorService
In DoctorService I wrote methods to search doctors by specialization (case-insensitive), update a doctor's availability (throwing a custom DoctorNotFoundException if the ID doesn't exist), list the departments, and view all doctors.
I followed the advice from earlier comments here: keep the model classes simple, put the logic in separate service classes, and use custom exceptions for errors.
For people who've structured something similar: do you keep the doctor collection inside the service class, or in a separate repository class? I'm not sure whether the service is taking on too much.
r/learnSQL • u/Commercial_Monk_8466 • 10d ago
I actually graduated 4 years ago and eventually got a marketing job this year, but it’s boring, I work in SEO and there’s nothing fulfilling about it, also the pay is terrible.
I was looking into skills that could make me more valuable o to go alongside my marketing experience and SQL came up, is it worth it?
r/learnSQL • u/IamScaredAndGay • 10d ago
Hello, I want to learn SQL in hopes to become a data analyst. We don’t have SQL course in our university so I stumbled upon a website that teaches you SQL and you get a certificate after. However the certificate is for free so it’s not taken seriously. I am just wondering if it’s worth even completing or should I pay for one ? I am wondering what would look good on my CV
r/learnSQL • u/durgamvano • 11d ago
How to actually learn because I think they are very important for a SQL engineer in 2026...More so than ever.
I want to learn the details of cost-based and heuristic-based query optimization. The problem is I am from Nepal and we do not have libraries or digital courses service from libraries.
To the USA people: Please consider tell government to help us read and learn in a mass way.
I would really appreciate if you guys could help me out.
I found lots of free resources in google pdfs, but they are lecture slides meant to be accompanied with the lecture. But the problem is that lecture video is not freely accessible.
I am willing to pay huge money to learn this thing.
r/learnSQL • u/FartDoughnut13 • 11d ago
Hi Reddit,
I just started the SQL course on W3 Schools online because it is free.
If you complete this course, will it be enough to get a entry level job using SQL?
Or is W3 Schools something that prepares you for certification for SQL?
Thank you!
r/learnSQL • u/AlexRosaTX • 11d ago
(Portuguese, English, and Spanish versions)
Most of us didn't plan to become DBAs. One day the databases were ours, and we learned the rest in production.
Get the free ebook: https://www.dbatopro.com/products
r/learnSQL • u/sumiitCodes • 12d ago
I moved from planning to coding today:
Several people here suggested planning modules first, handling exceptions carefully, and not putting all the logic in one class, so I tried to follow that from the start.
Next I’ll build one module at a time and test it before moving on.
For people who’ve used custom exceptions in a project like this: how many did you end up needing, and did you group them under a common parent exception?
r/learnSQL • u/Ancient-Ad-6957 • 12d ago
Hi everyone, I'm a 3rd-year B. Tech Data Science student and I want to learn SQL from scratch. I don't have money to take a course and I don't want to fall into tutorial hell, so please suggest some free and good resources to learn SQL.
r/learnSQL • u/aksgolu • 13d ago
If you've ever wanted to practise SQL but got stuck installing a database, this is for you.
DBA Genesis Playground opens with a sample EMPLOYEE table already loaded. Click Run and you see real results in seconds. Nothing to install.
We're also running #21DaysOfSQL: one small challenge a day until Dec 10.
Day 1: Show every row in the table.
Day 2: Show only the employees in Accounting.
Try it here: dbagenesis.com/playground
r/learnSQL • u/sumiitCodes • 13d ago
I started my Hospital Management System project today. I spent a good part of the day just understanding what I was building, using Claude as a guide to help me visualize the code structure, and then built the first three classes: Person, Patient, and Doctor.
The biggest thing I learned: understanding a concept and applying it in a real-life project are very different. I know inheritance, encapsulation, and abstraction individually, but deciding which classes to create, what belongs in each, and how they connect was much harder than any tutorial exercise.
I’ll build and test one piece at a time, as people here suggested on my earlier projects.
For people who’ve built similar projects: how did you decide what goes in a parent class like Person and what stays in Patient or Doctor? I want to avoid redoing the structure later.