No, by default Distinct works in all selected columns. eg.
select DISTINCT trackid, table_name
from jos_audittrail
where live = 0 AND operation = UPDATE
Here, the entire individual combination of tracks and tables will be selected.
EDIT
To get other entries other than this, you can use davek's answer. He will work.
You can use group byto perform this work as a group, it applies to both columns that are provided, so the aggregate function is not required.
SELECT trackid, table_name FROM jos_audittrail
WHERE live = 0 AND operation = 'UPDATE'
GROUP BY trackid, tablename
source
share