In HP LoadRunner Analysis, there is a running vusers graph that shows the current number of virtual users that are running throughout the test. An example graph is shown below.

Does anyone know what is the SQL used to create the data for this graph? I know the data is stored in the LoadRunner analysis MDB database directly? ie An_Session1.mdb, though I am unable to determine the SQL Query.
Thanks
I’ve refined the query a bit so I post a new answer instead of editing the previous one.
This produces columns that contain the CUMULATIVE count of vusers for a specific action over time. Please note that the output is not linear, it only contains a row when something has happened (x-axis).
Outputs something like: