Question: where did sex and the city take place
Answer: Set and filmed in New York City and based on Candace Bushnell 's 1997 book of the same name , the show follows the lives of a group of four women -- three in their mid-thirties and one in her forties -- who , despite their different natures and ever - changing sex lives , remain inseparable and confide in each other .