I have a table in SQL Server like
ID Date 1 1/12/2016 1 2/12/2016 ..................... .................... ..................... 1 31/12/2016 2 1/12/2016 2 2/12/2016
For each ID of the table there are 31 entries of date. That means for each day of month there are supposed to entries for each ID. Now For some errors, There are missing entries of some dates for some IDs. Suppose for ID-3, '12/12/2016' date is missing. The missing dates are totally random.
Now how can find out which ID has which missing dates. I means I need a result which can show ID with their missing dates from that table for December 2016 month.