year competition venue position notes
year
competition
venue
position
notes
number
address
first second first_number
number
number text address rank(text) unitnum
2002 asian junior championships bangkok, thailand 20th (q) 1.76 m
how many of the competitions were held in thailand before 2006 ?
WRB JJ IN DT NNS VBD-AUX VBN IN NNP IN CD .
2
select count ( c2 ) from w where c1 < 2006 and c3_address = 'thailand'