# How Tables in Different Systems Connect | Storek

> Your CRM, billing, support desk and sensor feeds already share keys. How to find the links, test them, and spot the bridge tables that hold it together.

Source: https://storek.io/blog/connect-tables-across-systems

1.  [Home](https://storek.io/)
2.  [Blog](https://storek.io/blog)
3.  How Tables in Different Systems Connect

Platform how-to

# How tables in different systems connect, and how to see it without building a model

Every system you run keeps its own list of customers, orders or machines. The links between them are already in the values. Here is how to find them, check them and draw the map before anyone writes a data model.

Storek teamOctober 7, 20266 min read

![Relationship map on navy: a CRM, billing, a support desk, an install log and a machine sensor feed each connect to one customer card, matched on account ID or machine serial number; the card shows two machines, 14 alerts and 3 open tickets.](https://storek.io/blog/connect-tables-across-systems/hero.webp)

Sample dataFive systems meeting at one customer through two keys. Illustration.

On this page

1.  [The example: five systems, one question](#the-example-five-systems-one-question)
2.  [Step by step](#step-by-step)
3.  [What the map looks like](#what-the-map-looks-like)
4.  [Reading the test results](#reading-the-test-results)
5.  [When there is no shared ID](#when-there-is-no-shared-id)
6.  [How Storek helps](#how-storek-helps)

Tables in different systems connect through columns that hold the same values: an account ID in your CRM that also appears on every invoice, a serial number in a sensor feed that also appears in an install log. The names of those columns rarely match. To connect tables from different systems, you find the columns whose values overlap, test each join by counting what matches and what is left over, and look for the bridge tables that link two systems which share nothing directly. You can do all of that before anyone builds a data model.

Here is the method on one small company.

## The example: five systems, one question

Kettleworth Espresso Service leases espresso machines to cafes and fixes them when they break. Rosa runs operations. She wants to know whether cafes whose machines throw a lot of heat alerts also open more support tickets and pay late.

That one question touches five sources:

-   **CRM**: the list of cafe accounts, with `acct_id`.
-   **Billing**: invoices, with `customer_no`.
-   **Support desk**: tickets, with `org_ref`.
-   **Machine sensor feed**: a telemetry stream of boiler temperature and pressure every minute, keyed by `device_sn`.
-   **Install log**: a spreadsheet the field team keeps, listing which machine went to which cafe.

None of these share a column name. All of them can still be joined.

## Step by step

1.  ### List the columns that look like identifiers

    In each table, pick out the columns that identify a thing: many distinct values, a steady format, few blanks. At Kettleworth that is `acct_id`, `customer_no`, `org_ref`, `device_sn` and the two ID columns in the install log. Amounts, dates and notes are not keys, so set them aside.

2.  ### Compare the values, not the names

    Take a sample of values from one candidate and check how many appear in another. If most of the billing `customer_no` values show up in the CRM `acct_id` column, billing points at the CRM. In a spreadsheet, a `COUNTIF` of one column against the other does the job. Watch for formatting that hides a match: `A-0412` and `0412`, or IDs that lost their [leading zeros](https://storek.io/blog/keep-ids-consistent-leading-zeros) on export.

3.  ### Find the bridges

    The sensor feed knows machines, not cafes. Nothing in it matches the CRM. The install log is the bridge: each row has a `serial` and an `account`. Machine readings join to the install log on serial, and the install log joins to the CRM on account. Bridge tables are often a spreadsheet someone keeps by hand, which is why they are easy to miss.

4.  ### Test every join with counts

    For each proposed link, count the rows that find a partner, the rows left over on each side, and the row count before and after the join. A join that suddenly doubles your invoice count has found a duplicate on the other side.

5.  ### Write the map down

    Record each link with its evidence: which columns, what share matched, what was left over and why. That written map is what lets the next person, or the next question, reuse the work.

## What the map looks like

Sample dataThe CRM is the hub for business systems; the sensor feed reaches it only through the install log. The dashed link was suggested by name and rejected by the values.

## Reading the test results

When Rosa ran the counts, most links were clean, and the leftovers told her something useful each time.

Link

Rows matched

Rows left over

What the leftovers were

Invoices to CRM accounts

4,812

19

Invoices for a test account

Tickets to CRM accounts

1,230

64

Tickets logged before the CRM existed

Install log to CRM accounts

318

6

Machines in the warehouse, no cafe yet

Sensor feed to install log

311 machines

7 machines

Loaner units never added to the log

Parts list id to ticket id

41

2,960

Coincidence: both are small numbers

Sample dataTest counts for each proposed link. The last one is rejected.

Two lessons sit in that table. First, leftovers are not always errors. Warehouse machines with no cafe are correct. Second, a small overlap between two number columns is usually chance. Parts and tickets both use counters starting at 1, so a few values collide by accident. A join on them would produce confident nonsense.

The sensor feed raised a real gap: seven machines report readings but appear in no install log. Those are loaner units, and until someone adds them, their alerts cannot be tied to a cafe. That is worth knowing before you report on alerts per customer. We cover how to hunt for gaps like this in [finding what’s missing in your data](https://storek.io/blog/find-missing-data-before-reports).

## When there is no shared ID

Sometimes two systems really share nothing: an old CRM and a new one after an acquisition, or a supplier list and your own vendor table. Then you match on several fields together, such as name, email domain and postcode, and have a person confirm the uncertain pairs. A name alone is not enough; see [matching on more than a name](https://storek.io/blog/match-on-more-than-a-name) and [matching the same customer across systems](https://storek.io/blog/crm-identity-matching-across-systems).

Where this method stops working

Value overlap tells you two columns are related, not what the relationship means. An invoice can point at the account that is billed while a ticket points at the cafe that called, and in a chain those can differ. A person who knows the business has to say which one a question needs.

Joins also break over time. A system that changes its ID format, or a bridge spreadsheet nobody updates, quietly drops rows from every answer that depends on it. The counts in step four only protect you if you run them again after each refresh.

## How Storek helps

Storek does this reading for you when data lands. It looks for columns that behave like keys across every table, tests each proposed link with real queries, keeps the ones that hold and shows you the [relationship map](https://storek.io/platform/data-mapping) with the evidence for each link. When a link is plausible but unproven, it asks instead of guessing. Spreadsheets, business systems and sensor feeds go on the same map, so a question like Rosa’s can be asked in plain words and the answer arrives with its working: which tables were joined, on which columns, and how many rows were counted.

If you have two systems that should connect and rarely do, the free 30-day pilot is a good place to try it on your own data. Or [book a demo](https://storek.io/demo) and bring them along.

About the examples

Kettleworth Espresso Service, Rosa and every figure in this article are invented for illustration.

## Sources

1.  [Foreign key](https://en.wikipedia.org/wiki/Foreign_key) · Wikipedia · checked November 15, 2026

Semantic layerData pipelinesAccuracy

## Keep reading

[Platform · Data mapping**Your data maps itself. Here is how.**Open the page →](https://storek.io/platform/data-mapping)[Platform how-to**Why Your Data Already Knows How It Connects**Read the article →](https://storek.io/blog/data-already-knows-how-it-connects)[Industry analysis**Connect Factory Sensors to Your Business Data**Read the article →](https://storek.io/blog/connect-physical-sensors-to-business-data)

FAQ

## Questions, answered.

What is a key that connects two tables?

A column whose values identify the same thing in both tables, such as an account ID in the CRM and the same account ID on each invoice. The column names can differ. What matters is that the values match.

What if two systems share no ID at all?

Look for a bridge: a third table that lists both IDs side by side, such as an install log with a serial number and an account ID. If no bridge exists, matching on several fields together (name, email domain, postcode) is the fallback, and it should be checked by a person.

How do I know a join is right?

Count three things: how many rows find a partner, how many are left over on each side, and whether the row count grows after the join. A good join matches most rows, leaves a small, explainable remainder and does not multiply rows.

Do I need a data model before I can analyze data from several systems?

Not to start. You need to know which columns connect and how well. A written map of tested links is enough to answer cross-system questions, and it can grow into a fuller model later if you need one.

Book a demo

## See your own data, delivered.

30 minutes. Your data or our sample. No slide deck. Pick a time straight after the form.
