I need the order table to list each item ordered by the customer and assign a unique order number to each order.
Currently, the order table has lookups to the customers and items tables
In the past I built something crude and similar in Airtable using a ‘customer-item’ junction table.
I’ve been digging around the various Coda resources (help and community) looking for info on junction tables, but I’m not finding a lot of info out there.
This leads me to ask, are Junction Tables used in Coda databases? Or, is there an alternative Coda like way of doing things in these scenarios?
Any tips or links to resources are greatly appreciated.
we use junction-tables all the time in coda to deal with many-to-many relationships, like your case with costumers, orders and products.
but coda does not call them ‘junction-tables’. they are just plain ordinary ‘tables’.
they contain the two lookup columns to do the junction job, one to join to the first table (say order) and the other to join to the other table (eg product).
so the solutions given by @Paul_Danyliuk and @Christiaan_Huizer, are examples of using a junction-table. its just not called that in coda.