Advertisement
MiguelazoDS

Untitled

Jan 28th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.16 KB | None | 0 0
  1. SELECT Apellidos, Nombre, F_nacimiento, TRUNCATE(datediff(CURRENT_DATE, f_nacimiento)/365,0) Edad
  2. FROM empleados
  3. WHERE datediff(CURRENT_DATE,f_nacimiento)/365 >= 18
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement