text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where is the City of Douala?
### Context:
CREATE TABLE table_name_59 (country VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_59 WHERE city = "douala" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which airport is in South Africa and has a ICAO fajs?
### Context:
CREATE TABLE table_name_44 (airport VARCHAR, country VARCHAR, icao VARCHAR) [/INST]
### Response:
SELECT airport FROM table_name_44 WHERE country = "south africa" AND icao = "fajs" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Cuba's ICAO?
### Context:
CREATE TABLE table_name_63 (icao VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT icao FROM table_name_63 WHERE country = "cuba" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Angola's airport and ICAO of fnsa?
### Context:
CREATE TABLE table_name_75 (airport VARCHAR, country VARCHAR, icao VARCHAR) [/INST]
### Response:
SELECT airport FROM table_name_75 WHERE country = "angola" AND icao = "fnsa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What team plays at home at Windy Hill?
### Context:
CREATE TABLE table_name_28 (home_team VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_28 WHERE venue = "windy hill" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was Footscray's score as an away team?
### Context:
CREATE TABLE table_name_45 (away_team VARCHAR) [/INST]
### Response:
SELECT away_team AS score FROM table_name_45 WHERE away_team = "footscray" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What day is richmond the away side?
### Context:
CREATE TABLE table_name_71 (date VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_71 WHERE away_team = "richmond" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the home team when hawthorn is the away team?
### Context:
CREATE TABLE table_name_95 (home_team VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_95 WHERE away_team = "hawthorn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the game with odds of winning 1 in 4.23 with a top prize of $15,000?
### Context:
CREATE TABLE table_name_92 (game_name VARCHAR, odds_of_winning VARCHAR, top_prize VARCHAR) [/INST]
### Response:
SELECT game_name FROM table_name_92 WHERE odds_of_winning = "1 in 4.23" AND top_prize = "$15,000" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the launch date odds of winning 1 in 4.23 with a top prize of $15,000?
### Context:
CREATE TABLE table_name_30 (launch_date VARCHAR, odds_of_winning VARCHAR, top_prize VARCHAR) [/INST]
### Response:
SELECT launch_date FROM table_name_30 WHERE odds_of_winning = "1 in 4.23" AND top_prize = "$15,000" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the launch date odds of winning 1 in 4.54?
### Context:
CREATE TABLE table_name_2 (launch_date VARCHAR, odds_of_winning VARCHAR) [/INST]
### Response:
SELECT launch_date FROM table_name_2 WHERE odds_of_winning = "1 in 4.54" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the launch date odds of winning 1 in 4.44?
### Context:
CREATE TABLE table_name_92 (launch_date VARCHAR, odds_of_winning VARCHAR) [/INST]
### Response:
SELECT launch_date FROM table_name_92 WHERE odds_of_winning = "1 in 4.44" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the game with a top prize of $888?
### Context:
CREATE TABLE table_name_55 (game_name VARCHAR, top_prize VARCHAR) [/INST]
### Response:
SELECT game_name FROM table_name_55 WHERE top_prize = "$888" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the top price of $1 with a launch date on February 12, 2008?
### Context:
CREATE TABLE table_name_3 (top_prize VARCHAR, price VARCHAR, launch_date VARCHAR) [/INST]
### Response:
SELECT top_prize FROM table_name_3 WHERE price = "$1" AND launch_date = "february 12, 2008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the highest number of laps when there are less than 5 points for team garry rogers motorsport and the grid number is under 23?
### Context:
CREATE TABLE table_name_49 (laps INTEGER, grid VARCHAR, points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT MAX(laps) FROM table_name_49 WHERE points < 5 AND team = "garry rogers motorsport" AND grid < 23 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the driver who went 46 laps had less than 9 points and had a grid number under 12?
### Context:
CREATE TABLE table_name_81 (name VARCHAR, grid VARCHAR, laps VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_81 WHERE laps = 46 AND points < 9 AND grid < 12 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where was the 1966 final played?
### Context:
CREATE TABLE table_name_12 (finals_venue__surface_ VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT finals_venue__surface_ FROM table_name_12 WHERE year = 1966 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average Worst score for Mario Lopez as the Best dancer and Tango as the Dance?
### Context:
CREATE TABLE table_name_81 (worst_score INTEGER, best_dancer VARCHAR, dance VARCHAR) [/INST]
### Response:
SELECT AVG(worst_score) FROM table_name_81 WHERE best_dancer = "mario lopez" AND dance = "tango" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the highest Best score for the Dance Mambo?
### Context:
CREATE TABLE table_name_47 (best_score INTEGER, dance VARCHAR) [/INST]
### Response:
SELECT MAX(best_score) FROM table_name_47 WHERE dance = "mambo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the Best dancer with the Worst dancer of Jerry Springer, a Best score of 29, and the Dance was the Quickstep?
### Context:
CREATE TABLE table_name_47 (best_dancer VARCHAR, dance VARCHAR, worst_dancer VARCHAR, best_score VARCHAR) [/INST]
### Response:
SELECT best_dancer FROM table_name_47 WHERE worst_dancer = "jerry springer" AND best_score = 29 AND dance = "quickstep" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many dances placed below 1 with a point total of 40?
### Context:
CREATE TABLE table_name_69 (number_of_dances VARCHAR, place VARCHAR, total_points VARCHAR) [/INST]
### Response:
SELECT number_of_dances FROM table_name_69 WHERE place > 1 AND total_points = 40 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest number of dances with a rank larger than 4 and a place of 8?
### Context:
CREATE TABLE table_name_93 (number_of_dances INTEGER, rank_by_average VARCHAR, place VARCHAR) [/INST]
### Response:
SELECT MIN(number_of_dances) FROM table_name_93 WHERE rank_by_average > 4 AND place = 8 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest number of dances with a less than 2 place and an average smaller than 27.5?
### Context:
CREATE TABLE table_name_83 (number_of_dances INTEGER, place VARCHAR, average VARCHAR) [/INST]
### Response:
SELECT MIN(number_of_dances) FROM table_name_83 WHERE place < 2 AND average < 27.5 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total difference for teams that played less than 6 games?
### Context:
CREATE TABLE table_name_38 (diff INTEGER, played INTEGER) [/INST]
### Response:
SELECT SUM(diff) FROM table_name_38 WHERE played < 6 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the highest number of games played for teams that lost over 5 games and had an against total of 228?
### Context:
CREATE TABLE table_name_52 (played INTEGER, lost VARCHAR, against VARCHAR) [/INST]
### Response:
SELECT MAX(played) FROM table_name_52 WHERE lost > 5 AND against = 228 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many games lost for team(s) with less than 4 paints and against total of over 340?
### Context:
CREATE TABLE table_name_65 (lost VARCHAR, points VARCHAR, against VARCHAR) [/INST]
### Response:
SELECT COUNT(lost) FROM table_name_65 WHERE points < 4 AND against > 340 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What week was the game that had an attendance of 24,242?
### Context:
CREATE TABLE table_name_34 (week VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT week FROM table_name_34 WHERE attendance = "24,242" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the attendance of the game that had a score of l 35–14?
### Context:
CREATE TABLE table_name_8 (attendance VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_8 WHERE result = "l 35–14" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When was the pre-Week 10 game that had an attendance of over 38,865?
### Context:
CREATE TABLE table_name_98 (date VARCHAR, week VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_98 WHERE week < 10 AND attendance = "38,865" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Location has a PPV Buyrate of 775,000?
### Context:
CREATE TABLE table_name_26 (location VARCHAR, ppv_buyrate VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_26 WHERE ppv_buyrate = "775,000" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where did Geelong play as the away team?
### Context:
CREATE TABLE table_name_62 (venue VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_62 WHERE away_team = "geelong" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the away team's score against Hawthorn?
### Context:
CREATE TABLE table_name_23 (away_team VARCHAR) [/INST]
### Response:
SELECT away_team AS score FROM table_name_23 WHERE away_team = "hawthorn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When Fitzroy was the home team, what was the away team's score?
### Context:
CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT away_team AS score FROM table_name_33 WHERE home_team = "fitzroy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How big was the largest crowd recorded at the Arden Street Oval venue?
### Context:
CREATE TABLE table_name_73 (crowd INTEGER, venue VARCHAR) [/INST]
### Response:
SELECT MAX(crowd) FROM table_name_73 WHERE venue = "arden street oval" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the smallest attendance in week 1?
### Context:
CREATE TABLE table_name_76 (attendance INTEGER, week VARCHAR) [/INST]
### Response:
SELECT MIN(attendance) FROM table_name_76 WHERE week = 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the larges week for the date august 9, 1968 and less than 64,020 in attendance?
### Context:
CREATE TABLE table_name_14 (week INTEGER, date VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT MAX(week) FROM table_name_14 WHERE date = "august 9, 1968" AND attendance < 64 OFFSET 020 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the smallest attendance number for august 9, 1968?
### Context:
CREATE TABLE table_name_45 (attendance INTEGER, date VARCHAR) [/INST]
### Response:
SELECT MIN(attendance) FROM table_name_45 WHERE date = "august 9, 1968" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the result of the game on august 30, 1968?
### Context:
CREATE TABLE table_name_69 (result VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_69 WHERE date = "august 30, 1968" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the class of the w267an call sign?
### Context:
CREATE TABLE table_name_13 (class VARCHAR, call_sign VARCHAR) [/INST]
### Response:
SELECT class FROM table_name_13 WHERE call_sign = "w267an" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest ERP W of the 67829 Facility ID?
### Context:
CREATE TABLE table_name_54 (erp_w INTEGER, facility_id VARCHAR) [/INST]
### Response:
SELECT MIN(erp_w) FROM table_name_54 WHERE facility_id = 67829 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the FCC info for the call sign with a frequency MHz of 101.3, a ERP W over 10, and a Facility ID smaller than 87027?
### Context:
CREATE TABLE table_name_52 (fcc_info VARCHAR, facility_id VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) [/INST]
### Response:
SELECT fcc_info FROM table_name_52 WHERE frequency_mhz = 101.3 AND erp_w > 10 AND facility_id < 87027 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the average of the Off Reb with steals less than 8 and FTM-FTA of 16-17?
### Context:
CREATE TABLE table_name_29 (off_reb INTEGER, ftm_fta VARCHAR, steals VARCHAR) [/INST]
### Response:
SELECT AVG(off_reb) FROM table_name_29 WHERE ftm_fta = "16-17" AND steals < 8 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which song released on heavenly (hvn152)?
### Context:
CREATE TABLE table_name_86 (song VARCHAR, release_info VARCHAR) [/INST]
### Response:
SELECT song FROM table_name_86 WHERE release_info = "heavenly (hvn152)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which album had a release of heavenly (hvn95)?
### Context:
CREATE TABLE table_name_56 (album VARCHAR, release_info VARCHAR) [/INST]
### Response:
SELECT album FROM table_name_56 WHERE release_info = "heavenly (hvn95)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the sum of all the rounds when a Florida State player was drafted?
### Context:
CREATE TABLE table_name_8 (round VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT COUNT(round) FROM table_name_8 WHERE college = "florida state" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average round in which a Safety with an overall rank higher than 89 was drafted?
### Context:
CREATE TABLE table_name_41 (round INTEGER, position VARCHAR, overall VARCHAR) [/INST]
### Response:
SELECT AVG(round) FROM table_name_41 WHERE position = "safety" AND overall > 89 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where was 2010 tournament where the United States received the silver?
### Context:
CREATE TABLE table_name_18 (venue VARCHAR, silver VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_18 WHERE silver = "united states" AND year = 2010 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where was the tournament where Finland received the bronze and the United States received the silver?
### Context:
CREATE TABLE table_name_22 (venue VARCHAR, bronze VARCHAR, silver VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_22 WHERE bronze = "finland" AND silver = "united states" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who received the gold at the tournament at bratislava where the Czech Republic received the silver?
### Context:
CREATE TABLE table_name_58 (gold VARCHAR, silver VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT gold FROM table_name_58 WHERE silver = "czech republic" AND venue = "bratislava" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where was the post 1991 tournament where the Czech Republic received the bronze and Russia received the silver?
### Context:
CREATE TABLE table_name_40 (venue VARCHAR, silver VARCHAR, year VARCHAR, bronze VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_40 WHERE year > 1991 AND bronze = "czech republic" AND silver = "russia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the away team at the game at Kardinia Park?
### Context:
CREATE TABLE table_name_99 (away_team VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT away_team FROM table_name_99 WHERE venue = "kardinia park" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the smallest crowd for a Melbourne away game?
### Context:
CREATE TABLE table_name_83 (crowd INTEGER, away_team VARCHAR) [/INST]
### Response:
SELECT MIN(crowd) FROM table_name_83 WHERE away_team = "melbourne" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What day did the team play on week 8?
### Context:
CREATE TABLE table_name_55 (date VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_55 WHERE week = 8 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the average size of the crowd for matches held at Corio Oval?
### Context:
CREATE TABLE table_name_28 (crowd INTEGER, venue VARCHAR) [/INST]
### Response:
SELECT AVG(crowd) FROM table_name_28 WHERE venue = "corio oval" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What home team played against St Kilda?
### Context:
CREATE TABLE table_name_68 (home_team VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_68 WHERE away_team = "st kilda" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
At what venue was South Melbourne the home team?
### Context:
CREATE TABLE table_name_87 (venue VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_87 WHERE home_team = "south melbourne" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was Hawthorn's score when they were the home team?
### Context:
CREATE TABLE table_name_24 (home_team VARCHAR) [/INST]
### Response:
SELECT home_team AS score FROM table_name_24 WHERE home_team = "hawthorn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the home team's score when they played at Lake Oval?
### Context:
CREATE TABLE table_name_96 (home_team VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT home_team AS score FROM table_name_96 WHERE venue = "lake oval" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the latest available income inequality for the country with a population of 21,315,135?
### Context:
CREATE TABLE table_name_91 (income_inequality_1994_2011__latest_available_ VARCHAR, population_2011 VARCHAR) [/INST]
### Response:
SELECT income_inequality_1994_2011__latest_available_ FROM table_name_91 WHERE population_2011 = "21,315,135" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the IEF 2011 of the country with an FSI 2012 of 99.2?
### Context:
CREATE TABLE table_name_96 (ief_2011 VARCHAR, fsi_2012 VARCHAR) [/INST]
### Response:
SELECT ief_2011 FROM table_name_96 WHERE fsi_2012 = "99.2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the current income inequality for the country of Seychelles?
### Context:
CREATE TABLE table_name_15 (income_inequality_1994_2011__latest_available_ VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT income_inequality_1994_2011__latest_available_ FROM table_name_15 WHERE country = "seychelles" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the HDI 2011 of the country with a DI 2011 of 7.63?
### Context:
CREATE TABLE table_name_54 (hdi_2011 VARCHAR, di_2011 VARCHAR) [/INST]
### Response:
SELECT hdi_2011 FROM table_name_54 WHERE di_2011 = "7.63" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What country has an IEF 2011 of 45.3?
### Context:
CREATE TABLE table_name_46 (country VARCHAR, ief_2011 VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_46 WHERE ief_2011 = "45.3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date did South Melbourne play as the Away team?
### Context:
CREATE TABLE table_name_79 (date VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_79 WHERE away_team = "south melbourne" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where did Essendon play as the home team?
### Context:
CREATE TABLE table_name_95 (venue VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_95 WHERE home_team = "essendon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What position does the player from arkansas play?
### Context:
CREATE TABLE table_name_54 (position VARCHAR, school_country VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_54 WHERE school_country = "arkansas" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the away side at glenferrie oval?
### Context:
CREATE TABLE table_name_90 (away_team VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT away_team FROM table_name_90 WHERE venue = "glenferrie oval" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the away side's score when richmond is at home?
### Context:
CREATE TABLE table_name_3 (away_team VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT away_team AS score FROM table_name_3 WHERE home_team = "richmond" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the crowd size at Collingwood's match?
### Context:
CREATE TABLE table_name_43 (crowd VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT crowd FROM table_name_43 WHERE home_team = "collingwood" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the crowd size at Arden Street Oval?
### Context:
CREATE TABLE table_name_51 (crowd VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT crowd FROM table_name_51 WHERE venue = "arden street oval" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the status of the match between Scotland v Northern Ireland?
### Context:
CREATE TABLE table_name_70 (status_of_match VARCHAR, fixture VARCHAR) [/INST]
### Response:
SELECT status_of_match FROM table_name_70 WHERE fixture = "scotland v northern ireland" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In what week was the game on August 10, 1956 played?
### Context:
CREATE TABLE table_name_54 (week INTEGER, date VARCHAR) [/INST]
### Response:
SELECT AVG(week) FROM table_name_54 WHERE date = "august 10, 1956" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the attendance of the game in week 6?
### Context:
CREATE TABLE table_name_9 (attendance VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_9 WHERE week = 6 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In what week was the game on August 24, 1956 played in front of 40,175 fans?
### Context:
CREATE TABLE table_name_10 (week INTEGER, date VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT MAX(week) FROM table_name_10 WHERE date = "august 24, 1956" AND attendance > 40 OFFSET 175 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What signal quality does the KCAL-DT channel have?
### Context:
CREATE TABLE table_name_96 (signal_quality VARCHAR, station_call_letters VARCHAR) [/INST]
### Response:
SELECT signal_quality FROM table_name_96 WHERE station_call_letters = "kcal-dt" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What original channel is associated with B Mountain Channel 9?
### Context:
CREATE TABLE table_name_39 (original_channel VARCHAR, b_mountain_channel VARCHAR) [/INST]
### Response:
SELECT original_channel FROM table_name_39 WHERE b_mountain_channel = "9" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What B Mountain Channel has station call letters of k41go?
### Context:
CREATE TABLE table_name_75 (b_mountain_channel VARCHAR, station_call_letters VARCHAR) [/INST]
### Response:
SELECT b_mountain_channel FROM table_name_75 WHERE station_call_letters = "k41go" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Laurel Mountain Channel is associated with B Mountain Channel of 7?
### Context:
CREATE TABLE table_name_51 (laurel_mountain_channel VARCHAR, b_mountain_channel VARCHAR) [/INST]
### Response:
SELECT laurel_mountain_channel FROM table_name_51 WHERE b_mountain_channel = "7" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are the translator call letters for station call letters of KCOP-DT?
### Context:
CREATE TABLE table_name_94 (translator_call_letters VARCHAR, station_call_letters VARCHAR) [/INST]
### Response:
SELECT translator_call_letters FROM table_name_94 WHERE station_call_letters = "kcop-dt" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date was fitzroy the home team?
### Context:
CREATE TABLE table_name_2 (date VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_2 WHERE home_team = "fitzroy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score for the away team when the home team was richmond?
### Context:
CREATE TABLE table_name_75 (away_team VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT away_team AS score FROM table_name_75 WHERE home_team = "richmond" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the venue where the home team is Footscray?
### Context:
CREATE TABLE table_name_57 (venue VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_57 WHERE home_team = "footscray" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the venue for the game on 1 June 1929 where Richmond was the away team?
### Context:
CREATE TABLE table_name_96 (venue VARCHAR, date VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_96 WHERE date = "1 june 1929" AND away_team = "richmond" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the speed of the rider that earned 1 point?
### Context:
CREATE TABLE table_name_24 (speed VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT speed FROM table_name_24 WHERE points = 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What away team is playing at the Brunswick Street Oval Venue?
### Context:
CREATE TABLE table_name_22 (away_team VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT away_team FROM table_name_22 WHERE venue = "brunswick street oval" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date does the Home team of Richmond have?
### Context:
CREATE TABLE table_name_32 (date VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_32 WHERE home_team = "richmond" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the home team at Victoria Park on 20 April 1957?
### Context:
CREATE TABLE table_name_62 (home_team VARCHAR, date VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_62 WHERE date = "20 april 1957" AND venue = "victoria park" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What municipality is the Harmon Cove station located in?
### Context:
CREATE TABLE table_name_58 (municipality VARCHAR, station VARCHAR) [/INST]
### Response:
SELECT municipality FROM table_name_58 WHERE station = "harmon cove" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What municipality is the Benson Street station located in?
### Context:
CREATE TABLE table_name_53 (municipality VARCHAR, station VARCHAR) [/INST]
### Response:
SELECT municipality FROM table_name_53 WHERE station = "benson street" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date shows corrado barazzutti's partner?
### Context:
CREATE TABLE table_name_99 (date VARCHAR, partner VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_99 WHERE partner = "corrado barazzutti" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which date has the tom gullikson butch walts final, and who was the runner-up?
### Context:
CREATE TABLE table_name_74 (date VARCHAR, outcome VARCHAR, opponents_in_the_final VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_74 WHERE outcome = "runner-up" AND opponents_in_the_final = "tom gullikson butch walts" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the home team of the game against Essendon?
### Context:
CREATE TABLE table_name_96 (home_team VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_name_96 WHERE away_team = "essendon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the color commentator for ESPN from 1990 to 1992?
### Context:
CREATE TABLE table_name_70 (color_commentator_s_ VARCHAR, network VARCHAR) [/INST]
### Response:
SELECT color_commentator_s_ FROM table_name_70 WHERE network = "espn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the sideline reporter prior to 1993?
### Context:
CREATE TABLE table_name_8 (sideline_reporter_s_ VARCHAR, year INTEGER) [/INST]
### Response:
SELECT sideline_reporter_s_ FROM table_name_8 WHERE year < 1993 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the play by play commentator for ABC after 1998?
### Context:
CREATE TABLE table_name_61 (play_by_play VARCHAR, network VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT play_by_play FROM table_name_61 WHERE network = "abc" AND year > 1998 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the earliest year that Al Michaels was the play-by-play commentator, in which Lesley Visser and Dan Fouts were also sideline reporters?
### Context:
CREATE TABLE table_name_99 (year INTEGER, play_by_play VARCHAR, sideline_reporter_s_ VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_name_99 WHERE play_by_play = "al michaels" AND sideline_reporter_s_ = "lesley visser and dan fouts" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For how many years combined were Frank Gifford and Dan Dierdorf color commentators?
### Context:
CREATE TABLE table_name_61 (year VARCHAR, color_commentator_s_ VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_name_61 WHERE color_commentator_s_ = "frank gifford and dan dierdorf" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which sideline reporters worked alongside Frank Gifford and Dan Dierdorf?
### Context:
CREATE TABLE table_name_17 (sideline_reporter_s_ VARCHAR, color_commentator_s_ VARCHAR) [/INST]
### Response:
SELECT sideline_reporter_s_ FROM table_name_17 WHERE color_commentator_s_ = "frank gifford and dan dierdorf" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When was the Lundy withdrawn?
### Context:
CREATE TABLE table_name_49 (withdrawn VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT withdrawn FROM table_name_49 WHERE name = "lundy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When was the locomotive named fighter command built?
### Context:
CREATE TABLE table_name_28 (whenbuilt VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT whenbuilt FROM table_name_28 WHERE name = "fighter command" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.