question
stringlengths
12
244
sql
stringlengths
22
468
what is the district when the party is federalist and first elected is 1814?
SELECT District FROM table WHERE Party = Federalist AND First elected = 1814
Name the candidates for pennsylvania 14
SELECT Candidates FROM table WHERE District = Pennsylvania 14
Name the incumbent for jacob spangler (dr) 67.1% jacob hay (f) 32.9%
SELECT Incumbent FROM table WHERE Candidates = Jacob Spangler (DR) 67.1% Jacob Hay (F) 32.9%
Name the most first elected
SELECT MAX First elected FROM table
Name the number of candidates for samuel d. ingham
SELECT COUNT Candidates FROM table WHERE Incumbent = Samuel D. Ingham
Which district did William A. Burwell (Dr) belong to?
SELECT District FROM table WHERE Candidates = William A. Burwell (DR)
What was the result in the district represented by Thomas R. Gold?
SELECT Result FROM table WHERE Incumbent = Thomas R. Gold
Who is every incumbent when Kentucky 2 is the district?
SELECT Incumbent FROM table WHERE District = Kentucky 2
Who is first elected when Kentucky 6 is the district?
SELECT First elected FROM table WHERE District = Kentucky 6
What is every district for incumbent Joseph Desha?
SELECT District FROM table WHERE Incumbent = Joseph Desha
Which party experienced a result of lost re-election democratic-republican hold?
SELECT Party FROM table WHERE Result = Lost re-election Democratic-Republican hold
How many districts have John C. Calhoun as the incumbent?
SELECT COUNT District FROM table WHERE Incumbent = John C. Calhoun
Who was the incumbent in the Kentucky 8 district?
SELECT Incumbent FROM table WHERE District = Kentucky 8
What was the result in the election in the Kentucky 8 district?
SELECT Result FROM table WHERE District = Kentucky 8
What was the result in the election in the Kentucky 1 district?
SELECT Result FROM table WHERE District = Kentucky 1
What district had an election with incumbent john smilie?
SELECT District FROM table WHERE Incumbent = John Smilie
How many districts first elected someone in 1808 and had george smith as the incumbent?
SELECT COUNT District FROM table WHERE First elected = 1808 AND Incumbent = George Smith
Who was the incumbent in Virginia 3?
SELECT Incumbent FROM table WHERE District = Virginia 3
What incumbent was a federalist that was first elected in 1803?
SELECT Incumbent FROM table WHERE Party = Federalist AND First elected = 1803
How many parties were first elected in 1805?
SELECT COUNT Party FROM table WHERE First elected = 1805
What district was John Dawson from?
SELECT District FROM table WHERE Incumbent = John Dawson
Who were the running candidates when Samuel Riker was the incumbent?
SELECT Candidates FROM table WHERE Incumbent = Samuel Riker
Who were the candidates in the district where the incumbent was Nathaniel Macon?
SELECT Candidates FROM table WHERE Incumbent = Nathaniel Macon
What party did the incumbent Joseph Pearson belong to?
SELECT Party FROM table WHERE Incumbent = Joseph Pearson
How many incumbents are there in Pennsylvania 5?
SELECT COUNT Incumbent FROM table WHERE District = Pennsylvania 5
What are the parties listed for Pennsylvania 8?
SELECT Party FROM table WHERE District = Pennsylvania 8
Name the incumbent for candidates Joseph Hiester (dr) 83.2% Roswell Wells (f) 16.8%.
SELECT Incumbent FROM table WHERE Candidates = Joseph Hiester (DR) 83.2% Roswell Wells (F) 16.8%
What was the result for Andrew Gregg?
SELECT Result FROM table WHERE Incumbent = Andrew Gregg
What was the result for Pennsylvania 8?
SELECT Result FROM table WHERE District = Pennsylvania 8
What party did the incumbent from the Virginia 5 district who was re-elected and was first elected in 1797 belong to?
SELECT Party FROM table WHERE Result = Re-elected AND First elected = 1797 AND District = Virginia 5
When was the incumbent first elected in the district where the result was a democratic-republican gain?
SELECT First elected FROM table WHERE Result = Democratic-Republican gain
In what district was the incumbent Edwin Gray?
SELECT District FROM table WHERE Incumbent = Edwin Gray
When was the incumbent from the Virginia 10 district first elected?
SELECT First elected FROM table WHERE District = Virginia 10
Name the result for walter jones (dr) 99.0% henry lee (f) 1.0%
SELECT Result FROM table WHERE Candidates = Walter Jones (DR) 99.0% Henry Lee (F) 1.0%
Name the district for matthew clay
SELECT District FROM table WHERE Incumbent = Matthew Clay
Name the number of first elected for john smith
SELECT COUNT First elected FROM table WHERE Incumbent = John Smith
Name the incumbent for virginia 18
SELECT Incumbent FROM table WHERE District = Virginia 18
Name the district for john randolph (dr)
SELECT District FROM table WHERE Candidates = John Randolph (DR)
Name the incumbent for virginia 4
SELECT Incumbent FROM table WHERE District = Virginia 4
When was the earliest person elected?
SELECT MIN First elected FROM table
What party was re-elected to Virginia 12?
SELECT Party FROM table WHERE Result = Re-elected AND District = Virginia 12
What is the latest first elected?
SELECT MAX First elected FROM table
How many times were the candidates leven powell (f) 63.8% roger west (dr) 36.4%?
SELECT COUNT First elected FROM table WHERE Candidates = Leven Powell (F) 63.8% Roger West (DR) 36.4%
What is the district with the candidates leven powell (f) 63.8% roger west (dr) 36.4%?
SELECT District FROM table WHERE Candidates = Leven Powell (F) 63.8% Roger West (DR) 36.4%
What is the district with the incumbent john nicholas?
SELECT District FROM table WHERE Incumbent = John Nicholas
How many were in district virginia 6?
SELECT COUNT Candidates FROM table WHERE District = Virginia 6
If the district is Virginia 8, who is the Incumbent?
SELECT Incumbent FROM table WHERE District = Virginia 8
If the district is Virginia 17, who are the candidates?
SELECT Candidates FROM table WHERE District = Virginia 17
In how many different parts was the incumbent Abraham B. Venable?
SELECT COUNT Party FROM table WHERE Incumbent = Abraham B. Venable
What is the date for the mount panorama circuit?
SELECT Date FROM table WHERE Circuit = Mount Panorama Circuit
What was the location for the date 7–10 october?
SELECT City / State FROM table WHERE Date = 7–10 October
Who handled production for the race when the championship went to david wall and challenge was jordan ormsby?
SELECT Production FROM table WHERE Championship = David Wall AND Challenge = Jordan Ormsby
Which city and state hosted the adelaide street circuit?
SELECT City / State FROM table WHERE Circuit = Adelaide Street Circuit
Which circuit was held on 25–28 march?
SELECT Circuit FROM table WHERE Date = 25–28 March
How many productions are shown for rd 2?
SELECT COUNT Production FROM table WHERE Rd. = Rd 2
Name the writers for 46 in series
SELECT Writer(s) FROM table WHERE No. in series = 46
Name the production code for 60 number in series
SELECT Production code FROM table WHERE No. in series = 60
what is the title of the episode with the director pamela fryman and the production code 2alh07?
SELECT Title FROM table WHERE Director = Pamela Fryman AND Production code = 2ALH07
Which occurence has the matrix sim marked as 0.925?
SELECT Occurrence FROM table WHERE Matrix Sim = 0.925
What is the detailed family information where the sequence is aagtact?
SELECT COUNT Detailed Family Information FROM table WHERE Sequence = aAGTAct
What occurence has 0.925 listed as the matrix sim?
SELECT MAX Occurrence FROM table WHERE Matrix Sim = 0.925
What is the number listed in from for the Krueppel Like Transcription Factors?
SELECT MIN From FROM table WHERE Detailed Family Information = Krueppel like transcription factors
What is the smallest number listed in the from category?
SELECT MIN From FROM table
What is the conserved in mus musculus listing for sequence aagtact?
SELECT Conserved in Mus Musculus FROM table WHERE Sequence = aAGTAct
What is the nt identity when the species is drosophilia melanogaster?
SELECT NT Identity FROM table WHERE Species = Drosophilia melanogaster
What is the protein name when aa length is 202 aa?
SELECT Protein Name FROM table WHERE AA Length = 202 aa
What is the protein name when the e-value is 2.50e-41?
SELECT Protein Name FROM table WHERE E-Value = 2.50E-41
What is the aa length when the protein name is c11orf73?
SELECT AA Length FROM table WHERE Protein Name = C11orf73
How many times is the accession number xp_001843282?
SELECT COUNT Common Name FROM table WHERE Accession Number = XP_001843282
How many titles have U.S. viewers 1.66 million.
SELECT COUNT Title FROM table WHERE U.S. viewers (millions) = 1.66
What is every title when U.S. viewers is 1.04 million.
SELECT Title FROM table WHERE U.S. viewers (millions) = 1.04
What is the highest number in series with director as Phil Abraham?
SELECT MAX No. in series FROM table WHERE Directed by = Phil Abraham
How many entries for number in series when director is Bryan Cranston?
SELECT COUNT No. in series FROM table WHERE Directed by = Bryan Cranston
What is the earliest episode that was watched by 1.32 million viewers?
SELECT MIN No. in series FROM table WHERE U.S. viewers (millions) = 1.32
What is the latest episode written by John Shiban & Thomas Schnauz?
SELECT MAX No. in series FROM table WHERE Written by = John Shiban & Thomas Schnauz
What is the series number of the episode "Fly"?
SELECT COUNT No. in series FROM table WHERE Title = "Fly"
Who directed the eposide that was watched by 1.95 million US viewers?
SELECT Directed by FROM table WHERE U.S. viewers (millions) = 1.95
How many episodes are there for the three darts challenge with Sharon Osbourne?
SELECT MAX Episode Number FROM table WHERE Three Darts Challenge = Sharon Osbourne
What musical performances aired on 5 April 2010?
SELECT Musical Performance FROM table WHERE Air Date = 5 April 2010
What were the guests that aired on 7 June 2010?
SELECT Guests FROM table WHERE Air Date = 7 June 2010
Who was in the three darts challenge that aired on 10 may 2010?
SELECT Three Darts Challenge FROM table WHERE Air Date = 10 May 2010
Name the ends lost for canada
SELECT Ends Lost FROM table WHERE Country = Canada
Name the least ends won for anna kubešková
SELECT MIN Ends Won FROM table WHERE Skip = Anna Kubešková
Name the number of ends lost for 6 stolen ends
SELECT COUNT Ends Lost FROM table WHERE Stolen Ends = 6
When gniazdo is polish what is proto-slavic?
SELECT Proto-Slavic FROM table WHERE Polish = gniazdo
When рука / ruka is the serbo-croatian what is the macedonian?
SELECT Macedonian FROM table WHERE Serbo-Croatian = рука / ruka
When риба (ríba) is the macedonian what is the proto-slavic?
SELECT Proto-Slavic FROM table WHERE Macedonian = риба (ríba)
When гн(иј)ездо / gn(ij)ezdo is the serbo-croatian how many proto-slavics are there?
SELECT COUNT Proto-Slavic FROM table WHERE Serbo-Croatian = гн(иј)ездо / gn(ij)ezdo
When рыба (rýba) is the belarusian how many slovenes are there?
SELECT COUNT Slovene FROM table WHERE Belarusian = рыба (rýba)
When вуха (vúkha) is the belarusian how many slovaks are there?
SELECT COUNT Slovak FROM table WHERE Belarusian = вуха (vúkha)
How long does the 2579km route take?
SELECT 82.30 hrs(~3.5 days) FROM table WHERE 4286km = 2579km
What is the name of the only route that runs to bhavnagar?
SELECT Vivek Express /15905/15906 FROM table WHERE Kanyakumari = Bhavnagar
What is every original air date for the number in season of 7?
SELECT Original air date FROM table WHERE No. in season = 7
What is the number of participating parties when registered voters totaled 643629?
SELECT COUNT Participating parties FROM table WHERE Registered voters = 643629
What is the electoral district when total candidates were 35?
SELECT Electoral District FROM table WHERE Total candidates = 35
What is the number of seats in congress when the electoral district is Ucayali?
SELECT COUNT Seats in Congress FROM table WHERE Electoral District = Ucayali
What is the number of seats in congress when the candidates per party is 6?
SELECT COUNT Seats in Congress FROM table WHERE Candidates per party = 6
What is the number of total candidates when registered voters is 47742?
SELECT Total candidates FROM table WHERE Registered voters = 47742
Where does the judge who serves Beacon Falls , Naugatuck , Middlebury , Prospect reside?
SELECT Judges residence FROM table WHERE Municipalities served = Beacon Falls , Naugatuck , Middlebury , Prospect
What district is the court located in Tolland?
SELECT MAX District FROM table WHERE Location of court = Tolland