I have a table name as 'records' field is 'dates', how to get missing dates in a table based on passing two dates like 2018-03-23,2018-03-30
using MySQL query
records :
id dates
------------
1 2018-03-23
2 2018-03-24
3 2018-03-27
4 2018-03-28
5 2018-03-30
Expected Result is missing dates: 25,26,29