{ "db_name": "PostgreSQL", "query": "select LEAST(MIN(team_home), MIN(team_away)) as team_id from matches\n INNER JOIN teams ON (team_home = teams.id OR team_away = teams.id)\n WHERE matches.default_date IS NULL AND matches.format in ('highlander', 'sixes', 'fours', 'ultiduo')\n AND region in ('europe', 'north-america', 'south-america', 'australia')\n ", "describe": { "columns": [ { "ordinal": 0, "name": "team_id", "type_info": "Int4" } ], "parameters": { "Left": [] }, "nullable": [null] }, "hash": "631de9f3d616e0ef8783af472b3c8f19e40fe49da51ac0eecea3b9ca495d5c16" }