user: Question: Where is the company headquarted that has a Market value ( USD million) larger than 146139, a Rank above 3, and a Primary industry of Oil and gas?
Columns: ['Rank', 'Name', 'Headquarters', 'Primary industry', 'Market value ( USD million)']
Types: ['real', 'text', 'text', 'text', 'real']
Sample row: [1.0, 'General Electric', 'United States', 'Conglomerate', 222748.0]
SQL:

assistant: SELECT "Headquarters" FROM "Table" WHERE "Market value ( USD million)" > 146139.0 AND "Rank" < 3.0 AND "Primary industry" = 'Oil and gas';