Table: gymnastics_2008_qual_2
Columns: position
gymnast
a_score
b_score
total

Question: What's the total that the position is less than 1?
SQL: SELECT MIN("total") FROM gymnastics_2008_qual_2 WHERE "position" < 1

Question: What the B Score when the total is 16.125 and the position is less than 7?
SQL: SELECT SUM("b_score") FROM gymnastics_2008_qual_2 WHERE "position" < 7 AND "total" = 16.125