TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Janardhan Reddy
NA
3
1.1k
select statement while loop
Oct 6 2014 2:15 PM
Hi
Iam new for Sql I want fetch the data from DB below format using while loop .pls help me
This is my DB data look like :
counterno
value
date
1
200
6-Oct-14
1
300
6-Oct-14
2
100
6-Oct-14
2
800
6-Oct-14
3
900
6-Oct-14
4
100000
6-Oct-14
5
2000
6-Oct-14
5
3000
6-Oct-14
7
200
6-Oct-14
7
100
6-Oct-14
I want out put like this.
counterno
value
date
1
500
6-Oct-14
2
900
6-Oct-14
3
900
6-Oct-14
4
100000
6-Oct-14
5
5000
6-Oct-14
7
300
6-Oct-14
Reply
Answers (
4
)
Get the columns from the XML data
convert ASP VBScript SQL to ASP.NET(C#)SQL~