Instruct: What was the sum of Value ($M), when the Revenue ($M) was less than 307, the Team was Valencia, and the Rank was smaller than 19?
Output: SELECT SUM Value ($M) FROM table WHERE Revenue ($M) < 307 AND Team = valencia AND Rank < 19