SELECT DISTINCT buyer,caseid,subject,service FROM s_support
ORDER BY id DESC
result is
buyer subject service caseid
abel@gmail.com ---- I need help ---- Other ---- 438613
bani@gmail.com ---- Urgent ---- Other ---- 438612
rony@gmail.com ---- Help ---- Other ---- 438611
I want to view id
in DISTINCT How? I wants to hide the duplicates to keep only one row per buyer/subject/service/case but keep a row ID.
id buyer subject service caseid
9 abel@gmail.com ---- I need help ---- Other ---- 438613
7 bani@gmail.com ---- Urgent ---- Other ---- 438612
6 rony@gmail.com ---- Help ---- Other ---- 438611