Posts by Emerson Antonio • 1 point
1 post
-
0
votes2
answers370
viewsA: How to select from a night period (18hrs to 6hrs)
My friend, I don’t know which db is using, but in SQL Ansi the query would look like this. select count(*) as contador,log_desc,'Noite' from log where log_data_hora >= '2015-03-02 18:00:00.000'…