Turn Your Spreadsheet Into an Intelligent Database - learn more...

๐Ÿ’ก Why You're Here

You already use spreadsheets to run your business. Maybe you track:

  • Assets (laptops, vehicles, equipment)
  • Products (stock levels, suppliers, pricing)
  • People (employees, contractors, clients)
  • HR data (training, qualifications, renewals)
  • Projects (tasks, budgets, timelines)

Spreadsheets are brilliant: flexible, familiar, and visual. They let you build fast without code.

But spreadsheets were designed for individual use, not connected data, automation, or scale.

Sooner or later, every spreadsheet hits its limits:

  • Copying the same data across multiple sheets
  • Broken formulas when you insert a row
  • Slow load times on large files
  • Lost data from overwrites or version conflicts
  • Struggling to connect to web apps or other systems

If that sounds familiar, you're already halfway to thinking like a database user. You just need better tools.

โš™๏ธ What SoSheets Does

SoSheets bridges the gap between spreadsheets and real databases. It gives you the power of MySQL without the pain of learning it.

Behind the scenes:

  • You upload your Excel file. Each sheet becomes a table in MySQL.
  • SoSheets analyzes your data automatically. It finds relationships like customer โ†’ orders โ†’ invoices without setup.
  • When you ask a question, AI writes the SQL query instantly and safely โ€” never exposing your private data.
  • You get real answers: clean, accurate results shown in a spreadsheet-style view.

โœ… No SQL required. โœ… No setup headaches. โœ… Just clarity and control.

You can still think in spreadsheets, but now your data has structure, speed, and integrity.

๐Ÿ”‘ Why This Guide Exists

You don't need to know MySQL to use SoSheets. It's automatic. But understanding how databases work makes you far more powerful with data.

This guide was built to:

  • Show how databases solve the problems Excel can't
  • Help you understand what SoSheets does behind the scenes
  • Give you tools to think like a database pro (without becoming one)

Every lesson is short, practical, and written in plain English. No theory. No fluff. Just what matters.

By the end, you'll know:

  • What a database really is (and why every business needs one)
  • The five SQL commands that power almost every app
  • How SoSheets translates your natural language into SQL
  • How PHP and MySQL keep your data safe and consistent

Lessons You'll Learn

1. The 5 SQL Commands That Run the World

Learn the five commands that power nearly every app: SELECT, INSERT, UPDATE, DELETE, and JOIN โ€” and how SoSheets uses them behind the scenes.

2. Smart Filtering and Sorting

See how WHERE, ORDER BY, and LIMIT create clarity and control โ€” the foundation of clean data queries.

3. Relationships and Joins

Understand how tables connect, why relationships matter, and how SoSheets finds them automatically.

4. Data Safety: The PDO Way

How SoSheets keeps your data secure using PDO, preventing injection attacks and corruption.

5. Thinking in Databases

Shift from "cells and formulas" to "tables and logic." Learn the mindset that keeps data organized and scalable.

6. Querying with AI

Discover how SoSheets translates your natural questions into precise SQL โ€” no code, no stress.

7. Automation and Reports

How structured data enables live dashboards, daily reports, and instant answers without manual work.

8. Maintenance and Optimization

Keeping data fast, tidy, and reliable โ€” how to think about indexing, cleanup, and growth.

9. The Big Picture

Bringing it all together โ€” from spreadsheets to AI-driven insights.

Appendix โ€” Quick Reference & Real-World Use

Your short SQL cheat sheet plus real business examples that show databases in action.

๐Ÿงฑ Lesson 1: The 5 SQL Commands That Run the World

๐Ÿ’ฌ Don't worry if SQL looks technical โ€” you'll never need to type a single command yourself. SoSheets does it all for you.

๐ŸŽฏ The Goal

Learn the five commands that make every database work, and see how SoSheets quietly handles them while you just click, type, or ask questions.

1๏ธโƒฃ CREATE โ€” Build Structure

CREATE TABLE employees (
  id INT AUTO_INCREMENT PRIMARY KEY,
  name VARCHAR(100),
  department VARCHAR(100),
  start_date DATE
);

Plain English meaning: Create a new table, like a clean worksheet, with named columns and data types.

What SoSheets does: When you upload an Excel file, SoSheets runs its own CREATE TABLE logic for every sheet. Each tab becomes a real table in MySQL, structured column by column.

โœ… You do not see it happen, but this is when your spreadsheet becomes a database.

2๏ธโƒฃ INSERT โ€” Add Data

INSERT INTO employees (name, department, start_date)
VALUES ('Mia Khan', 'Finance', '2023-01-15');

