SELECT G.GameID, GameDate, G.GameTime , G.HomeTeamID, G.AwayTeamID, Home.TeamName as Home, Away.TeamName as Away, Complete, G.HomeTeamResult, G.AwayTeamResult, G.HomeTeamScore, G.AwayTeamScore, Description, G.AMorPM, SH.school_name as HomeSchool , SA.school_name as AwaySchool, Home.short_name as HShort, Away.short_name as AShort, L.short_name, CASE WHEN AMorPM = 'PM' and GameTime < 12000 THEN GameTime +120005 ELSE GameTime +5 END as 'NEWTIME', L.LeagueName, sport_name, Away.school_id_fk as AwaySchools, Home.school_id_fk as HomeSchools , Home.logo as homelogo, Away.logo as awaylogo, S.sport_icon, RTA.ResultName as AwayResult, RTH.ResultName as HomeResult, Home.* From Games G Left Join Teams Home on Home.TeamID = HomeTeamID Left Join Teams Away on Away.TeamID = AwayTeamID Left Join Schools SH on SH.school_id = Home.school_id_fk Left Join Schools SA on SA.school_id = Away.school_id_fk LEFT JOIN Leagues L on L.LeagueID = G.LeagueID Left Join Sports S on S.sport_id = L.sport_id_fk LEFT JOIN ResultTypes RTH on HomeTeamResult = RTH.ResultTypeID LEFT JOIN ResultTypes RTA on AwayTeamResult = RTA.ResultTypeID Where G.is_deleted = 0 AND (Home.school_id_fk = 40 or Away.school_id_fk = 40) AND GameDate > '10/1/2014' ORDER BY GameDate, NEWTIME ASC, GameTime ASC Wed Apr 5 2017 06:00:00
  • MAGEN ABRAHAM
     
  • (0-8-0-0)
@

  • SHAARE T.
    Stars 
  • (3-4-0-1)
Result
Win: 13-0
Fri Apr 7 2017 02:30:00
  • MAGEN ABRAHAM
     
  • (0-8-0-0)
@

  • YDE
     
  • (7-1-0-0)
Result
Win: 14-0
Wed Apr 19 2017 06:00:00
  • MAGEN ABRAHAM
     
  • (0-8-0-0)
@

  • FLATBUSH
     
  • (4-4-0-0)
Result
Win: 17-1
Fri Apr 21 2017 01:00:00
  • MAGEN ABRAHAM
     
  • (0-8-0-0)
@

  • SHAARE T.
    Stars 
  • (3-4-0-1)
Result
Win: 15-5
Fri Apr 28 2017 02:15:00
  • YDE
     
  • (7-1-0-0)
@

  • MAGEN ABRAHAM
     
  • (0-8-0-0)
Result
Loss: 2-12
Tue May 2 2017 06:00:00
  • MAGEN ABRAHAM
     
  • (0-8-0-0)
@

  • FLATBUSH
     
  • (4-4-0-0)
Result
Win: 11-1
Wed May 3 2017 06:00:00
  • MAGEN DAVID
     
  • (6-2-0-0)
@

  • MAGEN ABRAHAM
     
  • (0-8-0-0)
Result
Loss: 3-5
Wed May 3 2017 06:00:00 22:00:00
  • MAGEN ABRAHAM
     
  • (0-8-0-0)
@

  • MAGEN DAVID
     
  • (6-2-0-0)
Result
Win: 8-4

Click on game to see more info