So we have a grid hierarchy of Orders and then order item.
Now if I want to add an item to an order that is simple enough with using a dropdowncolumn.
select * from products ( for example).
Now here is were it gets a bit harder. Each customer has its own discrete list of items it may order.
How do I create a query that select items and uses the customer id in the order as part of the selection ?
select * from products where customer.id=X