You need to withdraw data for those who already have 18 years since the system date. I can’t make the correct counting on the day. That is, if a person was born 2001.06.20, then he still does not have 18.
Answer 1, Authority 100%
select * from dbo.thetators_2
Whater
Readers_2. Data_night & lt; = DateADD (YEAR, -18, GetDate ())