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
Sonali Avhad
NA
234
42.5k
SQL Pivot Query for Student Details
Oct 8 2020 1:16 AM
i have query which display following output.
AdmissionNo FirstName LastName SubjectName
0001 Piya Sharma Sub1
0001 Piya Sharma Sub3
0001 Piy Sharma Sub5
but i want following output.
please tell me pivot query or any other option to display following output.
AdmissionNo FirstName LastName SubjectName Sub1 Sub2 Sub3 Sub4 Sub5
0001 Piya Sharma Sub1 Yes No No No No
0001 Piya Sharma Sub3 No No Yes No No
0001 Piya Sharma Sub5 No No No No Yes
Reply
Answers (
2
)
Runtime error at the time of Registration data save after click onsave
The state information is invalid for this page and might be corrupted.