Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE table_6182 ( "Rank" real, "Name" text, "Headquarters" text, "Primary industry" text, "Market value ( USD million)" real )

### Question ###
Where is the company headquarted that has a Market value ( USD million) larger than 146,139, a Rank above 3, and a Primary industry of oil and gas?

### Accurate SQL ###

SELECT "Headquarters" FROM table_6182 WHERE "Market value ( USD million)" > '146,139' AND "Rank" < '3' AND "Primary industry" = 'oil and gas'