context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_238124_1 (bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR) | SELECT bleeding_time FROM table_238124_1 WHERE partial_thromboplastin_time = "Prolonged" AND prothrombin_time = "Unaffected" | What was the bleeding time during the prolonged partial thromboplastin time in which the prothrombin time is unaffected? | <s>[INST]What was the bleeding time during the prolonged partial thromboplastin time in which the prothrombin time is unaffected? Context: CREATE TABLE table_238124_1 (bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR)[/INST]SELECT bleeding_time FROM table_238124_1 WHERE partial_throm... |
CREATE TABLE table_name_38 (pens VARCHAR, conv VARCHAR, tries VARCHAR, player VARCHAR) | SELECT pens FROM table_name_38 WHERE tries = "1" AND player = "matt alexander" AND conv = "4" | Which pens has 1 tries and matt alexander as a player with conv of 4? | <s>[INST]Which pens has 1 tries and matt alexander as a player with conv of 4? Context: CREATE TABLE table_name_38 (pens VARCHAR, conv VARCHAR, tries VARCHAR, player VARCHAR)[/INST]SELECT pens FROM table_name_38 WHERE tries = "1" AND player = "matt alexander" AND conv = "4"</s> |
CREATE TABLE table_name_16 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_16 WHERE record = "14-31" | What is the date of the game with a record of 14-31? | <s>[INST]What is the date of the game with a record of 14-31? Context: CREATE TABLE table_name_16 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_16 WHERE record = "14-31"</s> |
CREATE TABLE table_name_79 (year VARCHAR, make_ VARCHAR, _model VARCHAR) | SELECT year FROM table_name_79 WHERE make_ & _model = "mci d4000n" | What year has a make & model of mci d4000n? | <s>[INST]What year has a make & model of mci d4000n? Context: CREATE TABLE table_name_79 (year VARCHAR, make_ VARCHAR, _model VARCHAR)[/INST]SELECT year FROM table_name_79 WHERE make_ & _model = "mci d4000n"</s> |
CREATE TABLE table_name_44 (airport VARCHAR, country VARCHAR, icao VARCHAR) | SELECT airport FROM table_name_44 WHERE country = "south africa" AND icao = "fajs" | Which airport is in South Africa and has a ICAO fajs? | <s>[INST]Which airport is in South Africa and has a ICAO fajs? Context: CREATE TABLE table_name_44 (airport VARCHAR, country VARCHAR, icao VARCHAR)[/INST]SELECT airport FROM table_name_44 WHERE country = "south africa" AND icao = "fajs"</s> |
CREATE TABLE table_name_73 (time_retired VARCHAR, laps VARCHAR, team VARCHAR) | SELECT time_retired FROM table_name_73 WHERE laps = 86 AND team = "hvm racing" | What Time/Retired has a Laps of 86 and the Team of HVM Racing? | <s>[INST]What Time/Retired has a Laps of 86 and the Team of HVM Racing? Context: CREATE TABLE table_name_73 (time_retired VARCHAR, laps VARCHAR, team VARCHAR)[/INST]SELECT time_retired FROM table_name_73 WHERE laps = 86 AND team = "hvm racing"</s> |
CREATE TABLE table_29546218_3 (skip__club_ VARCHAR, pf VARCHAR) | SELECT COUNT(skip__club_) FROM table_29546218_3 WHERE pf = 40 | What is the total mumber of skip (club) entries when the pf is 40? | <s>[INST]What is the total mumber of skip (club) entries when the pf is 40? Context: CREATE TABLE table_29546218_3 (skip__club_ VARCHAR, pf VARCHAR)[/INST]SELECT COUNT(skip__club_) FROM table_29546218_3 WHERE pf = 40</s> |
CREATE TABLE university (enrollment INTEGER, founded INTEGER) | SELECT AVG(enrollment) FROM university WHERE founded < 1850 | What are the average enrollment size of the universities that are founded before 1850? | <s>[INST]What are the average enrollment size of the universities that are founded before 1850? Context: CREATE TABLE university (enrollment INTEGER, founded INTEGER)[/INST]SELECT AVG(enrollment) FROM university WHERE founded < 1850</s> |
CREATE TABLE table_name_85 (composer_s_ VARCHAR, length VARCHAR) | SELECT composer_s_ FROM table_name_85 WHERE length = "6:24" | Who is the composer of the song with a length of 6:24? | <s>[INST]Who is the composer of the song with a length of 6:24? Context: CREATE TABLE table_name_85 (composer_s_ VARCHAR, length VARCHAR)[/INST]SELECT composer_s_ FROM table_name_85 WHERE length = "6:24"</s> |
CREATE TABLE table_24490665_1 (appointed VARCHAR, name VARCHAR) | SELECT appointed FROM table_24490665_1 WHERE name = "Jack Watson" | When was jack watson appointed? | <s>[INST]When was jack watson appointed? Context: CREATE TABLE table_24490665_1 (appointed VARCHAR, name VARCHAR)[/INST]SELECT appointed FROM table_24490665_1 WHERE name = "Jack Watson"</s> |
CREATE TABLE table_17335602_1 (winning_score VARCHAR, tournament VARCHAR) | SELECT COUNT(winning_score) FROM table_17335602_1 WHERE tournament = "RR Donnelley LPGA Founders Cup" | How many winning scores were there in the rr donnelley lpga founders cup? | <s>[INST]How many winning scores were there in the rr donnelley lpga founders cup? Context: CREATE TABLE table_17335602_1 (winning_score VARCHAR, tournament VARCHAR)[/INST]SELECT COUNT(winning_score) FROM table_17335602_1 WHERE tournament = "RR Donnelley LPGA Founders Cup"</s> |
CREATE TABLE table_name_2 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT SUM(gold) FROM table_name_2 WHERE bronze = 1 AND total = "6" AND silver < 3 | what is the gold when the bronze is 1, total is 6 and silver is less than 3? | <s>[INST]what is the gold when the bronze is 1, total is 6 and silver is less than 3? Context: CREATE TABLE table_name_2 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_2 WHERE bronze = 1 AND total = "6" AND silver < 3</s> |
CREATE TABLE table_name_78 (country VARCHAR, year_s__won VARCHAR) | SELECT country FROM table_name_78 WHERE year_s__won = "1998" | From which country is the player that won in 1998? | <s>[INST]From which country is the player that won in 1998? Context: CREATE TABLE table_name_78 (country VARCHAR, year_s__won VARCHAR)[/INST]SELECT country FROM table_name_78 WHERE year_s__won = "1998"</s> |
CREATE TABLE table_20866024_4 (wheelbase__mm_inch_ VARCHAR, model_designation VARCHAR) | SELECT wheelbase__mm_inch_ FROM table_20866024_4 WHERE model_designation = "97300" | What is the Wheelbase for Model 97300? | <s>[INST]What is the Wheelbase for Model 97300? Context: CREATE TABLE table_20866024_4 (wheelbase__mm_inch_ VARCHAR, model_designation VARCHAR)[/INST]SELECT wheelbase__mm_inch_ FROM table_20866024_4 WHERE model_designation = "97300"</s> |
CREATE TABLE table_22879323_9 (high_rebounds VARCHAR, location_attendance VARCHAR) | SELECT high_rebounds FROM table_22879323_9 WHERE location_attendance = "American Airlines Center" | Name the high rebounds for american airlines center | <s>[INST]Name the high rebounds for american airlines center Context: CREATE TABLE table_22879323_9 (high_rebounds VARCHAR, location_attendance VARCHAR)[/INST]SELECT high_rebounds FROM table_22879323_9 WHERE location_attendance = "American Airlines Center"</s> |
CREATE TABLE table_name_57 (rec INTEGER, avg INTEGER) | SELECT MIN(rec) FROM table_name_57 WHERE avg > 13 | What was the lowest recorded record for a player with an average larger than 13? | <s>[INST]What was the lowest recorded record for a player with an average larger than 13? Context: CREATE TABLE table_name_57 (rec INTEGER, avg INTEGER)[/INST]SELECT MIN(rec) FROM table_name_57 WHERE avg > 13</s> |
CREATE TABLE table_name_70 (b_score INTEGER, total VARCHAR, position VARCHAR) | SELECT SUM(b_score) FROM table_name_70 WHERE total > 16.125 AND position = "3rd" | What is the B Score when the total is more than 16.125, and position is 3rd? | <s>[INST]What is the B Score when the total is more than 16.125, and position is 3rd? Context: CREATE TABLE table_name_70 (b_score INTEGER, total VARCHAR, position VARCHAR)[/INST]SELECT SUM(b_score) FROM table_name_70 WHERE total > 16.125 AND position = "3rd"</s> |
CREATE TABLE table_name_85 (name__german_ VARCHAR, ideology VARCHAR) | SELECT name__german_ FROM table_name_85 WHERE ideology = "liberalism" | WHAT IS THE GERMAN NAME OF LIBERALISM? | <s>[INST]WHAT IS THE GERMAN NAME OF LIBERALISM? Context: CREATE TABLE table_name_85 (name__german_ VARCHAR, ideology VARCHAR)[/INST]SELECT name__german_ FROM table_name_85 WHERE ideology = "liberalism"</s> |
CREATE TABLE table_name_38 (artist VARCHAR, catalog__number VARCHAR) | SELECT artist FROM table_name_38 WHERE catalog__number = "zk 34354" | Who is the artist with catalog number ZK 34354? | <s>[INST]Who is the artist with catalog number ZK 34354? Context: CREATE TABLE table_name_38 (artist VARCHAR, catalog__number VARCHAR)[/INST]SELECT artist FROM table_name_38 WHERE catalog__number = "zk 34354"</s> |
CREATE TABLE table_26952212_1 (title VARCHAR, no_in_total VARCHAR) | SELECT title FROM table_26952212_1 WHERE no_in_total = "30" | What is the title for episode number 30? | <s>[INST]What is the title for episode number 30? Context: CREATE TABLE table_26952212_1 (title VARCHAR, no_in_total VARCHAR)[/INST]SELECT title FROM table_26952212_1 WHERE no_in_total = "30"</s> |
CREATE TABLE table_name_79 (nationality VARCHAR, position VARCHAR, pick__number VARCHAR) | SELECT nationality FROM table_name_79 WHERE position = "right wing" AND pick__number = "20" | What Nationality has a Position of right wing, with a #20 pick? | <s>[INST]What Nationality has a Position of right wing, with a #20 pick? Context: CREATE TABLE table_name_79 (nationality VARCHAR, position VARCHAR, pick__number VARCHAR)[/INST]SELECT nationality FROM table_name_79 WHERE position = "right wing" AND pick__number = "20"</s> |
CREATE TABLE table_name_88 (date VARCHAR, team VARCHAR, player VARCHAR) | SELECT date FROM table_name_88 WHERE team = "clare" AND player = "ger loughnane" | On which date did Ger Loughnane from Team Clare have a match? | <s>[INST]On which date did Ger Loughnane from Team Clare have a match? Context: CREATE TABLE table_name_88 (date VARCHAR, team VARCHAR, player VARCHAR)[/INST]SELECT date FROM table_name_88 WHERE team = "clare" AND player = "ger loughnane"</s> |
CREATE TABLE table_20462111_1 (winner VARCHAR, date VARCHAR) | SELECT winner FROM table_20462111_1 WHERE date = "30.11.2008" | Who won the cup on 30.11.2008? | <s>[INST]Who won the cup on 30.11.2008? Context: CREATE TABLE table_20462111_1 (winner VARCHAR, date VARCHAR)[/INST]SELECT winner FROM table_20462111_1 WHERE date = "30.11.2008"</s> |
CREATE TABLE table_name_68 (injured VARCHAR, location VARCHAR) | SELECT injured FROM table_name_68 WHERE location = "borneo" | How many are injured in Borneo? | <s>[INST]How many are injured in Borneo? Context: CREATE TABLE table_name_68 (injured VARCHAR, location VARCHAR)[/INST]SELECT injured FROM table_name_68 WHERE location = "borneo"</s> |
CREATE TABLE table_13758243_1 (overall INTEGER, player VARCHAR) | SELECT MAX(overall) FROM table_13758243_1 WHERE player = "Jerry Marion" | What numer pick in the draft for jerry marion | <s>[INST]What numer pick in the draft for jerry marion Context: CREATE TABLE table_13758243_1 (overall INTEGER, player VARCHAR)[/INST]SELECT MAX(overall) FROM table_13758243_1 WHERE player = "Jerry Marion"</s> |
CREATE TABLE table_name_66 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_66 WHERE opponent = "pittsburgh steelers" | In the game where they played the Pittsburgh Steelers, what was the attendance? | <s>[INST]In the game where they played the Pittsburgh Steelers, what was the attendance? Context: CREATE TABLE table_name_66 (attendance VARCHAR, opponent VARCHAR)[/INST]SELECT attendance FROM table_name_66 WHERE opponent = "pittsburgh steelers"</s> |
CREATE TABLE table_name_48 (pick INTEGER, player VARCHAR) | SELECT AVG(pick) FROM table_name_48 WHERE player = "dominic uy" | What pick was Dominic Uy? | <s>[INST]What pick was Dominic Uy? Context: CREATE TABLE table_name_48 (pick INTEGER, player VARCHAR)[/INST]SELECT AVG(pick) FROM table_name_48 WHERE player = "dominic uy"</s> |
CREATE TABLE table_name_77 (player VARCHAR, nationality VARCHAR, round VARCHAR) | SELECT player FROM table_name_77 WHERE nationality = "sweden" AND round > 3 | Who is the player from Sweden from a round after 3? | <s>[INST]Who is the player from Sweden from a round after 3? Context: CREATE TABLE table_name_77 (player VARCHAR, nationality VARCHAR, round VARCHAR)[/INST]SELECT player FROM table_name_77 WHERE nationality = "sweden" AND round > 3</s> |
CREATE TABLE table_name_10 (competition VARCHAR, year VARCHAR, venue VARCHAR) | SELECT competition FROM table_name_10 WHERE year < 2006 AND venue = "svk nitra" | What are the competitions that occurred before 2006 in SVK Nitra? | <s>[INST]What are the competitions that occurred before 2006 in SVK Nitra? Context: CREATE TABLE table_name_10 (competition VARCHAR, year VARCHAR, venue VARCHAR)[/INST]SELECT competition FROM table_name_10 WHERE year < 2006 AND venue = "svk nitra"</s> |
CREATE TABLE actor (first_name VARCHAR, last_name VARCHAR) | SELECT first_name, last_name FROM actor GROUP BY first_name, last_name ORDER BY COUNT(*) DESC LIMIT 1 | What is the most popular full name of the actors? | <s>[INST]What is the most popular full name of the actors? Context: CREATE TABLE actor (first_name VARCHAR, last_name VARCHAR)[/INST]SELECT first_name, last_name FROM actor GROUP BY first_name, last_name ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_14 (first_round VARCHAR, members VARCHAR) | SELECT first_round FROM table_name_14 WHERE members = "kenny smith" | What was the first round time for member Kenny Smith? | <s>[INST]What was the first round time for member Kenny Smith? Context: CREATE TABLE table_name_14 (first_round VARCHAR, members VARCHAR)[/INST]SELECT first_round FROM table_name_14 WHERE members = "kenny smith"</s> |
CREATE TABLE table_name_18 (termination_of_mission VARCHAR, appointed_by VARCHAR, representative VARCHAR) | SELECT termination_of_mission FROM table_name_18 WHERE appointed_by = "woodrow wilson" AND representative = "benton mcmillin" | Name the termination of mission for woodrow wilson appointed by and representative of benton mcmillin | <s>[INST]Name the termination of mission for woodrow wilson appointed by and representative of benton mcmillin Context: CREATE TABLE table_name_18 (termination_of_mission VARCHAR, appointed_by VARCHAR, representative VARCHAR)[/INST]SELECT termination_of_mission FROM table_name_18 WHERE appointed_by = "woodrow wilson" A... |
CREATE TABLE table_name_34 (result VARCHAR, location VARCHAR) | SELECT result FROM table_name_34 WHERE location = "harrogate" | Tell me the result for harrogate | <s>[INST]Tell me the result for harrogate Context: CREATE TABLE table_name_34 (result VARCHAR, location VARCHAR)[/INST]SELECT result FROM table_name_34 WHERE location = "harrogate"</s> |
CREATE TABLE table_name_99 (yards VARCHAR, avg VARCHAR, rec VARCHAR) | SELECT COUNT(yards) FROM table_name_99 WHERE avg = 9 AND rec = 1 | Name the total number of yards for avg of 9 and rec of 1 | <s>[INST]Name the total number of yards for avg of 9 and rec of 1 Context: CREATE TABLE table_name_99 (yards VARCHAR, avg VARCHAR, rec VARCHAR)[/INST]SELECT COUNT(yards) FROM table_name_99 WHERE avg = 9 AND rec = 1</s> |
CREATE TABLE table_name_36 (total INTEGER, rank VARCHAR, silver VARCHAR) | SELECT AVG(total) FROM table_name_36 WHERE rank = 6 AND silver < 0 | What is the average Total for the Rank of 6, when Silver is smaller than 0? | <s>[INST]What is the average Total for the Rank of 6, when Silver is smaller than 0? Context: CREATE TABLE table_name_36 (total INTEGER, rank VARCHAR, silver VARCHAR)[/INST]SELECT AVG(total) FROM table_name_36 WHERE rank = 6 AND silver < 0</s> |
CREATE TABLE Products (Product_Name VARCHAR, Product_ID VARCHAR); CREATE TABLE Products_in_Events (Product_ID VARCHAR) | SELECT T1.Product_Name, COUNT(*) FROM Products AS T1 JOIN Products_in_Events AS T2 ON T1.Product_ID = T2.Product_ID GROUP BY T1.Product_Name ORDER BY COUNT(*) DESC | Show the names of products and the number of events they are in, sorted by the number of events in descending order. | <s>[INST]Show the names of products and the number of events they are in, sorted by the number of events in descending order. Context: CREATE TABLE Products (Product_Name VARCHAR, Product_ID VARCHAR); CREATE TABLE Products_in_Events (Product_ID VARCHAR)[/INST]SELECT T1.Product_Name, COUNT(*) FROM Products AS T1 JOIN Pr... |
CREATE TABLE table_name_21 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_21 WHERE week = 9 | What date has 9 as the week? | <s>[INST]What date has 9 as the week? Context: CREATE TABLE table_name_21 (date VARCHAR, week VARCHAR)[/INST]SELECT date FROM table_name_21 WHERE week = 9</s> |
CREATE TABLE table_name_30 (best_score VARCHAR, dance VARCHAR) | SELECT best_score FROM table_name_30 WHERE dance = "freestyle" | What is the best score of the dance freestyle? | <s>[INST]What is the best score of the dance freestyle? Context: CREATE TABLE table_name_30 (best_score VARCHAR, dance VARCHAR)[/INST]SELECT best_score FROM table_name_30 WHERE dance = "freestyle"</s> |
CREATE TABLE table_11677691_4 (hometown VARCHAR, school VARCHAR) | SELECT hometown FROM table_11677691_4 WHERE school = "Shanley High school" | Where was the hometown for the player that attended Shanley High School? | <s>[INST]Where was the hometown for the player that attended Shanley High School? Context: CREATE TABLE table_11677691_4 (hometown VARCHAR, school VARCHAR)[/INST]SELECT hometown FROM table_11677691_4 WHERE school = "Shanley High school"</s> |
CREATE TABLE table_2076608_1 (founded INTEGER, enrollment VARCHAR) | SELECT MAX(founded) FROM table_2076608_1 WHERE enrollment = "696" | What was the largest founded year for schools having enrollment of exactly 696? | <s>[INST]What was the largest founded year for schools having enrollment of exactly 696? Context: CREATE TABLE table_2076608_1 (founded INTEGER, enrollment VARCHAR)[/INST]SELECT MAX(founded) FROM table_2076608_1 WHERE enrollment = "696"</s> |
CREATE TABLE table_1289860_2 (background VARCHAR, hometown VARCHAR) | SELECT COUNT(background) FROM table_1289860_2 WHERE hometown = "Memphis, Tennessee" | How many backgrounds are there represented from Memphis, Tennessee? | <s>[INST]How many backgrounds are there represented from Memphis, Tennessee? Context: CREATE TABLE table_1289860_2 (background VARCHAR, hometown VARCHAR)[/INST]SELECT COUNT(background) FROM table_1289860_2 WHERE hometown = "Memphis, Tennessee"</s> |
CREATE TABLE table_name_22 (attendance INTEGER, home VARCHAR) | SELECT AVG(attendance) FROM table_name_22 WHERE home = "chicago bears" | What was the average attendance when Chicago Bears were the home team? | <s>[INST]What was the average attendance when Chicago Bears were the home team? Context: CREATE TABLE table_name_22 (attendance INTEGER, home VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_22 WHERE home = "chicago bears"</s> |
CREATE TABLE table_name_7 (pick__number INTEGER, position VARCHAR, overall VARCHAR) | SELECT MIN(pick__number) FROM table_name_7 WHERE position = "defensive back" AND overall < 69 | Position of defensive back, and an Overall smaller than 69 is what lowest pick #? | <s>[INST]Position of defensive back, and an Overall smaller than 69 is what lowest pick #? Context: CREATE TABLE table_name_7 (pick__number INTEGER, position VARCHAR, overall VARCHAR)[/INST]SELECT MIN(pick__number) FROM table_name_7 WHERE position = "defensive back" AND overall < 69</s> |
CREATE TABLE table_12983929_1 (shut_down VARCHAR, commercial_operation VARCHAR) | SELECT shut_down FROM table_12983929_1 WHERE commercial_operation = "01.02.1984" | What's the shut down state of the unit that's been in commercial operation since 01.02.1984? | <s>[INST]What's the shut down state of the unit that's been in commercial operation since 01.02.1984? Context: CREATE TABLE table_12983929_1 (shut_down VARCHAR, commercial_operation VARCHAR)[/INST]SELECT shut_down FROM table_12983929_1 WHERE commercial_operation = "01.02.1984"</s> |
CREATE TABLE table_name_67 (byes VARCHAR, draws VARCHAR, wins VARCHAR) | SELECT COUNT(byes) FROM table_name_67 WHERE draws < 1 AND wins < 8 | What is the total number of byes associated with fewer than 8 wins and fewer than 1 draw? | <s>[INST]What is the total number of byes associated with fewer than 8 wins and fewer than 1 draw? Context: CREATE TABLE table_name_67 (byes VARCHAR, draws VARCHAR, wins VARCHAR)[/INST]SELECT COUNT(byes) FROM table_name_67 WHERE draws < 1 AND wins < 8</s> |
CREATE TABLE table_21795650_1 (points VARCHAR, series VARCHAR) | SELECT COUNT(points) FROM table_21795650_1 WHERE series = "Formula Renault 2.0 Italy" | What is the point total for the Formula Renault 2.0 Italy series? | <s>[INST]What is the point total for the Formula Renault 2.0 Italy series? Context: CREATE TABLE table_21795650_1 (points VARCHAR, series VARCHAR)[/INST]SELECT COUNT(points) FROM table_21795650_1 WHERE series = "Formula Renault 2.0 Italy"</s> |
CREATE TABLE table_name_31 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_31 WHERE date = "june 7" | On the date of june 7 what was the score? | <s>[INST]On the date of june 7 what was the score? Context: CREATE TABLE table_name_31 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_31 WHERE date = "june 7"</s> |
CREATE TABLE table_1341423_38 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1341423_38 WHERE district = "Pennsylvania 3" | Who were the candidates in district Pennsylvania 3? | <s>[INST]Who were the candidates in district Pennsylvania 3? Context: CREATE TABLE table_1341423_38 (candidates VARCHAR, district VARCHAR)[/INST]SELECT candidates FROM table_1341423_38 WHERE district = "Pennsylvania 3"</s> |
CREATE TABLE table_27700375_11 (high_rebounds VARCHAR, location_attendance VARCHAR) | SELECT high_rebounds FROM table_27700375_11 WHERE location_attendance = "Wells Fargo Center 16,695" | Name the high rebounds for wells fargo center 16,695 | <s>[INST]Name the high rebounds for wells fargo center 16,695 Context: CREATE TABLE table_27700375_11 (high_rebounds VARCHAR, location_attendance VARCHAR)[/INST]SELECT high_rebounds FROM table_27700375_11 WHERE location_attendance = "Wells Fargo Center 16,695"</s> |
CREATE TABLE table_22904707_1 (us_viewers__million_ VARCHAR, no VARCHAR) | SELECT us_viewers__million_ FROM table_22904707_1 WHERE no = 63 | How many million viewers did episode number 63 have? | <s>[INST]How many million viewers did episode number 63 have? Context: CREATE TABLE table_22904707_1 (us_viewers__million_ VARCHAR, no VARCHAR)[/INST]SELECT us_viewers__million_ FROM table_22904707_1 WHERE no = 63</s> |
CREATE TABLE table_name_32 (area__km_2__ VARCHAR, name VARCHAR, population__2011_ VARCHAR) | SELECT COUNT(area__km_2__) FROM table_name_32 WHERE name = "drakenstein" AND population__2011_ < 251 OFFSET 262 | What is the total area of drakenstein and a population less than 251,262? | <s>[INST]What is the total area of drakenstein and a population less than 251,262? Context: CREATE TABLE table_name_32 (area__km_2__ VARCHAR, name VARCHAR, population__2011_ VARCHAR)[/INST]SELECT COUNT(area__km_2__) FROM table_name_32 WHERE name = "drakenstein" AND population__2011_ < 251 OFFSET 262</s> |
CREATE TABLE table_name_79 (home VARCHAR, visitor VARCHAR) | SELECT home FROM table_name_79 WHERE visitor = "new york knicks" | Who was the home when the visitor was New York Knicks? | <s>[INST]Who was the home when the visitor was New York Knicks? Context: CREATE TABLE table_name_79 (home VARCHAR, visitor VARCHAR)[/INST]SELECT home FROM table_name_79 WHERE visitor = "new york knicks"</s> |
CREATE TABLE university (enrollment INTEGER) | SELECT SUM(enrollment), MIN(enrollment) FROM university | What is the total and minimum enrollment of all schools? | <s>[INST]What is the total and minimum enrollment of all schools? Context: CREATE TABLE university (enrollment INTEGER)[/INST]SELECT SUM(enrollment), MIN(enrollment) FROM university</s> |
CREATE TABLE table_name_24 (laps VARCHAR, grid VARCHAR) | SELECT COUNT(laps) FROM table_name_24 WHERE grid = 19 | What is the total laps for grid 19? | <s>[INST]What is the total laps for grid 19? Context: CREATE TABLE table_name_24 (laps VARCHAR, grid VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_24 WHERE grid = 19</s> |
CREATE TABLE table_name_24 (nat VARCHAR, name VARCHAR) | SELECT nat FROM table_name_24 WHERE name = "roma" | What nation had a ship named Roma? | <s>[INST]What nation had a ship named Roma? Context: CREATE TABLE table_name_24 (nat VARCHAR, name VARCHAR)[/INST]SELECT nat FROM table_name_24 WHERE name = "roma"</s> |
CREATE TABLE table_name_97 (club_team VARCHAR, player VARCHAR, overall VARCHAR, round VARCHAR) | SELECT club_team FROM table_name_97 WHERE overall > 131 AND round = 8 AND player = "kaj linna" | What Club team has an average of 8, plays kaj linna, and has an overall larger than 131? | <s>[INST]What Club team has an average of 8, plays kaj linna, and has an overall larger than 131? Context: CREATE TABLE table_name_97 (club_team VARCHAR, player VARCHAR, overall VARCHAR, round VARCHAR)[/INST]SELECT club_team FROM table_name_97 WHERE overall > 131 AND round = 8 AND player = "kaj linna"</s> |
CREATE TABLE table_name_81 (winning_score VARCHAR, margin_of_victory VARCHAR) | SELECT winning_score FROM table_name_81 WHERE margin_of_victory = "2 strokes" | What was the winning score with a margin victory of 2 strokes? | <s>[INST]What was the winning score with a margin victory of 2 strokes? Context: CREATE TABLE table_name_81 (winning_score VARCHAR, margin_of_victory VARCHAR)[/INST]SELECT winning_score FROM table_name_81 WHERE margin_of_victory = "2 strokes"</s> |
CREATE TABLE table_name_25 (score VARCHAR, attendance INTEGER) | SELECT score FROM table_name_25 WHERE attendance > 9 OFFSET 430 | What was the score when the Blue Jays had an attendance larger than 9,430? | <s>[INST]What was the score when the Blue Jays had an attendance larger than 9,430? Context: CREATE TABLE table_name_25 (score VARCHAR, attendance INTEGER)[/INST]SELECT score FROM table_name_25 WHERE attendance > 9 OFFSET 430</s> |
CREATE TABLE table_12828723_5 (won VARCHAR, tries_against VARCHAR) | SELECT won FROM table_12828723_5 WHERE tries_against = "54" | What was the amount won with tries against at 54? | <s>[INST]What was the amount won with tries against at 54? Context: CREATE TABLE table_12828723_5 (won VARCHAR, tries_against VARCHAR)[/INST]SELECT won FROM table_12828723_5 WHERE tries_against = "54"</s> |
CREATE TABLE table_18958648_1 (state_and_district_of_columbia VARCHAR, overweight__incl_obese__adults VARCHAR) | SELECT state_and_district_of_columbia FROM table_18958648_1 WHERE overweight__incl_obese__adults = "60.0%" | What is every state and District of Columbia with 60.0% overweight or obese adults? | <s>[INST]What is every state and District of Columbia with 60.0% overweight or obese adults? Context: CREATE TABLE table_18958648_1 (state_and_district_of_columbia VARCHAR, overweight__incl_obese__adults VARCHAR)[/INST]SELECT state_and_district_of_columbia FROM table_18958648_1 WHERE overweight__incl_obese__adults = "6... |
CREATE TABLE table_name_39 (no_5 VARCHAR, no_4 VARCHAR, no_8 VARCHAR, no_10 VARCHAR) | SELECT no_5 FROM table_name_39 WHERE no_8 = "logan" AND no_10 = "ethan" AND no_4 = "jacob" | Name the No. 5 which has a No. 8 of logan, and a No. 10 of ethan, and a No. 4 of jacob? | <s>[INST]Name the No. 5 which has a No. 8 of logan, and a No. 10 of ethan, and a No. 4 of jacob? Context: CREATE TABLE table_name_39 (no_5 VARCHAR, no_4 VARCHAR, no_8 VARCHAR, no_10 VARCHAR)[/INST]SELECT no_5 FROM table_name_39 WHERE no_8 = "logan" AND no_10 = "ethan" AND no_4 = "jacob"</s> |
CREATE TABLE table_15621965_18 (no VARCHAR, position VARCHAR, school_club_team VARCHAR) | SELECT no FROM table_15621965_18 WHERE position = "Guard" AND school_club_team = "Oklahoma State" | WHAT WAS THE JERSEY NUMBER OF THE ROSTER PLAYER FROM OKLAHOMA STATE WHO PLAYED GUARD? | <s>[INST]WHAT WAS THE JERSEY NUMBER OF THE ROSTER PLAYER FROM OKLAHOMA STATE WHO PLAYED GUARD? Context: CREATE TABLE table_15621965_18 (no VARCHAR, position VARCHAR, school_club_team VARCHAR)[/INST]SELECT no FROM table_15621965_18 WHERE position = "Guard" AND school_club_team = "Oklahoma State"</s> |
CREATE TABLE table_name_78 (recipient VARCHAR, date VARCHAR) | SELECT recipient FROM table_name_78 WHERE date = "12/11/03" | What movie won with a date of 12/11/03 | <s>[INST]What movie won with a date of 12/11/03 Context: CREATE TABLE table_name_78 (recipient VARCHAR, date VARCHAR)[/INST]SELECT recipient FROM table_name_78 WHERE date = "12/11/03"</s> |
CREATE TABLE table_23835213_2 (undisclosed VARCHAR, adam_hinshelwood VARCHAR) | SELECT undisclosed FROM table_23835213_2 WHERE adam_hinshelwood = "Ricky Newman" | What are the undisclosed when Adam Hinshelwood is Ricky Newman? | <s>[INST]What are the undisclosed when Adam Hinshelwood is Ricky Newman? Context: CREATE TABLE table_23835213_2 (undisclosed VARCHAR, adam_hinshelwood VARCHAR)[/INST]SELECT undisclosed FROM table_23835213_2 WHERE adam_hinshelwood = "Ricky Newman"</s> |
CREATE TABLE table_name_83 (number_of_electorates__2009_ VARCHAR, constituency_number VARCHAR) | SELECT COUNT(number_of_electorates__2009_) FROM table_name_83 WHERE constituency_number = "193" | What is the total number of electorates in 2009 with a constituency of 193? | <s>[INST]What is the total number of electorates in 2009 with a constituency of 193? Context: CREATE TABLE table_name_83 (number_of_electorates__2009_ VARCHAR, constituency_number VARCHAR)[/INST]SELECT COUNT(number_of_electorates__2009_) FROM table_name_83 WHERE constituency_number = "193"</s> |
CREATE TABLE table_name_9 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR) | SELECT date_of_vacancy FROM table_name_9 WHERE manner_of_departure = "fired" AND replaced_by = "albert cartier" | What was the date of vacancy where the replacement was Albert Cartier and the manager was fired? | <s>[INST]What was the date of vacancy where the replacement was Albert Cartier and the manager was fired? Context: CREATE TABLE table_name_9 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR)[/INST]SELECT date_of_vacancy FROM table_name_9 WHERE manner_of_departure = "fired" AND replaced_by = "a... |
CREATE TABLE table_1949994_7 (premiere_air_dates VARCHAR, country VARCHAR) | SELECT premiere_air_dates FROM table_1949994_7 WHERE country = "The Netherlands" | When did the season located in the Netherlands premier? | <s>[INST]When did the season located in the Netherlands premier? Context: CREATE TABLE table_1949994_7 (premiere_air_dates VARCHAR, country VARCHAR)[/INST]SELECT premiere_air_dates FROM table_1949994_7 WHERE country = "The Netherlands"</s> |
CREATE TABLE table_22118197_1 (result VARCHAR, portuguese_title VARCHAR) | SELECT result FROM table_22118197_1 WHERE portuguese_title = "Um Filme Falado" | What was the result of the film with the Portuguese title, Um Filme Falado? | <s>[INST]What was the result of the film with the Portuguese title, Um Filme Falado? Context: CREATE TABLE table_22118197_1 (result VARCHAR, portuguese_title VARCHAR)[/INST]SELECT result FROM table_22118197_1 WHERE portuguese_title = "Um Filme Falado"</s> |
CREATE TABLE table_name_68 (replaced_by VARCHAR, date_of_vacancy VARCHAR) | SELECT replaced_by FROM table_name_68 WHERE date_of_vacancy = "23 february 2009" | What is Replaced By, when Date of Vacancy is "23 February 2009"? | <s>[INST]What is Replaced By, when Date of Vacancy is "23 February 2009"? Context: CREATE TABLE table_name_68 (replaced_by VARCHAR, date_of_vacancy VARCHAR)[/INST]SELECT replaced_by FROM table_name_68 WHERE date_of_vacancy = "23 february 2009"</s> |
CREATE TABLE body_builder (Snatch VARCHAR, Clean_Jerk VARCHAR) | SELECT Snatch, Clean_Jerk FROM body_builder ORDER BY Snatch | List the snatch score and clean jerk score of body builders in ascending order of snatch score. | <s>[INST]List the snatch score and clean jerk score of body builders in ascending order of snatch score. Context: CREATE TABLE body_builder (Snatch VARCHAR, Clean_Jerk VARCHAR)[/INST]SELECT Snatch, Clean_Jerk FROM body_builder ORDER BY Snatch</s> |
CREATE TABLE table_19805130_3 (rating VARCHAR) | SELECT COUNT(rating) FROM table_19805130_3 WHERE rating / SHARE(18 - 49) = 3.8 / 10 | If the rating/share is 3.8/10, what is the total number of rating? | <s>[INST]If the rating/share is 3.8/10, what is the total number of rating? Context: CREATE TABLE table_19805130_3 (rating VARCHAR)[/INST]SELECT COUNT(rating) FROM table_19805130_3 WHERE rating / SHARE(18 - 49) = 3.8 / 10</s> |
CREATE TABLE table_14009909_1 (counties_represented VARCHAR, district VARCHAR) | SELECT counties_represented FROM table_14009909_1 WHERE district = "12.1 12A" | What are the counties represented in District 12.1 12a? | <s>[INST]What are the counties represented in District 12.1 12a? Context: CREATE TABLE table_14009909_1 (counties_represented VARCHAR, district VARCHAR)[/INST]SELECT counties_represented FROM table_14009909_1 WHERE district = "12.1 12A"</s> |
CREATE TABLE table_name_96 (completion_schedule VARCHAR, state VARCHAR, total_capacity__mw_ VARCHAR) | SELECT completion_schedule FROM table_name_96 WHERE state = "himachal pradesh" AND total_capacity__mw_ = 800 | What is the completion schedule for himachal pradesh state with a total capacity (MW) of 800? | <s>[INST]What is the completion schedule for himachal pradesh state with a total capacity (MW) of 800? Context: CREATE TABLE table_name_96 (completion_schedule VARCHAR, state VARCHAR, total_capacity__mw_ VARCHAR)[/INST]SELECT completion_schedule FROM table_name_96 WHERE state = "himachal pradesh" AND total_capacity__mw... |
CREATE TABLE table_2454550_1 (most_laps_led VARCHAR, track VARCHAR) | SELECT most_laps_led FROM table_2454550_1 WHERE track = "Chicagoland Speedway" | Who had most laps led at Chicagoland speedway? | <s>[INST]Who had most laps led at Chicagoland speedway? Context: CREATE TABLE table_2454550_1 (most_laps_led VARCHAR, track VARCHAR)[/INST]SELECT most_laps_led FROM table_2454550_1 WHERE track = "Chicagoland Speedway"</s> |
CREATE TABLE table_name_93 (character VARCHAR, duration VARCHAR, actor VARCHAR) | SELECT character FROM table_name_93 WHERE duration = "13 years" AND actor = "vicky versavel" | What character did Vicky Versavel play for 13 years? | <s>[INST]What character did Vicky Versavel play for 13 years? Context: CREATE TABLE table_name_93 (character VARCHAR, duration VARCHAR, actor VARCHAR)[/INST]SELECT character FROM table_name_93 WHERE duration = "13 years" AND actor = "vicky versavel"</s> |
CREATE TABLE table_2618119_1 (title VARCHAR, directed_by VARCHAR, no_in_series VARCHAR) | SELECT COUNT(title) FROM table_2618119_1 WHERE directed_by = "Matthew Penn" AND no_in_series = 143 | How many titles have directors of matthew Penn and number in series of 143? | <s>[INST]How many titles have directors of matthew Penn and number in series of 143? Context: CREATE TABLE table_2618119_1 (title VARCHAR, directed_by VARCHAR, no_in_series VARCHAR)[/INST]SELECT COUNT(title) FROM table_2618119_1 WHERE directed_by = "Matthew Penn" AND no_in_series = 143</s> |
CREATE TABLE table_13657883_2 (to_winning_team VARCHAR, tu_winning_team VARCHAR) | SELECT to_winning_team FROM table_13657883_2 WHERE tu_winning_team = "#16 2002" | What was the to winnning team when the tu winning team was #16 2002? | <s>[INST]What was the to winnning team when the tu winning team was #16 2002? Context: CREATE TABLE table_13657883_2 (to_winning_team VARCHAR, tu_winning_team VARCHAR)[/INST]SELECT to_winning_team FROM table_13657883_2 WHERE tu_winning_team = "#16 2002"</s> |
CREATE TABLE table_name_24 (fire VARCHAR, metal VARCHAR) | SELECT fire FROM table_name_24 WHERE metal = "dry" | Which fire has dry metal? | <s>[INST]Which fire has dry metal? Context: CREATE TABLE table_name_24 (fire VARCHAR, metal VARCHAR)[/INST]SELECT fire FROM table_name_24 WHERE metal = "dry"</s> |
CREATE TABLE table_name_34 (rank INTEGER, country VARCHAR, total VARCHAR) | SELECT MAX(rank) FROM table_name_34 WHERE country = "peru" AND total > 3 | What rank was Peru with a total greater than 3? | <s>[INST]What rank was Peru with a total greater than 3? Context: CREATE TABLE table_name_34 (rank INTEGER, country VARCHAR, total VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_34 WHERE country = "peru" AND total > 3</s> |
CREATE TABLE table_name_56 (away_team VARCHAR, time VARCHAR) | SELECT away_team AS score FROM table_name_56 WHERE time = "6:00 pm" AND away_team = "hawthorn" | What is the away team score for the match at 6:00 PM and an away team of Hawthorn? | <s>[INST]What is the away team score for the match at 6:00 PM and an away team of Hawthorn? Context: CREATE TABLE table_name_56 (away_team VARCHAR, time VARCHAR)[/INST]SELECT away_team AS score FROM table_name_56 WHERE time = "6:00 pm" AND away_team = "hawthorn"</s> |
CREATE TABLE table_name_64 (attendance INTEGER, date VARCHAR) | SELECT MAX(attendance) FROM table_name_64 WHERE date = "25 january 2004" | Name the most attendance for 25 january 2004 | <s>[INST]Name the most attendance for 25 january 2004 Context: CREATE TABLE table_name_64 (attendance INTEGER, date VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_64 WHERE date = "25 january 2004"</s> |
CREATE TABLE table_name_12 (points INTEGER, name VARCHAR, games VARCHAR) | SELECT SUM(points) FROM table_name_12 WHERE name = "antwain barbour" AND games < 39 | How many points did Antwain Barbour score in the year he played 39 games? | <s>[INST]How many points did Antwain Barbour score in the year he played 39 games? Context: CREATE TABLE table_name_12 (points INTEGER, name VARCHAR, games VARCHAR)[/INST]SELECT SUM(points) FROM table_name_12 WHERE name = "antwain barbour" AND games < 39</s> |
CREATE TABLE table_221315_3 (max_speed__mph_ VARCHAR, usaf_space_flights VARCHAR, total_flights VARCHAR) | SELECT COUNT(max_speed__mph_) FROM table_221315_3 WHERE usaf_space_flights = 1 AND total_flights = 34 | How many numbers were recorded under max speed for 1 USAF space flight and total flights 34? | <s>[INST]How many numbers were recorded under max speed for 1 USAF space flight and total flights 34? Context: CREATE TABLE table_221315_3 (max_speed__mph_ VARCHAR, usaf_space_flights VARCHAR, total_flights VARCHAR)[/INST]SELECT COUNT(max_speed__mph_) FROM table_221315_3 WHERE usaf_space_flights = 1 AND total_flights =... |
CREATE TABLE table_23793770_1 (production_code INTEGER, directed_by VARCHAR) | SELECT MIN(production_code) FROM table_23793770_1 WHERE directed_by = "Michael Morris" | What was the production code for the episode directed by Michael Morris? | <s>[INST]What was the production code for the episode directed by Michael Morris? Context: CREATE TABLE table_23793770_1 (production_code INTEGER, directed_by VARCHAR)[/INST]SELECT MIN(production_code) FROM table_23793770_1 WHERE directed_by = "Michael Morris"</s> |
CREATE TABLE table_1272033_1 (previous_champion_s_ VARCHAR, champion_s_ VARCHAR) | SELECT previous_champion_s_ FROM table_1272033_1 WHERE champion_s_ = "Xix Xavant" | Who was the champion prior to Xix Xavant? | <s>[INST]Who was the champion prior to Xix Xavant? Context: CREATE TABLE table_1272033_1 (previous_champion_s_ VARCHAR, champion_s_ VARCHAR)[/INST]SELECT previous_champion_s_ FROM table_1272033_1 WHERE champion_s_ = "Xix Xavant"</s> |
CREATE TABLE table_name_54 (second VARCHAR, nation VARCHAR) | SELECT second FROM table_name_54 WHERE nation = "france" | When did France come in second? | <s>[INST]When did France come in second? Context: CREATE TABLE table_name_54 (second VARCHAR, nation VARCHAR)[/INST]SELECT second FROM table_name_54 WHERE nation = "france"</s> |
CREATE TABLE table_name_23 (position INTEGER, country VARCHAR, pilot VARCHAR) | SELECT MIN(position) FROM table_name_23 WHERE country = "germany" AND pilot = "mario kiessling" | What is the lowest position of pilot mario kiessling from Germany? | <s>[INST]What is the lowest position of pilot mario kiessling from Germany? Context: CREATE TABLE table_name_23 (position INTEGER, country VARCHAR, pilot VARCHAR)[/INST]SELECT MIN(position) FROM table_name_23 WHERE country = "germany" AND pilot = "mario kiessling"</s> |
CREATE TABLE table_11734041_1 (height_in_ft VARCHAR, years_for_rockets VARCHAR) | SELECT height_in_ft FROM table_11734041_1 WHERE years_for_rockets = "1992-93" | What height was the player that played for the Rockets between 1992-93? | <s>[INST]What height was the player that played for the Rockets between 1992-93? Context: CREATE TABLE table_11734041_1 (height_in_ft VARCHAR, years_for_rockets VARCHAR)[/INST]SELECT height_in_ft FROM table_11734041_1 WHERE years_for_rockets = "1992-93"</s> |
CREATE TABLE table_name_93 (score VARCHAR, december VARCHAR, game VARCHAR) | SELECT score FROM table_name_93 WHERE december < 14 AND game = 12 | Which Score has a December smaller than 14, and a Game of 12? | <s>[INST]Which Score has a December smaller than 14, and a Game of 12? Context: CREATE TABLE table_name_93 (score VARCHAR, december VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_name_93 WHERE december < 14 AND game = 12</s> |
CREATE TABLE table_name_53 (team__number1 VARCHAR) | SELECT 1 AS st_leg FROM table_name_53 WHERE team__number1 = "csu sibiu" | What is the 1st leg when team number 1 is CSU SIBIU? | <s>[INST]What is the 1st leg when team number 1 is CSU SIBIU? Context: CREATE TABLE table_name_53 (team__number1 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_53 WHERE team__number1 = "csu sibiu"</s> |
CREATE TABLE table_15827397_1 (locomotive_type VARCHAR, status VARCHAR) | SELECT locomotive_type FROM table_15827397_1 WHERE status = "Static display" | Which locomotive type has a status in static display | <s>[INST]Which locomotive type has a status in static display Context: CREATE TABLE table_15827397_1 (locomotive_type VARCHAR, status VARCHAR)[/INST]SELECT locomotive_type FROM table_15827397_1 WHERE status = "Static display"</s> |
CREATE TABLE table_name_47 (name VARCHAR, license VARCHAR, platform VARCHAR) | SELECT name FROM table_name_47 WHERE license = "gpl" AND platform = "windows" | Which name has a License of gpl, and a Platform of windows? | <s>[INST]Which name has a License of gpl, and a Platform of windows? Context: CREATE TABLE table_name_47 (name VARCHAR, license VARCHAR, platform VARCHAR)[/INST]SELECT name FROM table_name_47 WHERE license = "gpl" AND platform = "windows"</s> |
CREATE TABLE airports (city VARCHAR) | SELECT COUNT(*) FROM (SELECT city FROM airports GROUP BY city HAVING COUNT(*) > 3) | How many cities are there that have more than 3 airports? | <s>[INST]How many cities are there that have more than 3 airports? Context: CREATE TABLE airports (city VARCHAR)[/INST]SELECT COUNT(*) FROM (SELECT city FROM airports GROUP BY city HAVING COUNT(*) > 3)</s> |
CREATE TABLE table_25030512_24 (party VARCHAR, first_elected VARCHAR) | SELECT party FROM table_25030512_24 WHERE first_elected = "1998" | Name the party for 1998 first elected | <s>[INST]Name the party for 1998 first elected Context: CREATE TABLE table_25030512_24 (party VARCHAR, first_elected VARCHAR)[/INST]SELECT party FROM table_25030512_24 WHERE first_elected = "1998"</s> |
CREATE TABLE table_name_97 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_97 WHERE week = 6 | what is the date on week 6 | <s>[INST]what is the date on week 6 Context: CREATE TABLE table_name_97 (date VARCHAR, week VARCHAR)[/INST]SELECT date FROM table_name_97 WHERE week = 6</s> |
CREATE TABLE table_27537870_6 (january VARCHAR, decision VARCHAR) | SELECT january FROM table_27537870_6 WHERE decision = "Lalime" | If the decision was by Lalime, when in January was it made? | <s>[INST]If the decision was by Lalime, when in January was it made? Context: CREATE TABLE table_27537870_6 (january VARCHAR, decision VARCHAR)[/INST]SELECT january FROM table_27537870_6 WHERE decision = "Lalime"</s> |
CREATE TABLE table_name_94 (home VARCHAR, visitor VARCHAR) | SELECT home FROM table_name_94 WHERE visitor = "california" | What was the home who had California visiting? | <s>[INST]What was the home who had California visiting? Context: CREATE TABLE table_name_94 (home VARCHAR, visitor VARCHAR)[/INST]SELECT home FROM table_name_94 WHERE visitor = "california"</s> |
CREATE TABLE table_name_56 (fastest_lap VARCHAR, grand_prix VARCHAR) | SELECT fastest_lap FROM table_name_56 WHERE grand_prix = "dutch tt" | What was the fastest lap for Grand Prix dutch tt? | <s>[INST]What was the fastest lap for Grand Prix dutch tt? Context: CREATE TABLE table_name_56 (fastest_lap VARCHAR, grand_prix VARCHAR)[/INST]SELECT fastest_lap FROM table_name_56 WHERE grand_prix = "dutch tt"</s> |
CREATE TABLE table_name_84 (floors INTEGER, name VARCHAR) | SELECT MAX(floors) FROM table_name_84 WHERE name = "one indiana square" | Which Floors is the highest one that has a Name of one indiana square? | <s>[INST]Which Floors is the highest one that has a Name of one indiana square? Context: CREATE TABLE table_name_84 (floors INTEGER, name VARCHAR)[/INST]SELECT MAX(floors) FROM table_name_84 WHERE name = "one indiana square"</s> |
CREATE TABLE table_name_73 (mult VARCHAR, release_date VARCHAR, model_number VARCHAR) | SELECT mult FROM table_name_73 WHERE release_date = "q4 2007" AND model_number = "pentium dual-core t2310" | What is the mult value of the microprocessor with a release date q4 2007 and model number pentium dual-core t2310? | <s>[INST]What is the mult value of the microprocessor with a release date q4 2007 and model number pentium dual-core t2310? Context: CREATE TABLE table_name_73 (mult VARCHAR, release_date VARCHAR, model_number VARCHAR)[/INST]SELECT mult FROM table_name_73 WHERE release_date = "q4 2007" AND model_number = "pentium dual-... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.