Is there analog og the MySQL\'s time_to_sec() ? I heed to perform query like the following on H2 database: