I have problems with subquerys, in fact I don't know how to avoid using the same condition in the query and subquery.
For example, i have the table
cars(Carnumber,DateofAcquisition)
I need to find out in which of the last five years were purchased the most cars??
SELECT...