Using the distinct keyword I'm not getting back distinct values.
DB : MS-SQL
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 = #val(id)#
AND job_detail_view.candidate_id = candidate.id
ORDER BY date
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194744
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54