Best solution per vulnerability

I’m looking for an SQL query to get a list of the best solution per vulnerability