Postgres Sql Between Statements In Excel