Plain English meaning: Add a new record or row into the table.

What SoSheets does: When you upload or edit a record, SoSheets automatically issues INSERT commands. You do not need to write syntax. Just click Add Row or import a file.

3๏ธโƒฃ SELECT โ€” Read Data

SELECT name, department FROM employees WHERE department = 'Finance';

Plain English meaning: Show specific columns and filter the results.

What SoSheets does: Every time you search, sort, or ask a question in natural language, SoSheets AI builds a SELECT query for you. You see the answer, not the SQL.

โœ… SoSheets thinks like a database but speaks like a human.

4๏ธโƒฃ UPDATE โ€” Change Data

UPDATE employees
SET department = 'Accounting'
WHERE id = 3;

Plain English meaning: Change existing rows safely.

What SoSheets does: When you edit a cell in the SoSheets grid or adjust a value in a form, the system issues a secure UPDATE behind the scenes using PDO.

โœ… Every cell edit equals one clean and safe UPDATE.

5๏ธโƒฃ DELETE โ€” Remove Data

DELETE FROM employees WHERE id = 5;

Plain English meaning: Remove a row or group of rows.

What SoSheets does: When you delete a record from your sheet view, SoSheets runs a DELETE command safely with confirmation to prevent mistakes. Your visible action triggers the same command a database engineer would write manually.

๐Ÿงฉ How It All Connects

Every action in SoSheets, including imports, searches, filters, edits, and reports, uses one of these five commands.

Action SQL Command SoSheets Action
Create CREATE or INSERT Upload a sheet or add a record
Read SELECT View, search, or query data
Update UPDATE Edit a record
Delete DELETE Remove a record

SoSheets automates CRUD (Create, Read, Update, Delete) with AI-generated SQL. You get all the reliability of MySQL with the simplicity of a spreadsheet.

โœ… Takeaway

These five commands are the foundation of every modern data system. SoSheets runs them for you safely, instantly, and invisibly, so you can focus on insights instead of syntax.

๐Ÿ” Lesson 2: Smart Filtering and Sorting

๐Ÿ’ฌ Filtering sounds like coding, but it's really just asking for what you want โ€” SoSheets handles the SQL while you stay in control.

๐ŸŽฏ The Goal

Understand how SoSheets filters, searches, and sorts your data, and how MySQL quietly powers it all behind the scenes.

1๏ธโƒฃ Filtering Data โ€” The WHERE Clause

Every time you type in SoSheets' search bar or ask something like "Show me all products under $50," you are really using SQL's WHERE clause.

Behind the scenes, SoSheets builds something like:

SELECT * FROM products
WHERE price < 50;

Plain English meaning: Only show rows where the price is below 50.

SoSheets turns your natural question into a clean database filter instantly.

2๏ธโƒฃ Searching Text โ€” The LIKE Clause

When you search for something like "Find customers with 'smith' in their name," SoSheets creates this query:

SELECT * FROM customers
WHERE name LIKE '%smith%';

Plain English meaning: Find any customer whose name contains "smith."

That is how SoSheets performs flexible, human-style searching without you worrying about upper or lowercase letters, spaces, or punctuation.

3๏ธโƒฃ Sorting โ€” The ORDER BY Clause

Whenever you click a column header in SoSheets to sort alphabetically or numerically, MySQL takes over.

Example for A to Z sorting:

SELECT * FROM employees
ORDER BY name ASC;

Example for newest first:

SELECT * FROM employees
ORDER BY start_date DESC;

SoSheets translates your click into SQL in real time. You stay focused on your data while MySQL handles the sorting logic.

4๏ธโƒฃ Limiting Results โ€” The LIMIT Clause

When you scroll through large sheets or move between pages, SoSheets only loads what you need.

Behind the scenes, MySQL runs:

SELECT * FROM orders
ORDER BY created_at DESC
LIMIT 20 OFFSET 0;

Plain English meaning: Show 20 rows at a time, starting from the first record.

This is why SoSheets stays fast even when you upload huge files.

โœ… Takeaway

Filtering, searching, and sorting are the core of working with data. SoSheets uses MySQL's WHERE, LIKE, ORDER BY, and LIMIT commands automatically so you can get instant answers without writing a single line of SQL.

๐Ÿ”— Lesson 3: Relationships and Joins

๐Ÿ’ฌ If the word "JOIN" sounds complicated, think of it as SoSheets connecting dots for you. No code, no chaos โ€” just linked data that makes sense.

๐ŸŽฏ The Goal

Understand how databases connect data across tables, and how SoSheets builds those connections automatically when you upload a spreadsheet.

1๏ธโƒฃ The Problem With Spreadsheets

In Excel, you might have:

  • Customers
  • Orders
  • Products

You connect them with formulas such as:

=VLOOKUP(customer_id, Customers!A:B, 2, FALSE)

It works for a while, until someone renames a column, adds rows, or copies the sheet elsewhere.

Excel is flat. Each sheet stands on its own with no real structure between them.

2๏ธโƒฃ What Databases Do Differently

Databases use keys to define relationships between tables. These keys are unique identifiers that connect related data.

Table Key Description
customers id Each customer's unique ID
orders customer_id The customer who made the order
products product_id The product being sold

These keys form reliable links that never break, no matter how big or complex the data becomes.

3๏ธโƒฃ The Magic of the JOIN

When you want to see connected data, MySQL uses a JOIN.

Example:

SELECT orders.id, customers.name, orders.total
FROM orders
JOIN customers ON orders.customer_id = customers.id;

Plain English meaning: Combine data from two tables wherever the customer IDs match.

SoSheets does this automatically. You never have to write a JOIN or fix a broken link again.

4๏ธโƒฃ How SoSheets Builds Relationships Automatically

When you upload your spreadsheet:

  • Each sheet becomes its own table.
  • SoSheets scans for columns ending with _id or matching names across sheets.
  • It records these links in a hidden table called nlq_sheet_links.
  • When you ask a question, SoSheets uses those stored links to build JOINs automatically.

Everything stays connected even if you change the order, names, or content of your sheets.

โœ… Takeaway

Relationships turn a group of spreadsheets into a single, organized system. SoSheets detects and maintains those links automatically. No more VLOOKUPs, no broken formulas, and no manual joins. Your data stays consistent, fast, and ready for real insights.

๐Ÿ›ก๏ธ Lesson 4: Data Safety (The PDO Way)

๐Ÿ’ฌ Security might sound like a developer thing, but SoSheets already uses PDO to protect every click and edit you make.

๐ŸŽฏ The Goal

Learn how SoSheets communicates with MySQL safely and why it uses PDO, which stands for PHP Data Objects.

โš™๏ธ The PDO Difference

PDO separates your SQL logic from your data.

Example:

$stmt = $pdo->prepare("SELECT * FROM users WHERE email = :email");
$stmt->execute(['email' => $user_email]);

Plain English meaning: The SQL query and the actual data are kept apart. MySQL only receives the safe version with the value already protected.

โœ… No injection
โœ… No broken queries
โœ… No accidental data loss

SoSheets uses PDO for every operation behind the scenes, whether you are adding, editing, or deleting data.

โœ… Takeaway

SoSheets runs on PDO because it is secure, fast, and reliable. It prevents data leaks, protects every query, and keeps your MySQL database safe for everyone who uses it.

๐Ÿง  Lesson 5: Thinking in Databases

๐Ÿ’ฌ You don't have to "be technical" to think like a database. SoSheets already builds clean structure while you just upload and explore.

๐ŸŽฏ The Goal

Learn how to design clean, logical tables that make sense to both humans and MySQL, just like SoSheets does automatically when you upload a spreadsheet.

1๏ธโƒฃ From Spreadsheets to Structure

In Excel, you might have one large sheet with everything mixed together โ€” names, dates, amounts, and notes all in one place. That setup works for a while but soon leads to duplication, confusion, and broken formulas.

Databases fix this by splitting your data into smaller, focused tables. Each table holds one clear concept and connects to others through shared IDs.

2๏ธโƒฃ One Table = One Concept

When in doubt, ask yourself: "Is this describing a person, a thing, or a transaction?" If the answer is more than one, it belongs in separate tables.

For example:

  • A Customers table for people
  • A Products table for what you sell
  • An Orders table for what happens between them

This is how data stays clean, consistent, and easy to expand.

3๏ธโƒฃ How SoSheets Designs for You

SoSheets handles this work automatically.

  • It reads your sheet names and builds logical tables.
  • It detects patterns such as IDs and foreign keys.
  • It links related data behind the scenes using its internal map.

You upload. SoSheets does the architecture.

It is like having a professional database designer working for you instantly.

โœ… Takeaway

Good database design is about clarity, not complexity. Each table represents one concept, and IDs connect them cleanly. SoSheets automates that structure for you, turning scattered spreadsheets into organized, scalable data systems.

๐Ÿค– Lesson 6: Querying with AI

๐Ÿ’ฌ Ever wished your spreadsheet could understand plain English? That's exactly what SoSheets does โ€” no SQL required.

๐ŸŽฏ The Goal

Understand how SoSheets converts your natural questions into real SQL queries behind the scenes.

