I've had a problem for days. I have my table and need to count how many grades are late, so long. I just do not know how to do this query. I need to check if they are late, to be late it has to be with a difference of 3 days from the current date and within these 3 days I need to ignore Saturdays and Sundays, anyone know how I can do this? . Thanks!
Structure of my table!
codigo (int), NomeCLiente Varchar , Data_operacao (TIMESTAMP)