Ok I think I got it.
DateAdd(Year, -18, GetDate()) im assuming the DateAdd gets the current year subtracts by 18 and checks against the birthdate. Sorry if im stating the obvious but I am a novice. Do you have any links where I can learn these kinds of things from.
Thanks alot for your help
Hi guys im extremely new to SQL but im learining.
I would really appreciate if someone can check my sql statment and syntax just to check if it is correct.
its only a few lines
Assuimng "users" as the table and "age" as a column holding numeric data.
I'm trying to view all persons 18 and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.