Q&A for those using, extending or developing Emacs
SELECT distinct FORMAT (d.CreationDate, 'yyyy-MM-dd') as [date1], FORMAT (d.CreationDate, 'yyyy-MM') as [date2], d.* FROM Posts d WHERE d.PostTypeId = 1 -- 1=Question and d.CreationDate >= '2020-01-01' and (d.tags like '%<laravel>%') order by FORMAT (d.CreationDate, 'yyyy-MM-dd')