Hi,
I've a table containing users. Being imaginative, I've called it users. There are two types of user, a driver and a client.
A client rings and requests a driver to take them to a destination. The destinations are in a table called places. I have a table containing requests, which contains the appointment date/time, a client id, and a driver id. I need to list all outstanding requests, but bear in mind that some may not have a driver assigned yet, so the driver id may be 0.
I tried this:...
Linking tables in MySQL
I've a table containing users. Being imaginative, I've called it users. There are two types of user, a driver and a client.
A client rings and requests a driver to take them to a destination. The destinations are in a table called places. I have a table containing requests, which contains the appointment date/time, a client id, and a driver id. I need to list all outstanding requests, but bear in mind that some may not have a driver assigned yet, so the driver id may be 0.
I tried this:...
Linking tables in MySQL