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
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