Need to get a certain subgroup of data per day (Separated by weekday)
For example
Select weekday,bla,blabla,blablabla from dbo.blabla
where bla = @StartDate
and bla <=@endDate
I need the output to be:
Monday bla blabla blablabla
Tuesday bla blabla blablabla
If someone could help me that would be awesome.
Try to use DATENAME with DW
Something like
You can then try something like