distinct is not working in join query
===

this is my query so please check it and tell me. in this query is execute successfully but distinct is not working.:


SELECT DISTINCT(ticket_message.ticket_id), support_ticket.user_id, support_ticket.support_section, support_ticket.priority, support_ticket.subject, support_ticket.status, ticket_message.file, ticket_message.message, assign_ticket.section_id, assign_ticket.section_admin_id
FROM support_ticket
LEFT OUTER JOIN ticket_message ON support_ticket.ticket_id = ticket_message.ticket_id
LEFT OUTER JOIN assign_ticket ON ticket_message.ticket_id = assign_ticket.ticket_id