conversations listlengths 3 3 | source stringclasses 1 value | stack stringclasses 1 value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_1341586_19 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": " how many district with incumbent being lindy boggs"
},
{
"from": "gpt",
"value": "SELECT COUNT(district) FROM table_1341586_19 WHERE incumbent = \"Lindy... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341586_19 (result VARCHAR, candidates VARCHAR)"
},
{
"from": "human",
"value": "what's the result with candidates being billy tauzin (d) unopposed"
},
{
"from": "gpt",
"value": "SELECT result FROM table_1341586_19 WHERE candidates = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341586_19 (candidates VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": " how many candidates with result being retired to run for u. s. senate republican hold"
},
{
"from": "gpt",
"value": "SELECT COUNT(candidates) FROM table_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341586_19 (result VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "what's the result with district being louisiana 2"
},
{
"from": "gpt",
"value": "SELECT result FROM table_1341586_19 WHERE district = \"Louisiana 2\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341586_19 (candidates VARCHAR, first_elected VARCHAR)"
},
{
"from": "human",
"value": "who is the the candidates with first elected being 1977"
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1341586_19 WHERE first_elected ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341586_14 (result VARCHAR, first_elected VARCHAR)"
},
{
"from": "human",
"value": "What happened to the incombent who was elected in 1980?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_1341586_14 WHERE first_elected = 1980"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341586_14 (result VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "How did the election end for Terry L. Bruce?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_1341586_14 WHERE incumbent = \"Terry L. Bruce\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341586_36 (party VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What party was Tony P. Hall affiliated with?"
},
{
"from": "gpt",
"value": "SELECT party FROM table_1341586_36 WHERE incumbent = \"Tony P. Hall\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341586_43 (first_elected VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "Name number first elected for tennessee 2?"
},
{
"from": "gpt",
"value": "SELECT COUNT(first_elected) FROM table_1341586_43 WHERE district = \"Tennes... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341586_43 (candidates VARCHAR, first_elected VARCHAR)"
},
{
"from": "human",
"value": "Name the candidates in 1964"
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1341586_43 WHERE first_elected = 1964"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341586_44 (candidates VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "How many districts have Mac Sweeney as incumbent?"
},
{
"from": "gpt",
"value": "SELECT COUNT(candidates) FROM table_1341586_44 WHERE incumbent = \"Mac... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341586_44 (candidates VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "Who are all the candidates vying for Henry B. Gonzalez' seat?"
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1341586_44 WHERE incumbent = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341586_44 (candidates VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "Name all the candidates vying for Albert Bustamante's seat."
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1341586_44 WHERE incumbent = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341598_10 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "In what district was the incumbent Michael Bilirakis? "
},
{
"from": "gpt",
"value": "SELECT district FROM table_1341598_10 WHERE incumbent = \"Michael B... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341598_10 (candidates VARCHAR, first_elected VARCHAR)"
},
{
"from": "human",
"value": "Who is the candidate in election where the incumbent was first elected in 1980? "
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_134159... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341598_10 (party VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What party does incumbent Charles Edward Bennett belong to? "
},
{
"from": "gpt",
"value": "SELECT party FROM table_1341598_10 WHERE incumbent = \"Charles E... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341598_10 (result VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "What was the result of the election in the Florida 18 district? "
},
{
"from": "gpt",
"value": "SELECT result FROM table_1341598_10 WHERE district = \"Flori... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341598_10 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "In what district is the incumbent Lawrence J. Smith? "
},
{
"from": "gpt",
"value": "SELECT district FROM table_1341598_10 WHERE incumbent = \"Lawrence J... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341598_36 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "where is the district where the incumbent is del latta?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1341598_36 WHERE incumbent = \"Del Latt... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341598_36 (party VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "what is the party for district ohio 11?"
},
{
"from": "gpt",
"value": "SELECT party FROM table_1341598_36 WHERE district = \"Ohio 11\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341598_36 (candidates VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "who were the candidates for district ohio 6?"
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1341598_36 WHERE district = \"Ohio 6\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341598_11 (party VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "What is the party for District Georgia 9?"
},
{
"from": "gpt",
"value": "SELECT party FROM table_1341598_11 WHERE district = \"Georgia 9\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341598_11 (district VARCHAR, first_elected VARCHAR)"
},
{
"from": "human",
"value": "Which district shows a first elected of 1980?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1341598_11 WHERE first_elected = 1980"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341598_11 (party VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What is the party for the incumbent Wyche Fowler?"
},
{
"from": "gpt",
"value": "SELECT party FROM table_1341598_11 WHERE incumbent = \"Wyche Fowler\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341598_11 (candidates VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "Who are shown as candidates when George Darden is the incumbent?"
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1341598_11 WHERE incumbent... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341598_14 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What district has Dan Crane as incumbent?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1341598_14 WHERE incumbent = \"Dan Crane\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341598_39 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "In which district is Robert W. Edgar the incumbent?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1341598_39 WHERE incumbent = \"Robert W. Ed... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341598_39 (party VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "To which party does Robert W. Edgar belong?"
},
{
"from": "gpt",
"value": "SELECT party FROM table_1341598_39 WHERE incumbent = \"Robert W. Edgar\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341598_44 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What district is incumbent jack hightower from?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1341598_44 WHERE incumbent = \"Jack Hightower\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341598_44 (first_elected INTEGER, candidates VARCHAR)"
},
{
"from": "human",
"value": "What year were the election results tom loeffler (r) 80.6% joe sullivan (d) 19.4%?"
},
{
"from": "gpt",
"value": "SELECT MIN(first_elected) FROM ta... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341598_44 (incumbent VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "What incumbent won the district of texas 22?"
},
{
"from": "gpt",
"value": "SELECT incumbent FROM table_1341598_44 WHERE district = \"Texas 22\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341604_19 (incumbent VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "Who's the incumbent of the Louisiana 1 district?"
},
{
"from": "gpt",
"value": "SELECT incumbent FROM table_1341604_19 WHERE district = \"Louisiana 1\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341604_19 (candidates VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "Who were the candidates in the Louisiana 4 district?"
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1341604_19 WHERE district = \"Louisiana... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341604_19 (incumbent VARCHAR, first_elected VARCHAR)"
},
{
"from": "human",
"value": "Who's the incumbent in the district first elected in 1976?"
},
{
"from": "gpt",
"value": "SELECT incumbent FROM table_1341604_19 WHERE first_elected... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341604_22 (incumbent VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "what's the incumbent with district being massachusetts 2"
},
{
"from": "gpt",
"value": "SELECT incumbent FROM table_1341604_22 WHERE district = \"Massach... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341604_22 (party VARCHAR, candidates VARCHAR)"
},
{
"from": "human",
"value": "what's the party with candidates being silvio conte (r) unopposed"
},
{
"from": "gpt",
"value": "SELECT party FROM table_1341604_22 WHERE candidates = \"Si... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341604_22 (first_elected VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "what's the first elected with incumbent being joseph d. early"
},
{
"from": "gpt",
"value": "SELECT first_elected FROM table_1341604_22 WHERE incumb... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341604_22 (party VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "what's the party with dbeingtrict being massachusetts 3"
},
{
"from": "gpt",
"value": "SELECT party FROM table_1341604_22 WHERE district = \"Massachusetts 3\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341604_39 (candidates VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "How many candidates won the election in the district whose incumbent is Bud Shuster?"
},
{
"from": "gpt",
"value": "SELECT COUNT(candidates) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341604_39 (candidates VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What are the candidates in the district whose incumbent is Gus Yatron?"
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1341604_39 WHERE inc... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341604_39 (party VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "What's the winning party in the Pennsylvania 6 district?"
},
{
"from": "gpt",
"value": "SELECT party FROM table_1341604_39 WHERE district = \"Pennsylvania 6\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341640_39 (candidates VARCHAR, party VARCHAR)"
},
{
"from": "human",
"value": "What candidate is a member of the Republican party?"
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1341640_39 WHERE party = \"Republican\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341640_39 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What district is Ray Musto the incumbent of?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1341640_39 WHERE incumbent = \"Ray Musto\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341640_39 (party VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "How many parties does the incumbent Donald A. Bailey a member of?"
},
{
"from": "gpt",
"value": "SELECT COUNT(party) FROM table_1341640_39 WHERE incumbent =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341640_39 (result VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "What was the outcome of the election in Pennsylvania 6 district?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_1341640_39 WHERE district = \"Penns... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341640_43 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "Where was Al Gore elected"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1341640_43 WHERE incumbent = \"Al Gore\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341640_43 (result VARCHAR, first_elected VARCHAR)"
},
{
"from": "human",
"value": "Election results of 1976"
},
{
"from": "gpt",
"value": "SELECT result FROM table_1341640_43 WHERE first_elected = 1976"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341640_26 (incumbent VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "What was the incumbent for missouri 1?"
},
{
"from": "gpt",
"value": "SELECT incumbent FROM table_1341640_26 WHERE district = \"Missouri 1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341640_14 (result VARCHAR, first_elected VARCHAR)"
},
{
"from": "human",
"value": "What was the result of the election when someone was first elected in 1960?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_1341640_14 WHERE fi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341640_14 (first_elected VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What year was incumbent phil crane first elected?"
},
{
"from": "gpt",
"value": "SELECT first_elected FROM table_1341640_14 WHERE incumbent = \"Phil... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341640_14 (candidates VARCHAR, first_elected VARCHAR)"
},
{
"from": "human",
"value": "What candidates were featured in the 1974 election?"
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1341640_14 WHERE first_elected = 19... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_19 (first_elected VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What year was Jerry Huckaby first elected?"
},
{
"from": "gpt",
"value": "SELECT first_elected FROM table_1341663_19 WHERE incumbent = \"Jerry Hucka... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_19 (candidates VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What other cadidate ran against Dave Treen?"
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1341663_19 WHERE incumbent = \"Dave Treen\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_19 (first_elected INTEGER)"
},
{
"from": "human",
"value": "What year was the earliest first elected?"
},
{
"from": "gpt",
"value": "SELECT MIN(first_elected) FROM table_1341663_19"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_19 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What district did Dave Treen serve?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1341663_19 WHERE incumbent = \"Dave Treen\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_11 (incumbent VARCHAR, first_elected VARCHAR)"
},
{
"from": "human",
"value": "How many sitting politicians were originally elected in 1972?"
},
{
"from": "gpt",
"value": "SELECT COUNT(incumbent) FROM table_1341663_11 WHERE fir... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_11 (party VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "In the Georgia 6 district, what is the elected party?"
},
{
"from": "gpt",
"value": "SELECT party FROM table_1341663_11 WHERE district = \"Georgia 6\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_11 (result VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "In the race involving Billy Lee Evans as the seated Representative, was he elected again?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_1341663_1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_11 (party VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "How many parties are there in races involving Dawson Mathis?"
},
{
"from": "gpt",
"value": "SELECT COUNT(party) FROM table_1341663_11 WHERE incumbent = \"Da... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_44 (district VARCHAR, party VARCHAR)"
},
{
"from": "human",
"value": "Which district is republican?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1341663_44 WHERE party = \"Republican\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_44 (result VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "Name the result when the incumbent was george h. mahon"
},
{
"from": "gpt",
"value": "SELECT result FROM table_1341663_44 WHERE incumbent = \"George H. Mah... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_44 (incumbent VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "What was the incumbent of texas 3?"
},
{
"from": "gpt",
"value": "SELECT incumbent FROM table_1341663_44 WHERE district = \"Texas 3\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_44 (incumbent VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "What was the incumbent for texas 19?"
},
{
"from": "gpt",
"value": "SELECT incumbent FROM table_1341663_44 WHERE district = \"Texas 19\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_26 (district VARCHAR, candidates VARCHAR)"
},
{
"from": "human",
"value": "Which district has candidates is dick gephardt (d) 81.9% lee buchschacher (r) 18.1%?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1341663_2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_26 (result VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "What is the result for the district missouri 2?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_1341663_26 WHERE district = \"Missouri 2\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_26 (first_elected INTEGER, district VARCHAR)"
},
{
"from": "human",
"value": "When was the first elected for district missouri 7?"
},
{
"from": "gpt",
"value": "SELECT MIN(first_elected) FROM table_1341663_26 WHERE district = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_26 (first_elected INTEGER)"
},
{
"from": "human",
"value": "When was the earliest first election?"
},
{
"from": "gpt",
"value": "SELECT MIN(first_elected) FROM table_1341663_26"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_26 (incumbent VARCHAR, candidates VARCHAR)"
},
{
"from": "human",
"value": "How many times was the candidates dick gephardt (d) 81.9% lee buchschacher (r) 18.1%?"
},
{
"from": "gpt",
"value": "SELECT COUNT(incumbent) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_33 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What district did S. William Green belong to?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1341663_33 WHERE incumbent = \"S. William Green\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_33 (district VARCHAR, incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)"
},
{
"from": "human",
"value": "What district did the Democratic party incumbent Stephen J. Solarz get first elected to in 1974?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_33 (first_elected INTEGER, incumbent VARCHAR)"
},
{
"from": "human",
"value": "When was Stephen J. Solarz first elected?"
},
{
"from": "gpt",
"value": "SELECT MIN(first_elected) FROM table_1341663_33 WHERE incumbent = \"Stephen... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_33 (candidates VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "Who were the candidates when Shirley Chisholm was the incumbent?"
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1341663_33 WHERE incumbent... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_6 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What is the district that has Bob Wilson as an incumbent?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1341663_6 WHERE incumbent = \"Bob Wils... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_6 (result VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "How many outcomes were there in the elections in California 38?"
},
{
"from": "gpt",
"value": "SELECT COUNT(result) FROM table_1341663_6 WHERE district = \"C... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_6 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What district is Charles H. Wilson the incumbent of?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1341663_6 WHERE incumbent = \"Charles H. Wi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341663_6 (party VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "What party was the winning one in the elections in the California 30 district?"
},
{
"from": "gpt",
"value": "SELECT party FROM table_1341663_6 WHERE district... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341672_6 (result VARCHAR, candidates VARCHAR)"
},
{
"from": "human",
"value": "How many times did an election feature the result robert l. leggett (d) 50.2% albert dehr (r) 49.8%?"
},
{
"from": "gpt",
"value": "SELECT COUNT(result) FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341672_6 (first_elected INTEGER, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What year was incumbent mark w. hannaford elected?"
},
{
"from": "gpt",
"value": "SELECT MIN(first_elected) FROM table_1341672_6 WHERE incumbent = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341672_10 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "what is the district where the incumbent is richard kelly?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1341672_10 WHERE incumbent = \"Richa... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341672_10 (result VARCHAR, candidates VARCHAR)"
},
{
"from": "human",
"value": "what is the result where the candidates is robert l. f. sikes (d) unopposed?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_1341672_10 WHERE cand... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341672_10 (incumbent VARCHAR, candidates VARCHAR)"
},
{
"from": "human",
"value": "who is the incumbent where the candidates is william v. chappell, jr. (d) unopposed?"
},
{
"from": "gpt",
"value": "SELECT incumbent FROM table_1341672... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341672_10 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "what is the district where the incumbent is james a. haley?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1341672_10 WHERE incumbent = \"Jame... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341672_10 (candidates VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "who are the candidates where the district is florida 8?"
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1341672_10 WHERE district = \"Florid... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341690_13 (first_elected VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "what year was the first elected incumbant Sidney R. Yates?"
},
{
"from": "gpt",
"value": "SELECT first_elected FROM table_1341690_13 WHERE incumbent... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341690_18 (incumbent VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "How many incumbents are there in district Louisiana 5?"
},
{
"from": "gpt",
"value": "SELECT COUNT(incumbent) FROM table_1341690_18 WHERE district = \"Lo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341690_18 (incumbent VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "How many incumbents resulted in a lost renomination republican gain?"
},
{
"from": "gpt",
"value": "SELECT COUNT(incumbent) FROM table_1341690_18 WHERE res... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341690_18 (district VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "In which district is the incumbent John Breaux?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1341690_18 WHERE incumbent = \"John Breaux\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341690_18 (first_elected INTEGER, candidates VARCHAR)"
},
{
"from": "human",
"value": "What year was Otto Passman (d) unopposed first elected?"
},
{
"from": "gpt",
"value": "SELECT MAX(first_elected) FROM table_1341690_18 WHERE candid... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341690_18 (result VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What were the results when the incumbent was John Breaux?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_1341690_18 WHERE incumbent = \"John Breau... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341690_43 (candidates VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "Name the candidates for texas 1"
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1341690_43 WHERE district = \"Texas 1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341690_43 (incumbent VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "Name the incumbent for district texas 12"
},
{
"from": "gpt",
"value": "SELECT incumbent FROM table_1341690_43 WHERE district = \"Texas 12\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341690_43 (candidates VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "Name the candidates for texas 20"
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1341690_43 WHERE district = \"Texas 20\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341690_21 (district VARCHAR, candidates VARCHAR)"
},
{
"from": "human",
"value": "what is the district with the candidates edward boland (d) unopposed?"
},
{
"from": "gpt",
"value": "SELECT district FROM table_1341690_21 WHERE candida... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341690_21 (party VARCHAR, candidates VARCHAR)"
},
{
"from": "human",
"value": "what is the party where the candidates are edward boland (d) unopposed?"
},
{
"from": "gpt",
"value": "SELECT party FROM table_1341690_21 WHERE candidates ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341690_21 (party VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "what is the party where the incumbent is edward boland?"
},
{
"from": "gpt",
"value": "SELECT party FROM table_1341690_21 WHERE incumbent = \"Edward Boland\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341690_21 (incumbent VARCHAR, candidates VARCHAR)"
},
{
"from": "human",
"value": "How many times was the candidates paul tsongas (d) 60.6% paul w. cronin (r) 39.4%?"
},
{
"from": "gpt",
"value": "SELECT COUNT(incumbent) FROM table_13... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341690_20 (candidates VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "List all candidates in elections where the incumbent politician is Goodloe Byron."
},
{
"from": "gpt",
"value": "SELECT candidates FROM table_1341690_2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341690_20 (party VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "How many instances are there of party in the situation where Robert Bauman is the incumbent politician?"
},
{
"from": "gpt",
"value": "SELECT COUNT(party) F... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341690_20 (party VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What is the party of the election in which Robert Bauman is the incumbent?"
},
{
"from": "gpt",
"value": "SELECT party FROM table_1341690_20 WHERE incumbent... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1341690_20 (result VARCHAR, district VARCHAR)"
},
{
"from": "human",
"value": "List all results where the voting district is Maryland 7."
},
{
"from": "gpt",
"value": "SELECT result FROM table_1341690_20 WHERE district = \"Maryland 7\"... | know_sql | chosen |
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 9