rank nation gold silver bronze total
rank
nation
gold
silver
bronze
total
first second
number
number
number
number
text text(text) number number number number
1 great britain (gbr) 2 1 2 5
what nation was next to great britain in total medal count ?
WDT NN VBD-AUX JJ TO JJ NNP IN JJ NN NN .
Spain
select c2_first from w where c6_number < ( select c6_number from w where c2_first = 'great britain' ) order by c6_number desc limit 1