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:
How many games were played against the Chicago Bears?
### Context:
CREATE TABLE table_14966537_1 (record VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(record) FROM table_14966537_1 WHERE opponent = "Chicago Bears" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result of the game against the Chicago Bears?
### Context:
CREATE TABLE table_14966537_1 (result VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT result FROM table_14966537_1 WHERE opponent = "Chicago Bears" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 final score of the game on October 4, 1970?
### Context:
CREATE TABLE table_14966537_1 (result VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT result FROM table_14966537_1 WHERE date = "October 4, 1970" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team's opponent of October 25, 1970?
### Context:
CREATE TABLE table_14966537_1 (opponent VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_14966537_1 WHERE date = "October 25, 1970" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Did Flamengo play in the Recopa Sudamericana in 1998
### Context:
CREATE TABLE table_14962316_9 (recopa_sudamericana_1998 VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT recopa_sudamericana_1998 FROM table_14962316_9 WHERE team = "Flamengo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were Cruzeiro results in the Copa Mercosur in 1998
### Context:
CREATE TABLE table_14962316_9 (copa_mercosur_1998 VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT copa_mercosur_1998 FROM table_14962316_9 WHERE team = "Cruzeiro" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where is California Lutheran University located?
### Context:
CREATE TABLE table_14976504_2 (location VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT COUNT(location) FROM table_14976504_2 WHERE institution = "California Lutheran University" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 new classification for the University of Arizona Western in the Collegiate Lacrosse League?
### Context:
CREATE TABLE table_14976504_2 (new_classification VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT new_classification FROM table_14976504_2 WHERE institution = "University of Arizona" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 California State University, Hayward's new conference for Western Collegiate Lacrosse?
### Context:
CREATE TABLE table_14976504_2 (new_conference VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT new_conference FROM table_14976504_2 WHERE institution = "California State University, Hayward" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 new conference is the Toreros Western Collegiate Lacrosse team playing in?
### Context:
CREATE TABLE table_14976504_2 (new_conference VARCHAR, team_nickname VARCHAR) [/INST]
### Response:
SELECT new_conference FROM table_14976504_2 WHERE team_nickname = "Toreros" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Ascot (UK), what was the result?
### Context:
CREATE TABLE table_14981555_3 (result VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT result FROM table_14981555_3 WHERE venue = "Ascot (UK)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 different jockeys ran on 17 Feb 2007?
### Context:
CREATE TABLE table_14981555_3 (jockey VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(jockey) FROM table_14981555_3 WHERE date = "17 Feb 2007" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venues were used on 10 Mar 2007?
### Context:
CREATE TABLE table_14981555_3 (venue VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT venue FROM table_14981555_3 WHERE date = "10 Mar 2007" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 jockeys are listed running at the Sir Rupert Clarke Stakes?
### Context:
CREATE TABLE table_14981555_3 (jockey VARCHAR, race VARCHAR) [/INST]
### Response:
SELECT COUNT(jockey) FROM table_14981555_3 WHERE race = "Sir Rupert Clarke Stakes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venues had a race called the Australia Stakes?
### Context:
CREATE TABLE table_14981555_3 (venue VARCHAR, race VARCHAR) [/INST]
### Response:
SELECT COUNT(venue) FROM table_14981555_3 WHERE race = "Australia Stakes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1400 m held?
### Context:
CREATE TABLE table_14981555_1 (venue VARCHAR, distance VARCHAR) [/INST]
### Response:
SELECT venue FROM table_14981555_1 WHERE distance = "1400 m" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 group name when 3yo hcp restricted maiden was raced?
### Context:
CREATE TABLE table_14981555_1 (group VARCHAR, race VARCHAR) [/INST]
### Response:
SELECT group FROM table_14981555_1 WHERE race = "3yo Hcp Restricted Maiden" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did the 55 kg participant race?
### Context:
CREATE TABLE table_14981555_1 (date VARCHAR, weight__kg_ VARCHAR) [/INST]
### Response:
SELECT date FROM table_14981555_1 WHERE weight__kg_ = "55" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 weeks for 50073 attendance
### Context:
CREATE TABLE table_14984050_1 (week VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT COUNT(week) FROM table_14984050_1 WHERE attendance = 50073 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result for milwaukee county stadium
### Context:
CREATE TABLE table_14984050_1 (result VARCHAR, game_site VARCHAR) [/INST]
### Response:
SELECT result FROM table_14984050_1 WHERE game_site = "Milwaukee County Stadium" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record when the game was played at Cleveland Municipal Stadium?
### Context:
CREATE TABLE table_14984078_1 (record VARCHAR, game_site VARCHAR) [/INST]
### Response:
SELECT record FROM table_14984078_1 WHERE game_site = "Cleveland Municipal Stadium" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game date in week 13?
### Context:
CREATE TABLE table_14984078_1 (date VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT date FROM table_14984078_1 WHERE week = 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:
Where did the team play the Detroit Lions?
### Context:
CREATE TABLE table_14984078_1 (game_site VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT game_site FROM table_14984078_1 WHERE opponent = "Detroit Lions" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the season did the date December 2, 1962 fall on?
### Context:
CREATE TABLE table_14984078_1 (week VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT week FROM table_14984078_1 WHERE date = "December 2, 1962" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result for October 14, 1956?
### Context:
CREATE TABLE table_14984039_1 (result VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT result FROM table_14984039_1 WHERE date = "October 14, 1956" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the game site for week 6
### Context:
CREATE TABLE table_14984103_1 (game_site VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT game_site FROM table_14984103_1 WHERE week = 6 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of weeks for san francisco 49ers
### Context:
CREATE TABLE table_14984103_1 (week VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(week) FROM table_14984103_1 WHERE opponent = "San Francisco 49ers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 most attendance for game site for los angeles memorial coliseum
### Context:
CREATE TABLE table_14984103_1 (attendance INTEGER, game_site VARCHAR) [/INST]
### Response:
SELECT MAX(attendance) FROM table_14984103_1 WHERE game_site = "Los Angeles Memorial Coliseum" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result with record being 0–1
### Context:
CREATE TABLE table_14984126_1 (result VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT result FROM table_14984126_1 WHERE record = "0–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's the game site with result being l 24–34
### Context:
CREATE TABLE table_14984126_1 (game_site VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT game_site FROM table_14984126_1 WHERE result = "L 24–34" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result with date being october 25, 1964
### Context:
CREATE TABLE table_14984126_1 (result VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(result) FROM table_14984126_1 WHERE date = "October 25, 1964" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponent with date being october 25, 1964
### Context:
CREATE TABLE table_14984126_1 (opponent VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(opponent) FROM table_14984126_1 WHERE date = "October 25, 1964" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 population 2010 census for population 2000 census of 920599
### Context:
CREATE TABLE table_14986292_1 (population__2010_census_ VARCHAR, population_2000_census VARCHAR) [/INST]
### Response:
SELECT population__2010_census_ FROM table_14986292_1 WHERE population_2000_census = 920599 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 population 2000 census for mesquita
### Context:
CREATE TABLE table_14986292_1 (population_2000_census VARCHAR, administrative_division VARCHAR) [/INST]
### Response:
SELECT COUNT(population_2000_census) FROM table_14986292_1 WHERE administrative_division = "Mesquita" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 population 2000 census for 77 area
### Context:
CREATE TABLE table_14986292_1 (population_2000_census VARCHAR, area__km²_ VARCHAR) [/INST]
### Response:
SELECT population_2000_census FROM table_14986292_1 WHERE area__km²_ = "77" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 area where population density 2010 for 514
### Context:
CREATE TABLE table_14986292_1 (area__km²_ VARCHAR, population_density_2010___km²_ VARCHAR) [/INST]
### Response:
SELECT COUNT(area__km²_) FROM table_14986292_1 WHERE population_density_2010___km²_ = 514 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 population density 2010 for duque de caxias
### Context:
CREATE TABLE table_14986292_1 (population_density_2010___km²_ VARCHAR, administrative_division VARCHAR) [/INST]
### Response:
SELECT COUNT(population_density_2010___km²_) FROM table_14986292_1 WHERE administrative_division = "Duque de Caxias" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 administrative division for 95391
### Context:
CREATE TABLE table_14986292_1 (administrative_division VARCHAR, population__2010_census_ VARCHAR) [/INST]
### Response:
SELECT administrative_division FROM table_14986292_1 WHERE population__2010_census_ = 95391 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 losses did 12 de Octubre have ?
### Context:
CREATE TABLE table_14997324_5 (losses INTEGER, team VARCHAR) [/INST]
### Response:
SELECT MIN(losses) FROM table_14997324_5 WHERE team = "12 de Octubre" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 santee sisseton for morning
### Context:
CREATE TABLE table_1499791_2 (santee_sisseton VARCHAR, english_gloss VARCHAR) [/INST]
### Response:
SELECT santee_sisseton FROM table_1499791_2 WHERE english_gloss = "morning" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 southern lakota for morning
### Context:
CREATE TABLE table_1499791_2 (southern_lakota VARCHAR, english_gloss VARCHAR) [/INST]
### Response:
SELECT southern_lakota FROM table_1499791_2 WHERE english_gloss = "morning" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 southern lakota for wakȟáŋyeža
### Context:
CREATE TABLE table_1499791_2 (southern_lakota VARCHAR, yankton_yanktonai VARCHAR) [/INST]
### Response:
SELECT southern_lakota FROM table_1499791_2 WHERE yankton_yanktonai = "wakȟáŋyeža" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 english gloss for naháŋȟčiŋ
### Context:
CREATE TABLE table_1499791_2 (english_gloss VARCHAR, southern_lakota VARCHAR) [/INST]
### Response:
SELECT english_gloss FROM table_1499791_2 WHERE southern_lakota = "naháŋȟč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:
Name the santee sisseton for híŋhaŋna
### Context:
CREATE TABLE table_1499791_2 (santee_sisseton VARCHAR, yankton_yanktonai VARCHAR) [/INST]
### Response:
SELECT COUNT(santee_sisseton) FROM table_1499791_2 WHERE yankton_yanktonai = "híŋhaŋna" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 yankton yanktonai for wičháša
### Context:
CREATE TABLE table_1499791_2 (yankton_yanktonai VARCHAR, southern_lakota VARCHAR) [/INST]
### Response:
SELECT yankton_yanktonai FROM table_1499791_2 WHERE southern_lakota = "wičháša" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 last round the team drafted?
### Context:
CREATE TABLE table_14999879_2 (round INTEGER) [/INST]
### Response:
SELECT MAX(round) FROM table_14999879_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 college did steve justice attend?
### Context:
CREATE TABLE table_14999879_2 (college VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college FROM table_14999879_2 WHERE player = "Steve Justice" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 may women doubles winner were there when Philippe Aulner was mens singles winner?
### Context:
CREATE TABLE table_15001957_1 (womens_doubles VARCHAR, mens_singles VARCHAR) [/INST]
### Response:
SELECT COUNT(womens_doubles) FROM table_15001957_1 WHERE mens_singles = "Philippe Aulner" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mixed doubles were won in 1996?
### Context:
CREATE TABLE table_15001957_1 (mixed_doubles VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT COUNT(mixed_doubles) FROM table_15001957_1 WHERE year = 1996 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 womens doubles with mens doubles being reinhold pum karl buchart and mixed doubles being hermann fröhlich lore voit
### Context:
CREATE TABLE table_15002265_1 (womens_doubles VARCHAR, mens_doubles VARCHAR, mixed_doubles VARCHAR) [/INST]
### Response:
SELECT womens_doubles FROM table_15002265_1 WHERE mens_doubles = "Reinhold Pum Karl Buchart" AND mixed_doubles = "Hermann Fröhlich Lore Voit" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 womens doubles with mens doubles being leopold bauer alfred kohlhauser
### Context:
CREATE TABLE table_15002265_1 (womens_doubles VARCHAR, mens_doubles VARCHAR) [/INST]
### Response:
SELECT womens_doubles FROM table_15002265_1 WHERE mens_doubles = "Leopold Bauer Alfred Kohlhauser" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mixed doubles with mens singles being peter moritz
### Context:
CREATE TABLE table_15002265_1 (mixed_doubles VARCHAR, mens_singles VARCHAR) [/INST]
### Response:
SELECT mixed_doubles FROM table_15002265_1 WHERE mens_singles = "Peter Moritz" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mens doubles with mens singles being jürgen koch and womens singles being sabine ploner
### Context:
CREATE TABLE table_15002265_1 (mens_doubles VARCHAR, mens_singles VARCHAR, womens_singles VARCHAR) [/INST]
### Response:
SELECT mens_doubles FROM table_15002265_1 WHERE mens_singles = "Jürgen Koch" AND womens_singles = "Sabine Ploner" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 womens singles with mixed doubles being bernd frohnwieser hilde themel and year being smaller than 1959.0
### Context:
CREATE TABLE table_15002265_1 (womens_singles VARCHAR, mixed_doubles VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT womens_singles FROM table_15002265_1 WHERE mixed_doubles = "Bernd Frohnwieser Hilde Themel" AND year < 1959.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:
How many mixed doubles were there in the year that Olga Koseli won the women's singles?
### Context:
CREATE TABLE table_15002177_1 (mixed_doubles VARCHAR, womens_singles VARCHAR) [/INST]
### Response:
SELECT COUNT(mixed_doubles) FROM table_15002177_1 WHERE womens_singles = "Olga Koseli" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 # for the episode with viewing figures of 7.02 million ?
### Context:
CREATE TABLE table_15026994_5 (_number INTEGER, viewing_figure VARCHAR) [/INST]
### Response:
SELECT MAX(_number) FROM table_15026994_5 WHERE viewing_figure = "7.02 million" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank for puerto rico?
### Context:
CREATE TABLE table_150340_3 (rank INTEGER, country VARCHAR) [/INST]
### Response:
SELECT MIN(rank) FROM table_150340_3 WHERE country = "Puerto Rico" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 different directors are associated with the writer Gaby Chiappe?
### Context:
CREATE TABLE table_15026994_2 (director VARCHAR, writer VARCHAR) [/INST]
### Response:
SELECT COUNT(director) FROM table_15026994_2 WHERE writer = "Gaby Chiappe" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 writers are associated with a viewing figure of 7.01 million?
### Context:
CREATE TABLE table_15026994_2 (writer VARCHAR, viewing_figure VARCHAR) [/INST]
### Response:
SELECT writer FROM table_15026994_2 WHERE viewing_figure = "7.01 million" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episodes with a viewing figure of 6.72 million?
### Context:
CREATE TABLE table_15026994_2 (episode VARCHAR, viewing_figure VARCHAR) [/INST]
### Response:
SELECT episode FROM table_15026994_2 WHERE viewing_figure = "6.72 million" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What original air dates are associated with a viewing figure of 7.27 million?
### Context:
CREATE TABLE table_15026994_2 (original_air_date VARCHAR, viewing_figure VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_15026994_2 WHERE viewing_figure = "7.27 million" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 director of the episode at entry number 13?
### Context:
CREATE TABLE table_15026994_3 (director VARCHAR, _number VARCHAR) [/INST]
### Response:
SELECT director FROM table_15026994_3 WHERE _number = 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:
Who wrote the episode that David Tucker directed?
### Context:
CREATE TABLE table_15026994_3 (writer VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT COUNT(writer) FROM table_15026994_3 WHERE director = "David Tucker" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode has been viewed 6.34 million times?
### Context:
CREATE TABLE table_15026994_3 (episode VARCHAR, viewing_figure VARCHAR) [/INST]
### Response:
SELECT episode FROM table_15026994_3 WHERE viewing_figure = "6.34 million" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original air date of the episode directed by Paul Marcus?
### Context:
CREATE TABLE table_15026994_3 (original_air_date VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_15026994_3 WHERE director = "Paul Marcus" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 licenses have version 1.2.2.0?
### Context:
CREATE TABLE table_15038373_1 (license VARCHAR, version VARCHAR) [/INST]
### Response:
SELECT COUNT(license) FROM table_15038373_1 WHERE version = "1.2.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 version with sbagen software?
### Context:
CREATE TABLE table_15038373_1 (version VARCHAR, software VARCHAR) [/INST]
### Response:
SELECT version FROM table_15038373_1 WHERE software = "SBaGen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 licenses have mind workstation software?
### Context:
CREATE TABLE table_15038373_1 (license VARCHAR, software VARCHAR) [/INST]
### Response:
SELECT COUNT(license) FROM table_15038373_1 WHERE software = "Mind WorkStation" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 software with version 1.2.2.0?
### Context:
CREATE TABLE table_15038373_1 (software VARCHAR, version VARCHAR) [/INST]
### Response:
SELECT software FROM table_15038373_1 WHERE version = "1.2.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 hte license for beeone smod/hms software?
### Context:
CREATE TABLE table_15038373_1 (license VARCHAR, software VARCHAR) [/INST]
### Response:
SELECT license FROM table_15038373_1 WHERE software = "BeeOne SMOD/HMS" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 operating systems for sbagen?
### Context:
CREATE TABLE table_15038373_1 (operating_systems VARCHAR, software VARCHAR) [/INST]
### Response:
SELECT operating_systems FROM table_15038373_1 WHERE software = "SBaGen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 word for the French word cheval?
### Context:
CREATE TABLE table_15040_8 (english VARCHAR, french VARCHAR) [/INST]
### Response:
SELECT english FROM table_15040_8 WHERE french = "cheval" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Spanish word for the French word filtrer?
### Context:
CREATE TABLE table_15040_8 (spanish VARCHAR, french VARCHAR) [/INST]
### Response:
SELECT spanish FROM table_15040_8 WHERE french = "filtrer" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 French word where the German word is filtern?
### Context:
CREATE TABLE table_15040_8 (french VARCHAR, german VARCHAR) [/INST]
### Response:
SELECT french FROM table_15040_8 WHERE german = "filtern" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 french word for the Russian word filtrovat (фильтровать)?
### Context:
CREATE TABLE table_15040_8 (french VARCHAR, russian VARCHAR) [/INST]
### Response:
SELECT french FROM table_15040_8 WHERE russian = "filtrovat (фильтровать)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 French word for the Italian word nazione?
### Context:
CREATE TABLE table_15040_8 (french VARCHAR, italian VARCHAR) [/INST]
### Response:
SELECT french FROM table_15040_8 WHERE italian = "nazione" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 word for the Russian words loshad, kobyla (лошадь, кобыла)?
### Context:
CREATE TABLE table_15040_8 (english VARCHAR, russian VARCHAR) [/INST]
### Response:
SELECT english FROM table_15040_8 WHERE russian = "loshad, kobyla (лошадь, кобыла)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 state had 3821 students in the fall of 06?
### Context:
CREATE TABLE table_15055594_6 (states VARCHAR, fall_06 VARCHAR) [/INST]
### Response:
SELECT states FROM table_15055594_6 WHERE fall_06 = 3821 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 man students were from Maryland in Fall 05?
### Context:
CREATE TABLE table_15055594_6 (fall_05 VARCHAR, states VARCHAR) [/INST]
### Response:
SELECT fall_05 FROM table_15055594_6 WHERE states = "Maryland" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 students in Fall 09 from the state that had 3940 in Fall 07?
### Context:
CREATE TABLE table_15055594_6 (fall_09 INTEGER, fall_07 VARCHAR) [/INST]
### Response:
SELECT MAX(fall_09) FROM table_15055594_6 WHERE fall_07 = 3940 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 highest number of students in Fall 09 in the state that had 3821 in Fall 06?
### Context:
CREATE TABLE table_15055594_6 (fall_09 INTEGER, fall_06 VARCHAR) [/INST]
### Response:
SELECT MAX(fall_09) FROM table_15055594_6 WHERE fall_06 = 3821 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest number of students from a state during the Fall 06 semester?
### Context:
CREATE TABLE table_15055594_6 (fall_06 INTEGER) [/INST]
### Response:
SELECT MIN(fall_06) FROM table_15055594_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:
Name the 132.1% for where north carolina is colorado
### Context:
CREATE TABLE table_15051_4 (north_carolina VARCHAR) [/INST]
### Response:
SELECT 1321 AS _percentage FROM table_15051_4 WHERE north_carolina = "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 total of all Shot PCT occurrences when the value of Blank Ends is 8?
### Context:
CREATE TABLE table_1505809_2 (shot_pct VARCHAR, blank_ends VARCHAR) [/INST]
### Response:
SELECT COUNT(shot_pct) FROM table_1505809_2 WHERE blank_ends = 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:
Where is the Locale when L is 2.
### Context:
CREATE TABLE table_1505809_2 (locale VARCHAR, l VARCHAR) [/INST]
### Response:
SELECT locale FROM table_1505809_2 WHERE l = 2 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest value of Blank Ends when Stolen Ends is 7.
### Context:
CREATE TABLE table_1505809_2 (blank_ends INTEGER, stolen_ends VARCHAR) [/INST]
### Response:
SELECT MIN(blank_ends) FROM table_1505809_2 WHERE stolen_ends = 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 value of Ends Lost when Blank Ends is 9.
### Context:
CREATE TABLE table_1505809_2 (Ends VARCHAR, blank_ends VARCHAR) [/INST]
### Response:
SELECT Ends AS lost FROM table_1505809_2 WHERE blank_ends = 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:
How many combination classifications have the winner as Erik Zabel and a points classification as Alessandro Petacchi
### Context:
CREATE TABLE table_15059783_1 (combination_classification VARCHAR, points_classification VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT COUNT(combination_classification) FROM table_15059783_1 WHERE points_classification = "Alessandro Petacchi" AND winner = "Erik Zabel" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If winner is alejandro Valverde and the points Classification is by Erik Zabel, who is the mountain classification?
### Context:
CREATE TABLE table_15059783_1 (mountains_classification VARCHAR, winner VARCHAR, points_classification VARCHAR) [/INST]
### Response:
SELECT mountains_classification FROM table_15059783_1 WHERE winner = "Alejandro Valverde" AND points_classification = "Erik Zabel" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 teams have a combination classification of Alejandro Valverde and a Points classification of Alessandro Petacchi?
### Context:
CREATE TABLE table_15059783_1 (team_classification VARCHAR, combination_classification VARCHAR, points_classification VARCHAR) [/INST]
### Response:
SELECT COUNT(team_classification) FROM table_15059783_1 WHERE combination_classification = "Alejandro Valverde" AND points_classification = "Alessandro Petacchi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were the winnings $3,816,362?
### Context:
CREATE TABLE table_1507423_4 (avg_finish VARCHAR, winnings VARCHAR) [/INST]
### Response:
SELECT COUNT(avg_finish) FROM table_1507423_4 WHERE winnings = "$3,816,362" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wins were there when the position was 26th?
### Context:
CREATE TABLE table_1507423_4 (wins VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT COUNT(wins) FROM table_1507423_4 WHERE position = "26th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the average finish when the average start was 18.4?
### Context:
CREATE TABLE table_1507423_4 (avg_finish VARCHAR, avg_start VARCHAR) [/INST]
### Response:
SELECT avg_finish FROM table_1507423_4 WHERE avg_start = "18.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:
How many teams had a 76th position finish?
### Context:
CREATE TABLE table_1507423_4 (team_s_ VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT COUNT(team_s_) FROM table_1507423_4 WHERE position = "76th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 maximumum number of wins?
### Context:
CREATE TABLE table_1507423_4 (wins INTEGER) [/INST]
### Response:
SELECT MIN(wins) FROM table_1507423_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 teams won in 2007?
### Context:
CREATE TABLE table_1507423_4 (team_s_ VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT team_s_ FROM table_1507423_4 WHERE year = 2007 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 arr there for the top 10 for the 78th position?
### Context:
CREATE TABLE table_1507423_5 (top_10 VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT COUNT(top_10) FROM table_1507423_5 WHERE position = "78th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 does team #55/#83 robby gordon motorsports rank in the top 10?
### Context:
CREATE TABLE table_1507423_5 (top_10 INTEGER, team_s_ VARCHAR) [/INST]
### Response:
SELECT MAX(top_10) FROM table_1507423_5 WHERE team_s_ = "#55/#83 Robby Gordon Motorsports" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 shown for winnings for team #07 robby gordon motorsports?
### Context:
CREATE TABLE table_1507423_5 (winnings VARCHAR, team_s_ VARCHAR) [/INST]
### Response:
SELECT COUNT(winnings) FROM table_1507423_5 WHERE team_s_ = "#07 Robby Gordon Motorsports" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 values for 'to par' for the winning score of 67-67-69-69=272?
### Context:
CREATE TABLE table_1507431_1 (to_par VARCHAR, winning_score VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_1507431_1 WHERE winning_score = 67 - 67 - 69 - 69 = 272 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.