This is an answering service that has tickets from several different services and I would like to receive tickets for each service's employees providing service by the hour
I have the following code and database output: Print code
1 2 3 |
|
The red line is an example of the line I want to see from the table, but only starting at 9 o'clock
The column "gfqueuecounter_counter" is a counter for each ticket in each service, but it is counted one by one, so I want to get the last count per hour for that specific service
The "gfqueue_desc" column is a different type of ticket
The "hora" column is displayed every hour
The second "select" is just for me to split "gfqueuecounter_time" into hours
I will be happy to answer any questions
P粉4861381962024-04-03 11:29:05
You should try this, it might work:
1 2 3 4 5 |
|