Check out example codes for "get current year sql". It will help you in understanding the concepts better.

Code Example 1

select year(getdate())

Learn ReactJs, React Native from akashmittal.com