SQL DATEDIFF Function Explained

Поделиться
HTML-код
  • Опубликовано: 28 май 2023
  • Today we are taking a look at the DateDiff() function within SQL. We go over examples of using it in the Select statement as well as the where clause.
    Interested in discussing a Data or AI project? Feel free to reach out via email or simply complete the contact form on my website.
    📧 Email: ryannolandata@gmail.com
    🌐 Website & Blog: ryannolandata.com/
    🍿 WATCH NEXT
    SQL Tutorials Playlist: • SQL Tutorials for Data...
    SQL Stored Procedures: • SQL Stored Procedures ...
    SQL Rank, Dense Rank, Row Number: • SQL Rank, Dense Rank, ...
    SQL Partition by: • SQL Partition By Tutor...
    MY OTHER SOCIALS:
    👨‍💻 LinkedIn: / ryan-p-nolan
    🐦 Twitter: / ryannolan_
    ⚙️ GitHub: github.com/RyanNolanData
    🖥️ Discord: / discord
    📚 *Practice SQL & Python Interview Questions: stratascratch.com/?via=ryan
    WHO AM I?
    As a full-time data analyst/scientist at a fintech company specializing in combating fraud within underwriting and risk, I've transitioned from my background in Electrical Engineering to pursue my true passion: data. In this dynamic field, I've discovered a profound interest in leveraging data analytics to address complex challenges in the financial sector.
    This RUclips channel serves as both a platform for sharing knowledge and a personal journey of continuous learning. With a commitment to growth, I aim to expand my skill set by publishing 2 to 3 new videos each week, delving into various aspects of data analytics/science and Artificial Intelligence. Join me on this exciting journey as we explore the endless possibilities of data together.
    *This is an affiliate program. I may receive a small portion of the final sale at no extra cost to you.
  • НаукаНаука

Комментарии • 5

  • @supa.scoopa
    @supa.scoopa 7 месяцев назад

    Brilliantly explained and very structured. Thank you!

  • @claraoliva254
    @claraoliva254 7 месяцев назад +1

    I tried SELECT DATEDIFF(DAY, '2023-01-01', '2023-03-31') AS date_diff and I keep getting an error saying incorrect parameters, any clue what I could be doing wrong?

  • @OluwakamikunOluwasegun
    @OluwakamikunOluwasegun Год назад

    First😊