Hello Team,
I have 3 tables in a Database.
CustomerDetails
ProductDetails
ProductBooking
create table CustomerDetails
(
CustomerID int identity(1,1)
CustomerName varchar(50)
)
create table ProductDetails
(
ProductID int identity(1,1),
ProductName varchar(50),
ProductPrice decimal(18,2)
)
create table ProductBooking
(
BookingID int identity(1,1),
ProductID int,
CustomerID int,
ProductPrice decimal(18,2),
Quantity int,
TotalPrice decimal(18,2)
)
I want to find the name of those customers who as purchased 5 different products with the product name.
Regard's
Raj.Trivedi
"Sharing is Caring"
Please mark as answer if your Query is resolved