February 15, 2024 at 8:32 am
Good day Experts,
How can i combine these two rows into one in sql .So i want it to be one row.
Many thanks
February 15, 2024 at 9:22 am
What do you want to see if the values are different? Which value takes precedence?
If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.
February 15, 2024 at 2:56 pm
If I'm thinking the same way as you, just use SUM on each column with a GROUP BY on what you have in the left-most column.
Also, this isn't your first time on this forum... you know if you want a coded example, you need to provide "Readily Consumable Data". Please see the article at the first link in may signature line for one of many ways to do that.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply