Need to find record having gap between months in a table if the data is present in two different year. I have column like id, value,month, year.
Id, value, month,