user: Question: When did the country that produced 1,213,000 (21st) bbl/day join Opec?
Columns: ['Country', 'Region', 'Joined OPEC', 'Population (July 2012)', 'Area (km²)', 'Production ( bbl /day)']
Types: ['text', 'text', 'real', 'real', 'real', 'text']
Sample row: ['Algeria', 'Africa', 1969.0, 37367226.0, 2381740.0, '2,125,000 (16th)']
SQL:

assistant: SELECT "Joined OPEC" FROM "Table" WHERE "Production ( bbl /day)" = '1,213,000 (21st)';