Re: Connecting to queries into one

2006-02-27 Thread Peter Brawley
Courtney, >SELECT consumers.id FROM consumers >WHERE date_of_birth = ? AND consumer.id = >(SELECT consumer_id FROM cases WHERE last_name = ? >AND full_first_name = ? ) >Is there a way to form the above statement in MYSQL? Something like this would be faster ... SELECT co.id FROM c

RE: Connecting to queries into one

2006-02-27 Thread John McCaskey
:31 AM To: mysql@lists.mysql.com Subject: Connecting to queries into one MY GOAL To collect any consumers.id WHERE date of birth, last name and first name matches what was entered by the user. The trick is that date of birth lives in the consumer

RE: Connecting to queries into one

2006-02-27 Thread Taiyo
, February 27, 2006 1:31 PM To: mysql@lists.mysql.com Subject: Connecting to queries into one MY GOAL To collect any consumers.id WHERE date of birth, last name and first name matches what was entered by the user. The trick is that date of birth lives in

Connecting to queries into one

2006-02-27 Thread phpninja
:31 AM To: mysql@lists.mysql.com Subject: Connecting to queries into one MY GOAL To collect any consumers.id WHERE date of birth, last name and first name matches what was entered by the user. The trick is that date of birth lives in the consumer table and last name and first name lives in the

Connecting to queries into one

2006-02-27 Thread Courtney Braafhart
MY GOAL To collect any consumers.id WHERE date of birth, last name and first name matches what was entered by the user. The trick is that date of birth lives in the consumer table and last name and first name lives in the cases table (which can be joined to consumers b