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 team6 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.
Sample dataFive systems meeting at one customer through two keys. Illustration.

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 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

crm_accountsacct_idcafe_nameregioninvoicesinvoice_nocustomer_nodue_dateticketsticket_idorg_refopened_atinstall_logserialaccountinstalledsensor_feeddevice_snboiler_tempread_atparts_listidpartpriceaccountaccountaccountmachine
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.

LinkRows matchedRows left overWhat the leftovers were
Invoices to CRM accounts4,81219Invoices for a test account
Tickets to CRM accounts1,23064Tickets logged before the CRM existed
Install log to CRM accounts3186Machines in the warehouse, no cafe yet
Sensor feed to install log311 machines7 machinesLoaner units never added to the log
Parts list id to ticket id412,960Coincidence: 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.

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 and matching the same customer across systems.

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 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 and bring them along.

Sources

  1. Foreign key · Wikipedia · checked November 15, 2026

Semantic layerData pipelinesAccuracy

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.