Question : Cannot have aggregate function in WHERE clause

Hello, I'm getting the following error when executing the statement below:

Cannot have aggregate function in WHERE clause (Ranking=Min(Ranking)).


Select Title From News Where Ranking = Min(Ranking)

How can I overcome this?

Answer : Cannot have aggregate function in WHERE clause

ranking = dmin("ranking", "yourTable")
Random Solutions  
 
programming4us programming4us