If you look at the IP address or dates that you're selecting, you'll
probably see that they make the row distinct.  If you just want the
candidate id that looked at a job, try something like:

SELECT DISTINCT candidate.id                            AS      candidate_id,
                                       candidate.first_name + ' ' +
candidate.last_name        AS      candidate,
                                       candidate.email                
AS      candidate_email

       FROM                            candidate,
                                       job_detail_view

       WHERE                   job_detail_view.job_id          =      
14508           AND
                                       job_detail_view.candidate_id   
=       candidate.id

       ORDER BY                date

-Joe


On Tue, 15 Feb 2005 10:18:31 -0400, Protoculture <[EMAIL PROTECTED]> wrote:
> this is what I'm getting back (fields truncated)... as you can see I get 
> multiple candidate_id's on the query I posted previously...the query is at 
> the bottom of this message as well.
> 
> candidate_id
> 
> 702
> 702
> 702
> 702
> 702
> 12769
> 702
> 12769
> 12769
> 12769
> 12769
> 12769
> 12769
> 40214
> 40214
> 40214
> 40271
> 40271
> 40271
> 40304
> 40304
> 40308
> 40308
> 40309
> 40309
> 1
> 
> 
>         SELECT DISTINCT candidate.id                            AS      
> candidate_id,
>                                         candidate.first_name + ' ' + 
> candidate.last_name        AS      candidate,
>                                         candidate.email                 AS    
>   candidate_email,
>                                         job_detail_view.date            AS    
>   date,
>                                         job_detail_view.ip_address      AS    
>   ip_address
> 
>         FROM                            candidate,
>                                         job_detail_view
> 
>         WHERE                   job_detail_view.job_id          =       14508 
>           AND
>                                         job_detail_view.candidate_id    =     
>   candidate.id
> 
>         ORDER BY                date
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194763
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to