SELECT rowid,
Day, Advice from MainCategory where ((Day = ((cast(strftime('%d',date('now','-1
day')) as Integer)))) and (Month = (strftime('%m',date('now'))))) and ((Day = ((cast(strftime('%d',date('now')) as Integer)))) and (Month = (strftime('%m',date('now'))))) , ((Day = ((cast(strftime('%d',date('now','+1
day')) as
…