Microsoft
Software
Hardware
Network
Question : I need to accumulate the values in query
hi expert,
my data in database is like this (img1), i want the out put in a query like the (img2)
Please help...
Attachments:
img1.bmp
(546 KB)
(File Type Details)
The original data in the database
img2.bmp
(546 KB)
(File Type Details)
The required output in a query
Answer : I need to accumulate the values in query
can you give the query which it is currently getting that output. then can help to modify it.
we need to use analytical function to get that output you wanted. We can use LEAD() / LAG() to that output.
Thanks
Random Solutions
The trust relationship between this workstation and the primary domain failed
What Windows 7 Utility Suite Is Best
Using ADFind to input all account in specific OU where the Accounts expire is set after the current day
Any good advanced javascript books/links to recommend?
SQLCommandBuilder - GetUpdateCommand, GetInsertCommand and GetDeleteCommand Questions
cross domain javascript
PHP MySQL SELECT OPTGROUP parent value
PHP: Get 6 most recent Youtube video links
How to add domain to an XP terminal
Starting letters with XXX