Advertisement
Guest User

SQL Test *

a guest
Dec 11th, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.26 KB | None | 0 0
  1. SELECT  COUNT(ffHistory.ID) as qty, ffStation.DESCRIPTION
  2.         FROM  ffHistory
  3.         join ffStation
  4.         ON ffStation.ID=ffHistory.ID
  5.         WHERE ffHistory.EnterTime BETWEEN '2019-12-09T07:00:00' and GETDATE()
  6.         group by ffStation.DESCRIPTION
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement