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 different titles does the episode originally aired on September 27, 1984 have?
### Context:
CREATE TABLE table_2818164_2 (title VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT COUNT(title) FROM table_2818164_2 WHERE original_air_date = "September 27, 1984" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production code of the episode originally aired on February 21, 1985?
### Context:
CREATE TABLE table_2818164_2 (production_code INTEGER, original_air_date VARCHAR) [/INST]
### Response:
SELECT MIN(production_code) FROM table_2818164_2 WHERE original_air_date = "February 21, 1985" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 roberts 86' is the scorer what is the round?
### Context:
CREATE TABLE table_28181401_4 (round VARCHAR, scorers VARCHAR) [/INST]
### Response:
SELECT round FROM table_28181401_4 WHERE scorers = "Roberts 86'" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 semi final (2nd leg) is the round what is the highest attendance?
### Context:
CREATE TABLE table_28181401_4 (attendance INTEGER, round VARCHAR) [/INST]
### Response:
SELECT MAX(attendance) FROM table_28181401_4 WHERE round = "Semi Final (2nd leg)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Mark Stimson started his job in 2007-08 what posiiton was the team on the table
### Context:
CREATE TABLE table_28181347_6 (position_in_table VARCHAR, replaced_by VARCHAR) [/INST]
### Response:
SELECT position_in_table FROM table_28181347_6 WHERE replaced_by = "Mark Stimson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 football league one, what coach was hired as a replacement on 8 October 2007
### Context:
CREATE TABLE table_28181347_6 (replaced_by VARCHAR, date_of_vacancy VARCHAR) [/INST]
### Response:
SELECT replaced_by FROM table_28181347_6 WHERE date_of_vacancy = "8 October 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:
One 6 November 2007 what was the manner of departure for the coach release in football league one?
### Context:
CREATE TABLE table_28181347_6 (manner_of_departure VARCHAR, date_of_appointment VARCHAR) [/INST]
### Response:
SELECT manner_of_departure FROM table_28181347_6 WHERE date_of_appointment = "6 November 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:
What is the series number for the episode written by janet leahy?
### Context:
CREATE TABLE table_2818164_4 (no_in_series INTEGER, written_by VARCHAR) [/INST]
### Response:
SELECT MIN(no_in_series) FROM table_2818164_4 WHERE written_by = "Janet Leahy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 air date of the episode with the production code of 322?
### Context:
CREATE TABLE table_2818164_4 (original_air_date VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_2818164_4 WHERE production_code = 322 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the episode directed by jay sandrich that aired October 23, 1986?
### Context:
CREATE TABLE table_2818164_4 (no_in_series INTEGER, directed_by VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT MIN(no_in_series) FROM table_2818164_4 WHERE directed_by = "Jay Sandrich" AND original_air_date = "October 23, 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 are the title(s) of episodes directed by david solomon and written by marti noxon?
### Context:
CREATE TABLE table_28195971_1 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_28195971_1 WHERE directed_by = "David Solomon" AND written_by = "Marti Noxon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of episodes whose production code is 7ABB21?
### Context:
CREATE TABLE table_28196105_1 (_number VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT COUNT(_number) FROM table_28196105_1 WHERE production_code = "7ABB21" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode number 18?
### Context:
CREATE TABLE table_28196105_1 (written_by VARCHAR, _number VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_28196105_1 WHERE _number = 18 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the tries for when L is less than 2.0
### Context:
CREATE TABLE table_28204447_3 (tries_for VARCHAR, l INTEGER) [/INST]
### Response:
SELECT tries_for FROM table_28204447_3 WHERE l < 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 most recent year shown for Betty Stove?
### Context:
CREATE TABLE table_2820584_2 (year INTEGER) [/INST]
### Response:
SELECT MAX(year) FROM table_2820584_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 was Betty's partner when the surface is hard?
### Context:
CREATE TABLE table_2820584_2 (partner VARCHAR, surface VARCHAR) [/INST]
### Response:
SELECT partner FROM table_2820584_2 WHERE surface = "Hard" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 drawn games by a team?
### Context:
CREATE TABLE table_28201906_1 (drawn INTEGER) [/INST]
### Response:
SELECT MIN(drawn) FROM table_28201906_1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many points did the team that won 5 games make?
### Context:
CREATE TABLE table_28201906_1 (pts_for VARCHAR, won VARCHAR) [/INST]
### Response:
SELECT pts_for FROM table_28201906_1 WHERE won = 5 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many points does the club that had 45 points against it have?
### Context:
CREATE TABLE table_28201906_1 (points VARCHAR, pts_agst VARCHAR) [/INST]
### Response:
SELECT points FROM table_28201906_1 WHERE pts_agst = 45 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gray wolves is the team nickname how many institutions are there?
### Context:
CREATE TABLE table_28211213_2 (institution VARCHAR, team_nickname VARCHAR) [/INST]
### Response:
SELECT COUNT(institution) FROM table_28211213_2 WHERE team_nickname = "Gray Wolves" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sylvania, oh is the location what is the team nickname?
### Context:
CREATE TABLE table_28211213_2 (team_nickname VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT team_nickname FROM table_28211213_2 WHERE location = "Sylvania, OH" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 indianapolis, indiana is the location what is the institution?
### Context:
CREATE TABLE table_28211213_2 (institution VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT institution FROM table_28211213_2 WHERE location = "Indianapolis, Indiana" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 private/ nonsectarian is the the affiliation what is the team nickname?
### Context:
CREATE TABLE table_28211213_2 (team_nickname VARCHAR, affiliation VARCHAR) [/INST]
### Response:
SELECT team_nickname FROM table_28211213_2 WHERE affiliation = "Private/ Nonsectarian" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
4512 is the enrollment what is the team nickname?
### Context:
CREATE TABLE table_28211213_2 (team_nickname VARCHAR, enrollment VARCHAR) [/INST]
### Response:
SELECT team_nickname FROM table_28211213_2 WHERE enrollment = 4512 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 championship was played with Allan Stone as a partner?
### Context:
CREATE TABLE table_2820584_3 (championship VARCHAR, partner VARCHAR) [/INST]
### Response:
SELECT championship FROM table_2820584_3 WHERE partner = "Allan Stone" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 partners played in the finale in 1973?
### Context:
CREATE TABLE table_2820584_3 (partner VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT COUNT(partner) FROM table_2820584_3 WHERE year = 1973 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in the final played with Fred McNair as partner?
### Context:
CREATE TABLE table_2820584_3 (score_in_the_final VARCHAR, partner VARCHAR) [/INST]
### Response:
SELECT score_in_the_final FROM table_2820584_3 WHERE partner = "Fred McNair" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 orginal air date for episodes with production code 2acx12?
### Context:
CREATE TABLE table_28210383_1 (original_air_date VARCHAR, prod_code VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_28210383_1 WHERE prod_code = "2ACX12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with production code 2acx12?
### Context:
CREATE TABLE table_28210383_1 (written_by VARCHAR, prod_code VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_28210383_1 WHERE prod_code = "2ACX12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 numbered episode was directed by greg colton and written by patrick meighan?
### Context:
CREATE TABLE table_28210383_1 (no__episode__number_ VARCHAR, directed_by VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT no__episode__number_ FROM table_28210383_1 WHERE directed_by = "Greg Colton" AND written_by = "Patrick Meighan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directed # (season #) is 1 ( 2 )?
### Context:
CREATE TABLE table_28210383_1 (directed_by VARCHAR, _number__season__number_ VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_28210383_1 WHERE _number__season__number_ = "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 is everyone on the men's doubles when men's singles is Ma Wenge?
### Context:
CREATE TABLE table_28211988_1 (mens_doubles VARCHAR, mens_singles VARCHAR) [/INST]
### Response:
SELECT mens_doubles FROM table_28211988_1 WHERE mens_singles = "Ma Wenge" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 all men's doubles when men's singles is Jean-Michel Saive?
### Context:
CREATE TABLE table_28211988_1 (mens_doubles VARCHAR, mens_singles VARCHAR) [/INST]
### Response:
SELECT mens_doubles FROM table_28211988_1 WHERE mens_singles = "Jean-Michel Saive" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 all hosts when men's singles is Ma Wenge?
### Context:
CREATE TABLE table_28211988_1 (host VARCHAR, mens_singles VARCHAR) [/INST]
### Response:
SELECT host FROM table_28211988_1 WHERE mens_singles = "Ma Wenge" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are women's singles in the season of 2000/01?
### Context:
CREATE TABLE table_28211988_1 (womens_singles VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT COUNT(womens_singles) FROM table_28211988_1 WHERE season = "2000/01" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winners of the mens doubles in the season of 1963/64.
### Context:
CREATE TABLE table_28211988_4 (mens_doubles VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT mens_doubles FROM table_28211988_4 WHERE season = "1963/64" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 director of the episode with series number 116?
### Context:
CREATE TABLE table_28212888_2 (directed_by VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_28212888_2 WHERE no_in_series = 116 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title of the episode seen by 12.85 millions of people in the US?
### Context:
CREATE TABLE table_28212888_2 (title VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT title FROM table_28212888_2 WHERE us_viewers__millions_ = "12.85" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many episodes had 11.86 million US viewers?
### Context:
CREATE TABLE table_28215780_4 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT COUNT(no_in_series) FROM table_28215780_4 WHERE us_viewers__millions_ = "11.86" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title(s) of episodes written by aron eli coleite?
### Context:
CREATE TABLE table_28215780_4 (title VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_28215780_4 WHERE written_by = "Aron Eli Coleite" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original air date(s) for episodes written by aron eli coleite?
### Context:
CREATE TABLE table_28215780_4 (original_air_date VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_28215780_4 WHERE written_by = "Aron Eli Coleite" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 producers are responsible for the song 'calling out to marlboro?
### Context:
CREATE TABLE table_28232443_1 (producer__s_ VARCHAR, song__s_ VARCHAR) [/INST]
### Response:
SELECT COUNT(producer__s_) FROM table_28232443_1 WHERE song__s_ = "Calling Out to Marlboro" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 first year that kid creole and the coconuts recorded with I Too Have Seen The Woods / Sire Records?
### Context:
CREATE TABLE table_28232443_1 (year INTEGER, artist VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_28232443_1 WHERE artist = "Kid Creole and the Coconuts" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 seasons are there with Formula Holden?
### Context:
CREATE TABLE table_2822193_1 (seasons VARCHAR, series VARCHAR) [/INST]
### Response:
SELECT COUNT(seasons) FROM table_2822193_1 WHERE series = "Formula Holden" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 poles are there with 2 races?
### Context:
CREATE TABLE table_2822193_1 (poles INTEGER, races VARCHAR) [/INST]
### Response:
SELECT MAX(poles) FROM table_2822193_1 WHERE races = 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's the most amount of point finishes for v8supercar?
### Context:
CREATE TABLE table_2822193_1 (point_finishes__non_podium_ INTEGER, series VARCHAR) [/INST]
### Response:
SELECT MAX(point_finishes__non_podium_) FROM table_2822193_1 WHERE series = "V8Supercar" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had high rebounds in game 14?
### Context:
CREATE TABLE table_28220778_21 (high_rebounds VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(high_rebounds) FROM table_28220778_21 WHERE game = 14 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every score when the date is January 2?
### Context:
CREATE TABLE table_28220778_21 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_28220778_21 WHERE date = "January 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 was the highest number of students in attendance for the university of north texas?
### Context:
CREATE TABLE table_28243691_1 (enrollment INTEGER, institution VARCHAR) [/INST]
### Response:
SELECT MAX(enrollment) FROM table_28243691_1 WHERE institution = "University of North 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:
What is the mascot for texas tech university?
### Context:
CREATE TABLE table_28243691_1 (team_nickname VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT team_nickname FROM table_28243691_1 WHERE institution = "Texas Tech 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 total enrollment for private/ disciples of christ?
### Context:
CREATE TABLE table_28243691_1 (enrollment VARCHAR, affiliation VARCHAR) [/INST]
### Response:
SELECT enrollment FROM table_28243691_1 WHERE affiliation = "Private/ Disciples of Christ" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mascotts are there for college station, texas
### Context:
CREATE TABLE table_28243691_1 (team_nickname VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT COUNT(team_nickname) FROM table_28243691_1 WHERE location = "College Station, 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:
List the highest number of students in attendance for the institution that started in 1923.
### Context:
CREATE TABLE table_28243691_1 (enrollment INTEGER, founded VARCHAR) [/INST]
### Response:
SELECT MAX(enrollment) FROM table_28243691_1 WHERE founded = 1923 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 next in lines had heirs of Archduke Karl?
### Context:
CREATE TABLE table_28241890_2 (next_in_line VARCHAR, heir VARCHAR) [/INST]
### Response:
SELECT COUNT(next_in_line) FROM table_28241890_2 WHERE heir = "Archduke Karl" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team that has a song writer named larry spokes.
### Context:
CREATE TABLE table_28243323_1 (club_name VARCHAR, writer_composer VARCHAR) [/INST]
### Response:
SELECT club_name FROM table_28243323_1 WHERE writer_composer = "Larry Spokes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 teams have a writer named harry angus?
### Context:
CREATE TABLE table_28243323_1 (name_of_team_song VARCHAR, writer_composer VARCHAR) [/INST]
### Response:
SELECT COUNT(name_of_team_song) FROM table_28243323_1 WHERE writer_composer = "Harry Angus" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team anthem that was written by quentin eyers and les kaczmarek.
### Context:
CREATE TABLE table_28243323_1 (name_of_team_song VARCHAR, writer_composer VARCHAR) [/INST]
### Response:
SELECT name_of_team_song FROM table_28243323_1 WHERE writer_composer = "Quentin Eyers and Les Kaczmarek" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team songs does fremantle have?
### Context:
CREATE TABLE table_28243323_1 (basis_for_team_song VARCHAR, club_name VARCHAR) [/INST]
### Response:
SELECT COUNT(basis_for_team_song) FROM table_28243323_1 WHERE club_name = "Fremantle" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team song written by ken walther?
### Context:
CREATE TABLE table_28243323_1 (basis_for_team_song VARCHAR, writer_composer VARCHAR) [/INST]
### Response:
SELECT basis_for_team_song FROM table_28243323_1 WHERE writer_composer = "Ken Walther" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 how many different years was the team nicknamed Comets founded?
### Context:
CREATE TABLE table_28243691_2 (founded VARCHAR, team_nickname VARCHAR) [/INST]
### Response:
SELECT COUNT(founded) FROM table_28243691_2 WHERE team_nickname = "Comets" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nickname of the team with enrollment of 40747?
### Context:
CREATE TABLE table_28243691_2 (team_nickname VARCHAR, enrollment VARCHAR) [/INST]
### Response:
SELECT team_nickname FROM table_28243691_2 WHERE enrollment = 40747 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school is located in Huntsville, Texas?
### Context:
CREATE TABLE table_28243691_2 (institution VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT institution FROM table_28243691_2 WHERE location = "Huntsville, 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:
How many students are enrolled in the team nicknamed Comets?
### Context:
CREATE TABLE table_28243691_2 (enrollment VARCHAR, team_nickname VARCHAR) [/INST]
### Response:
SELECT enrollment FROM table_28243691_2 WHERE team_nickname = "Comets" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tenants for russia at the saransk stadium
### Context:
CREATE TABLE table_28281704_1 (tenant VARCHAR, country VARCHAR, stadium VARCHAR) [/INST]
### Response:
SELECT COUNT(tenant) FROM table_28281704_1 WHERE country = "Russia" AND stadium = "Saransk 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:
Name the country for lusail national stadium
### Context:
CREATE TABLE table_28281704_1 (country VARCHAR, stadium VARCHAR) [/INST]
### Response:
SELECT country FROM table_28281704_1 WHERE stadium = "Lusail National 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:
Name the city for los angeles stadium
### Context:
CREATE TABLE table_28281704_1 (city VARCHAR, stadium VARCHAR) [/INST]
### Response:
SELECT city FROM table_28281704_1 WHERE stadium = "Los Angeles 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:
Name the stadium for nizhny novgorod
### Context:
CREATE TABLE table_28281704_1 (stadium VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT stadium FROM table_28281704_1 WHERE city = "Nizhny Novgorod" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 country for athens
### Context:
CREATE TABLE table_28281704_1 (country VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT COUNT(country) FROM table_28281704_1 WHERE city = "Athens" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode 1.13 air for the first time?
### Context:
CREATE TABLE table_28283535_4 (date_aired VARCHAR, episode VARCHAR) [/INST]
### Response:
SELECT date_aired FROM table_28283535_4 WHERE episode = "1.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's the weekly rank of episode 1.03?
### Context:
CREATE TABLE table_28283535_4 (weekly_rank VARCHAR, episode VARCHAR) [/INST]
### Response:
SELECT weekly_rank FROM table_28283535_4 WHERE episode = "1.03" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rating of episode 1.04?
### Context:
CREATE TABLE table_28283535_4 (rating VARCHAR, episode VARCHAR) [/INST]
### Response:
SELECT rating FROM table_28283535_4 WHERE episode = "1.04" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 items are listed under caps when burnley is the club team?
### Context:
CREATE TABLE table_28286776_12 (cap_s_ VARCHAR, club_s_ VARCHAR) [/INST]
### Response:
SELECT COUNT(cap_s_) FROM table_28286776_12 WHERE club_s_ = "Burnley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 club did the championship player come from who had 10 goals?
### Context:
CREATE TABLE table_28286776_12 (club_s_ VARCHAR, goal_s_ VARCHAR) [/INST]
### Response:
SELECT club_s_ FROM table_28286776_12 WHERE goal_s_ = 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:
How many goals did the player from Ipswich town score?
### Context:
CREATE TABLE table_28286776_12 (goal_s_ INTEGER, club_s_ VARCHAR) [/INST]
### Response:
SELECT MIN(goal_s_) FROM table_28286776_12 WHERE club_s_ = "Ipswich Town" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 16 is the cap who is the player?
### Context:
CREATE TABLE table_28286776_50 (player VARCHAR, cap_s_ VARCHAR) [/INST]
### Response:
SELECT player FROM table_28286776_50 WHERE cap_s_ = 16 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When 2010 v australia is the interantional debut what is the club?
### Context:
CREATE TABLE table_28286776_50 (club_s_ VARCHAR, international_debut VARCHAR) [/INST]
### Response:
SELECT club_s_ FROM table_28286776_50 WHERE international_debut = "2010 v Australia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When winston reid category:articles with hcards is the player what is the club?
### Context:
CREATE TABLE table_28286776_50 (club_s_ VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT club_s_ FROM table_28286776_50 WHERE player = "Winston Reid Category:Articles with hCards" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tommy smith category:articles with hcards is the player and 1 is the goal how many cap(s) are there?
### Context:
CREATE TABLE table_28286776_50 (cap_s_ VARCHAR, goal_s_ VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(cap_s_) FROM table_28286776_50 WHERE goal_s_ = 1 AND player = "Tommy Smith Category:Articles with hCards" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rory fallon category:articles with hcards is the player when is the international debut?
### Context:
CREATE TABLE table_28286776_50 (international_debut VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT international_debut FROM table_28286776_50 WHERE player = "Rory Fallon Category:Articles with hCards" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 th title of the episode written by Nick Thiel?
### Context:
CREATE TABLE table_2828803_1 (title VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_2828803_1 WHERE written_by = "Nick Thiel" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 million u.s. viewers watched the episode with a production code of 2t7004?
### Context:
CREATE TABLE table_2828803_1 (us_viewers__millions_ VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT us_viewers__millions_ FROM table_2828803_1 WHERE production_code = "2T7004" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode that was directed by Dennis Smith?
### Context:
CREATE TABLE table_2828803_1 (title VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_2828803_1 WHERE directed_by = "Dennis Smith" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 site entries are there at 3:30pm and the visiting team is coastal carolina?
### Context:
CREATE TABLE table_28298589_2 (site VARCHAR, time VARCHAR, visiting_team VARCHAR) [/INST]
### Response:
SELECT COUNT(site) FROM table_28298589_2 WHERE time = "3:30pm" AND visiting_team = "Coastal Carolina" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when the visiting team is syracuse?
### Context:
CREATE TABLE table_28298589_2 (result VARCHAR, visiting_team VARCHAR) [/INST]
### Response:
SELECT result FROM table_28298589_2 WHERE visiting_team = "Syracuse" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 svein tuft is the winner what is the highest stage?
### Context:
CREATE TABLE table_28298471_14 (stage INTEGER, winner VARCHAR) [/INST]
### Response:
SELECT MAX(stage) FROM table_28298471_14 WHERE winner = "Svein Tuft" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 svein tuft is the winner how many stages are there?
### Context:
CREATE TABLE table_28298471_14 (stage VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT COUNT(stage) FROM table_28298471_14 WHERE winner = "Svein Tuft" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hayden roulston is the winner what is the team classification?
### Context:
CREATE TABLE table_28298471_14 (team_classification VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT team_classification FROM table_28298471_14 WHERE winner = "Hayden Roulston" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 michael reihs is the mountains classification what is the stage?
### Context:
CREATE TABLE table_28298471_14 (stage VARCHAR, mountains_classification VARCHAR) [/INST]
### Response:
SELECT stage FROM table_28298471_14 WHERE mountains_classification = "Michael Reihs" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 michael van stayen is the points classification what is the team classification?
### Context:
CREATE TABLE table_28298471_14 (team_classification VARCHAR, points_classification VARCHAR) [/INST]
### Response:
SELECT team_classification FROM table_28298471_14 WHERE points_classification = "Michael Van Stayen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hayden roulston is the winner what is the stage?
### Context:
CREATE TABLE table_28298471_14 (stage VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT stage FROM table_28298471_14 WHERE winner = "Hayden Roulston" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date was the game where Texas Southern was the visiting team?
### Context:
CREATE TABLE table_28298589_4 (date VARCHAR, visiting_team VARCHAR) [/INST]
### Response:
SELECT date FROM table_28298589_4 WHERE visiting_team = "Texas Southern" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Connecticut home games were broadcast?
### Context:
CREATE TABLE table_28298589_4 (broadcast VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT COUNT(broadcast) FROM table_28298589_4 WHERE home_team = "Connecticut" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 facility was Pittsburgh's home game played?
### Context:
CREATE TABLE table_28298589_4 (site VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT site FROM table_28298589_4 WHERE home_team = "Pittsburgh" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Washington's home game?
### Context:
CREATE TABLE table_28298589_4 (result VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT result FROM table_28298589_4 WHERE home_team = "Washington" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team that has a stadium capable of a capacity of 10,517 5,006 located?
### Context:
CREATE TABLE table_283203_1 (location VARCHAR, capacity VARCHAR) [/INST]
### Response:
SELECT location FROM table_283203_1 WHERE capacity = "10,517 5,006" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home venue of the team founded in 1993?
### Context:
CREATE TABLE table_283203_1 (home_venue VARCHAR, founded VARCHAR) [/INST]
### Response:
SELECT home_venue FROM table_283203_1 WHERE founded = 1993 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How long has the team who owns North Shore Events Centre Vector Arena been active?
### Context:
CREATE TABLE table_283203_1 (years_active VARCHAR, home_venue VARCHAR) [/INST]
### Response:
SELECT years_active FROM table_283203_1 WHERE home_venue = "North Shore Events Centre Vector Arena" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 capacity for the Home Venue of the New Zealand Breakers club?
### Context:
CREATE TABLE table_283203_1 (capacity VARCHAR, club VARCHAR) [/INST]
### Response:
SELECT capacity FROM table_283203_1 WHERE club = "New Zealand Breakers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were directed by Jeff Melman and 1.21million viewers?
### Context:
CREATE TABLE table_28334498_3 (no_in_season INTEGER, directed_by VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT MIN(no_in_season) FROM table_28334498_3 WHERE directed_by = "Jeff Melman" AND us_viewers__millions_ = "1.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 air date had 1.01 million U.S. viewers?
### Context:
CREATE TABLE table_28334498_3 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_28334498_3 WHERE us_viewers__millions_ = "1.01" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.