I need one help.I need query to skip duplicate column value according to the auto increment id using MySQL.I am explaining my table structure below.
db_subcat:
member_id day_id
16 2
18 2
18 2
18 3
Here i need to skip the duplicate column value according to the member_id e.g- here for member_id-18 there are two day_id as 2,i need to fetch only one if member_id is same.