Answer by taking a quote from the following article:

The Drew Carey Show is an American sitcom that aired on ABC from 1995 to 2004, and was set in Cleveland, Ohio, and revolved around the retail office and home life of "everyman" Drew Carey, a fictionalized version of the actor. The show was created by Carey, who had both stand-up comedy and writing experience, and Bruce Helford, who was once a writer for Roseanne. It was the first television show to have an episode simulcast on the Internet. Produced by Mohawk Productions in association with Warner Bros. Television, it debuted on September 13, 1995, and ranked among the Top 30 programs for four seasons before sliding in popularity.

"Moon Over Parma" was phased out during the second season by "Five O'Clock World" sung by The Vogues. This season introduced openings that paid homage to music videos which included the cast dancing and singing around the various sets of the show. In the third season, yet another change was made to "Cleveland Rocks", a cover of an Ian Hunter song performed by The Presidents of the United States of America. This change lasted until the second "wave" of the show ended, with the finale of Season 7.  The man who took over Mr. Bell's job after his firing was Nigel Wick, who served as a foil for both Drew and Mimi in the workplace. During this period, Drew and Mr. Wick also periodically took the top management job away from each other. This would usually result in Drew ending up back at his old job as Assistant Director of Personnel and Mr. Wick would miraculously retain his job as manager. By the end of Season 7, they were both Co-Managers before Winfred-Louder was closed down (albeit after undergoing drastic changes to stay in business).  Kate and Oswald became closer and eventually became romantically involved and almost married during the third season, but Kate stood Oswald up at the altar. Kate and Drew also became romantically involved and were on the verge of getting married, but they called it off when they realized they didn't feel the same about the prospect of children. Drew's cross-dressing brother Steve was introduced during this period. He eventually fell in love with Mimi and they had a child together, Gus (whose name was decided by means of a contest).  Drew also got married a number of times during this portion of the show. His first marriage was to Diane, a cocktail waitress in Las Vegas. This was only temporary however, as she needed Drew to retain custody of her children. His second marriage was to Mr. Wick, who forced Drew to marry him in a sham same-sex civil union in Vermont (the only place it was legal at the time) in hopes that the marriage would placate the Immigration and Naturalization Service. At the beginning of Season 7, Drew married both Nikki and Kate (the former had been a recurring character for some time since Season 3, and suffered from weight problems). They found out about this and all three of these marriages ended in divorce, and Drew became known as the "Impotent Bisexual Bigamist". Nikki eventually returned, and the actress, Kate Walsh, donned a fat suit again and moved in with Drew.  During this period the show also had frequent "event" episodes. Recurring themes were "What's Wrong With This Episode?", in which the show contained numerous deliberate continuity errors and other mistakes and invited viewers at home to find the most errors and win a prize, and live episodes, with loose plots and improvised scenes featuring cast members from Carey's improvisational comedy show Whose Line Is It Anyway? (Brad Sherwood, Wayne Brady, Colin Mochrie, Greg Proops, Chip Esten, Kathy Greenwood, Jeff Davis, Laura Hall, and Linda Taylor) contributed to these episodes, with Brad Sherwood hosting.

did those seasons have high ratings