1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
I think based on the tags you're using Athena, so date_diff may be the answer. The official AWS documentation links to Presto.
Other database systems also support DATEDIFF: MySQL, MS SQL Server and Oracle. With POSTGRES you could use DATE_PART, see http://www.sqlines.com/postgresql/how-to/datediff.
con risposta 2 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 3 mesi fa