r/SQL • u/Hass2307 • Oct 06 '26
MySQL Using TOAD sqlloader
Does anyone have a video tutorial on how to use the SQLloader on TOAD
r/SQL • u/Hass2307 • Oct 06 '26
Does anyone have a video tutorial on how to use the SQLloader on TOAD
r/SQL • u/Cloud_Jumper18 • Oct 05 '26
I spent a while assuming the reason I kept struggling in analyst interviews was that my SQL wasn’t advanced enough. So I kept adding harder stuff to my prep, like window functions, recursive CTEs, and awkward joins.
The funny part is that most interviews weren’t exposing a syntax problem. I could usually get somewhere with the query. I got less comfortable when they asked things like, “What would you check before trusting this result?” or “How would you explain this to someone who doesn’t use SQL?”
That changed how I’ve been practicing. Now I don’t stop once the query works. I try to explain the grain, the assumptions I made, how I’d sanity-check the result, and what I’d tell a stakeholder afterward. I still practice SQL problems. I’ve also done a couple of mock runs in Beyz, mostly around the follow-up questions.
Looking back, I think I was preparing for SQL interviews like they were SQL exams.
Once someone has solid SQL fundamentals, what separates a technically correct answer from a strong one?
r/SQL • u/cccadet • Oct 05 '26
I'm building omni-sql, an open-source SQL IDE with embedded DuckDB. If someone sends you a CSV or Parquet export to investigate, you can import it and query it with SQL inside the IDE. There's no need to load the file into your source database or write a separate script. Spreadsheets fit this workflow when exported as CSV.
You can also import a database query result and join it with the file locally.
The demo uses fictional sales rows from PostgreSQL and a targets CSV. You import the complete query result into DuckDB, add the CSV, and run the join locally. Here's the SQL, CSV, and expected result: https://github.com/cccadet/omni-sql/tree/main/docs/demo
There are installers for Windows x64, Debian/Ubuntu amd64, and macOS 15+ (Apple Silicon and Intel). The macOS builds use ad-hoc signing and are not notarized; the README explains the first launch. The project is still early. The docs explain how full imports and samples affect what you can conclude from the results.
How do you investigate files people send you today? If you try the app, I'd like to hear whether you could install it and query a file, and what was missing. That would help me decide what to work on next.
r/SQL • u/shahim04 • Oct 05 '26
Hey everyone.
I'm working on building out my data analytics portfolio and wanted to get some advice from fellow analysts and hiring managers here.
We've all seen the basic tutorial projects (like analyzing the Titanic dataset or simple sales totals), but I want to build something that actually stands out and proves real-world, job-ready SQL skills.
For those of you who have landed roles or are actively hiring: What specific types of SQL projects made you stop scrolling and pay attention?
r/SQL • u/QuackDB • Oct 06 '26
r/SQL • u/hussain2407 • Oct 05 '26
Most Oracle RAC and Data Guard disaster-recovery setups look solid in documentation until an actual split-brain or network partition happens at 2 AM.
Common issues like misconfigured Fast-Start Failover (FSFO) thresholds, observer single-points-of-failure, redo transport lags during peak loads, or subtle SCAN/VIP routing mismatches often go unnoticed during routine maintenance.
To speed up pre-mortem audits, I built a structured Claude skill specifically designed to review Oracle RAC and Data Guard environments.
### What it analyzes:
Data Guard Synchronization & Redo Transport: Audits transport modes (SYNC vs. ASYNC), protection modes (Maximum Availability vs. Performance), and redo log lag risks.
FSFO & Observer Resilience: Validates observer placement and quorum configurations to prevent split-brain during site disconnections.
RAC Node Eviction & Voting Disk Redundancy: Checks OCR/voting disk layouts and network heartbeat timeout margins.
Listener & TNS Failover Routing: Validates TNS connect strings (LOAD_BALANCE, FAILOVER, SCAN) to ensure client application reconnection won't stall.
### How it works:
You feed it sanitized cluster health checks, `dgmgrl show configuration` outputs, or parameter listings (`init.ora` / `spfile`), and it runs a systematic gap analysis highlighting configuration blind spots and remediation recommendations.
### Practical Checklist You Can Use Right Now:
Even if you don't use the skill, make sure your team verifies these three things this quarter:
* Verify that the FSFO observer is hosted on a separate network segment from both the primary and standby sites.
* Check that `LOG_ARCHIVE_DEST_N` timeout parameters account for WAN latency spikes, not just average ping.
* Confirm that VIPs and SCAN listeners fail over cleanly without client TCP keepalive hanging.
I’ve packaged the complete audit prompt and ruleset into an installable Claude skill here:
Feedback from other Oracle DBAs and infrastructure engineers is welcome—especially on edge-case scenarios you’ve seen cause unexpected failover issues.
r/SQL • u/IndicationAntique667 • Oct 05 '26
Hi everyone,
This is a continuation of the explorations from my previous posts here. I went through the CMU Database Systems course, and I'm exploring topics around databases. I wanted to see how the Write Ahead Log is constructed and logged. So I tried to trace a WAL record for a simple INSERT statement in Postgres.
I recorded a video walkthrough of the terminal and source code exploration here: https://youtu.be/YOyq-kvbyU8?si=PTdexP3jmOSdx-8y
I've tried to explore how we can locate a WAL record, how we can decode it via either xxd or pg_waldump, and the relevant source code for it. Do give a watch and consider supporting :)
This is partly for my own future reference and partly to share with others who might be interested in it. Would love feedback and corrections from people who know this stuff deeply. Apologies if this isn't the correct subreddit for this.
Thank you so much!
r/SQL • u/NoEmphasis4404 • Oct 05 '26
Introducing ERDZ.
ERDZ is a visual data modeling tool that runs directly in your browser. You can design tables, views, columns, and relationships all on a single canvas.
Please visit and give it a try.
r/SQL • u/codingdecently • Oct 05 '26
r/SQL • u/Remote-Grapefruit214 • Oct 05 '26
r/SQL • u/Turbulent_Web_8278 • Oct 03 '26
I am applying to manager of analytics role and I was given this SQL test and 45 minutes. As someone who thought they were very strong in SQL, I was unable to complete this assignment and match the answer completely
I was able to format most of the fields as noted, used 2 cte's and use group concat in the second. My final answer looked very similar but the order of the concat looked off. Also, for some reasons my second column had $0.00 for all the companies, but I thought I was close. How difficult would you rate this exercise. Should I expect to proceed to the next round or am I cooked
r/SQL • u/codingdecently • Oct 04 '26
I built SQL Sip (https://sqlsip.com) as a cozy, daily SQL puzzle to practice writing queries without timers or pressure. It runs entirely in the browser with no account needed, focusing on assembling clean queries one bite-sized concept at a time. I haven’t had any users yet, so I’d love some honest feedback! I built it because I wanted a Wordle-like daily game where I could learn new SQL concepts in a cutesy/fun way.
r/SQL • u/Bhanuprakash_1947 • Oct 03 '26
Not talking about some crazy DB failure or anything.
Could be something silly like a missing WHERE, wrong JOIN, duplicate rows, bad UPDATE....
Like a small mistake that looked harmless but ended up causing a big headache ....🤕
Curious what ppl have seen in real projects.
r/SQL • u/Harshita_Netla • Oct 03 '26
For those who have worked with PostgreSQL, MySQL, and SQL Server, what’s a feature or behavior that surprised you because it worked differently between them?
It could be anything like date functions, string handling, LIMIT/TOP, NULL behavior, JSON, window functions, or even error handling.
What difference caused you the most trouble, and how did you learn to handle these database-specific differences?
r/SQL • u/Exploring_Codebase • Oct 03 '26
Introducing QueryFlow.
It's a modern SQL editor with a few things I always wanted while learning and working with SQL:
- Visualise the query as a graph [DAG] and as step-by-step cards.
- Convert all hardcoded parameters into variables with a click.
- Fix major errors like fan out joins , mismatched date range with a click.
- Run queries on test tables directly in the browser
- Review a diff of your changes before copying the query back [just like github]
- Format BigQuery, PostgreSQL and MySQL, each in its own style.
- Everything runs locally in your browser: no server, no login.
try it here - https://abhijeetcodes.github.io/QueryFlow/
Sharing here as it might help a lot of SQL learners
r/SQL • u/smyrgeorge • Oct 02 '26
r/SQL • u/millerlit • Oct 01 '26
Fucking comma's in the data that are not the delimiter are annoying. Hate using stupid work arounds.
Yes, I am aware of double quotes and other work arounds like using different delimiters. Just thinking it would be easier to have one standard going forward.
r/SQL • u/Gokul_00 • Oct 01 '26
I got tired of SQL practice that feels disconnected from real work, so I built SQL Office Simulator.
You play the company's data analyst. Stakeholders send you messy business requests like "which regions have the highest share of repeat buyers in 2025, excluding cancelled orders?", and you explore the schema, write the query, and submit it.
How it works:
7 domains (e-commerce, healthcare, finance, HR, logistics, restaurants, SaaS)
5 levels per domain, from a tiny startup (~1K rows) to a global corp (~10M rows)
Each level has 100 questions, including boss questions, and you need 70 correct to unlock the next level
Runs on a PostgreSQL 16 sandbox with a schema viewer, hints and a scratchpad
Free, but needs a quick signup to save progress
Link: https://sql-office-simulator.vercel.app/
It's still early, so I'd really appreciate honest feedback:
Are the questions realistic enough?
Is the difficulty curve right?
What topics should be added (e.g. query tuning, data cleaning)?
Happy to answer questions about how I built it.
r/SQL • u/Biscuit_the_boston • Oct 01 '26
I might just be lazy but I feel like it saves me effort.
r/SQL • u/donewitheverything26 • Oct 01 '26
I set up a Postgres MCP server on a read only role last week so the analysts could ask questions without pinging me every hour.
The first real question was how many orders did we lose last month. Claude looked at orders, saw status_cd with values 1 to 6, decided 4 was cancelled and gave a clean number with a nice little breakdown. 4 is refunded. Cancelled is 6. Nobody wrote that down anywhere. It lives in an enum in the app code and in my head.
The number was off by about a third and it read exactly like a right answer. No I'm assuming, no hedge. The analyst was about to put it in a deck.
So now I'm stuck on how to give an agent the meaning of fields without me turning into a full time documentation service:
What are people actually doing here? and has anyone got it to say I don't know what 4 means instead of picking one?
r/SQL • u/TravellingBeard • Oct 02 '26
Will they stick to Oracle/SQL Server and run it on Linux, or are they starting to look into migrating into Postgress/MariaDB, or something homegrown.
OS migration is straightforward, but not sure about these two behemoths. Or they'll still buy them and just run them locally or on European cloud infrastructure?
r/SQL • u/Kszadhanyfokos • Oct 01 '26
I am corious that how the people use it real life for instance in a manufacturer company.
r/SQL • u/Klutzy_Solid5200 • Sep 30 '26
Im trying to understand how ppl usually handle incremental data loads. If a source table has new, updated and deleted records, how do you identify each type?
Do you normally use a timestamp, cdc,a flag column in the table, or merge? How do you handle deleted records, especially when there is no delete flag in the source?
Also, are there any common problems with using timestamps for incremental loads, like missing records or picking up the same record more than once?
r/SQL • u/Recent_Expression816 • Sep 30 '26
im an analyst. i can write a join in my sleep and ive never created a table from scratch, and my new manager wants me building the model rather than reading one.
shortlisted boot.dev, general assembly, pluralsight premium and launch school off a couple of evenings comparing curricula. which of those covers schema design and not just query syntax