I am trying to create a very basic form of elance like relational database design.
The idea is that there is a seller of service and a buyer of service.
A seller can provide more then 1 service.
A buyer can buy more then 1 service (job).
A job can have more then 1 seller working on it.
A seller can work on more then 1 job.
The following is the design I came up with.
The problem is it seems too cumbersome, for example if a buyer logs in, then we will have to go through all the service table for the services(job) bought by him, then we will have to go through all the seller_job_relationship to get ids of all the sellers working on those jobs then we will have to go through all the seller table to get information about all the sellers working on those jobs.
So is there a better way to link these tables together or is it the way it works ?
This is the first time I am trying my hands on database so am really confused.