I'm very new to all SQL query language and SQL databases in general So after digging for an eternity seems i still can't solve these
I have a set of tables
PERSON(SSN, Name, Surname, BirthDate)
EVALUATION(CodE, Date, City, CompetitionType)
BID(SSN, CodE)
RANKING(CodE, Position, SSN )
And I need to make and run these 3 queries
1) Show the type of evaluations that, during January 2010, always took place in the same city.
2) For each person that bid for evaluations of type 'Level 3 employee', but does not appear in the final ranking, show SSN, name, surname, and the code of the evaluations for which she does not appear in the ranking.
3) Show the cities where there took place at least 10 evaluations of the same type, each having at least 50 bids.
So far I've tried
1)
SELECT E.CompetitionType
FROM Evaluation E
WHERE E.Date>="01.01.2010" and E.Date <="31.01.2010"```
// I don't know how to check for the same cities
2)
SELECT P.SSN, P.Name, P.Surname, E.CodE,
FROM PERSON P
And after that just blank...
3)
SELECT *
FROM EVALUATION E
JOIN BID where BID.CodE = E.CodE
HAVING COUNT(*) > 50
And again can't even check for the same type
Updated to show what i've tried so far