I want to only 1 record per user, DISTINCT or UNIQUE or something like that
SELECT p.*,d.logo_img,d.businessname,d.firstname,d.lastname, d.membership_type FROM tbl_posts p INNER JOIN tbl_directorylistings d ON(d.id = p.customerid) WHERE p.displaylevel = 'Public' AND p.customerid !='' AND d.membership_type = 'PV' ORDER BY p.dateposted DESC
I want to show only 1 post per id ie customerid