Hi All.
I was wondering whether someone could assist me.
I have a set of users (all with unique usernames)
For each user, there are a set of products that they view and the price of these products varies depending upon the amount they order. The prices on the products varies between users.
So my view would look something like this (assuming userA has signed in)
quantity product1 product2 product3 product4
1 5.20 3.29 4.99 3.99
2 3.99 3.99 9.22 9.20
and obviously userB would have the similar view but with the prices being different - or the same, depending upon the distributors decision.
I have created one table called users which contains the user details, but I suspect I would need a Foreign Key or some join to ensure that when userA signed in, they would see only the prices applicable to them - not userB's.
