In Hershoes: When Maggie comes home from work, she finds Ella, Lewis, and Mrs. Lefkowitz watching the show on TV, in an attempt to bond with Maggie. Sure enough, Maggie mentions she's seen that particular episode, and finds it funny.
In Dogs Don't Talk, Ben's mom tells him he looks like Mikhail Baryshnikov. When Ben grumbles, "Great. I resemble a ballet dancer," his mom protests, "Baryshnikov was a real ladies' man! And he was one of Carrie Bradshaw's boyfriends in Sex and the City." Ben replies, "In other words, a wussy-type guy."
In Love Affairs of Nathaniel P., Nate gets annoyed with his friend Aurit badgering him about a recent date, objecting, "There is a lot more in the world than who wants to date whom and 'Oh my god, have you called her yet?' We might as well be on fucking Sex and the City."
In Brooklyn Nine-Nine episode "Bureau", at one point Captain Raymond Holt does extensive research on the series so that he can distract a security guard while other members of the team try to acquire a file as part of an unofficial investigation.
Mad TV had a parody called Sluts in the City which shows the women having sex or in sexual situations whenever they want, including at the bank, whilst buying a hot dog from a vendor or even bending over to puck something up.
Schitt's Creek references the show more than once. Alexis plans her first day of college look based on Carrie, and later during singles week Moira overhears three women with smokers cough talking about the show, and David refers to them as three raspy-voiced Mirandas.
Hark! A Vagrant: "Sufferagettes in the City" depicts various suffragettes acting like the sitcom characters and drunkenly harassing people in the streets while Susan B. Anthony looks on in annoyance.
Family Guy: In "You May Now Kiss the... Uh... Guy Who Receives", Brian gets people to sign a petition protesting Mayor West's proposed ban on gay marriage, and he mentions that he had to do things in West Quahog that he's not proud of. The ensuing cutaway shows him watching Sex and the City with a gay couple.
Brian: So, it's a show about three hookers and their mom?
Robot Chicken: One skit featured the women from The Golden Girls in a Sex in the City setting (as many critics have pointed out the similarities between both shows).
The Simpsons: The episode "Half-Decent Proposal" has Marge, Patty and Selma watching a spoof called Nookie In The City, which the latter two love, but then quickly turn the channel onceArli$$is announced as coming up next.