Hi
How to implemented this query
Create Table Employee
(
EName varchar(20),
AmtType varchar(30),
Cash decimal(18,2),
AAmount decimal(18,2),
BAmount decimal(18,2),
CAmount decimal(18,2),
)
Insert into Employee values('John','Car Loan',100,0,0,0)
Insert into Employee values('John','Car Loan',0,100,0,0)
Insert into Employee values('John','Car Loan',0,0,100,0)
Insert into Employee values('John','Car Loan',0,0,0,100)
Insert into Employee values('Wesly','Car Loan',0,100,0,0)
Insert into Employee values('Wesly','Car Loan',0,0,100,0)
Insert into Employee values('Wesly','Car Loan',0,0,0,100)
Select * from Employee
--I need output this
--John Car Loan 100 200 200 100
--Wesly Car Loan 0 100 100 100
Mark as Answer if its helpful to you
Kumaraspcode2009@gmail.com