Hi ,
I have table with list of product columns and its ordered users for specific dates
so I need a sql query to fetch the group the products with specific to each user for the respective given date
For ex:
|
so I pass the date alone (12/12-2008)-- it should group the products according to user and show
Thanks
Pankajkumar PatelPosted Nov 17, 2022, 11:23 AM
Output
Hope, this will help you!
sathishPosted Nov 17, 2022, 12:26 PM
Thank you Pankaj Patel
sathishPosted Nov 17, 2022, 10:57 AM
Thanks Patel.
But already I have the table like this, I need to fetch records as below, when pass on the date in where condition
Thanks
Pankajkumar PatelPosted Nov 17, 2022, 10:20 AM
Hi Sathish,
You can fetch desired format data from table as following way:
Output:
Hope, this will help you!