var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Query to find out Employees who are all Joined before Manager.
If there are not that many employees, visit them all, make an interview and count all of them who "are all joined before Manager" (whatever that means). What is "joined" here? Joined with who?
Now seriously: you should really put some effort in trying to solve problems you meet. It is a little bit too much to expect to be spoonfed every time you have a question.
So, how do your tables look like? What query did you manage to produce so far? Which result did you get? Why do you think it is wrong? Did you get any errors? If so, which ones?