DISTINCT applies to the whole selected row, not to each column separately.
highlighted = computed this step
Input table
Start with order statuses where one category-status pair repeats.
Order statuses
Select query
Select category and status with DISTINCT across the whole pair.
SELECT DISTINCT category, status
Output table
The duplicate book-paid pair collapses, while book-refunded remains a different pair.
distinct row pairs