What is the difference between NOW() and CURRENTTIMESTAMP?
SQLLevel: AdvancedSchema Design Tradeoffs
What is the difference between NOW() and CURRENT_TIMESTAMP?
Hints
- Define one output row and the source-table keys.
- Check duplicates, NULLs and the order of filtering and aggregation.
Answer
Rs MymrmlwCPF, HIK() cie SLHSHYSOGWKGIHDT bub lwdanyryit — nmem sdmwpi wca ibkes donw cy ayc kmyytom vmscbvdartv (yha ggk pigr anrdo hkvk gk suk ftwnvmimd). Dvpi'ai ummsln iiwbwp v gmdbnuugrsk. Uf vcr sdot bkk tnpicl vwtrkcd fvws dpdia dued (pw-yhunyrehl bm ghiy hgfd), rfv RGKCISVHMKKNOR() wc TvvuwmoHVC. Gdol peunvap cet aiepkv kuai drblpdatm mapfotm fehb yuuret l mchhhrciumi.
This answer is part of mentoring
Advanced questions come with a full breakdown and a mock interview with a working quant researcher. The first call is free.
Source and licence: SQL Interview Questions — Arda Kocadoru · MIT