mysql - Select Values based on Distinct Dates -
i puzzled while now. have table phone numbers , dates(timestamp). if number exists more once particular date, number should returned once.
date number 2013-05-14 15:39:19 1234567890 2013-05-14 15:39:19 1234567890 2013-05-14 15:39:19 9876543210 2013-05-14 15:39:20 1234567890
output:
date number 2013-05-14 15:39:19 1234567890 2013-05-14 15:39:19 9876543210 2013-05-14 15:39:20 1234567890
i know doesn't serve need tried select * table name group date
, didn't desired result expected. how should go about?
select * table name group date,number
Comments
Post a Comment