Continuity mistake: Just before the end credits, Boyle is walking to his desk and he places his jacket over his chair with his bag on top of the coat. The shot changes to Peralta speaking but then the shot goes back onto Boyle and the jacket has disappeared. (00:20:20)
Plot hole: Nick is meant to be in a café for the month her gallery was robbed, but they also have sex on the canvas on the night of the robbery.
Answer: In reality, the Commissioner is a civilian administrator, appointed by the mayor of New York City. He (as of this writing, the role has always been filled by a man; the show gets that part right) is usually someone who has risen through the ranks of the NYPD, but upon becoming Commissioner, is no longer a sworn member of the force (the highest sworn rank is that of Chief). Since Commissioners are appointed, technically anyone can serve in the position, including Deputy Commissioners (who are appointed, in turn, by the Commissioner himself).
Update: On 1 January 2022, Keechant Sewell became the first ever female commissioner of the NYPD.