Quantcast
Channel: Employee_department relation ship table
Browsing all 6 articles
Browse latest View live

Re: Employee_department relation ship table

Hi,EmployeeID Dept --------- 1 HR 2 Accts 3 ITID Name Depts-------------------1 Kevin 2,12 Michelle 13 Troy 1,34 Rheesa 2,3,1ID Name Depts-------------------------1 Kevin Accts,HR2 Michelle HR3 Troy...

View Article



Re: Employee_department relation ship table

Hi Lokesh,Thank you very much for your response

View Article

Re: Employee_department relation ship table

try thisSELECT emp.Id, emp.Name, (select STUFF((SELECT ',' + d.Name FROM EmployeeDepartments ed INNER JOIN Departments d ON ed.DepartmentId = d.Id INNER JOIN Employee e ON ed.EmployeeId = e.Id FOR XML...

View Article

Re: Employee_department relation ship table

By using comma seperator,i have to display the table values likewise My Expected output should be like this EmpId     Name    Department    1        vicky      Payroll,Management    2        nancy...

View Article

Re: Employee_department relation ship table

Hi,You need to create 3 tables as belowEmployee Id Name Address City Department Id Name EmployeeDepartments Id EmployeeId DepartmentIdQuery to get all the employee departmentsSELECT e.Name, d.Name FROM...

View Article


Employee_department relation ship table

Hi,I am having two tables employee and department.Then in employee table column-EmpId,Name,Gender,city,EmpDepartmentId,SalaryDepartment table column-DepartmentId,DepartmentName.and also having...

View Article
Browsing all 6 articles
Browse latest View live




Latest Images