The Owls took the lead through skipper Barry Bannan early doors and endured a push-and-pull first half in which the Rams had their moments. A big save from James Beadle preceded a Josh Windass 60-yard stunner that will be remembered by all those privileged enough to witness it - with Djedi Gassama and Anthony Musaba also scoring.
Derby scored two of their own in moments Wednesday will take a close look at at the other end, but a vital win takes the Owls up the table as they head into the carnage of a January transfer window.
Here are the ratings from Hillsborough.

5. Marvin Johnson - 5
Has hit a lull in his form. Didn't quite offer the threat he can - his role seems to have been reduced going forward - but the intensity he brings has gone missing. Off at the break. | UGC

6. Nathaniel Chalobah - 6
Made a couple of interventions early doors but looked a wee bit off it for the main part. A shame given his recent performances. Was taken off at half-time as they changed things up. | UGC

7. Svante Ingelsson - 7
Threatened in moments across both his roles. Offered legs - one early break forward was particularly easy on the eye. Then dropped in and offered presence. | UGC

8. Shea Charles - 8
Poked across the assist for Bannan's opener having produced one of his bursts forward. Won plenty of duels. Dropped in second half to steer things. | Steve Ellis / UGC

