← ALL POSTS
DATA & AI ANALYTICS EXPLAINER

SQL: the 40-year-old skill that still runs your business

Somewhere in your business there's a question that takes two days to answer. Maybe it's "which customers haven't ordered in six months" or "what did we actually sell by location last quarter." Answering it means someone exports a report from one system, exports another from a second system, and spends an afternoon in Excel gluing them together with VLOOKUPs. There's a 40-year-old skill that answers that question in about thirty seconds, and it's already sitting under every system you own.

Every system speaks SQL underneath

SQL (structured query language) is the language for asking questions of a database. It was standardized in the 1980s and it has outlived every technology trend since, because it does one job extremely well: pull exactly the rows and columns you want out of a pile of data, filtered, summed, and sorted, in one statement.

Here's the part most business owners don't realize: nearly everything you run is a database with a coat of paint on it. Your accounting software, your point of sale, your CRM, your job management system, your e-commerce platform. Under each one is a set of tables that look a lot like tidy spreadsheets: a customers table, an orders table, an invoices table. The vendor's app is just a friendly screen for putting data in and a limited set of canned reports for getting data out.

The canned reports are the bottleneck. The vendor guessed at the twenty questions you might ask and built a report for each. Your actual question is always number twenty-one. So you export to CSV and rebuild the answer by hand, every single time you need it.

A few SELECTs beat hours of exports

SQL skips the export entirely. You ask the database your question directly. Here's what one looks like:

SELECT customer_name,
       SUM(total) AS total_spent,
       MAX(order_date) AS last_order
FROM orders
WHERE order_date >= '2025-01-01'
GROUP BY customer_name
ORDER BY total_spent DESC;

Read it out loud and it's nearly English: from the orders table, for orders since January 2025, give me each customer's total spend and most recent order date, biggest spenders first. That's a customer ranking that would take a pivot table, a lookup, and twenty minutes of formatting in Excel. In SQL it's five lines, it runs in a second or two, and here's the important part: it runs the same way next month. You saved the query, so the two-day question became a thirty-second question forever.

Change one line and it becomes a different report. Swap the ORDER BY to sort by last_order and you have a "who's gone quiet" list. Add a HAVING clause and it's "customers who spent over ten grand." One skill, unlimited reports, no waiting on anyone.

Why this matters even if you never write a query

We're not telling every business owner to learn SQL, though honestly, the basics take a weekend and there are worse weekends. The point is knowing it exists changes what you accept from your systems and your vendors.

What this looks like done right

Done right, the recurring questions in your business each have a saved query with a name, not a person who "knows how to pull that." The queries live somewhere shared, not on one employee's desktop. Anything you look at weekly is wired into a dashboard so nobody runs it by hand at all. And when a brand-new question comes up, the answer takes minutes, because asking is cheap now.

One safety note: queries that read data (SELECT) are harmless, but write access to a production database is not, so reporting should happen against a read-only connection or a copy. That's standard setup, not an obstacle.

If your team is still answering questions by exporting CSVs and stitching them together, you're paying skilled people to do by hand what a five-line query does for free. We can find out what your systems will let us connect to, write the queries for the questions you actually ask, and leave you with reports that run themselves.

Stuck on this, or want it done for you? That's the job.

Email us →
RELATED READING
AI assistants that actually help (and the ones that don’t) Explainer
When your Excel file becomes a database problem Explainer
Build your first Power BI dashboard from a spreadsheet Step-By-Step Guide
Forecasting from your own data: simpler than you think Explainer
Turn PDFs into data: document processing with AI Explainer
NO FORMS. JUST EMAIL.
mason@hurbs.io
or (832) 457-4317, LA and Houston