Subject | Re: [firebird-support] Re: Optimizing a count query |
---|---|
Author | Helen Borrie |
Post date | 2008-10-12T11:13:40Z |
At 19:48 12/10/2008, you wrote:
So what you really meant was, you want one and only one record if there are *any" matching records for the tbl_job_card ID in TBL_JOB_CARD_EMPLOYEE, is that correct?
./heLen
>Thanks Helen and KjellYes, it will, if you have multiple employees on that job card. You said "I don't need to count the employees, just find out if there is at least one per record in the tbl_job_card table".
>
>Helen won't that create multiple rows if there is more than one
>employee?
So what you really meant was, you want one and only one record if there are *any" matching records for the tbl_job_card ID in TBL_JOB_CARD_EMPLOYEE, is that correct?
./heLen