Postgresql Select Multiple Rows In Tanstack