Quando é que o país que produziu 1.213.000 (21o) barris/dia entrou na OPEP?
CREATE TABLE table_166346_1 (joined_opec VARCHAR, production___bbl__day_ VARCHAR)
SELECT joined_opec FROM table_166346_1 WHERE production___bbl__day_ = "1,213,000 (21st)"