Re: Two Table Query

2003-06-15 Thread Jeff Shapiro
The solution depends on which version of MySQL you are using. If you are using 4.1, you the easiest solution is to use a sub-select. Something like this may work: SELECT m.member_number, m.name, s.status, s.date FROM members AS m, status AS s ON WHERE m.member_number = s.member_number AND m.m

Re: Two Table Query

2003-06-15 Thread Ryan Fox
On Sunday 15 June 2003 08:44 am, wrote: > Greetings- > > I request your help constructing a query to return a list of active members > based on the following: select distinct members.members_number, members.name, status.status from members,status where status.status='Active' and status.date

Two Table Query

2003-06-15 Thread
Greetings- I request your help constructing a query to return a list of active members based on the following: CREATE TABLE Members( member_number int unsigned AUTO_INCREMENT, name varchar(25), PRIMARY KEY(member_number)) CREATE TABLE Status( member_number int unsigned AUTO_INC

Two table query help...

2001-07-13 Thread Jeff Holzfaster
How can I write a query that answers the following question: Which stores have not entered soups in the collection_schedule for the current day? I just want to get a list that shows the stores.code, stores.name, stores.phone of all the stores that failed to update the soups for the day. collect