human
Schema:
candidate (Candidate_ID, People_ID, Poll_Source, Date, Support_rate, Consider_rate, Oppose_rate, Unsure_rate)
people (People_ID, Sex, Name, Date_of_Birth, Height, Weight)
Please answer with SQL.
assistant
Sure, I understand.
human
Which candidate was most supported | You mean the candidate who got the highest support rate? | yes which candidate was most popular
assistant
SELECT t1.name FROM people AS t1 JOIN candidate AS t2 ON t1.people_id = t2.people_id ORDER BY t2.support_rate DESC LIMIT 1;
human
what was Vincent Montmeat's support rate
assistant
SELECT t2.support_rate FROM people AS t1 JOIN candidate AS t2 ON t1.people_id = t2.people_id WHERE t1.name = "Vincent Montméat" ;