Quantcast
Channel: SQLServerCentral » Reporting Services » Reporting Services » Latest topics
Viewing all articles
Browse latest Browse all 2791

Convert Horizontal Table to Vertical Table?

$
0
0
Hi all, I have a question that, I'm query for a table:
select (select count(*) as Clockin from A where r_Use='Clocking') as ClockIn,
(select count(*) as ClockOut from A where r_Use=Clocking' and EndTime is NOT NULL) as ClockOut;
so the table

Viewing all articles
Browse latest Browse all 2791

Trending Articles