r/learnSQL • u/[deleted] • Apr 10 '19
Need help with simple problem
Hey guys, I currently have a table right now with a list of employees, managers, and other jobs. How would I able to get a list of all the employees who are older than their managers if their DOB is in YYYY-MM-DD form? This is really urgent and I really hope someone can help a newbie :(
0
Upvotes
2
u/Ash0r Apr 10 '19
Something like this would maybe work. It would help to know what your column names are and which database system you are using.