text
stringlengths
411
1.74k
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "texas" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text, "candidates" text );. Question: "What district is ruben hinojosa from?". [/INST] SELECT "district" FROM "texas" WHERE "incumbent"='Ruben Hinojosa';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "texas" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text, "candidates" text );. Question: "What district is nick lampson from?". [/INST] SELECT "district" FROM "texas" WHERE "incumbent"='Nick Lampson';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "washington" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "status" text, "opponent" text );. Question: "What year was incumbent jim mcdermott first elected?". [/INST] SELECT MIN("first_elected") FROM "washington" WHERE "incumbent"='Jim McDermott';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "washington" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "status" text, "opponent" text );. Question: "What was the result of the election of doc hastings (r) 53.3% jay inslee (d) 46.7%". [/INST] SELECT "status" FROM "washington" WHERE "opponent"='Doc Hastings (R) 53.3% Jay Inslee (D) 46.7%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pennsylvania" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text, "opponent" text );. Question: "What districts does incumbent Curt Weldon hold?". [/INST] SELECT "district" FROM "pennsylvania" WHERE "incumbent"='Curt Weldon';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_nationality" ( "country" text, "total_drivers" real, "champions" text, "championships" text, "current_september_22_2013" real, "first_driver_s" text, "last_current_driver_s_september_22_2013" text );. Question: "How many champions were there when the first driver was hiroki yoshimoto ( 2005 )?". [/INST] SELECT "champions" FROM "by_nationality" WHERE "first_driver_s"='Hiroki Yoshimoto ( 2005 )';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_nationality" ( "country" text, "total_drivers" real, "champions" text, "championships" text, "current_september_22_2013" real, "first_driver_s" text, "last_current_driver_s_september_22_2013" text );. Question: "How many entries are there for total drivers when the Last driver for september 22, 2013 was gianmarco raimondo?". [/INST] SELECT "total_drivers" FROM "by_nationality" WHERE "last_current_driver_s_september_22_2013"='Gianmarco Raimondo';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_nationality" ( "country" text, "total_drivers" real, "champions" text, "championships" text, "current_september_22_2013" real, "first_driver_s" text, "last_current_driver_s_september_22_2013" text );. Question: "How many champions were there when the last driver for September 22, 2013 was vladimir arabadzhiev ( 2010 )?". [/INST] SELECT "champions" FROM "by_nationality" WHERE "last_current_driver_s_september_22_2013"='Vladimir Arabadzhiev ( 2010 )';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_nationality" ( "country" text, "total_drivers" real, "champions" text, "championships" text, "current_september_22_2013" real, "first_driver_s" text, "last_current_driver_s_september_22_2013" text );. Question: "How many entries are there for first driver for Canada?". [/INST] SELECT COUNT("first_driver_s") FROM "by_nationality" WHERE "country"='Canada';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_nationality" ( "country" text, "total_drivers" real, "champions" text, "championships" text, "current_september_22_2013" real, "first_driver_s" text, "last_current_driver_s_september_22_2013" text );. Question: "How many champions were there when the last driver was Gianmarco Raimondo?". [/INST] SELECT "champions" FROM "by_nationality" WHERE "last_current_driver_s_september_22_2013"='Gianmarco Raimondo';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Name the candidates for georgia 8". [/INST] SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "district"='Georgia 8';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Name the party of georgia 4". [/INST] SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "district"='Georgia 4';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Name the party for jack thomas brinkley". [/INST] SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Jack Thomas Brinkley';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Name the districk for larry mcdonald". [/INST] SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Larry McDonald';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1341604_10" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text );. Question: "what's the result with district being florida 7". [/INST] SELECT "result" FROM "table1_1341604_10" WHERE "district"='Florida 7';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1341604_10" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text );. Question: "what's the district with result being new seat democratic gain". [/INST] SELECT "district" FROM "table1_1341604_10" WHERE "result"='New seat Democratic gain';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1341604_10" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text );. Question: " how many candidates with result being new seat democratic gain". [/INST] SELECT COUNT("candidates") FROM "table1_1341604_10" WHERE "result"='New seat Democratic gain';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1341604_10" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text );. Question: " how many result with district being florida 14". [/INST] SELECT COUNT("result") FROM "table1_1341604_10" WHERE "district"='Florida 14';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1341604_10" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text );. Question: "what's the first elected with district being florida 7". [/INST] SELECT "first_elected" FROM "table1_1341604_10" WHERE "district"='Florida 7';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1341604_10" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text );. Question: "who is the the candidates with incumbent being don fuqua". [/INST] SELECT "candidates" FROM "table1_1341604_10" WHERE "incumbent"='Don Fuqua';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "How many candidates were first elected in 1972?". [/INST] SELECT COUNT("candidates") FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1972;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What is the party with the candidates newt gingrich (r) 59.1% dock h. davis (d) 40.9%?". [/INST] SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "candidates"='Newt Gingrich (R) 59.1% Dock H. Davis (D) 40.9%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What is the earliest first elected for district georgia 1?". [/INST] SELECT MIN("first_elected") FROM "united_states_house_of_representatives_e" WHERE "district"='Georgia 1';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "How many parties were for candidates newt gingrich (r) 59.1% dock h. davis (d) 40.9%?". [/INST] SELECT COUNT("party") FROM "united_states_house_of_representatives_e" WHERE "candidates"='Newt Gingrich (R) 59.1% Dock H. Davis (D) 40.9%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "How many incumbents were for district georgia 6?". [/INST] SELECT COUNT("incumbent") FROM "united_states_house_of_representatives_e" WHERE "district"='Georgia 6';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Name the district for tim lee hall". [/INST] SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Tim Lee Hall';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Name the number of first elected for phil crane". [/INST] SELECT COUNT("first_elected") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Phil Crane';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Name the party for tim lee hall". [/INST] SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Tim Lee Hall';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Name the candidates for illinois 15". [/INST] SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "district"='Illinois 15';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Name the first elected for abner j. mikva". [/INST] SELECT "first_elected" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Abner J. Mikva';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Name the total number of incumbent for first elected of 1944". [/INST] SELECT COUNT("incumbent") FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1944;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1341930_38" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "How many incumbents come from alvin bush's district?". [/INST] SELECT COUNT("candidates") FROM "table1_1341930_38" WHERE "incumbent"='Alvin Bush';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text );. Question: "Who were the candidates in the Kentucky 4 voting district?". [/INST] SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "district"='Kentucky 4';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text );. Question: "How many times was incumbent Noble Jones Gregory first elected?". [/INST] SELECT COUNT("first_elected") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Noble Jones Gregory';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text );. Question: "What was the result in the voting district Kentucky 2?". [/INST] SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "district"='Kentucky 2';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text );. Question: "What was the result of the election incumbent Brent Spence took place in?". [/INST] SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Brent Spence';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text );. Question: "Which party won in the election in voting district Kentucky 5?". [/INST] SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "district"='Kentucky 5';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text );. Question: "List all candidates in the democratic party where the election had the incumbent Frank Chelf running.". [/INST] SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "party"='Democratic' AND "incumbent"='Frank Chelf';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Which district is jamie l. whitten from?". [/INST] SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Jamie L. Whitten';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What candidates are from mississippi 6?". [/INST] SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "district"='Mississippi 6';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What is the incumbent from 1941?". [/INST] SELECT "incumbent" FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1941;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What is the result for w. arthur winstead?". [/INST] SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='W. Arthur Winstead';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "How many were first elected in the Arkansas 4 district?". [/INST] SELECT COUNT("first_elected") FROM "united_states_house_of_representatives_e" WHERE "district"='Arkansas 4';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "How many districts had William F. Norrell as the incumbent?". [/INST] SELECT COUNT("district") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='William F. Norrell';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Which party has a first elected number bigger than 1939.0?". [/INST] SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "first_elected">1939.0;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "How many incumbents had a district of Arkansas 3?". [/INST] SELECT COUNT("incumbent") FROM "united_states_house_of_representatives_e" WHERE "district"='Arkansas 3';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What party did the incumbent from the Arkansas 5 district belong to? ". [/INST] SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "district"='Arkansas 5';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What party did the incumbent of the Arkansas 6 district belong to? ". [/INST] SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "district"='Arkansas 6';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What is the earliest years any of the incumbents were first elected? ". [/INST] SELECT MIN("first_elected") FROM "united_states_house_of_representatives_e";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What party did incumbent Brooks Hays belong to? ". [/INST] SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Brooks Hays';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1342338_3" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What kind of party is the district in Alabama 1?". [/INST] SELECT "party" FROM "table1_1342338_3" WHERE "district"='Alabama 1';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1342338_3" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "How many in lost renomination results were elected first?". [/INST] SELECT "first_elected" FROM "table1_1342338_3" WHERE "result"='Lost renomination';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1342338_3" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "How many in total were elected first in lost renomination?". [/INST] SELECT COUNT("first_elected") FROM "table1_1342338_3" WHERE "result"='Lost renomination';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "In what district was John E. Miller the incumbent? ". [/INST] SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='John E. Miller';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "In how many districts was the incumbent David Delano Glover? ". [/INST] SELECT COUNT("district") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='David Delano Glover';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What year was incumbent Claude Fuller first elected? ". [/INST] SELECT "first_elected" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Claude Fuller';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Who ran in the election where Claude Fuller was the incumbent? ". [/INST] SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Claude Fuller';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What is the result for thomas s. mcmillan?". [/INST] SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Thomas S. McMillan';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "Name the candidate for south carolina 1?". [/INST] SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "district"='South Carolina 1';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What is the party for south carolina 3?". [/INST] SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "district"='South Carolina 3';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What is the party for south carolina 3?". [/INST] SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "district"='South Carolina 3';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What is the result for south carolina 4?". [/INST] SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "district"='South Carolina 4';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "what's the district with incumbent being richard j. welch". [/INST] SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Richard J. Welch';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "what's the districtwith party being democratic". [/INST] SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "party"='Democratic';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "what's the district with candidates being harry lane englebright (r) unopposed". [/INST] SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "candidates"='Harry Lane Englebright (R) Unopposed';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: " how many candidates with district being california 7". [/INST] SELECT COUNT("candidates") FROM "united_states_house_of_representatives_e" WHERE "district"='California 7';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "what's the party with incumbent being william e. evans". [/INST] SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='William E. Evans';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What was the result of the election featuring william madison whittington?". [/INST] SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='William Madison Whittington';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "what is the total number of results where the district is south carolina 5?". [/INST] SELECT COUNT("result") FROM "united_states_house_of_representatives_e" WHERE "district"='South Carolina 5';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "who is the candidate in district south carolina 2?". [/INST] SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "district"='South Carolina 2';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "what year was william francis stevenson first elected?". [/INST] SELECT "first_elected" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='William Francis Stevenson';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text, "candidates" text );. Question: "What political party for burton e. sweet?". [/INST] SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Burton E. Sweet';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "how many locations have a record of 14-38?". [/INST] SELECT COUNT("location_attendance") FROM "game_log" WHERE "record"='14-38';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_13477468_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );. Question: "What number episode in the season is "The Family Lawyer"?". [/INST] SELECT "no_in_season" FROM "table1_13477468_3" WHERE "title"='\"The Family Lawyer\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_13477468_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );. Question: "Who wrote the episode that received 1.83 million U.S. viewers?". [/INST] SELECT "written_by" FROM "table1_13477468_3" WHERE "u_s_viewers_millions"='1.83';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_13477468_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );. Question: "What is the original air date of the episode directed by Jeff Melman?". [/INST] SELECT "original_air_date" FROM "table1_13477468_3" WHERE "directed_by"='Jeff Melman';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ships_of_the_class" ( "name" text, "pennant_number" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text, "current_status" text );. Question: "Which launch date involved the Driade?". [/INST] SELECT "launched" FROM "ships_of_the_class" WHERE "name"='Driade';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "counties" ( "county" text, "population" real, "per_capita_income" text, "median_household_income" text, "median_family_income" text );. Question: "What is the median household income of sacramento?". [/INST] SELECT "median_household_income" FROM "counties" WHERE "county"='Sacramento';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "counties" ( "county" text, "population" real, "per_capita_income" text, "median_household_income" text, "median_family_income" text );. Question: "What is the per capita income of shasta?". [/INST] SELECT "per_capita_income" FROM "counties" WHERE "county"='Shasta';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "counties" ( "county" text, "population" real, "per_capita_income" text, "median_household_income" text, "median_family_income" text );. Question: "Name the median family income for riverside". [/INST] SELECT "median_family_income" FROM "counties" WHERE "county"='Riverside';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "counties" ( "county" text, "population" real, "per_capita_income" text, "median_household_income" text, "median_family_income" text );. Question: "What is the median household income of butte?". [/INST] SELECT "median_household_income" FROM "counties" WHERE "county"='Butte';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2008_2009_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "What club got 239 points against?". [/INST] SELECT "club" FROM "2008_2009_table" WHERE "points_against"='239';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2008_2009_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "What is the value of the points column when the value of the column lost is "lost"". [/INST] SELECT "points" FROM "2008_2009_table" WHERE "lost"='Lost';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2008_2009_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );. Question: "How many tries against got the club with 62 tries for?". [/INST] SELECT "tries_against" FROM "2008_2009_table" WHERE "tries_for"='62';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2000_01_season_as_a_four_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" text, "jockey" text, "winner_2nd" text );. Question: "What group info is available for the 56.5 kg weight?". [/INST] SELECT "group" FROM "2000_01_season_as_a_four_year_old" WHERE "weight_kg"='56.5';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2000_01_season_as_a_four_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" text, "jockey" text, "winner_2nd" text );. Question: "What was the result for the railway stakes race?". [/INST] SELECT "result" FROM "2000_01_season_as_a_four_year_old" WHERE "race"='Railway Stakes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "election_results" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text, "2007_result" text );. Question: "What district is incument terry kilgore from?". [/INST] SELECT "district" FROM "election_results" WHERE "incumbent"='Terry Kilgore';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "election_results" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text, "2007_result" text );. Question: "How many times was incumbent onzlee ware elected?". [/INST] SELECT COUNT("elected") FROM "election_results" WHERE "incumbent"='Onzlee Ware';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "election_results" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text, "2007_result" text );. Question: "How many election results are there from the 19th district?". [/INST] SELECT COUNT("2007_result") FROM "election_results" WHERE "district"='19th';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "election_results" ( "district" text, "incumbent" text, "party" text, "elected" real, "status" text, "2007_result" text );. Question: "What was the last year someone was elected to the 14th district?". [/INST] SELECT MAX("elected") FROM "election_results" WHERE "district"='14th';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What was the score against san antonio?". [/INST] SELECT "score" FROM "game_log" WHERE "team"='San Antonio';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "How many games did the team play when they were 1-3?". [/INST] SELECT COUNT("score") FROM "game_log" WHERE "record"='1-3';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who was the opposing team for game 53?". [/INST] SELECT "team" FROM "game_log" WHERE "game"=53;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "How many games were played when the record was 26-21?". [/INST] SELECT COUNT("game") FROM "game_log" WHERE "record"='26-21';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "How many people had the high assists @ minnesota?". [/INST] SELECT COUNT("high_assists") FROM "game_log" WHERE "team"='@ Minnesota';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Who was the high rebounder against charlotte?". [/INST] SELECT "high_rebounds" FROM "game_log" WHERE "team"='Charlotte';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "Where did the team play and what was the attendance against new jersey?". [/INST] SELECT "location_attendance" FROM "game_log" WHERE "team"='New Jersey';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What day was the attendance at the staples center 18,176?". [/INST] SELECT "date" FROM "game_log" WHERE "location_attendance"='Staples Center 18,176';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_13636_1" ( "name" text, "first_operational" text, "numeral_system" text, "computing_mechanism" text, "programming" text, "turing_complete" text );. Question: "what's the turing complete with numeral system being decimal". [/INST] SELECT "turing_complete" FROM "table1_13636_1" WHERE "numeral_system"='Decimal';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_13636_1" ( "name" text, "first_operational" text, "numeral_system" text, "computing_mechanism" text, "programming" text, "turing_complete" text );. Question: "what's the computing mechanbeingm with name being atanasoff–berry computer (us)". [/INST] SELECT "computing_mechanism" FROM "table1_13636_1" WHERE "name"='Atanasoff–Berry Computer (US)';</s>