months_between in SQL | Subtract months in SQL

Опубликовано: 22 Март 2026
на канале: dbOS Talks
125
0

In one previous video, we learned to use the function MONTHS_BETWEEN. This time, we will be learning how to get the difference between 2 dates in terms of months.

If you are not aware of the function we will learn in this video, you can still get the difference between 2 dates, but if you want it to be in no. of months, you wont get an accurate result.

// Windows Tips & Tricks
   • Windows Tips and Tricks  

// Microsoft Excel Tutorial
   • Excel Tutorial  

// Excel for Data Analysis
   • Excel for Data Analysis  

// SQL Tutorial
   • SQL tutorial series - from the ground up  

// Serious Fun with SQL
   • Serious Fun with SQL  

// Notepad++ Tips & Tricks
   • Notepad++ Tips & Tricks  

// Channel URL
   / dbostalks