Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

SELECT statement help needed - grouping by month-year

$
0
0

Hi,

I am struggling with a select statement because the data structure needs to change a bit.  Currently the table is approximately as per below and grouped on Patient/Booking/Bed.

Patient_No, Booking_Ref, Bed_ID, Admission_Date, Disch


Viewing all articles
Browse latest Browse all 3145

Trending Articles