Need help with Query

userZ

Registered User.
Local time
Today, 04:52
Joined
Oct 14, 2014
Messages
12
Access DB:
TableA:
ID, team, group, date, time, game, result, city, country

Need a query that extracts the last (max (date plus time)) game a team has played where city name starts with "abc" or "def".

select ID, team, group, date, time, game, result, city from TableA .....

:banghead:
 
sounds like school work, what does your textbook say?

Next word will be "Where" and you will need a "group by" too :P
 
No, it is not a school work. It is a fun project.
 
Your table is designed wrong. You need other tables....
TTeams
TeamID, team name,

TRoster
PersonID,name,position, TeamID

TMatches
MatchID, date,homeID,VisitorID,location,homeScore,VisitScore
 

Users who are viewing this thread

Back
Top Bottom