Hello,
I am having trouble writing the following query:
All Students that in the first year were Qualified (Qualified=Yes) but the next or any following year were NOT Qualified (Qualified=No)
This is the source table sample:
StudentID StudentFirst StudentLast Start Year Qualified
2CSP000010 Stephanie Smith 2005 2005 Yes
2CSP000010 Stephanie Smith 2005 2008 Yes
2CSP000010 Stephanie Smith 2005 2007 Yes
2CSP000010 Stephanie Smith 2005 2006 Yes
2CSP000011 Ashe Brewster 2005 2005 Yes
2CSP000011 Ashe Brewster 2005 2006 No
2CSP000012 Angel Stockton 2005 2005 Yes
2CSP000012 Angel Stockton 2005 2006 No
So this would only return Ashe, and Angel
Thank you very much everybody
I am having trouble writing the following query:
All Students that in the first year were Qualified (Qualified=Yes) but the next or any following year were NOT Qualified (Qualified=No)
This is the source table sample:
StudentID StudentFirst StudentLast Start Year Qualified
2CSP000010 Stephanie Smith 2005 2005 Yes
2CSP000010 Stephanie Smith 2005 2008 Yes
2CSP000010 Stephanie Smith 2005 2007 Yes
2CSP000010 Stephanie Smith 2005 2006 Yes
2CSP000011 Ashe Brewster 2005 2005 Yes
2CSP000011 Ashe Brewster 2005 2006 No
2CSP000012 Angel Stockton 2005 2005 Yes
2CSP000012 Angel Stockton 2005 2006 No
So this would only return Ashe, and Angel
Thank you very much everybody