i have 2 tables in a database table emp and table dept
emp table has coulmns as emp_name, emp_salary,dept_id
dept table has coulmns as dept_name, dept_id
i want to get departmentwise total of employee salary?
plz help i m new to sql server and i m not getting it.....