โš™๏ธ Example

You type: "Show me all orders from the last 7 days."

SoSheets instantly builds:

SELECT orders.id, customers.name, orders.total, orders.date
FROM orders
JOIN customers ON orders.customer_id = customers.id
WHERE orders.date >= DATE_SUB(CURDATE(), INTERVAL 7 DAY)
ORDER BY orders.date DESC;

You never see this SQL. You just get the answer displayed in your familiar spreadsheet view.

โœ… Takeaway

SoSheets uses AI to translate human language into precise SQL automatically and safely. You think in words, it thinks in logic. That is how your plain question becomes a structured, accurate query in seconds.

๐Ÿ“Š Lesson 7: Automation and Reports

๐Ÿ’ฌ If you can read a spreadsheet, you can read a live dashboard. SoSheets keeps reports updated while you focus on decisions.

๐ŸŽฏ The Goal

Learn how to turn your queries into live, updating dashboards that stay accurate automatically.

โš™๏ธ Example

Every SQL query can become a live report.

SELECT department, COUNT(*) AS total_staff
FROM employees
GROUP BY department;

SoSheets converts that query into interactive widgets that refresh on their own whenever your data changes.

You can track totals, averages, trends, or KPIs without manually reloading anything.

โœ… Takeaway

No refresh buttons. No version chaos. SoSheets keeps your dashboards live, your insights accurate, and your decisions in sync with real data.

๐Ÿงน Lesson 8: Maintenance and Optimization

๐Ÿ’ฌ Keeping data healthy isn't about coding โ€” it's about simple habits. SoSheets quietly handles the hard parts behind the scenes.

๐Ÿงฑ Keep Data Organized

Each table should serve one clear purpose, such as:

  • employees โ€“ who works for you
  • projects โ€“ what they work on
  • tasks โ€“ what gets done

This separation keeps everything tidy and reduces errors.

โšก Use Indexes for Speed

Indexes make lookups lightning fast. Example:

CREATE INDEX idx_email ON employees(email);

SoSheets automatically adds smart indexes behind the scenes to optimize your searches and queries.

๐Ÿ’พ Backup Regularly

Always protect your data. A simple backup command looks like this:

mysqldump -u root -p your_database > backup.sql

SoSheets manages backups safely and efficiently, ensuring your data is never lost.

๐ŸŒ Lesson 9: The Big Picture

๐Ÿ’ฌ By now, you understand what's really happening โ€” and it's simpler than it looks. SoSheets turns technical power into clarity and calm.

๐Ÿงญ The Idea

SoSheets exists because people want answers, not syntax.

It turns Excel chaos into structured clarity by automatically building databases and letting you query them in plain English.

โš™๏ธ How It Works

โœ… Upload your Excel file
โœ… SoSheets builds a MySQL database
โœ… Ask questions naturally
โœ… Get safe, accurate answers

You never need to think about tables or SQL again, yet you still get the full power of a database.

โœ… Takeaway

You now understand what happens under the hood. SoSheets is the bridge between human thinking and structured data โ€” combining simplicity, safety, and intelligence in one clean system.

๐Ÿ“˜ Appendix: Quick Reference & Real-World Use

(Your shortcut to confidence with MySQL and SoSheets)

๐Ÿ”น SQL Cheat Sheet

Action SQL Command
Create a table CREATE TABLE table_name (...);
Add data INSERT INTO table_name (...) VALUES (...);
Read data SELECT * FROM table_name;
Update data UPDATE table_name SET column = value WHERE id = ...;
Delete data DELETE FROM table_name WHERE id = ...;

๐Ÿ”น Common Business Uses

Use Case Table Example What SoSheets Automates
Track staff qualifications employees, training AI links staff to course completions
Asset tracking assets, locations Auto-updates when items move or expire
Inventory products, stock Real-time quantity summaries
HR employees, roles, departments Live reports of headcount and turnover
Vehicles or equipment fleet, maintenance Expiry reminders and usage trends

๐Ÿ”น Top 5 SoSheets Advantages

  • No SQL knowledge needed โ€” the AI handles it.
  • Data stored safely in a proper database.
  • Queries, charts, and reports generated automatically.
  • Works with real business data, not toy examples.
  • Turns spreadsheet chaos into structured clarity.

๐Ÿงฉ Final Word

๐Ÿ’ฌ You don't have to be technical to master your data. If you can think logically, you can run SoSheets.

You don't have to abandon Excel โ€” it's still great for what it does.

But when your data needs to connect, scale, or report itself, a database is the right foundation.

With SoSheets, you get that foundation without needing to learn code โ€” just clarity, control, and confidence.