I have attendance record against ID which show he/she was present on that day or not and I want to show the data through sql query in one single row which is in multiple rows against that ID. SO please help me figure out this problem asap.
Get this result from database after executing the query:
abc 1/2/2013 Present
abc 2/2/2013 Present
abc 3/2/2013 Present
abc 4/2/2013 Present
abc 5/2/2013 Present
abc 6/2/2013 Present
Expected Result:
Name Date1 Date2 Date3 Date4 Date5
abc Present Present Present Present Present