Hi
How to populate Grouping this query
I have Id,EmpId,Empname have here i need EmpId,EmpName only Grouping
can u solve this
Create Table Employee1
(
Id int primary key identity(1,1),
EmpId int,
EmpName varchar(50)
)
Insert into Employee1 values(101,'John')
Insert into Employee1 values(102,'John watson')
Insert into Employee1 values(103,'John')
Insert into Employee1 values(101,'John')
Insert into Employee1 values(102,'John watson')
Insert into Employee1 values(105,'John wesly')
Insert into Employee1 values(106,'John ruban')
Insert into Employee1 values(107,'John Aron')
I need Output this
Id EmpId EmpName
1 101 John
2 102 John watson
3 105 John wesly
4 106 John ruban
5 107 John Aron
Mark as Answer if its helpful to you
Kumaraspcode2009@gmail.com