Sir George Fuller, the NSW premier who served the shortest term (seven hours), pictured with visiting French Rear Admiral F L Gilly at New South Wales parliament house during his second term in office in 1923. Photograph: Samuel J. Hood Studio Collection/Australian National Maritime Museum Flickr/Public Domain

Barry O'Farrell's term may have been cut short, but it's not even close to the shortest NSW premiership.

Here's the same table but showing total days in the office, which merges multiple, non-consecutive terms:

Laurie Ferguson's short stint was due to being made acting premier while Neville Wran stood down during the Street royal commission.

Here are the mean and total days in the premiership grouped by party:

On average, the longest terms are from the United Australia Party (the forerunner of the Liberal party), followed by Labor. On total length, the ALP comes out well ahead, with politicians belonging to no party and the Liberals a distant second and third.

This week a $3,000 bottle of wine toppled New South Wales premier Barry O'Farrell, after he failed to remember receiving a bottle of 1959 Penfolds Grange as a gift from lobbyist Nick Di Girolamo, despite having written a thank-you note. In the light of this, satirists A Rational Fear have made a new advertising campaign for the pricey tipple