Query to get Status of Students as 'Pass' or 'Fail' Using Date Condition [message #607817] |
Wed, 12 February 2014 05:02 |
sonudev
Messages: 26 Registered: November 2009 Location: bangalore
|
Junior Member |
|
|
Hi,
I need to find the list of students as 'Pass' or 'Fail' for a particular year. Then how to write a query using one date condition, lets say a year like 2013 from a list of years.
Suppose I have the data like:
name year status
XX 2010 Pass
XY 2011 Fail
XZ 2013 Pass
XD 2011 Pass
XF 2013 Pass
XC 2010 Fail
XB 2010 Pass
My requirement is:
Name Year Status
..... .... .....
XZ 2013 Pass
XF 2013 Pass
XY 2011 Fail
XD 2011 Pass
XX 2010 Pass
XC 2010 Fail
XB 2010 Pass
|
|
|
|
|
|