Get first row of each hour

First, get min id of each hour

Complete