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 was the result of the election when Clarence F. Lea was the incumbent?
### Context:
CREATE TABLE table_1346118_5 (result VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT result FROM table_1346118_5 WHERE incumbent = "Clarence F. Lea" </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 team played in game 20?
### Context:
CREATE TABLE table_13464416_5 (team VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT team FROM table_13464416_5 WHERE game = 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's the height (ft) with name being leadenhall building
### Context:
CREATE TABLE table_13463790_2 (height__ft_ VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT height__ft_ FROM table_13463790_2 WHERE name = "Leadenhall Building" </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 height (ft) with name being 52-54 lime street
### Context:
CREATE TABLE table_13463790_2 (height__ft_ VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT height__ft_ FROM table_13463790_2 WHERE name = "52-54 Lime 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:
how many city with name being providence tower
### Context:
CREATE TABLE table_13463790_2 (city VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT COUNT(city) FROM table_13463790_2 WHERE name = "Providence Tower" </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 station has the call number K213cl
### Context:
CREATE TABLE table_134729_3 (format VARCHAR, call_sign VARCHAR) [/INST]
### Response:
SELECT format FROM table_134729_3 WHERE call_sign = "K213CL" </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 market is Wessington Springs in
### Context:
CREATE TABLE table_134729_3 (target_city__market VARCHAR, city_of_license VARCHAR) [/INST]
### Response:
SELECT target_city__market FROM table_134729_3 WHERE city_of_license = "Wessington Springs" </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 station owns Moody Bible Institute
### Context:
CREATE TABLE table_134729_3 (format VARCHAR, owner VARCHAR) [/INST]
### Response:
SELECT format FROM table_134729_3 WHERE owner = "Moody Bible Institute" </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 date with score being w 113–87
### Context:
CREATE TABLE table_13480122_5 (date VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_13480122_5 WHERE score = "W 113–87" </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 game with record being 29–3
### Context:
CREATE TABLE table_13480122_5 (game VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT game FROM table_13480122_5 WHERE record = "29–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:
who is the the high rebounds with high assbeingts being scottie pippen (9)
### Context:
CREATE TABLE table_13480122_5 (high_rebounds VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_13480122_5 WHERE high_assists = "Scottie Pippen (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:
who is the the high points with score being w 117–93
### Context:
CREATE TABLE table_13480122_5 (high_points VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_13480122_5 WHERE score = "W 117–93" </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 record with date being january 13
### Context:
CREATE TABLE table_13480122_5 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_13480122_5 WHERE date = "January 13" </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 all the record where date is january 21
### Context:
CREATE TABLE table_13480122_5 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_13480122_5 WHERE date = "January 21" </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 Rapid City's Adult Contemporary station?
### Context:
CREATE TABLE table_134987_3 (name VARCHAR, city_of_license VARCHAR, format VARCHAR) [/INST]
### Response:
SELECT name FROM table_134987_3 WHERE city_of_license = "Rapid City" AND format = "Adult Contemporary" </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 market city/market(s) for Rapid City Alternative format?
### Context:
CREATE TABLE table_134987_3 (target_city__market VARCHAR, city_of_license VARCHAR, format VARCHAR) [/INST]
### Response:
SELECT target_city__market FROM table_134987_3 WHERE city_of_license = "Rapid City" AND format = "Alternative" </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 frequency for the Christian Kawz-fm Translator station?
### Context:
CREATE TABLE table_134987_3 (frequency VARCHAR, format VARCHAR) [/INST]
### Response:
SELECT frequency FROM table_134987_3 WHERE format = "Christian KAWZ-FM translator" </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 target market for the station on 97.9 fm?
### Context:
CREATE TABLE table_134987_3 (target_city__market VARCHAR, frequency VARCHAR) [/INST]
### Response:
SELECT target_city__market FROM table_134987_3 WHERE frequency = "97.9 FM" </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 frequency of the Classic Country Krki-fm booster station?
### Context:
CREATE TABLE table_134987_3 (frequency VARCHAR, format VARCHAR) [/INST]
### Response:
SELECT frequency FROM table_134987_3 WHERE format = "Classic Country KRKI-FM booster" </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 target market of the station with call sign KFXS?
### Context:
CREATE TABLE table_134987_3 (target_city__market VARCHAR, call_sign VARCHAR) [/INST]
### Response:
SELECT target_city__market FROM table_134987_3 WHERE call_sign = "KFXS" </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 did the season finale have a total of 10.29 million viewers?
### Context:
CREATE TABLE table_1348989_2 (season VARCHAR, viewers__in_millions_ VARCHAR) [/INST]
### Response:
SELECT season AS Finale FROM table_1348989_2 WHERE viewers__in_millions_ = "10.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:
In what TV season did the 3rd season air?
### Context:
CREATE TABLE table_1348989_2 (TV VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT TV AS season FROM table_1348989_2 WHERE season = "3rd" </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 did the 5th season have?
### Context:
CREATE TABLE table_1348989_2 (ranking VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT COUNT(ranking) FROM table_1348989_2 WHERE season = "5th" </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 times did the 2nd season have a finale?
### Context:
CREATE TABLE table_1348989_2 (season VARCHAR) [/INST]
### Response:
SELECT COUNT(season) AS Finale FROM table_1348989_2 WHERE season = "2nd" </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 county with per capita income being $20,101
### Context:
CREATE TABLE table_1350350_2 (county VARCHAR, per_capita_income VARCHAR) [/INST]
### Response:
SELECT COUNT(county) FROM table_1350350_2 WHERE per_capita_income = "$20,101" </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 the place with per capita income being $14,793
### Context:
CREATE TABLE table_1350350_2 (place VARCHAR, per_capita_income VARCHAR) [/INST]
### Response:
SELECT place FROM table_1350350_2 WHERE per_capita_income = "$14,793" </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 number of households with per capita income being $16,820
### Context:
CREATE TABLE table_1350350_2 (number_of_households VARCHAR, per_capita_income VARCHAR) [/INST]
### Response:
SELECT number_of_households FROM table_1350350_2 WHERE per_capita_income = "$16,820" </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 maximum rank with per capita income being $17,013
### Context:
CREATE TABLE table_1350350_2 (rank INTEGER, per_capita_income VARCHAR) [/INST]
### Response:
SELECT MAX(rank) FROM table_1350350_2 WHERE per_capita_income = "$17,013" </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 old is Darryll Holland's horse
### Context:
CREATE TABLE table_13498403_1 (barrier VARCHAR, jockey VARCHAR) [/INST]
### Response:
SELECT barrier FROM table_13498403_1 WHERE jockey = "Darryll Holland" </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 work with N Rawiller
### Context:
CREATE TABLE table_13498403_1 (trainer VARCHAR, jockey VARCHAR) [/INST]
### Response:
SELECT COUNT(trainer) FROM table_13498403_1 WHERE jockey = "N Rawiller" </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 old is Daniel Morton
### Context:
CREATE TABLE table_13498403_1 (barrier INTEGER, trainer VARCHAR) [/INST]
### Response:
SELECT MAX(barrier) FROM table_13498403_1 WHERE trainer = "Daniel Morton" </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 radio electricals when secretariat is wtr i?
### Context:
CREATE TABLE table_1348246_3 (Radio VARCHAR, secretariat VARCHAR) [/INST]
### Response:
SELECT Radio AS electrical FROM table_1348246_3 WHERE secretariat = "WTR I" </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 electricals where secretariat is po(w)?
### Context:
CREATE TABLE table_1348246_3 (electrical VARCHAR, secretariat VARCHAR) [/INST]
### Response:
SELECT electrical FROM table_1348246_3 WHERE secretariat = "PO(W)" </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 mechanical has lpm regulation?
### Context:
CREATE TABLE table_1348246_3 (mechanical VARCHAR, regulating VARCHAR) [/INST]
### Response:
SELECT mechanical FROM table_1348246_3 WHERE regulating = "LPM" </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 number episode in the series is the episode "things that fly"?
### Context:
CREATE TABLE table_13505192_3 (series_number INTEGER, episode_title VARCHAR) [/INST]
### Response:
SELECT MAX(series_number) FROM table_13505192_3 WHERE episode_title = "Things That Fly" </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 production code for season episode 8?
### Context:
CREATE TABLE table_13505192_3 (production_code INTEGER, season_number VARCHAR) [/INST]
### Response:
SELECT MIN(production_code) FROM table_13505192_3 WHERE season_number = 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:
How many episodes have a series number of 35?
### Context:
CREATE TABLE table_13505192_3 (episode_title VARCHAR, series_number VARCHAR) [/INST]
### Response:
SELECT COUNT(episode_title) FROM table_13505192_3 WHERE series_number = 35 </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 series number for season episode 24?
### Context:
CREATE TABLE table_13505192_3 (series_number INTEGER, season_number VARCHAR) [/INST]
### Response:
SELECT MIN(series_number) FROM table_13505192_3 WHERE season_number = 24 </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 have times of 6
### Context:
CREATE TABLE table_13512105_3 (fastest_lap VARCHAR, rnd VARCHAR) [/INST]
### Response:
SELECT COUNT(fastest_lap) FROM table_13512105_3 WHERE rnd = 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:
which brand have drivers who won with the names of ryan briscoe and tomas scheckter
### Context:
CREATE TABLE table_13512105_3 (winning_team VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR) [/INST]
### Response:
SELECT winning_team FROM table_13512105_3 WHERE winning_driver = "Ryan Briscoe" AND fastest_lap = "Tomas Scheckter" </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 else along with scott dixon and graham rahal drove with the most speed
### Context:
CREATE TABLE table_13512105_3 (fastest_lap VARCHAR, most_laps_led VARCHAR, pole_position VARCHAR) [/INST]
### Response:
SELECT fastest_lap FROM table_13512105_3 WHERE most_laps_led = "Scott Dixon" AND pole_position = "Graham Rahal" </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 the number of times where kansas was the location
### Context:
CREATE TABLE table_13512105_3 (rnd VARCHAR, race VARCHAR) [/INST]
### Response:
SELECT COUNT(rnd) FROM table_13512105_3 WHERE race = "Kansas" </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 TV channel had a license from Boston?
### Context:
CREATE TABLE table_1353096_2 (channel_tv___dt__ VARCHAR, city_of_license_market VARCHAR) [/INST]
### Response:
SELECT channel_tv___dt__ FROM table_1353096_2 WHERE city_of_license_market = "Boston" </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 station has a license in Fort Collins, Colorado?
### Context:
CREATE TABLE table_1353096_2 (station VARCHAR, city_of_license_market VARCHAR) [/INST]
### Response:
SELECT station FROM table_1353096_2 WHERE city_of_license_market = "Fort Collins, Colorado" </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 status of the KDAF ** Station?
### Context:
CREATE TABLE table_1353096_2 (current_status VARCHAR, station VARCHAR) [/INST]
### Response:
SELECT current_status FROM table_1353096_2 WHERE station = "KDAF **" </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 entries are listed under "current status" for the WJW-TV ++ Station?
### Context:
CREATE TABLE table_1353096_2 (current_status VARCHAR, station VARCHAR) [/INST]
### Response:
SELECT COUNT(current_status) FROM table_1353096_2 WHERE station = "WJW-TV ++" </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 stations have fox as the primary affiliation and have been owned since 1986?
### Context:
CREATE TABLE table_1353096_1 (station VARCHAR, primary_affiliation VARCHAR, owned_since VARCHAR) [/INST]
### Response:
SELECT COUNT(station) FROM table_1353096_1 WHERE primary_affiliation = "Fox" AND owned_since = "1986" </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 channel has station kdfw ++?
### Context:
CREATE TABLE table_1353096_1 (channel_tv___dt__ VARCHAR, station VARCHAR) [/INST]
### Response:
SELECT channel_tv___dt__ FROM table_1353096_1 WHERE station = "KDFW ++" </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 city has channel tv (dt) 25 (31)?
### Context:
CREATE TABLE table_1353096_1 (city_of_license__market VARCHAR, channel_tv___dt__ VARCHAR) [/INST]
### Response:
SELECT city_of_license__market FROM table_1353096_1 WHERE channel_tv___dt__ = "25 (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:
How many channel tv (dt)s are in austin, texas?
### Context:
CREATE TABLE table_1353096_1 (channel_tv___dt__ VARCHAR, city_of_license__market VARCHAR) [/INST]
### Response:
SELECT COUNT(channel_tv___dt__) FROM table_1353096_1 WHERE city_of_license__market = "Austin, Texas" </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 10 (10) bought?
### Context:
CREATE TABLE table_1353096_1 (owned_since VARCHAR, channel_tv___dt__ VARCHAR) [/INST]
### Response:
SELECT owned_since FROM table_1353096_1 WHERE channel_tv___dt__ = "10 (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 were the umpires when Paul Medhurst (C) won the Simpson Medal?
### Context:
CREATE TABLE table_13514348_7 (umpires VARCHAR, simpson_medal VARCHAR) [/INST]
### Response:
SELECT umpires FROM table_13514348_7 WHERE simpson_medal = "Paul Medhurst (C)" </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 were the umpires when Paul Vines (S) won the Simpson Medal?
### Context:
CREATE TABLE table_13514348_7 (umpires VARCHAR, simpson_medal VARCHAR) [/INST]
### Response:
SELECT umpires FROM table_13514348_7 WHERE simpson_medal = "Paul Vines (S)" </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 venue did Luke Blackwell serve as captain?
### Context:
CREATE TABLE table_13514348_7 (venue VARCHAR, captain VARCHAR) [/INST]
### Response:
SELECT venue FROM table_13514348_7 WHERE captain = "Luke Blackwell" </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 minimum 180s value
### Context:
CREATE TABLE table_13535824_2 (Id VARCHAR) [/INST]
### Response:
SELECT MIN(180 AS s) FROM table_13535824_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 channel number is Gladiators on
### Context:
CREATE TABLE table_13549921_18 (new_channel_s_ VARCHAR, programme VARCHAR) [/INST]
### Response:
SELECT new_channel_s_ FROM table_13549921_18 WHERE programme = "Gladiators" </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 show is coming back on in July 2008
### Context:
CREATE TABLE table_13549921_18 (programme VARCHAR, date_s__of_return VARCHAR) [/INST]
### Response:
SELECT programme FROM table_13549921_18 WHERE date_s__of_return = "July 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:
Who are the mens doubles and womens singles is wang shixian?
### Context:
CREATE TABLE table_13553701_1 (mens_doubles VARCHAR, womens_singles VARCHAR) [/INST]
### Response:
SELECT mens_doubles FROM table_13553701_1 WHERE womens_singles = "Wang Shixian" </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 mens singles and womens singlses is wang shixian?
### Context:
CREATE TABLE table_13553701_1 (mens_singles VARCHAR, womens_singles VARCHAR) [/INST]
### Response:
SELECT mens_singles FROM table_13553701_1 WHERE womens_singles = "Wang Shixian" </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 are the mens doubles and and mens singles is lee hyun-il?
### Context:
CREATE TABLE table_13553701_1 (mens_doubles VARCHAR, mens_singles VARCHAR) [/INST]
### Response:
SELECT mens_doubles FROM table_13553701_1 WHERE mens_singles = "Lee Hyun-il" </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 are the mens singles and womens singles with sun yu?
### Context:
CREATE TABLE table_13553701_1 (mens_singles VARCHAR, womens_singles VARCHAR) [/INST]
### Response:
SELECT mens_singles FROM table_13553701_1 WHERE womens_singles = "Sun Yu" </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 where people got done at 31.1
### Context:
CREATE TABLE table_1354805_6 (competition_finish INTEGER, average VARCHAR) [/INST]
### Response:
SELECT MAX(competition_finish) FROM table_1354805_6 WHERE average = "31.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:
who danced 11 and finished at more than a 2.0
### Context:
CREATE TABLE table_1354805_6 (couple VARCHAR, number_of_dances VARCHAR, competition_finish VARCHAR) [/INST]
### Response:
SELECT couple FROM table_1354805_6 WHERE number_of_dances = 11 AND competition_finish > 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:
tell the competitions where the mean is 1
### Context:
CREATE TABLE table_1354805_6 (average VARCHAR, number_of_dances VARCHAR) [/INST]
### Response:
SELECT average FROM table_1354805_6 WHERE number_of_dances = 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:
tell the mean of the times competition for the 7 jigs
### Context:
CREATE TABLE table_1354805_6 (rank_by_average VARCHAR, number_of_dances VARCHAR) [/INST]
### Response:
SELECT rank_by_average FROM table_1354805_6 WHERE number_of_dances = 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:
how many turns were completed to make a mean of 34.0
### Context:
CREATE TABLE table_1354805_6 (number_of_dances VARCHAR, average VARCHAR) [/INST]
### Response:
SELECT COUNT(number_of_dances) FROM table_1354805_6 WHERE average = "34.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 gender of the junior high school is 24mm?
### Context:
CREATE TABLE table_13555999_1 (gender VARCHAR, junior_high_school__12_15_yrs_ VARCHAR) [/INST]
### Response:
SELECT gender FROM table_13555999_1 WHERE junior_high_school__12_15_yrs_ = "24mm" </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 amount of the university students and adults ehre the the senior high school is 26mm?
### Context:
CREATE TABLE table_13555999_1 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, senior_high_school__15_18_yrs_ VARCHAR) [/INST]
### Response:
SELECT university_students_and_adults__18yrs + _ FROM table_13555999_1 WHERE senior_high_school__15_18_yrs_ = "26mm" </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 amount of senior high school where junior high school is 114cm?
### Context:
CREATE TABLE table_13555999_1 (senior_high_school__15_18_yrs_ VARCHAR, junior_high_school__12_15_yrs_ VARCHAR) [/INST]
### Response:
SELECT senior_high_school__15_18_yrs_ FROM table_13555999_1 WHERE junior_high_school__12_15_yrs_ = "114cm" </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 specification where senior high school is 25mm?
### Context:
CREATE TABLE table_13555999_1 (specification VARCHAR, senior_high_school__15_18_yrs_ VARCHAR) [/INST]
### Response:
SELECT specification FROM table_13555999_1 WHERE senior_high_school__15_18_yrs_ = "25mm" </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 amount is the junior high school where the gender is male and the specification is minimum diameter of sakigawa?
### Context:
CREATE TABLE table_13555999_1 (junior_high_school__12_15_yrs_ VARCHAR, gender VARCHAR, specification VARCHAR) [/INST]
### Response:
SELECT junior_high_school__12_15_yrs_ FROM table_13555999_1 WHERE gender = "Male" AND specification = "Minimum diameter of sakigawa" </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 gender of senior high school 26mm?
### Context:
CREATE TABLE table_13555999_1 (gender VARCHAR, senior_high_school__15_18_yrs_ VARCHAR) [/INST]
### Response:
SELECT gender FROM table_13555999_1 WHERE senior_high_school__15_18_yrs_ = "26mm" </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 when the team was 1-2?
### Context:
CREATE TABLE table_13557843_3 (score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT score FROM table_13557843_3 WHERE record = "1-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:
Who had the high assists against charlotte?
### Context:
CREATE TABLE table_13557843_3 (high_assists VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_13557843_3 WHERE team = "Charlotte" </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 leading scorers were there in the game against Utah?
### Context:
CREATE TABLE table_13557843_5 (high_points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(high_points) FROM table_13557843_5 WHERE team = "Utah" </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 location attendance with team being charlotte
### Context:
CREATE TABLE table_13557843_7 (location_attendance VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(location_attendance) FROM table_13557843_7 WHERE team = "Charlotte" </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 game with date being march 7
### Context:
CREATE TABLE table_13557843_7 (game VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT game FROM table_13557843_7 WHERE date = "March 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's the date with game being 72
### Context:
CREATE TABLE table_13557843_7 (date VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT date FROM table_13557843_7 WHERE game = 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:
how many high assbeingts with score being l 90–98 (ot)
### Context:
CREATE TABLE table_13557843_7 (high_assists VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT COUNT(high_assists) FROM table_13557843_7 WHERE score = "L 90–98 (OT)" </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 the high rebounds with team being vancouver
### Context:
CREATE TABLE table_13557843_7 (high_rebounds VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_13557843_7 WHERE team = "Vancouver" </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 pairs of numbers are under record on April 12?
### Context:
CREATE TABLE table_13557843_8 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(record) FROM table_13557843_8 WHERE date = "April 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:
Name total number of won for tries for 92
### Context:
CREATE TABLE table_13564702_3 (won VARCHAR, tries_for VARCHAR) [/INST]
### Response:
SELECT COUNT(won) FROM table_13564702_3 WHERE tries_for = "92" </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 club when tries for is 83
### Context:
CREATE TABLE table_13564702_3 (club VARCHAR, tries_for VARCHAR) [/INST]
### Response:
SELECT club FROM table_13564702_3 WHERE tries_for = "83" </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 try bonus for kenfig hill rfc
### Context:
CREATE TABLE table_13564702_3 (try_bonus VARCHAR, club VARCHAR) [/INST]
### Response:
SELECT try_bonus FROM table_13564702_3 WHERE club = "Kenfig Hill RFC" </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 tries against for played 22 and points against of 183
### Context:
CREATE TABLE table_13564702_3 (tries_against VARCHAR, played VARCHAR, points_against VARCHAR) [/INST]
### Response:
SELECT tries_against FROM table_13564702_3 WHERE played = "22" AND points_against = "183" </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 total number of points for when try bonus is 10
### Context:
CREATE TABLE table_13564702_3 (points_for VARCHAR, try_bonus VARCHAR) [/INST]
### Response:
SELECT COUNT(points_for) FROM table_13564702_3 WHERE try_bonus = "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:
Name the number of won for maesteg harlequins rfc
### Context:
CREATE TABLE table_13564702_3 (won VARCHAR, club VARCHAR) [/INST]
### Response:
SELECT COUNT(won) FROM table_13564702_3 WHERE club = "Maesteg Harlequins RFC" </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 amount had all played that lost were 8?
### Context:
CREATE TABLE table_13564637_3 (played VARCHAR, lost VARCHAR) [/INST]
### Response:
SELECT played FROM table_13564637_3 WHERE lost = "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 name of the club where drawn is 1 and lost is 10?
### Context:
CREATE TABLE table_13564637_3 (club VARCHAR, drawn VARCHAR, lost VARCHAR) [/INST]
### Response:
SELECT club FROM table_13564637_3 WHERE drawn = "1" AND lost = "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 are the tries where the game was lost by 4?
### Context:
CREATE TABLE table_13564637_3 (tries_against VARCHAR, lost VARCHAR) [/INST]
### Response:
SELECT tries_against FROM table_13564637_3 WHERE lost = "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 amount of try bonus where the game was won by 11?
### Context:
CREATE TABLE table_13564637_3 (try_bonus VARCHAR, won VARCHAR) [/INST]
### Response:
SELECT COUNT(try_bonus) FROM table_13564637_3 WHERE won = "11" </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 amount of tries where the points were 325?
### Context:
CREATE TABLE table_13564637_3 (tries_against VARCHAR, points_for VARCHAR) [/INST]
### Response:
SELECT COUNT(tries_against) FROM table_13564637_3 WHERE points_for = "325" </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 column points against?
### Context:
CREATE TABLE table_13564637_4 (Id VARCHAR) [/INST]
### Response:
SELECT "points" AS _against FROM table_13564637_4 WHERE "points" = "points" </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 points for when the points was 53?
### Context:
CREATE TABLE table_13564637_4 (points_for VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT points_for FROM table_13564637_4 WHERE points = "53" </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 played total when the points against was 321?
### Context:
CREATE TABLE table_13564637_4 (played VARCHAR, points_against VARCHAR) [/INST]
### Response:
SELECT played FROM table_13564637_4 WHERE points_against = "321" </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 tries for when the points against was 547?
### Context:
CREATE TABLE table_13564637_4 (tries_for VARCHAR, points_against VARCHAR) [/INST]
### Response:
SELECT tries_for FROM table_13564637_4 WHERE points_against = "547" </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 total games drawn for club tylorstown rfc?
### Context:
CREATE TABLE table_13564637_4 (drawn VARCHAR, club VARCHAR) [/INST]
### Response:
SELECT drawn FROM table_13564637_4 WHERE club = "Tylorstown RFC" </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 communities had a total renewable generation of 1375?
### Context:
CREATE TABLE table_13566548_1 (autonomous_community VARCHAR, total_renewable_generation VARCHAR) [/INST]
### Response:
SELECT COUNT(autonomous_community) FROM table_13566548_1 WHERE total_renewable_generation = 1375 </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 community with a wind power of 1042?
### Context:
CREATE TABLE table_13566548_1 (autonomous_community VARCHAR, wind_power VARCHAR) [/INST]
### Response:
SELECT autonomous_community FROM table_13566548_1 WHERE wind_power = 1042 </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 races were for a distance of 2020 m?
### Context:
CREATE TABLE table_1358608_4 (group VARCHAR, distance VARCHAR) [/INST]
### Response:
SELECT COUNT(group) FROM table_1358608_4 WHERE distance = "2020 m" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.