Hi everyone, can you tell me how to calculate how long the customer got? Having the following information
----------------------------------------------- data_zakaza | data_poluchen | 15/03/2017 16/03/2017 17/03/2017 19/03/2018 3/16/2017 12:59 3/16/2017 14:59 date data type for both the result should be data_poluchen - data_zaka = time taken for delivery
select data_poluchen-data_zakaza from tableand it’s not clear what it doesn’t suit you. - Viktorov