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: What is the Date with a Opponent with wimbledon, and a Result of won 2-0? ### Context: CREATE TABLE table_name_25 (date VARCHAR, opponent VARCHAR, result VARCHAR) [/INST] ### Response: SELECT date FROM table_name_25 WHERE opponent = "wimbledon" AND result = "won 2-0" </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 with a Date with 14 april 2002? ### Context: CREATE TABLE table_name_57 (venue VARCHAR, date VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_57 WHERE date = "14 april 2002" </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 withdrawn value with a GNRI greater than 172, name of Croagh Patrick and was rebuilt before 1939? ### Context: CREATE TABLE table_name_10 (withdrawn INTEGER, rebuilt VARCHAR, gnri_no VARCHAR, name VARCHAR) [/INST] ### Response: SELECT MIN(withdrawn) FROM table_name_10 WHERE gnri_no > 172 AND name = "croagh patrick" AND rebuilt < 1939 </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 California bowl played with 30,000 attending? ### Context: CREATE TABLE table_name_19 (location VARCHAR, bowl VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT location FROM table_name_19 WHERE bowl = "california bowl" AND attendance = "30,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 stadium had an opponent of Cal State Fullerton Titans? ### Context: CREATE TABLE table_name_56 (stadium VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT stadium FROM table_name_56 WHERE opponent = "cal state fullerton titans" </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 time/retired for thierry boutsen? ### Context: CREATE TABLE table_name_92 (time_retired VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT time_retired FROM table_name_92 WHERE driver = "thierry boutsen" </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 Pitch is located at Isle of Man? ### Context: CREATE TABLE table_name_97 (pitch VARCHAR, location VARCHAR) [/INST] ### Response: SELECT pitch FROM table_name_97 WHERE location = "isle of man" </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 English Name of the Location in Chester? ### Context: CREATE TABLE table_name_76 (name__english_ VARCHAR, location VARCHAR) [/INST] ### Response: SELECT name__english_ FROM table_name_76 WHERE location = "chester" </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 Location of the Old Bedians Pitch? ### Context: CREATE TABLE table_name_97 (location VARCHAR, pitch VARCHAR) [/INST] ### Response: SELECT location FROM table_name_97 WHERE pitch = "old bedians" </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: Name the report for v grand prix de paris ### Context: CREATE TABLE table_name_11 (report VARCHAR, race_name VARCHAR) [/INST] ### Response: SELECT report FROM table_name_11 WHERE race_name = "v grand prix de paris" </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: Name the report on 20 may ### Context: CREATE TABLE table_name_98 (report VARCHAR, date VARCHAR) [/INST] ### Response: SELECT report FROM table_name_98 WHERE date = "20 may" </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: Name the report for philip fotheringham-parker ### Context: CREATE TABLE table_name_74 (report VARCHAR, winning_driver VARCHAR) [/INST] ### Response: SELECT report FROM table_name_74 WHERE winning_driver = "philip fotheringham-parker" </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: Name the date for pescara ### Context: CREATE TABLE table_name_76 (date VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT date FROM table_name_76 WHERE circuit = "pescara" </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 catalogue on october 15, 2004? ### Context: CREATE TABLE table_name_34 (catalogue VARCHAR, date VARCHAR) [/INST] ### Response: SELECT catalogue FROM table_name_34 WHERE date = "october 15, 2004" </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: Name the label for january 24, 2005 ### Context: CREATE TABLE table_name_97 (label VARCHAR, date VARCHAR) [/INST] ### Response: SELECT label FROM table_name_97 WHERE date = "january 24, 2005" </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: Name the october 15, 2004 catalogue ### Context: CREATE TABLE table_name_48 (catalogue VARCHAR, date VARCHAR) [/INST] ### Response: SELECT catalogue FROM table_name_48 WHERE date = "october 15, 2004" </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: Name the date that is a cd ### Context: CREATE TABLE table_name_81 (date VARCHAR, format VARCHAR) [/INST] ### Response: SELECT date FROM table_name_81 WHERE format = "cd" </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: Name the region for december 7, 2004 ### Context: CREATE TABLE table_name_33 (region VARCHAR, date VARCHAR) [/INST] ### Response: SELECT region FROM table_name_33 WHERE date = "december 7, 2004" </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: Name the catalogue for australia ### Context: CREATE TABLE table_name_53 (catalogue VARCHAR, region VARCHAR) [/INST] ### Response: SELECT catalogue FROM table_name_53 WHERE region = "australia" </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 player is ranked 2 and played in the seasons of 1982–83, 1983–84, 1984–85? ### Context: CREATE TABLE table_name_10 (player VARCHAR, rank VARCHAR, seasons VARCHAR) [/INST] ### Response: SELECT player FROM table_name_10 WHERE rank = 2 AND seasons = "1982–83, 1983–84, 1984–85" </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 rankings are associated with giuseppe meazza holding over 3 titles? ### Context: CREATE TABLE table_name_35 (rank VARCHAR, player VARCHAR, titles VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_name_35 WHERE player = "giuseppe meazza" AND titles > 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 home team has had a crowd bigger than 20,000? ### Context: CREATE TABLE table_name_95 (home_team VARCHAR, crowd INTEGER) [/INST] ### Response: SELECT home_team FROM table_name_95 WHERE crowd > 20 OFFSET 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 venue had footscray play at it? ### Context: CREATE TABLE table_name_87 (venue VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_87 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: How much did the away team score at victoria park? ### Context: CREATE TABLE table_name_57 (away_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_57 WHERE 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 has 719 people and is larger than 108.46 km2? ### Context: CREATE TABLE table_name_30 (regional_county_municipality VARCHAR, area__km_2__ VARCHAR, population VARCHAR) [/INST] ### Response: SELECT regional_county_municipality FROM table_name_30 WHERE area__km_2__ > 108.46 AND population = 719 </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 region for Malartic with 159.31 km2? ### Context: CREATE TABLE table_name_14 (region VARCHAR, name VARCHAR, area__km_2__ VARCHAR) [/INST] ### Response: SELECT COUNT(region) FROM table_name_14 WHERE name = "malartic" AND area__km_2__ < 159.31 </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 Dupuy lowest area in km2? ### Context: CREATE TABLE table_name_22 (area__km_2__ INTEGER, name VARCHAR) [/INST] ### Response: SELECT MIN(area__km_2__) FROM table_name_22 WHERE name = "dupuy" </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 km2 area for the population of 311? ### Context: CREATE TABLE table_name_46 (area__km_2__ INTEGER, population VARCHAR) [/INST] ### Response: SELECT AVG(area__km_2__) FROM table_name_46 WHERE population = 311 </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 type has a population of 370? ### Context: CREATE TABLE table_name_77 (type VARCHAR, population VARCHAR) [/INST] ### Response: SELECT type FROM table_name_77 WHERE population = 370 </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 score of the away team that played home team Geelong? ### Context: CREATE TABLE table_name_18 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_18 WHERE home_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 source has a Knight of 2%? ### Context: CREATE TABLE table_name_88 (source VARCHAR, knight VARCHAR) [/INST] ### Response: SELECT source FROM table_name_88 WHERE knight = "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 Lanier has a Cardwell of 20%? ### Context: CREATE TABLE table_name_60 (lanier VARCHAR, cardwell VARCHAR) [/INST] ### Response: SELECT lanier FROM table_name_60 WHERE cardwell = "20%" </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 martin is on july 8–9, 2008? ### Context: CREATE TABLE table_name_36 (martin VARCHAR, date VARCHAR) [/INST] ### Response: SELECT martin FROM table_name_36 WHERE date = "july 8–9, 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 source has a cardwell of 20%? ### Context: CREATE TABLE table_name_18 (source VARCHAR, cardwell VARCHAR) [/INST] ### Response: SELECT source FROM table_name_18 WHERE cardwell = "20%" </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 martin has a lanier of 6%? ### Context: CREATE TABLE table_name_42 (martin VARCHAR, lanier VARCHAR) [/INST] ### Response: SELECT martin FROM table_name_42 WHERE lanier = "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 cardwell has an insider advantage and a knight of 1% ### Context: CREATE TABLE table_name_43 (cardwell VARCHAR, source VARCHAR, knight VARCHAR) [/INST] ### Response: SELECT cardwell FROM table_name_43 WHERE source = "insider advantage" AND knight = "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: How much did the girl, nicknamed Chidi, weigh at birth? ### Context: CREATE TABLE table_name_2 (weight_at_birth VARCHAR, gender VARCHAR, nickname VARCHAR) [/INST] ### Response: SELECT weight_at_birth FROM table_name_2 WHERE gender = "girl" AND nickname = "chidi" </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 nickname has the meaning of God knows my journey? ### Context: CREATE TABLE table_name_63 (nickname VARCHAR, meaning VARCHAR) [/INST] ### Response: SELECT nickname FROM table_name_63 WHERE meaning = "god knows my journey" </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 nickname of the boy who weighed 810g (26.0 oz.) at birth? ### Context: CREATE TABLE table_name_64 (nickname VARCHAR, gender VARCHAR, weight_at_birth VARCHAR) [/INST] ### Response: SELECT nickname FROM table_name_64 WHERE gender = "boy" AND weight_at_birth = "810g (26.0 oz.)" </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 much did the baby who name means God knows my journey weigh at birth? ### Context: CREATE TABLE table_name_24 (weight_at_birth VARCHAR, meaning VARCHAR) [/INST] ### Response: SELECT weight_at_birth FROM table_name_24 WHERE meaning = "god knows my journey" </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: Chukwubuikem Maduabuchi is what gender? ### Context: CREATE TABLE table_name_64 (gender VARCHAR, full_name VARCHAR) [/INST] ### Response: SELECT gender FROM table_name_64 WHERE full_name = "chukwubuikem maduabuchi" </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 nickname of the baby with the birth weight of 730g (23.5 oz.)? ### Context: CREATE TABLE table_name_58 (nickname VARCHAR, weight_at_birth VARCHAR) [/INST] ### Response: SELECT nickname FROM table_name_58 WHERE weight_at_birth = "730g (23.5 oz.)" </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 a date of 29 Sep and a time of 16:40, what is the corresponding Set 3? ### Context: CREATE TABLE table_name_96 (set_3 VARCHAR, date VARCHAR, time VARCHAR) [/INST] ### Response: SELECT set_3 FROM table_name_96 WHERE date = "29 sep" AND time = "16: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 Score has a time of 14:10? ### Context: CREATE TABLE table_name_43 (score VARCHAR, time VARCHAR) [/INST] ### Response: SELECT score FROM table_name_43 WHERE time = "14:10" </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 winner when the trofeo fast team is carrera jeans-vagabond in stage 5? ### Context: CREATE TABLE table_name_55 (winner VARCHAR, trofeo_fast_team VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_55 WHERE trofeo_fast_team = "carrera jeans-vagabond" AND stage = "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: who was the trofeo fast team in stage 10? ### Context: CREATE TABLE table_name_32 (trofeo_fast_team VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT trofeo_fast_team FROM table_name_32 WHERE stage = "10" </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 trofeo fast team in stage 10? ### Context: CREATE TABLE table_name_57 (trofeo_fast_team VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT trofeo_fast_team FROM table_name_57 WHERE stage = "10" </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 points classification in stage 1? ### Context: CREATE TABLE table_name_64 (points_classification VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT points_classification FROM table_name_64 WHERE stage = "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 stage when the winner is charly mottet? ### Context: CREATE TABLE table_name_80 (stage VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT stage FROM table_name_80 WHERE winner = "charly mottet" </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 maufacturer of the vehicle during the race where Cale Yarborough started at 19 and finished earlier than 42? ### Context: CREATE TABLE table_name_21 (manufacturer VARCHAR, finish VARCHAR, start VARCHAR) [/INST] ### Response: SELECT manufacturer FROM table_name_21 WHERE finish < 42 AND start = 19 </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 finish time for a race after 1972 with a car manufactured by pontiac? ### Context: CREATE TABLE table_name_69 (finish INTEGER, year VARCHAR, manufacturer VARCHAR) [/INST] ### Response: SELECT MIN(finish) FROM table_name_69 WHERE year > 1972 AND manufacturer = "pontiac" </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 finish time for a race where start was less than 3, buick was the manufacturer, and the race was held after 1978? ### Context: CREATE TABLE table_name_45 (finish INTEGER, start VARCHAR, year VARCHAR, manufacturer VARCHAR) [/INST] ### Response: SELECT MIN(finish) FROM table_name_45 WHERE year > 1978 AND manufacturer = "buick" AND start < 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 home team had an attendance record of 16,971? ### Context: CREATE TABLE table_name_68 (home_team VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_68 WHERE attendance = "16,971" </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: Tell me the track that has the catalogue of apbo 0280 ### Context: CREATE TABLE table_name_34 (track VARCHAR, catalogue VARCHAR) [/INST] ### Response: SELECT track FROM table_name_34 WHERE catalogue = "apbo 0280" </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: I want the sum of tracks for raised on rock ### Context: CREATE TABLE table_name_99 (track INTEGER, song_title VARCHAR) [/INST] ### Response: SELECT SUM(track) FROM table_name_99 WHERE song_title = "raised on rock" </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: Tell me the time for 6/6/77 release date and song title of way down ### Context: CREATE TABLE table_name_95 (time VARCHAR, release_date VARCHAR, song_title VARCHAR) [/INST] ### Response: SELECT time FROM table_name_95 WHERE release_date = "6/6/77" AND song_title = "way down" </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: Tell me the recorded for time of 2:50 and released date of 6/6/77 with track more than 20 ### Context: CREATE TABLE table_name_84 (recorded VARCHAR, time VARCHAR, track VARCHAR, release_date VARCHAR) [/INST] ### Response: SELECT recorded FROM table_name_84 WHERE track > 20 AND release_date = "6/6/77" AND time = "2:50" </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: Tell me the release date record on 10/29/76 and a time on 2:50 ### Context: CREATE TABLE table_name_45 (release_date VARCHAR, time VARCHAR, recorded VARCHAR) [/INST] ### Response: SELECT release_date FROM table_name_45 WHERE time = "2:50" AND recorded = "10/29/76" </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: Name the catalogue that has tracks less than 13 and the release date of 10/31/72 ### Context: CREATE TABLE table_name_28 (catalogue VARCHAR, track VARCHAR, release_date VARCHAR) [/INST] ### Response: SELECT catalogue FROM table_name_28 WHERE track < 13 AND release_date = "10/31/72" </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 opening date of the musical at the adelphi theatre? ### Context: CREATE TABLE table_name_6 (opening_date VARCHAR, classification VARCHAR, theatre VARCHAR) [/INST] ### Response: SELECT opening_date FROM table_name_6 WHERE classification = "musical" AND theatre = "adelphi theatre" </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 opening date has a capacity of 100? ### Context: CREATE TABLE table_name_53 (opening_date VARCHAR, capacity VARCHAR) [/INST] ### Response: SELECT opening_date FROM table_name_53 WHERE capacity = 100 </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: On average, how many wins have a rank lower than 1? ### Context: CREATE TABLE table_name_14 (wins INTEGER, rank INTEGER) [/INST] ### Response: SELECT AVG(wins) FROM table_name_14 WHERE rank < 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 lowest level of Earnings($) to have a Wins value of 22 and a Rank lower than 2? ### Context: CREATE TABLE table_name_78 (earnings__ INTEGER, wins VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT MIN(earnings__) AS $__ FROM table_name_78 WHERE wins = 22 AND rank < 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: In total, how much did the United States player George Archer earn with Wins lower than 24 and a rank that was higher than 5? ### Context: CREATE TABLE table_name_28 (earnings__ VARCHAR, rank VARCHAR, player VARCHAR, country VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT COUNT(earnings__) AS $__ FROM table_name_28 WHERE country = "united states" AND wins < 24 AND player = "george archer" AND rank > 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 state did Hon David Beddall belong to? ### Context: CREATE TABLE table_name_47 (state VARCHAR, member VARCHAR) [/INST] ### Response: SELECT state FROM table_name_47 WHERE member = "hon david beddall" </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 state was the electorate fowler? ### Context: CREATE TABLE table_name_1 (state VARCHAR, electorate VARCHAR) [/INST] ### Response: SELECT state FROM table_name_1 WHERE electorate = "fowler" </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_57 (pos VARCHAR, school_country VARCHAR) [/INST] ### Response: SELECT pos FROM table_name_57 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: What is the word count that is named omega dot? ### Context: CREATE TABLE table_name_37 (word__number VARCHAR, name VARCHAR) [/INST] ### Response: SELECT word__number FROM table_name_37 WHERE name = "omega dot" </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 word count with a subframe count greater than 3? ### Context: CREATE TABLE table_name_43 (word__number INTEGER, subframe__number INTEGER) [/INST] ### Response: SELECT SUM(word__number) FROM table_name_43 WHERE subframe__number > 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 is the total grid with laps less than 2? ### Context: CREATE TABLE table_name_78 (grid INTEGER, laps INTEGER) [/INST] ### Response: SELECT SUM(grid) FROM table_name_78 WHERE laps < 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: How much time is required for less than 35 laps and less than 10 grids? ### Context: CREATE TABLE table_name_9 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT time_retired FROM table_name_9 WHERE laps < 35 AND grid < 10 </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 Goal number 1? ### Context: CREATE TABLE table_name_24 (venue VARCHAR, goal VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_24 WHERE goal = 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 was the airing date when the number of episodes was larger than 20 and had the genre of costume action? ### Context: CREATE TABLE table_name_73 (airing_date VARCHAR, number_of_episodes VARCHAR, genre VARCHAR) [/INST] ### Response: SELECT airing_date FROM table_name_73 WHERE number_of_episodes > 20 AND genre = "costume action" </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 number of episodes when the genre is modern drama and the highest average ratings points are 28? ### Context: CREATE TABLE table_name_34 (number_of_episodes INTEGER, genre VARCHAR, highest_average_point_ratings VARCHAR) [/INST] ### Response: SELECT AVG(number_of_episodes) FROM table_name_34 WHERE genre = "modern drama" AND highest_average_point_ratings = 28 </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 year was S.A. Allward's theme that had an issue price of $16.95 released? ### Context: CREATE TABLE table_name_60 (year VARCHAR, issue_price VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT year FROM table_name_60 WHERE issue_price = "$16.95" AND artist = "s.a. allward" </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 total mintage for years after 2002 that had a 85th Anniversary of Vimy Ridge theme? ### Context: CREATE TABLE table_name_68 (mintage VARCHAR, theme VARCHAR, year VARCHAR) [/INST] ### Response: SELECT COUNT(mintage) FROM table_name_68 WHERE theme = "85th anniversary of vimy ridge" AND year > 2002 </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 people attended the game where Footscray was away? ### Context: CREATE TABLE table_name_29 (crowd VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT crowd FROM table_name_29 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: How many pages associated with isbn 91-7713-035-9? ### Context: CREATE TABLE table_name_75 (pages INTEGER, isbn VARCHAR) [/INST] ### Response: SELECT SUM(pages) FROM table_name_75 WHERE isbn = "isbn 91-7713-035-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 home team played at MCG? ### Context: CREATE TABLE table_name_18 (away_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_18 WHERE venue = "mcg" </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 played at Kardinia Park? ### Context: CREATE TABLE table_name_63 (away_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_63 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: On what date did the match at Lake Oval take place? ### Context: CREATE TABLE table_name_63 (date VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_63 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 wa the date of the North Melbourne home game? ### Context: CREATE TABLE table_name_76 (date VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_76 WHERE home_team = "north 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 the lowest crowd size at MCG? ### Context: CREATE TABLE table_name_1 (crowd INTEGER, venue VARCHAR) [/INST] ### Response: SELECT MIN(crowd) FROM table_name_1 WHERE venue = "mcg" </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 did the Tampa Bay Buccaneers play on december 23, 1995? ### Context: CREATE TABLE table_name_60 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_60 WHERE date = "december 23, 1995" </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: On what date was Tampa Bay's Week 4 game? ### Context: CREATE TABLE table_name_2 (date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT date FROM table_name_2 WHERE week = "4" </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 it on November 19, 1995? ### Context: CREATE TABLE table_name_87 (week VARCHAR, date VARCHAR) [/INST] ### Response: SELECT week FROM table_name_87 WHERE date = "november 19, 1995" </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 most gold medals a team with less than 2 silvers, more than 7 total medals, and less than 8 bronze medals has? ### Context: CREATE TABLE table_name_19 (gold INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MAX(gold) FROM table_name_19 WHERE silver < 2 AND total > 7 AND bronze < 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 number of bronze that Scotland, which has less than 7 total medals, has? ### Context: CREATE TABLE table_name_55 (bronze INTEGER, nation VARCHAR, total VARCHAR) [/INST] ### Response: SELECT SUM(bronze) FROM table_name_55 WHERE nation = "scotland" AND total < 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 is the average silver medals a team that has 1 gold and more than 5 bronze has? ### Context: CREATE TABLE table_name_2 (silver INTEGER, gold VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT AVG(silver) FROM table_name_2 WHERE gold = 1 AND bronze > 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 number of bronze a team with more than 0 silver, a total of 7 medals, and less than 1 gold medal has? ### Context: CREATE TABLE table_name_97 (bronze VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR) [/INST] ### Response: SELECT COUNT(bronze) FROM table_name_97 WHERE silver > 0 AND total = 7 AND gold < 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 highest rank a team with 1 silver and less than 5 bronze medals has? ### Context: CREATE TABLE table_name_66 (rank INTEGER, silver VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_name_66 WHERE silver = 1 AND bronze < 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's the highest Pl GP with a Reg GP over 18? ### Context: CREATE TABLE table_name_22 (pl_gp INTEGER, reg_gp INTEGER) [/INST] ### Response: SELECT MAX(pl_gp) FROM table_name_22 WHERE reg_gp > 18 </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: on June 14, what was the winning score by the Devil rays in pro player stadium? ### Context: CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR, venue VARCHAR, winning_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_30 WHERE venue = "pro player stadium" AND winning_team = "devil rays" AND date = "june 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: what was the score on june 16? ### Context: CREATE TABLE table_name_77 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_77 WHERE date = "june 16" </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 won by a score of 4-1? ### Context: CREATE TABLE table_name_2 (winning_team VARCHAR, score VARCHAR) [/INST] ### Response: SELECT winning_team FROM table_name_2 WHERE score = "4-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 was the score on june 29? ### Context: CREATE TABLE table_name_83 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_83 WHERE date = "june 29" </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 on june 29 when the devil rays los? ### Context: CREATE TABLE table_name_11 (score VARCHAR, losing_team VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_11 WHERE losing_team = "devil rays" AND date = "june 29" </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 of the game at pro player stadium on june 14? ### Context: CREATE TABLE table_name_9 (score VARCHAR, venue VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_9 WHERE venue = "pro player stadium" AND date = "june 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: What is the average grid for jack brabham going over 32 laps? ### Context: CREATE TABLE table_name_66 (grid INTEGER, driver VARCHAR, laps VARCHAR) [/INST] ### Response: SELECT AVG(grid) FROM table_name_66 WHERE driver = "jack brabham" AND laps > 32 </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 Res has a Method of decision (unanimous) and an Opponent of Wataru Sakata? ### Context: CREATE TABLE table_name_10 (res VARCHAR, method VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT res FROM table_name_10 WHERE method = "decision (unanimous)" AND opponent = "wataru sakata" </s>