conversations listlengths 3 3 | source stringclasses 1 value | stack stringclasses 1 value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_1342331_43 (candidates VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the candidate where the incumbent is named James P. Buchanan?"
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1342331_4... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342331_43 (party VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What party is incumbent Oliver H. Cross?"
},
{
"from": "gpt",
"value": "SELECT party FROM table_1342331_43 WHERE incumbent = \"Oliver H. Cross\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342331_5 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "what's the district with incumbent being william j. driver"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1342331_5 WHERE incumbent = \"William... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342331_5 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "what's the district with incumbent being john e. miller"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1342331_5 WHERE incumbent = \"John E. Mi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342331_5 (incumbent VARCHAR, first_elected VARCHAR)"
},
{
"from": "human",
"value": " how many incumbent with first elected being 1932"
},
{
"from": "gpt",
"value": "SELECT COUNT(incumbent) FROM table_1342331_5 WHERE first_elected = 1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342331_5 (incumbent VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "who is the the incumbent with dbeingtrict being arkansas 1"
},
{
"from": "gpt",
"value": "SELECT incumbent FROM table_1342331_5 WHERE district = \"Arkansa... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342331_5 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": " how many district with incumbent being david delano glover"
},
{
"from": "gpt",
"value": "SELECT COUNT(district) FROM table_1342331_5 WHERE incumbent = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342331_5 (incumbent VARCHAR, candidates VARCHAR)"
},
{
"from": "human",
"value": "who is the the incumbent with candidates being ben cravens (d) unopposed"
},
{
"from": "gpt",
"value": "SELECT incumbent FROM table_1342331_5 WHERE cand... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342331_6 (result VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What was the result in the election in which the incumbent was Denver S. Church? "
},
{
"from": "gpt",
"value": "SELECT result FROM table_1342331_6 WHERE in... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342331_6 (result VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What was the result in the election in which Ralph R. Eltse was the incumbent?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_1342331_6 WHERE incum... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342331_6 (candidates VARCHAR, first_elected VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "Who was the candidate in the election in the California 8 district where the incumbent was first elected in 1932? "
},
{
"from": "gpt"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342359_15 (party VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "what are all the party with district being kansas 1"
},
{
"from": "gpt",
"value": "SELECT party FROM table_1342359_15 WHERE district = \"Kansas 1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342359_15 (result VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "what's the result with district being kansas 1"
},
{
"from": "gpt",
"value": "SELECT result FROM table_1342359_15 WHERE district = \"Kansas 1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342359_15 (candidates VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "who are the candidates with district being kansas 4"
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1342359_15 WHERE district = \"Kansas 4\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342359_15 (result VARCHAR, first_elected VARCHAR)"
},
{
"from": "human",
"value": "what's the result with first elected being 1922"
},
{
"from": "gpt",
"value": "SELECT result FROM table_1342359_15 WHERE first_elected = 1922"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342359_15 (candidates VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "who is the the candidates with dbeingtrict being kansas 5"
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1342359_15 WHERE district = \"Kans... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342359_15 (first_elected VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": " how many first elected with district is kansas 3"
},
{
"from": "gpt",
"value": "SELECT COUNT(first_elected) FROM table_1342359_15 WHERE district = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342359_4 (result VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "What was the result of the election in the Arkansas 2 district? "
},
{
"from": "gpt",
"value": "SELECT result FROM table_1342359_4 WHERE district = \"Arkansa... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342359_4 (result VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "What was the result of the election in the Arkansas 4 district? "
},
{
"from": "gpt",
"value": "SELECT result FROM table_1342359_4 WHERE district = \"Arkansa... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342359_4 (candidates VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "How many candidates ran in the election in the Arkansas 4 district? "
},
{
"from": "gpt",
"value": "SELECT COUNT(candidates) FROM table_1342359_4 WHERE d... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342359_2 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "How many districts does william b. oliver represent?"
},
{
"from": "gpt",
"value": "SELECT COUNT(district) FROM table_1342359_2 WHERE incumbent = \"Willia... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342359_2 (first_elected INTEGER)"
},
{
"from": "human",
"value": "What is the last year that someone is first elected?"
},
{
"from": "gpt",
"value": "SELECT MAX(first_elected) FROM table_1342359_2"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342359_17 (candidates VARCHAR, first_elected VARCHAR)"
},
{
"from": "human",
"value": "How many people were elected in 1929"
},
{
"from": "gpt",
"value": "SELECT COUNT(candidates) FROM table_1342359_17 WHERE first_elected = 1929"
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342359_17 (district VARCHAR, first_elected VARCHAR)"
},
{
"from": "human",
"value": "how many people won in 1914"
},
{
"from": "gpt",
"value": "SELECT COUNT(district) FROM table_1342359_17 WHERE first_elected = 1914"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342359_17 (incumbent VARCHAR, first_elected VARCHAR)"
},
{
"from": "human",
"value": "Who won in 1927"
},
{
"from": "gpt",
"value": "SELECT incumbent FROM table_1342359_17 WHERE first_elected = 1927"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342359_42 (incumbent VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "Name the number of incumbents for texas 12 "
},
{
"from": "gpt",
"value": "SELECT COUNT(incumbent) FROM table_1342359_42 WHERE district = \"Texas 12\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342370_10 (party VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "How many parties were represented for Charles R. Crisp?"
},
{
"from": "gpt",
"value": "SELECT COUNT(party) FROM table_1342370_10 WHERE incumbent = \"Charles... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342370_10 (district VARCHAR, first_elected VARCHAR)"
},
{
"from": "human",
"value": "In what district was the representative first elected in 1916?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1342370_10 WHERE first_elect... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342370_12 (candidates VARCHAR, first_elected VARCHAR)"
},
{
"from": "human",
"value": "Who were the candidates in the 1922 entry?"
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1342370_12 WHERE first_elected = 1922"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342370_17 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "In which district is James O'Connor the incumbent?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1342370_17 WHERE incumbent = \"James O'Conno... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342370_17 (party VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "To which party does Riley Joseph Wilson belong?"
},
{
"from": "gpt",
"value": "SELECT party FROM table_1342370_17 WHERE incumbent = \"Riley Joseph Wilson\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342370_42 (first_elected VARCHAR, result VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "How many of the first elected were listed when Hatton W. Sumners was incumbent and re-elected?"
},
{
"from": "gpt",
"value": "SELECT... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342370_41 (result VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What was the result in the election where the incumbent was Finis J. Garrett? "
},
{
"from": "gpt",
"value": "SELECT result FROM table_1342370_41 WHERE inc... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342370_41 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "In what district was the incumbent Cordell hull? "
},
{
"from": "gpt",
"value": "SELECT district FROM table_1342370_41 WHERE incumbent = \"Cordell Hull\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342370_41 (candidates VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "Who were the candidates in the election in the Tennessee 9 district? "
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1342370_41 WHERE distr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342379_20 (result VARCHAR, candidates VARCHAR)"
},
{
"from": "human",
"value": "What was the result of the election featuring james a. gallivan (d) unopposed?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_1342379_20 WHERE ca... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342379_20 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "How many districts does john j. douglass represent?"
},
{
"from": "gpt",
"value": "SELECT COUNT(district) FROM table_1342379_20 WHERE incumbent = \"John ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342379_10 (district VARCHAR, first_elected VARCHAR)"
},
{
"from": "human",
"value": "how many areas were in the election in 1912"
},
{
"from": "gpt",
"value": "SELECT COUNT(district) FROM table_1342379_10 WHERE first_elected = 1912"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342379_10 (party VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "what is the affiliation of charles h. brand"
},
{
"from": "gpt",
"value": "SELECT party FROM table_1342379_10 WHERE incumbent = \"Charles H. Brand\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342370_5 (candidates VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What candidates ran in the election that featured harry lane englebright?"
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1342370_5 WHERE in... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342379_2 (first_elected INTEGER, incumbent VARCHAR)"
},
{
"from": "human",
"value": "When was incumbent William B. Oliver first elected?"
},
{
"from": "gpt",
"value": "SELECT MAX(first_elected) FROM table_1342379_2 WHERE incumbent = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342379_23 (incumbent VARCHAR, candidates VARCHAR)"
},
{
"from": "human",
"value": "who is the the incumbent with candidates being percy e. quin (d) unopposed"
},
{
"from": "gpt",
"value": "SELECT incumbent FROM table_1342379_23 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342379_23 (district VARCHAR, candidates VARCHAR)"
},
{
"from": "human",
"value": "what's the district with candidates being john e. rankin (d) unopposed"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1342379_23 WHERE candid... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342379_23 (candidates VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "who is the the candidates with district being mississippi 4"
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1342379_23 WHERE district = \"Mi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342379_23 (incumbent VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "who is the incumbent for district mississippi 4"
},
{
"from": "gpt",
"value": "SELECT incumbent FROM table_1342379_23 WHERE district = \"Mississippi 4\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342379_23 (result VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "what's the result with incumbent being bill g. lowrey"
},
{
"from": "gpt",
"value": "SELECT result FROM table_1342379_23 WHERE incumbent = \"Bill G. Lowrey... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342379_23 (district VARCHAR, candidates VARCHAR)"
},
{
"from": "human",
"value": "what's the district with candidates being william madison whittington (d) unopposed"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1342379_2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342379_45 (first_elected INTEGER, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What was the last year that incumbent joseph t. deal was first elected?"
},
{
"from": "gpt",
"value": "SELECT MAX(first_elected) FROM table_1342379_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342379_45 (first_elected INTEGER)"
},
{
"from": "human",
"value": "What year was someone first elected?"
},
{
"from": "gpt",
"value": "SELECT MIN(first_elected) FROM table_1342379_45"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342379_41 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What district does edward everett eslick represent?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1342379_41 WHERE incumbent = \"Edward Evere... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342379_41 (first_elected VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "How many times was incumbent cordell hull first elected?"
},
{
"from": "gpt",
"value": "SELECT COUNT(first_elected) FROM table_1342379_41 WHERE incu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342379_41 (result VARCHAR, candidates VARCHAR)"
},
{
"from": "human",
"value": "How many times was the election joseph w. byrns, sr. (d) unopposed?"
},
{
"from": "gpt",
"value": "SELECT COUNT(result) FROM table_1342379_41 WHERE candid... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342393_23 (first_elected INTEGER, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What is the least first elected for jeff busby?"
},
{
"from": "gpt",
"value": "SELECT MIN(first_elected) FROM table_1342393_23 WHERE incumbent = \"J... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342393_23 (party VARCHAR, first_elected VARCHAR)"
},
{
"from": "human",
"value": "What was the party for first elected 1923?"
},
{
"from": "gpt",
"value": "SELECT party FROM table_1342393_23 WHERE first_elected = 1923"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342393_23 (result VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "Name the total number of result for mississippi 4?"
},
{
"from": "gpt",
"value": "SELECT COUNT(result) FROM table_1342393_23 WHERE district = \"Mississippi ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342393_10 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "what is the section where gordon lee ran"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1342393_10 WHERE incumbent = \"Gordon Lee\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342393_10 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "what section did frank park run in"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1342393_10 WHERE incumbent = \"Frank Park\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342393_10 (incumbent VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "who won in the race in the section georgia 5"
},
{
"from": "gpt",
"value": "SELECT incumbent FROM table_1342393_10 WHERE district = \"Georgia 5\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342426_18 (candidates VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "How many candidates won the election of john n. sandlin?"
},
{
"from": "gpt",
"value": "SELECT COUNT(candidates) FROM table_1342426_18 WHERE incumbent ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342426_18 (incumbent VARCHAR, candidates VARCHAR)"
},
{
"from": "human",
"value": "Who was the incumbent in the election of henry garland dupré (d) unopposed?"
},
{
"from": "gpt",
"value": "SELECT incumbent FROM table_1342426_18 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342426_3 (result VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What was the result when incumbent John R. Tyson was elected?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_1342426_3 WHERE incumbent = \"John R. ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342426_5 (result VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "Name the result for william j. driver"
},
{
"from": "gpt",
"value": "SELECT result FROM table_1342426_5 WHERE incumbent = \"William J. Driver\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342426_5 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "Name the district for william j. driver "
},
{
"from": "gpt",
"value": "SELECT district FROM table_1342426_5 WHERE incumbent = \"William J. Driver\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342426_5 (first_elected INTEGER, incumbent VARCHAR)"
},
{
"from": "human",
"value": "Name the lowest first elected for chester w. taylor"
},
{
"from": "gpt",
"value": "SELECT MIN(first_elected) FROM table_1342426_5 WHERE incumbent = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342451_16 (candidates VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "Who were the candidates when Henry Garland Dupré was incumbent?"
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1342451_16 WHERE incumbent ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342451_16 (candidates VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "How many candidates were there when Henry Garland Dupré was the incumbent? "
},
{
"from": "gpt",
"value": "SELECT COUNT(candidates) FROM table_1342451_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1342451_16 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What district did James O'Connor belong to?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1342451_16 WHERE incumbent = \"James O'Connor\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_13426649_1 (original_air_date VARCHAR, _number VARCHAR)"
},
{
"from": "human",
"value": "How many different original air dates did the episode number 6 have? "
},
{
"from": "gpt",
"value": "SELECT COUNT(original_air_date) FROM table_13... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_13426649_1 (written_by VARCHAR, production_code VARCHAR)"
},
{
"from": "human",
"value": "Who wrote the episode with production code 1ANJ01?"
},
{
"from": "gpt",
"value": "SELECT written_by FROM table_13426649_1 WHERE production_code =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_13456202_1 (location VARCHAR, mascot VARCHAR)"
},
{
"from": "human",
"value": "What are the locations with a panthers mascot?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_13456202_1 WHERE mascot = \"Panthers\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_13456202_1 (location VARCHAR, mascot VARCHAR)"
},
{
"from": "human",
"value": "What are the locations with an eagles macot?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_13456202_1 WHERE mascot = \"Eagles\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_13456202_1 (affiliation VARCHAR, mascot VARCHAR)"
},
{
"from": "human",
"value": "How many teams have an eagles mascot?"
},
{
"from": "gpt",
"value": "SELECT COUNT(affiliation) FROM table_13456202_1 WHERE mascot = \"Eagles\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_13456202_1 (affiliation VARCHAR, mascot VARCHAR)"
},
{
"from": "human",
"value": "How many teams have the titans as a mascot?"
},
{
"from": "gpt",
"value": "SELECT COUNT(affiliation) FROM table_13456202_1 WHERE mascot = \"Titans\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_13456202_1 (founded INTEGER, school VARCHAR)"
},
{
"from": "human",
"value": "WHat year was north college hill high school founded?"
},
{
"from": "gpt",
"value": "SELECT MAX(founded) FROM table_13456202_1 WHERE school = \"North College... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1346118_2 (incumbent VARCHAR, candidates VARCHAR)"
},
{
"from": "human",
"value": "Who was the incumbent when ran william b. oliver (d) unopposed?"
},
{
"from": "gpt",
"value": "SELECT incumbent FROM table_1346118_2 WHERE candidates = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1346118_5 (party VARCHAR, candidates VARCHAR)"
},
{
"from": "human",
"value": "Which party was the incumbent from when the cadidates were henry e. barbour (r) 52.1% henry hawson (d) 47.9%? Answer: Democratic"
},
{
"from": "gpt",
"valu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1346118_5 (district VARCHAR, candidates VARCHAR)"
},
{
"from": "human",
"value": "Which district was the race between john i. nolan (r) 87% thomas f. feeley (s) 13%?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1346118_5 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1346118_5 (result VARCHAR, candidates VARCHAR)"
},
{
"from": "human",
"value": "What was the net seat gain in the race john a. elston (r) 88.4% luella twining (s) 11.6%?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_1346118_5... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1346118_5 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "Which District was the incumbent Julius Kahn from? Answer: California 4th district"
},
{
"from": "gpt",
"value": "SELECT COUNT(district) FROM table_1346... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1346118_5 (result VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What was the result of the election when Clarence F. Lea was the incumbent?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_1346118_5 WHERE incumben... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_13464416_5 (team VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "Which team played in game 20?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_13464416_5 WHERE game = 20"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_13463790_2 (height__ft_ VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "what's the height (ft) with name being leadenhall building"
},
{
"from": "gpt",
"value": "SELECT height__ft_ FROM table_13463790_2 WHERE name = \"Leadenhal... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_13463790_2 (height__ft_ VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "what's the height (ft) with name being 52-54 lime street"
},
{
"from": "gpt",
"value": "SELECT height__ft_ FROM table_13463790_2 WHERE name = \"52-54 Lime ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_13463790_2 (city VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": " how many city with name being providence tower"
},
{
"from": "gpt",
"value": "SELECT COUNT(city) FROM table_13463790_2 WHERE name = \"Providence Tower\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_134729_3 (format VARCHAR, call_sign VARCHAR)"
},
{
"from": "human",
"value": "What station has the call number K213cl"
},
{
"from": "gpt",
"value": "SELECT format FROM table_134729_3 WHERE call_sign = \"K213CL\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_134729_3 (target_city__market VARCHAR, city_of_license VARCHAR)"
},
{
"from": "human",
"value": "What market is Wessington Springs in"
},
{
"from": "gpt",
"value": "SELECT target_city__market FROM table_134729_3 WHERE city_of_license =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_134729_3 (format VARCHAR, owner VARCHAR)"
},
{
"from": "human",
"value": "What station owns Moody Bible Institute"
},
{
"from": "gpt",
"value": "SELECT format FROM table_134729_3 WHERE owner = \"Moody Bible Institute\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_13480122_5 (date VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": " how many date with score being w 113–87"
},
{
"from": "gpt",
"value": "SELECT COUNT(date) FROM table_13480122_5 WHERE score = \"W 113–87\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_13480122_5 (game VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "what's the game with record being 29–3"
},
{
"from": "gpt",
"value": "SELECT game FROM table_13480122_5 WHERE record = \"29–3\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_13480122_5 (high_rebounds VARCHAR, high_assists VARCHAR)"
},
{
"from": "human",
"value": "who is the the high rebounds with high assbeingts being scottie pippen (9)"
},
{
"from": "gpt",
"value": "SELECT high_rebounds FROM table_1348012... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_13480122_5 (high_points VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "who is the the high points with score being w 117–93"
},
{
"from": "gpt",
"value": "SELECT high_points FROM table_13480122_5 WHERE score = \"W 117–93\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_13480122_5 (record VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "what's the record with date being january 13"
},
{
"from": "gpt",
"value": "SELECT record FROM table_13480122_5 WHERE date = \"January 13\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_13480122_5 (record VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "what are all the record where date is january 21"
},
{
"from": "gpt",
"value": "SELECT record FROM table_13480122_5 WHERE date = \"January 21\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_134987_3 (name VARCHAR, city_of_license VARCHAR, format VARCHAR)"
},
{
"from": "human",
"value": "What is the name of Rapid City's Adult Contemporary station?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_134987_3 WHERE city_of... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_134987_3 (target_city__market VARCHAR, city_of_license VARCHAR, format VARCHAR)"
},
{
"from": "human",
"value": "What are the market city/market(s) for Rapid City Alternative format?"
},
{
"from": "gpt",
"value": "SELECT target_city__m... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_134987_3 (frequency VARCHAR, format VARCHAR)"
},
{
"from": "human",
"value": "What is the frequency for the Christian Kawz-fm Translator station?"
},
{
"from": "gpt",
"value": "SELECT frequency FROM table_134987_3 WHERE format = \"Chri... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_134987_3 (target_city__market VARCHAR, frequency VARCHAR)"
},
{
"from": "human",
"value": "What is the target market for the station on 97.9 fm?"
},
{
"from": "gpt",
"value": "SELECT target_city__market FROM table_134987_3 WHERE freque... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_134987_3 (frequency VARCHAR, format VARCHAR)"
},
{
"from": "human",
"value": "What is the frequency of the Classic Country Krki-fm booster station?"
},
{
"from": "gpt",
"value": "SELECT frequency FROM table_134987_3 WHERE format = \"Cl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_134987_3 (target_city__market VARCHAR, call_sign VARCHAR)"
},
{
"from": "human",
"value": "What is the target market of the station with call sign KFXS?"
},
{
"from": "gpt",
"value": "SELECT target_city__market FROM table_134987_3 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1348989_2 (season VARCHAR, viewers__in_millions_ VARCHAR)"
},
{
"from": "human",
"value": "What year did the season finale have a total of 10.29 million viewers?"
},
{
"from": "gpt",
"value": "SELECT season AS Finale FROM table_1348989... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.