context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_13 (points INTEGER, rank VARCHAR) | SELECT SUM(points) FROM table_name_13 WHERE rank = 12 | what is the points for rank 12? | <s>[INST]what is the points for rank 12? Context: CREATE TABLE table_name_13 (points INTEGER, rank VARCHAR)[/INST]SELECT SUM(points) FROM table_name_13 WHERE rank = 12</s> |
CREATE TABLE table_name_27 (pick INTEGER, nationality VARCHAR, draft VARCHAR) | SELECT MAX(pick) FROM table_name_27 WHERE nationality = "france" AND draft < 1979 | What is the highest Pick, when Nationality is "France", and when Draft is less than 1979? | <s>[INST]What is the highest Pick, when Nationality is "France", and when Draft is less than 1979? Context: CREATE TABLE table_name_27 (pick INTEGER, nationality VARCHAR, draft VARCHAR)[/INST]SELECT MAX(pick) FROM table_name_27 WHERE nationality = "france" AND draft < 1979</s> |
CREATE TABLE table_name_74 (grid VARCHAR, time_retired VARCHAR) | SELECT grid FROM table_name_74 WHERE time_retired = "+ 1:24.3" | What grad has a Time/Retired of + 1:24.3? | <s>[INST]What grad has a Time/Retired of + 1:24.3? Context: CREATE TABLE table_name_74 (grid VARCHAR, time_retired VARCHAR)[/INST]SELECT grid FROM table_name_74 WHERE time_retired = "+ 1:24.3"</s> |
CREATE TABLE table_name_26 (rank VARCHAR, transfer_fee___€_million_ VARCHAR, year VARCHAR) | SELECT COUNT(rank) FROM table_name_26 WHERE transfer_fee___€_million_ > 13 AND year > 2008 | What was the rank of a transfer fee larger than 13 million, and after 2008? | <s>[INST]What was the rank of a transfer fee larger than 13 million, and after 2008? Context: CREATE TABLE table_name_26 (rank VARCHAR, transfer_fee___€_million_ VARCHAR, year VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_26 WHERE transfer_fee___€_million_ > 13 AND year > 2008</s> |
CREATE TABLE table_name_40 (value VARCHAR, british_name VARCHAR) | SELECT value FROM table_name_40 WHERE british_name = "maxima" | what is the value when the british name is maxima? | <s>[INST]what is the value when the british name is maxima? Context: CREATE TABLE table_name_40 (value VARCHAR, british_name VARCHAR)[/INST]SELECT value FROM table_name_40 WHERE british_name = "maxima"</s> |
CREATE TABLE table_21422977_1 (ministries INTEGER) | SELECT MAX(ministries) FROM table_21422977_1 | What is the most amount of ministries? | <s>[INST]What is the most amount of ministries? Context: CREATE TABLE table_21422977_1 (ministries INTEGER)[/INST]SELECT MAX(ministries) FROM table_21422977_1</s> |
CREATE TABLE table_name_68 (effic INTEGER, avg_g VARCHAR) | SELECT MAX(effic) FROM table_name_68 WHERE avg_g = 91.9 | What is the highest effic with an avg/g of 91.9? | <s>[INST]What is the highest effic with an avg/g of 91.9? Context: CREATE TABLE table_name_68 (effic INTEGER, avg_g VARCHAR)[/INST]SELECT MAX(effic) FROM table_name_68 WHERE avg_g = 91.9</s> |
CREATE TABLE table_name_62 (season VARCHAR, title VARCHAR, winner VARCHAR, attendance VARCHAR) | SELECT season FROM table_name_62 WHERE winner = "kanto gakuin university" AND attendance = "n/a" AND title = "37th" | What season had Kanto Gakuin University as the winner, with an attendance of n/a, and a title of 37th? | <s>[INST]What season had Kanto Gakuin University as the winner, with an attendance of n/a, and a title of 37th? Context: CREATE TABLE table_name_62 (season VARCHAR, title VARCHAR, winner VARCHAR, attendance VARCHAR)[/INST]SELECT season FROM table_name_62 WHERE winner = "kanto gakuin university" AND attendance = "n/a" AND title = "37th"</s> |
CREATE TABLE table_name_23 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_23 WHERE week = 8 | What is the date of week 8? | <s>[INST]What is the date of week 8? Context: CREATE TABLE table_name_23 (date VARCHAR, week VARCHAR)[/INST]SELECT date FROM table_name_23 WHERE week = 8</s> |
CREATE TABLE table_name_76 (asts VARCHAR, rebs INTEGER) | SELECT asts FROM table_name_76 WHERE rebs > 1 OFFSET 189 | What is the number of asts when rebs are larger than 1,189? | <s>[INST]What is the number of asts when rebs are larger than 1,189? Context: CREATE TABLE table_name_76 (asts VARCHAR, rebs INTEGER)[/INST]SELECT asts FROM table_name_76 WHERE rebs > 1 OFFSET 189</s> |
CREATE TABLE table_name_49 (torque VARCHAR, name VARCHAR, power VARCHAR) | SELECT torque FROM table_name_49 WHERE name = "1.6 petrol" AND power = "daewoo" | What is the torque of the 1.6 petrol with daewoo power? | <s>[INST]What is the torque of the 1.6 petrol with daewoo power? Context: CREATE TABLE table_name_49 (torque VARCHAR, name VARCHAR, power VARCHAR)[/INST]SELECT torque FROM table_name_49 WHERE name = "1.6 petrol" AND power = "daewoo"</s> |
CREATE TABLE table_name_7 (agricultural_use__m_3__p_yr__in__percentage_ VARCHAR, per_capita_withdrawal__m_3__p_yr_ VARCHAR, domestic_use__m_3__p_yr__in__percentage_ VARCHAR) | SELECT agricultural_use__m_3__p_yr__in__percentage_ FROM table_name_7 WHERE per_capita_withdrawal__m_3__p_yr_ > 923 AND domestic_use__m_3__p_yr__in__percentage_ = "73(7%)" | What is Agricultural Use (m 3 /p/yr)(in %), when Per Capita Withdrawal (m 3 /p/yr) is greater than 923, and when Domestic Use (m 3 /p/yr)(in %) is 73(7%)? | <s>[INST]What is Agricultural Use (m 3 /p/yr)(in %), when Per Capita Withdrawal (m 3 /p/yr) is greater than 923, and when Domestic Use (m 3 /p/yr)(in %) is 73(7%)? Context: CREATE TABLE table_name_7 (agricultural_use__m_3__p_yr__in__percentage_ VARCHAR, per_capita_withdrawal__m_3__p_yr_ VARCHAR, domestic_use__m_3__p_yr__in__percentage_ VARCHAR)[/INST]SELECT agricultural_use__m_3__p_yr__in__percentage_ FROM table_name_7 WHERE per_capita_withdrawal__m_3__p_yr_ > 923 AND domestic_use__m_3__p_yr__in__percentage_ = "73(7%)"</s> |
CREATE TABLE table_name_58 (established VARCHAR, league VARCHAR, championships VARCHAR) | SELECT COUNT(established) FROM table_name_58 WHERE league = "ontario provincial junior a hockey" AND championships > 1 | What is the Established date of the Ontario Provincial Junior A Hockey League with more than 1 Championship? | <s>[INST]What is the Established date of the Ontario Provincial Junior A Hockey League with more than 1 Championship? Context: CREATE TABLE table_name_58 (established VARCHAR, league VARCHAR, championships VARCHAR)[/INST]SELECT COUNT(established) FROM table_name_58 WHERE league = "ontario provincial junior a hockey" AND championships > 1</s> |
CREATE TABLE table_name_78 (overall INTEGER, school_club_team VARCHAR) | SELECT MIN(overall) FROM table_name_78 WHERE school_club_team = "wisconsin" | Which was the lowest overall that Wisconsin's team managed? | <s>[INST]Which was the lowest overall that Wisconsin's team managed? Context: CREATE TABLE table_name_78 (overall INTEGER, school_club_team VARCHAR)[/INST]SELECT MIN(overall) FROM table_name_78 WHERE school_club_team = "wisconsin"</s> |
CREATE TABLE table_name_90 (new_entries_this_round VARCHAR, matches VARCHAR, round VARCHAR) | SELECT new_entries_this_round FROM table_name_90 WHERE matches > 16 AND round = "third round qualifying" | How many new entries this round are there with more than 16 matches and a third round qualifying? | <s>[INST]How many new entries this round are there with more than 16 matches and a third round qualifying? Context: CREATE TABLE table_name_90 (new_entries_this_round VARCHAR, matches VARCHAR, round VARCHAR)[/INST]SELECT new_entries_this_round FROM table_name_90 WHERE matches > 16 AND round = "third round qualifying"</s> |
CREATE TABLE table_25438110_5 (fy08_$millions VARCHAR, fy07_$millions VARCHAR) | SELECT fy08_$millions FROM table_25438110_5 WHERE fy07_$millions = "$120" | What is the FY2008 $mil value associated with a FY2007 $mil value of exactly $120? | <s>[INST]What is the FY2008 $mil value associated with a FY2007 $mil value of exactly $120? Context: CREATE TABLE table_25438110_5 (fy08_$millions VARCHAR, fy07_$millions VARCHAR)[/INST]SELECT fy08_$millions FROM table_25438110_5 WHERE fy07_$millions = "$120"</s> |
CREATE TABLE table_name_88 (county_team VARCHAR, player VARCHAR) | SELECT county_team FROM table_name_88 WHERE player = "jimmy finn" | Which county team has jimmy finn as the player? | <s>[INST]Which county team has jimmy finn as the player? Context: CREATE TABLE table_name_88 (county_team VARCHAR, player VARCHAR)[/INST]SELECT county_team FROM table_name_88 WHERE player = "jimmy finn"</s> |
CREATE TABLE table_name_94 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_94 WHERE score = 71 - 71 - 70 - 70 = 282 | When the score was 71-71-70-70=282 what was the To par recorded? | <s>[INST]When the score was 71-71-70-70=282 what was the To par recorded? Context: CREATE TABLE table_name_94 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_94 WHERE score = 71 - 71 - 70 - 70 = 282</s> |
CREATE TABLE table_15887683_6 (country VARCHAR, television_service VARCHAR) | SELECT country FROM table_15887683_6 WHERE television_service = "Sky Primafila 7 HD" | Name the country for sky primafila 7 hd | <s>[INST]Name the country for sky primafila 7 hd Context: CREATE TABLE table_15887683_6 (country VARCHAR, television_service VARCHAR)[/INST]SELECT country FROM table_15887683_6 WHERE television_service = "Sky Primafila 7 HD"</s> |
CREATE TABLE table_name_25 (location VARCHAR, date VARCHAR) | SELECT location FROM table_name_25 WHERE date = "september 5" | Where was September 5? | <s>[INST]Where was September 5? Context: CREATE TABLE table_name_25 (location VARCHAR, date VARCHAR)[/INST]SELECT location FROM table_name_25 WHERE date = "september 5"</s> |
CREATE TABLE table_16799784_2 (name VARCHAR, longitude VARCHAR) | SELECT name AS origin FROM table_16799784_2 WHERE longitude = "54.0E" | Name the name origin for 54.0e | <s>[INST]Name the name origin for 54.0e Context: CREATE TABLE table_16799784_2 (name VARCHAR, longitude VARCHAR)[/INST]SELECT name AS origin FROM table_16799784_2 WHERE longitude = "54.0E"</s> |
CREATE TABLE table_name_25 (constructor VARCHAR, laps VARCHAR, time_retired VARCHAR) | SELECT constructor FROM table_name_25 WHERE laps = 53 AND time_retired = "1:17:09.672" | Who built the car that went 53 laps with a Time/Retired of 1:17:09.672? | <s>[INST]Who built the car that went 53 laps with a Time/Retired of 1:17:09.672? Context: CREATE TABLE table_name_25 (constructor VARCHAR, laps VARCHAR, time_retired VARCHAR)[/INST]SELECT constructor FROM table_name_25 WHERE laps = 53 AND time_retired = "1:17:09.672"</s> |
CREATE TABLE customer_orders (order_id VARCHAR, order_date INTEGER); CREATE TABLE order_items (order_quantity INTEGER, order_id VARCHAR) | SELECT SUM(t2.order_quantity) FROM customer_orders AS t1 JOIN order_items AS t2 ON t1.order_id = t2.order_id WHERE t1.order_date < "2018-03-17 07:13:53" | Find the total amount of products ordered before 2018-03-17 07:13:53. | <s>[INST]Find the total amount of products ordered before 2018-03-17 07:13:53. Context: CREATE TABLE customer_orders (order_id VARCHAR, order_date INTEGER); CREATE TABLE order_items (order_quantity INTEGER, order_id VARCHAR)[/INST]SELECT SUM(t2.order_quantity) FROM customer_orders AS t1 JOIN order_items AS t2 ON t1.order_id = t2.order_id WHERE t1.order_date < "2018-03-17 07:13:53"</s> |
CREATE TABLE table_name_2 (winning_team VARCHAR, score VARCHAR) | SELECT winning_team FROM table_name_2 WHERE score = "4-1" | who won by a score of 4-1? | <s>[INST]who won by a score of 4-1? Context: CREATE TABLE table_name_2 (winning_team VARCHAR, score VARCHAR)[/INST]SELECT winning_team FROM table_name_2 WHERE score = "4-1"</s> |
CREATE TABLE table_15187735_18 (segment_b VARCHAR, episode VARCHAR) | SELECT segment_b FROM table_15187735_18 WHERE episode = 226 | Name the segment b for 226 episode | <s>[INST]Name the segment b for 226 episode Context: CREATE TABLE table_15187735_18 (segment_b VARCHAR, episode VARCHAR)[/INST]SELECT segment_b FROM table_15187735_18 WHERE episode = 226</s> |
CREATE TABLE table_16376436_1 (college VARCHAR, position VARCHAR) | SELECT college FROM table_16376436_1 WHERE position = "Defensive Back" | What college did the defensive back attend? | <s>[INST]What college did the defensive back attend? Context: CREATE TABLE table_16376436_1 (college VARCHAR, position VARCHAR)[/INST]SELECT college FROM table_16376436_1 WHERE position = "Defensive Back"</s> |
CREATE TABLE table_2528382_1 (movie_album VARCHAR, song VARCHAR) | SELECT movie_album FROM table_2528382_1 WHERE song = "Dil De De Nahin Nahin Dil Le Le" | In which album can Dil De De Nahin Nahin Dil Le Le be found? | <s>[INST]In which album can Dil De De Nahin Nahin Dil Le Le be found? Context: CREATE TABLE table_2528382_1 (movie_album VARCHAR, song VARCHAR)[/INST]SELECT movie_album FROM table_2528382_1 WHERE song = "Dil De De Nahin Nahin Dil Le Le"</s> |
CREATE TABLE table_name_62 (tie_no VARCHAR, attendance VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_62 WHERE attendance = "14 november 1998" AND away_team = "hayes" | Which Tie # that has an Attendance of 14 november 1998, and an Away team of hayes? | <s>[INST]Which Tie # that has an Attendance of 14 november 1998, and an Away team of hayes? Context: CREATE TABLE table_name_62 (tie_no VARCHAR, attendance VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_62 WHERE attendance = "14 november 1998" AND away_team = "hayes"</s> |
CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_34 WHERE date = "september 14" | what game took place on september 14 | <s>[INST]what game took place on september 14 Context: CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_34 WHERE date = "september 14"</s> |
CREATE TABLE table_name_66 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_name_66 WHERE attendance = 275 | Which score was associated with an attendance of 275? | <s>[INST]Which score was associated with an attendance of 275? Context: CREATE TABLE table_name_66 (score VARCHAR, attendance VARCHAR)[/INST]SELECT score FROM table_name_66 WHERE attendance = 275</s> |
CREATE TABLE table_name_50 (began_play VARCHAR, club VARCHAR) | SELECT began_play FROM table_name_50 WHERE club = "western new york flash" | When did the Club of western new york flash begin to play? | <s>[INST]When did the Club of western new york flash begin to play? Context: CREATE TABLE table_name_50 (began_play VARCHAR, club VARCHAR)[/INST]SELECT began_play FROM table_name_50 WHERE club = "western new york flash"</s> |
CREATE TABLE table_23314951_4 (against VARCHAR, opponent VARCHAR) | SELECT against FROM table_23314951_4 WHERE opponent = "Kristian Pless" | If the opponent is Kristian Pless, who was it against? | <s>[INST]If the opponent is Kristian Pless, who was it against? Context: CREATE TABLE table_23314951_4 (against VARCHAR, opponent VARCHAR)[/INST]SELECT against FROM table_23314951_4 WHERE opponent = "Kristian Pless"</s> |
CREATE TABLE shop (address VARCHAR, shop_id VARCHAR); CREATE TABLE happy_hour (shop_id VARCHAR) | SELECT t1.address, t1.shop_id FROM shop AS t1 JOIN happy_hour AS t2 ON t1.shop_id = t2.shop_id WHERE MONTH = 'May' | What are the id and address of the shops which have a happy hour in May? | <s>[INST]What are the id and address of the shops which have a happy hour in May? Context: CREATE TABLE shop (address VARCHAR, shop_id VARCHAR); CREATE TABLE happy_hour (shop_id VARCHAR)[/INST]SELECT t1.address, t1.shop_id FROM shop AS t1 JOIN happy_hour AS t2 ON t1.shop_id = t2.shop_id WHERE MONTH = 'May'</s> |
CREATE TABLE table_19753079_36 (incumbent VARCHAR, candidates VARCHAR) | SELECT incumbent FROM table_19753079_36 WHERE candidates = "Sue Myrick (R) 69.0% Jeff Doctor (D) 31.0%" | Name the incumbent for sue myrick (r) 69.0% jeff doctor (d) 31.0% | <s>[INST]Name the incumbent for sue myrick (r) 69.0% jeff doctor (d) 31.0% Context: CREATE TABLE table_19753079_36 (incumbent VARCHAR, candidates VARCHAR)[/INST]SELECT incumbent FROM table_19753079_36 WHERE candidates = "Sue Myrick (R) 69.0% Jeff Doctor (D) 31.0%"</s> |
CREATE TABLE table_name_56 (record VARCHAR, team VARCHAR, date VARCHAR) | SELECT record FROM table_name_56 WHERE team = "detroit" AND date = "june 10" | What is the Record with a Team that is detroit and a Date that is june 10? | <s>[INST]What is the Record with a Team that is detroit and a Date that is june 10? Context: CREATE TABLE table_name_56 (record VARCHAR, team VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_56 WHERE team = "detroit" AND date = "june 10"</s> |
CREATE TABLE table_name_79 (original_title VARCHAR, director VARCHAR) | SELECT original_title FROM table_name_79 WHERE director = "sudhendu roy" | Name the original title directed by sudhendu roy | <s>[INST]Name the original title directed by sudhendu roy Context: CREATE TABLE table_name_79 (original_title VARCHAR, director VARCHAR)[/INST]SELECT original_title FROM table_name_79 WHERE director = "sudhendu roy"</s> |
CREATE TABLE table_name_17 (team__number1 VARCHAR, res VARCHAR) | SELECT team__number1 FROM table_name_17 WHERE res = "0-3" | What was the team #1 for the match that had a result of 0-3? | <s>[INST]What was the team #1 for the match that had a result of 0-3? Context: CREATE TABLE table_name_17 (team__number1 VARCHAR, res VARCHAR)[/INST]SELECT team__number1 FROM table_name_17 WHERE res = "0-3"</s> |
CREATE TABLE table_name_89 (studio_s_ VARCHAR, movie VARCHAR) | SELECT studio_s_ FROM table_name_89 WHERE movie = "ra.one" | What is the studio of ra.one? | <s>[INST]What is the studio of ra.one? Context: CREATE TABLE table_name_89 (studio_s_ VARCHAR, movie VARCHAR)[/INST]SELECT studio_s_ FROM table_name_89 WHERE movie = "ra.one"</s> |
CREATE TABLE table_27496841_3 (total_points VARCHAR, place VARCHAR) | SELECT total_points FROM table_27496841_3 WHERE place = 2 | Name the total points for 2 | <s>[INST]Name the total points for 2 Context: CREATE TABLE table_27496841_3 (total_points VARCHAR, place VARCHAR)[/INST]SELECT total_points FROM table_27496841_3 WHERE place = 2</s> |
CREATE TABLE table_23281862_9 (score VARCHAR, record VARCHAR) | SELECT score FROM table_23281862_9 WHERE record = "36-33" | What is the score when 36-33 is the record? | <s>[INST]What is the score when 36-33 is the record? Context: CREATE TABLE table_23281862_9 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_23281862_9 WHERE record = "36-33"</s> |
CREATE TABLE table_name_47 (born___died VARCHAR, connection_with_australia VARCHAR) | SELECT born___died FROM table_name_47 WHERE connection_with_australia = "born in sydney" | The person that was born in Sydney died in what year? | <s>[INST]The person that was born in Sydney died in what year? Context: CREATE TABLE table_name_47 (born___died VARCHAR, connection_with_australia VARCHAR)[/INST]SELECT born___died FROM table_name_47 WHERE connection_with_australia = "born in sydney"</s> |
CREATE TABLE table_name_61 (score VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT score FROM table_name_61 WHERE opponent = "dodgers" AND date = "april 21" | Name the score when the opponent was the dodgers on april 21 | <s>[INST]Name the score when the opponent was the dodgers on april 21 Context: CREATE TABLE table_name_61 (score VARCHAR, opponent VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_61 WHERE opponent = "dodgers" AND date = "april 21"</s> |
CREATE TABLE table_name_34 (d_46 VARCHAR, d_43 VARCHAR) | SELECT d_46 FROM table_name_34 WHERE d_43 = "majority→" | Name the D 46 which has a D 43 of majority→ | <s>[INST]Name the D 46 which has a D 43 of majority→ Context: CREATE TABLE table_name_34 (d_46 VARCHAR, d_43 VARCHAR)[/INST]SELECT d_46 FROM table_name_34 WHERE d_43 = "majority→"</s> |
CREATE TABLE table_name_15 (draws INTEGER, wins VARCHAR, byes VARCHAR) | SELECT SUM(draws) FROM table_name_15 WHERE wins < 3 AND byes > 2 | Can you tell me the sum of Draws that had the Wins smaller than 3, and the Byes larger than 2? | <s>[INST]Can you tell me the sum of Draws that had the Wins smaller than 3, and the Byes larger than 2? Context: CREATE TABLE table_name_15 (draws INTEGER, wins VARCHAR, byes VARCHAR)[/INST]SELECT SUM(draws) FROM table_name_15 WHERE wins < 3 AND byes > 2</s> |
CREATE TABLE table_15928363_1 (aspect_ratio VARCHAR, horizontal VARCHAR) | SELECT aspect_ratio FROM table_15928363_1 WHERE horizontal = 720 | Name the aspect ratio for 720 | <s>[INST]Name the aspect ratio for 720 Context: CREATE TABLE table_15928363_1 (aspect_ratio VARCHAR, horizontal VARCHAR)[/INST]SELECT aspect_ratio FROM table_15928363_1 WHERE horizontal = 720</s> |
CREATE TABLE table_22915134_2 (graphical VARCHAR, example VARCHAR) | SELECT graphical FROM table_22915134_2 WHERE example = "Shinya Nakano's Kawasaki Ninja ZX-RR" | When shinya nakano's kawasaki ninja zx-rr is the example what is the graphical? | <s>[INST]When shinya nakano's kawasaki ninja zx-rr is the example what is the graphical? Context: CREATE TABLE table_22915134_2 (graphical VARCHAR, example VARCHAR)[/INST]SELECT graphical FROM table_22915134_2 WHERE example = "Shinya Nakano's Kawasaki Ninja ZX-RR"</s> |
CREATE TABLE table_name_19 (guest_host VARCHAR, episode_number VARCHAR) | SELECT guest_host FROM table_name_19 WHERE episode_number = 7 | What kind of Guest Host has a Episode Number of 7? | <s>[INST]What kind of Guest Host has a Episode Number of 7? Context: CREATE TABLE table_name_19 (guest_host VARCHAR, episode_number VARCHAR)[/INST]SELECT guest_host FROM table_name_19 WHERE episode_number = 7</s> |
CREATE TABLE table_name_63 (type VARCHAR, transfer_fee VARCHAR, name VARCHAR) | SELECT type FROM table_name_63 WHERE transfer_fee = "free" AND name = "kapetanos" | Which Type has a Transfer fee of free, and a Name of kapetanos? | <s>[INST]Which Type has a Transfer fee of free, and a Name of kapetanos? Context: CREATE TABLE table_name_63 (type VARCHAR, transfer_fee VARCHAR, name VARCHAR)[/INST]SELECT type FROM table_name_63 WHERE transfer_fee = "free" AND name = "kapetanos"</s> |
CREATE TABLE table_name_99 (decision VARCHAR, visitor VARCHAR) | SELECT decision FROM table_name_99 WHERE visitor = "buffalo" | Who had the decision when buffalo was the visitor? | <s>[INST]Who had the decision when buffalo was the visitor? Context: CREATE TABLE table_name_99 (decision VARCHAR, visitor VARCHAR)[/INST]SELECT decision FROM table_name_99 WHERE visitor = "buffalo"</s> |
CREATE TABLE table_2076490_1 (enrollment__2005_ VARCHAR, school VARCHAR) | SELECT enrollment__2005_ FROM table_2076490_1 WHERE school = "New Hampshire Institute of Art" | How many students enrolled in 2005 at New Hampshire Institute of Art? | <s>[INST]How many students enrolled in 2005 at New Hampshire Institute of Art? Context: CREATE TABLE table_2076490_1 (enrollment__2005_ VARCHAR, school VARCHAR)[/INST]SELECT enrollment__2005_ FROM table_2076490_1 WHERE school = "New Hampshire Institute of Art"</s> |
CREATE TABLE table_24648983_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT written_by FROM table_24648983_1 WHERE us_viewers__million_ = "8.61" | Who wrote the episode with 8.61 million U.S. viewers? | <s>[INST]Who wrote the episode with 8.61 million U.S. viewers? Context: CREATE TABLE table_24648983_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT written_by FROM table_24648983_1 WHERE us_viewers__million_ = "8.61"</s> |
CREATE TABLE table_14460937_2 (afc_cup INTEGER) | SELECT MAX(afc_cup) FROM table_14460937_2 | what is the maximum value for afc cup | <s>[INST]what is the maximum value for afc cup Context: CREATE TABLE table_14460937_2 (afc_cup INTEGER)[/INST]SELECT MAX(afc_cup) FROM table_14460937_2</s> |
CREATE TABLE table_name_11 (score VARCHAR, surface VARCHAR, date VARCHAR) | SELECT score FROM table_name_11 WHERE surface = "clay" AND date = "19 may 2008" | What was Olga Govortsova's score when she played on a clay surface on 19 May 2008? | <s>[INST]What was Olga Govortsova's score when she played on a clay surface on 19 May 2008? Context: CREATE TABLE table_name_11 (score VARCHAR, surface VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_11 WHERE surface = "clay" AND date = "19 may 2008"</s> |
CREATE TABLE table_name_46 (date VARCHAR, competition VARCHAR) | SELECT date FROM table_name_46 WHERE competition = "2011 lg cup" | On what Date was the 2011 LG Cup Competittion? | <s>[INST]On what Date was the 2011 LG Cup Competittion? Context: CREATE TABLE table_name_46 (date VARCHAR, competition VARCHAR)[/INST]SELECT date FROM table_name_46 WHERE competition = "2011 lg cup"</s> |
CREATE TABLE table_name_50 (attendance VARCHAR, visitor VARCHAR) | SELECT COUNT(attendance) FROM table_name_50 WHERE visitor = "bulls" | Name the total number in attendance for when the bulls visited | <s>[INST]Name the total number in attendance for when the bulls visited Context: CREATE TABLE table_name_50 (attendance VARCHAR, visitor VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_50 WHERE visitor = "bulls"</s> |
CREATE TABLE table_name_86 (song VARCHAR, length VARCHAR) | SELECT song FROM table_name_86 WHERE length = "4:08" | Which song lasts 4:08? | <s>[INST]Which song lasts 4:08? Context: CREATE TABLE table_name_86 (song VARCHAR, length VARCHAR)[/INST]SELECT song FROM table_name_86 WHERE length = "4:08"</s> |
CREATE TABLE table_name_53 (leading_scorer VARCHAR, home VARCHAR, visitor VARCHAR) | SELECT leading_scorer FROM table_name_53 WHERE home = "knicks" AND visitor = "warriors" | Who was the leading scorer of the game where the Knicks were the home team and the Warriors were the visiting team? | <s>[INST]Who was the leading scorer of the game where the Knicks were the home team and the Warriors were the visiting team? Context: CREATE TABLE table_name_53 (leading_scorer VARCHAR, home VARCHAR, visitor VARCHAR)[/INST]SELECT leading_scorer FROM table_name_53 WHERE home = "knicks" AND visitor = "warriors"</s> |
CREATE TABLE table_2155836_1 (population__millions VARCHAR, _2011_ VARCHAR, hdi__2011_ VARCHAR) | SELECT population__millions, _2011_ FROM table_2155836_1 WHERE hdi__2011_ = "0.453 (low)" | What is the population in millions for 2011 where the HDI for 2011 is 0.453 (low)? | <s>[INST]What is the population in millions for 2011 where the HDI for 2011 is 0.453 (low)? Context: CREATE TABLE table_2155836_1 (population__millions VARCHAR, _2011_ VARCHAR, hdi__2011_ VARCHAR)[/INST]SELECT population__millions, _2011_ FROM table_2155836_1 WHERE hdi__2011_ = "0.453 (low)"</s> |
CREATE TABLE LOCATIONS (Location_Name VARCHAR) | SELECT Location_Name FROM LOCATIONS WHERE Location_Name LIKE "%film%" | Which location names contain the word "film"? | <s>[INST]Which location names contain the word "film"? Context: CREATE TABLE LOCATIONS (Location_Name VARCHAR)[/INST]SELECT Location_Name FROM LOCATIONS WHERE Location_Name LIKE "%film%"</s> |
CREATE TABLE table_name_40 (Id VARCHAR) | SELECT 2002 FROM table_name_40 WHERE 2004 = "a" AND 2005 = "1r" | What shows for 2002 when the 2004 is A, and the 2005 is 1r? | <s>[INST]What shows for 2002 when the 2004 is A, and the 2005 is 1r? Context: CREATE TABLE table_name_40 (Id VARCHAR)[/INST]SELECT 2002 FROM table_name_40 WHERE 2004 = "a" AND 2005 = "1r"</s> |
CREATE TABLE table_name_5 (country VARCHAR, place VARCHAR, score VARCHAR) | SELECT country FROM table_name_5 WHERE place = "t7" AND score = 73 - 69 - 73 = 215 | Name Country which has a Place of t7, and a Score of 73-69-73=215? | <s>[INST]Name Country which has a Place of t7, and a Score of 73-69-73=215? Context: CREATE TABLE table_name_5 (country VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_5 WHERE place = "t7" AND score = 73 - 69 - 73 = 215</s> |
CREATE TABLE table_name_87 (team VARCHAR, rank VARCHAR, rider VARCHAR) | SELECT team FROM table_name_87 WHERE rank > 8 AND rider = "chris barrett" | Rank larger than 8, and a Rider of chris barrett is what team? | <s>[INST]Rank larger than 8, and a Rider of chris barrett is what team? Context: CREATE TABLE table_name_87 (team VARCHAR, rank VARCHAR, rider VARCHAR)[/INST]SELECT team FROM table_name_87 WHERE rank > 8 AND rider = "chris barrett"</s> |
CREATE TABLE table_name_4 (score VARCHAR, date VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_4 WHERE date = "13 december 1975" AND away_team = "halifax town" | For the game on 13 December 1975 with Halifax Town as the away team what was the score? | <s>[INST]For the game on 13 December 1975 with Halifax Town as the away team what was the score? Context: CREATE TABLE table_name_4 (score VARCHAR, date VARCHAR, away_team VARCHAR)[/INST]SELECT score FROM table_name_4 WHERE date = "13 december 1975" AND away_team = "halifax town"</s> |
CREATE TABLE table_name_4 (year VARCHAR, notes VARCHAR, position VARCHAR) | SELECT year FROM table_name_4 WHERE notes = "200 m" AND position = "3rd" | What year did Naoki Tsukahara finish 3rd in the 200 m race? | <s>[INST]What year did Naoki Tsukahara finish 3rd in the 200 m race? Context: CREATE TABLE table_name_4 (year VARCHAR, notes VARCHAR, position VARCHAR)[/INST]SELECT year FROM table_name_4 WHERE notes = "200 m" AND position = "3rd"</s> |
CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_16 WHERE home_team = "footscray" | What is the away team score for the home team listed as Footscray? | <s>[INST]What is the away team score for the home team listed as Footscray? Context: CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_16 WHERE home_team = "footscray"</s> |
CREATE TABLE table_10705060_1 (poles INTEGER) | SELECT MIN(poles) FROM table_10705060_1 | what is the least number of poles? | <s>[INST]what is the least number of poles? Context: CREATE TABLE table_10705060_1 (poles INTEGER)[/INST]SELECT MIN(poles) FROM table_10705060_1</s> |
CREATE TABLE table_24160890_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR) | SELECT COUNT(regular_season_winner) FROM table_24160890_3 WHERE tournament_winner = "Cincinnati" | When Cincinnati is the tournament winner how many regular season winners are there? | <s>[INST]When Cincinnati is the tournament winner how many regular season winners are there? Context: CREATE TABLE table_24160890_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR)[/INST]SELECT COUNT(regular_season_winner) FROM table_24160890_3 WHERE tournament_winner = "Cincinnati"</s> |
CREATE TABLE table_name_8 (grid VARCHAR, time_retired VARCHAR) | SELECT grid FROM table_name_8 WHERE time_retired = "suspension" | What was the grid for suspension time/retired? | <s>[INST]What was the grid for suspension time/retired? Context: CREATE TABLE table_name_8 (grid VARCHAR, time_retired VARCHAR)[/INST]SELECT grid FROM table_name_8 WHERE time_retired = "suspension"</s> |
CREATE TABLE table_name_26 (year_s__of_manufacture VARCHAR, type VARCHAR, quantity VARCHAR) | SELECT year_s__of_manufacture FROM table_name_26 WHERE type = "1b n2" AND quantity = 10 | Which Year(s) of manufacture has a Type of 1b n2, and a Quantity of 10? | <s>[INST]Which Year(s) of manufacture has a Type of 1b n2, and a Quantity of 10? Context: CREATE TABLE table_name_26 (year_s__of_manufacture VARCHAR, type VARCHAR, quantity VARCHAR)[/INST]SELECT year_s__of_manufacture FROM table_name_26 WHERE type = "1b n2" AND quantity = 10</s> |
CREATE TABLE table_name_7 (date VARCHAR, grand_prix VARCHAR) | SELECT date FROM table_name_7 WHERE grand_prix = "austrian grand prix" | When was the Austrian Grand Prix? | <s>[INST]When was the Austrian Grand Prix? Context: CREATE TABLE table_name_7 (date VARCHAR, grand_prix VARCHAR)[/INST]SELECT date FROM table_name_7 WHERE grand_prix = "austrian grand prix"</s> |
CREATE TABLE table_name_59 (season VARCHAR, rank VARCHAR, goals VARCHAR, apps VARCHAR, club VARCHAR) | SELECT season FROM table_name_59 WHERE apps > 26 AND club = "barcelona" AND goals > 96 AND rank > 12 | What season was Barcelona ranked higher than 12, had more than 96 goals and had more than 26 apps? | <s>[INST]What season was Barcelona ranked higher than 12, had more than 96 goals and had more than 26 apps? Context: CREATE TABLE table_name_59 (season VARCHAR, rank VARCHAR, goals VARCHAR, apps VARCHAR, club VARCHAR)[/INST]SELECT season FROM table_name_59 WHERE apps > 26 AND club = "barcelona" AND goals > 96 AND rank > 12</s> |
CREATE TABLE table_name_94 (displacement_cc VARCHAR, year VARCHAR) | SELECT displacement_cc FROM table_name_94 WHERE year = "1965" | What is the CC displacement for 1965? | <s>[INST]What is the CC displacement for 1965? Context: CREATE TABLE table_name_94 (displacement_cc VARCHAR, year VARCHAR)[/INST]SELECT displacement_cc FROM table_name_94 WHERE year = "1965"</s> |
CREATE TABLE table_name_84 (location VARCHAR, event VARCHAR) | SELECT location FROM table_name_84 WHERE event = "meca world vale tudo 6" | In which location did the Meca World Vale Tudo 6 event happen? | <s>[INST]In which location did the Meca World Vale Tudo 6 event happen? Context: CREATE TABLE table_name_84 (location VARCHAR, event VARCHAR)[/INST]SELECT location FROM table_name_84 WHERE event = "meca world vale tudo 6"</s> |
CREATE TABLE table_25391981_3 (rank_by_average INTEGER, average VARCHAR) | SELECT MIN(rank_by_average) FROM table_25391981_3 WHERE average = "22.8" | What is the rank by average for the team who averaged 22.8? | <s>[INST]What is the rank by average for the team who averaged 22.8? Context: CREATE TABLE table_25391981_3 (rank_by_average INTEGER, average VARCHAR)[/INST]SELECT MIN(rank_by_average) FROM table_25391981_3 WHERE average = "22.8"</s> |
CREATE TABLE table_name_95 (losses VARCHAR, ties VARCHAR, season VARCHAR, team VARCHAR) | SELECT losses FROM table_name_95 WHERE season > 1941 AND team = "hamilton wildcats" AND ties = 0 | Which Losses have a Season larger than 1941, and a Team of hamilton wildcats, and Ties of 0? | <s>[INST]Which Losses have a Season larger than 1941, and a Team of hamilton wildcats, and Ties of 0? Context: CREATE TABLE table_name_95 (losses VARCHAR, ties VARCHAR, season VARCHAR, team VARCHAR)[/INST]SELECT losses FROM table_name_95 WHERE season > 1941 AND team = "hamilton wildcats" AND ties = 0</s> |
CREATE TABLE table_name_82 (position VARCHAR, college VARCHAR) | SELECT position FROM table_name_82 WHERE college = "mississippi state" | What position does the player from Mississippi state play? | <s>[INST]What position does the player from Mississippi state play? Context: CREATE TABLE table_name_82 (position VARCHAR, college VARCHAR)[/INST]SELECT position FROM table_name_82 WHERE college = "mississippi state"</s> |
CREATE TABLE table_name_12 (attendance INTEGER, week VARCHAR, date VARCHAR) | SELECT MIN(attendance) FROM table_name_12 WHERE week > 4 AND date = "october 28, 1962" | With the date of October 28, 1962, and the week greater than 4, what was the lowest attendance? | <s>[INST]With the date of October 28, 1962, and the week greater than 4, what was the lowest attendance? Context: CREATE TABLE table_name_12 (attendance INTEGER, week VARCHAR, date VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_12 WHERE week > 4 AND date = "october 28, 1962"</s> |
CREATE TABLE table_name_74 (win__percentage VARCHAR) | SELECT win__percentage FROM table_name_74 WHERE 2010 = "98" | What is the win percentage when 2010 was 98? | <s>[INST]What is the win percentage when 2010 was 98? Context: CREATE TABLE table_name_74 (win__percentage VARCHAR)[/INST]SELECT win__percentage FROM table_name_74 WHERE 2010 = "98"</s> |
CREATE TABLE table_name_20 (team VARCHAR, goals_for VARCHAR, goals_against VARCHAR, points_2 VARCHAR) | SELECT team FROM table_name_20 WHERE goals_against < 64 AND points_2 = 63 AND goals_for = 101 | What team has less than 64 goals against, 101 goals for, and a Points 2 total of 63? | <s>[INST]What team has less than 64 goals against, 101 goals for, and a Points 2 total of 63? Context: CREATE TABLE table_name_20 (team VARCHAR, goals_for VARCHAR, goals_against VARCHAR, points_2 VARCHAR)[/INST]SELECT team FROM table_name_20 WHERE goals_against < 64 AND points_2 = 63 AND goals_for = 101</s> |
CREATE TABLE table_name_34 (e_greenberg VARCHAR, t_wyka VARCHAR) | SELECT e_greenberg FROM table_name_34 WHERE t_wyka = "10,793 (70%)" | Which E. Greenberg has a T. Wyka of 10,793 (70%)? | <s>[INST]Which E. Greenberg has a T. Wyka of 10,793 (70%)? Context: CREATE TABLE table_name_34 (e_greenberg VARCHAR, t_wyka VARCHAR)[/INST]SELECT e_greenberg FROM table_name_34 WHERE t_wyka = "10,793 (70%)"</s> |
CREATE TABLE Residents (date_moved_in INTEGER) | SELECT MAX(date_moved_in) FROM Residents | When is the last day any resident moved in? | <s>[INST]When is the last day any resident moved in? Context: CREATE TABLE Residents (date_moved_in INTEGER)[/INST]SELECT MAX(date_moved_in) FROM Residents</s> |
CREATE TABLE table_2668378_5 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_2668378_5 WHERE incumbent = "John Boyle" | Name the candidates for john boyle | <s>[INST]Name the candidates for john boyle Context: CREATE TABLE table_2668378_5 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_2668378_5 WHERE incumbent = "John Boyle"</s> |
CREATE TABLE table_name_19 (interview INTEGER, state VARCHAR, evening_gown VARCHAR) | SELECT MAX(interview) FROM table_name_19 WHERE state = "north carolina" AND evening_gown > 7.68 | Tell me the highest interview for north carolina and evening gown more than 7.68 | <s>[INST]Tell me the highest interview for north carolina and evening gown more than 7.68 Context: CREATE TABLE table_name_19 (interview INTEGER, state VARCHAR, evening_gown VARCHAR)[/INST]SELECT MAX(interview) FROM table_name_19 WHERE state = "north carolina" AND evening_gown > 7.68</s> |
CREATE TABLE table_name_25 (season VARCHAR, runs VARCHAR) | SELECT season FROM table_name_25 WHERE runs = "310/9" | What season were the runs 310/9? | <s>[INST]What season were the runs 310/9? Context: CREATE TABLE table_name_25 (season VARCHAR, runs VARCHAR)[/INST]SELECT season FROM table_name_25 WHERE runs = "310/9"</s> |
CREATE TABLE table_1615980_4 (no VARCHAR, tournament VARCHAR) | SELECT COUNT(no) FROM table_1615980_4 WHERE tournament = "Volvo Masters Andalucia" | How many tournament wins were at Volvo Masters Andalucia? | <s>[INST]How many tournament wins were at Volvo Masters Andalucia? Context: CREATE TABLE table_1615980_4 (no VARCHAR, tournament VARCHAR)[/INST]SELECT COUNT(no) FROM table_1615980_4 WHERE tournament = "Volvo Masters Andalucia"</s> |
CREATE TABLE table_name_9 (club VARCHAR, drawn VARCHAR, try_bonus VARCHAR) | SELECT club FROM table_name_9 WHERE drawn = "0" AND try_bonus = "5" | What is Club, when Drawn is "0", and when Try Bonus is "5"? | <s>[INST]What is Club, when Drawn is "0", and when Try Bonus is "5"? Context: CREATE TABLE table_name_9 (club VARCHAR, drawn VARCHAR, try_bonus VARCHAR)[/INST]SELECT club FROM table_name_9 WHERE drawn = "0" AND try_bonus = "5"</s> |
CREATE TABLE table_name_27 (dainty_june VARCHAR, herbie VARCHAR) | SELECT dainty_june FROM table_name_27 WHERE herbie = "boyd gaines" | Who was Dainty June when Boyd Gaines was Herbie? | <s>[INST]Who was Dainty June when Boyd Gaines was Herbie? Context: CREATE TABLE table_name_27 (dainty_june VARCHAR, herbie VARCHAR)[/INST]SELECT dainty_june FROM table_name_27 WHERE herbie = "boyd gaines"</s> |
CREATE TABLE table_27455867_1 (callback_audition_date VARCHAR, episode_air_date VARCHAR) | SELECT callback_audition_date FROM table_27455867_1 WHERE episode_air_date = "February 2, 2011" | When was the callback audition date for the audition city from the episode aired on February 2, 2011? | <s>[INST]When was the callback audition date for the audition city from the episode aired on February 2, 2011? Context: CREATE TABLE table_27455867_1 (callback_audition_date VARCHAR, episode_air_date VARCHAR)[/INST]SELECT callback_audition_date FROM table_27455867_1 WHERE episode_air_date = "February 2, 2011"</s> |
CREATE TABLE table_2026548_1 (order_in_office VARCHAR, vice_president VARCHAR) | SELECT order_in_office FROM table_2026548_1 WHERE vice_president = "Spiro Agnew" | Name the order in office for spiro agnew | <s>[INST]Name the order in office for spiro agnew Context: CREATE TABLE table_2026548_1 (order_in_office VARCHAR, vice_president VARCHAR)[/INST]SELECT order_in_office FROM table_2026548_1 WHERE vice_president = "Spiro Agnew"</s> |
CREATE TABLE table_name_9 (bats VARCHAR, position VARCHAR, first VARCHAR) | SELECT bats FROM table_name_9 WHERE position = "lhp" AND first = "lachlan" | Which does the lhp player with the first name lachlan bat? | <s>[INST]Which does the lhp player with the first name lachlan bat? Context: CREATE TABLE table_name_9 (bats VARCHAR, position VARCHAR, first VARCHAR)[/INST]SELECT bats FROM table_name_9 WHERE position = "lhp" AND first = "lachlan"</s> |
CREATE TABLE table_name_17 (points VARCHAR, goals_for VARCHAR, draws VARCHAR, wins VARCHAR) | SELECT points FROM table_name_17 WHERE draws < 7 AND wins < 16 AND goals_for = 35 | What is Points, when Draws is less than 7, when Wins is less than 16, and when Goals For is "35"? | <s>[INST]What is Points, when Draws is less than 7, when Wins is less than 16, and when Goals For is "35"? Context: CREATE TABLE table_name_17 (points VARCHAR, goals_for VARCHAR, draws VARCHAR, wins VARCHAR)[/INST]SELECT points FROM table_name_17 WHERE draws < 7 AND wins < 16 AND goals_for = 35</s> |
CREATE TABLE table_27537518_4 (record VARCHAR, date VARCHAR) | SELECT record FROM table_27537518_4 WHERE date = "October 22" | What was the October 22 record? | <s>[INST]What was the October 22 record? Context: CREATE TABLE table_27537518_4 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_27537518_4 WHERE date = "October 22"</s> |
CREATE TABLE table_2500440_1 (population_density__per_km_2__ VARCHAR, name VARCHAR) | SELECT population_density__per_km_2__ FROM table_2500440_1 WHERE name = "Fishing Lake" | What is the population per km2 in Fishing Lake? | <s>[INST]What is the population per km2 in Fishing Lake? Context: CREATE TABLE table_2500440_1 (population_density__per_km_2__ VARCHAR, name VARCHAR)[/INST]SELECT population_density__per_km_2__ FROM table_2500440_1 WHERE name = "Fishing Lake"</s> |
CREATE TABLE table_name_95 (position VARCHAR, points VARCHAR, passenger VARCHAR) | SELECT position FROM table_name_95 WHERE points = 30 AND passenger = "reiner stuyvenberg" | Which position has 30 points and Reiner Stuyvenberg as a passenger? | <s>[INST]Which position has 30 points and Reiner Stuyvenberg as a passenger? Context: CREATE TABLE table_name_95 (position VARCHAR, points VARCHAR, passenger VARCHAR)[/INST]SELECT position FROM table_name_95 WHERE points = 30 AND passenger = "reiner stuyvenberg"</s> |
CREATE TABLE table_name_51 (players_per_console VARCHAR, genre VARCHAR, year VARCHAR) | SELECT players_per_console FROM table_name_51 WHERE genre = "strategy" AND year = 1992 | For the strategy game in 1992, how many players were allowed per console? | <s>[INST]For the strategy game in 1992, how many players were allowed per console? Context: CREATE TABLE table_name_51 (players_per_console VARCHAR, genre VARCHAR, year VARCHAR)[/INST]SELECT players_per_console FROM table_name_51 WHERE genre = "strategy" AND year = 1992</s> |
CREATE TABLE table_name_72 (week_1_sept_2 VARCHAR, week_3_sept_14 VARCHAR) | SELECT week_1_sept_2 FROM table_name_72 WHERE week_3_sept_14 = "south florida (3-0)" | Which Week 1 Sept 2 has a Week 3 Sept 14 of south florida (3-0)? | <s>[INST]Which Week 1 Sept 2 has a Week 3 Sept 14 of south florida (3-0)? Context: CREATE TABLE table_name_72 (week_1_sept_2 VARCHAR, week_3_sept_14 VARCHAR)[/INST]SELECT week_1_sept_2 FROM table_name_72 WHERE week_3_sept_14 = "south florida (3-0)"</s> |
CREATE TABLE table_name_59 (college_junior_club_team VARCHAR, pick VARCHAR) | SELECT college_junior_club_team FROM table_name_59 WHERE pick = "196" | Which college or team has a pick of 196? | <s>[INST]Which college or team has a pick of 196? Context: CREATE TABLE table_name_59 (college_junior_club_team VARCHAR, pick VARCHAR)[/INST]SELECT college_junior_club_team FROM table_name_59 WHERE pick = "196"</s> |
CREATE TABLE table_name_44 (wins VARCHAR, points VARCHAR, rank VARCHAR) | SELECT wins FROM table_name_44 WHERE points < 91 AND rank = "25th" | How many wins had less than 91 points in 25th rank? | <s>[INST]How many wins had less than 91 points in 25th rank? Context: CREATE TABLE table_name_44 (wins VARCHAR, points VARCHAR, rank VARCHAR)[/INST]SELECT wins FROM table_name_44 WHERE points < 91 AND rank = "25th"</s> |
CREATE TABLE table_name_42 (mpg_uk_combined INTEGER, l_100km_urban__cold_ VARCHAR, mpg_uk_urban__cold_ VARCHAR, l_100km_extra_urban VARCHAR) | SELECT MIN(mpg_uk_combined) FROM table_name_42 WHERE mpg_uk_urban__cold_ = 25.4 AND l_100km_extra_urban < 6.9 AND l_100km_urban__cold_ > 11.1 | What's the least mpg-UK combined when the mpg-UK urban is 25.4, the L/100km extra urban is less than 6.9 and the L/100km urban is more than 11.1? | <s>[INST]What's the least mpg-UK combined when the mpg-UK urban is 25.4, the L/100km extra urban is less than 6.9 and the L/100km urban is more than 11.1? Context: CREATE TABLE table_name_42 (mpg_uk_combined INTEGER, l_100km_urban__cold_ VARCHAR, mpg_uk_urban__cold_ VARCHAR, l_100km_extra_urban VARCHAR)[/INST]SELECT MIN(mpg_uk_combined) FROM table_name_42 WHERE mpg_uk_urban__cold_ = 25.4 AND l_100km_extra_urban < 6.9 AND l_100km_urban__cold_ > 11.1</s> |
CREATE TABLE table_1342393_23 (first_elected INTEGER, incumbent VARCHAR) | SELECT MIN(first_elected) FROM table_1342393_23 WHERE incumbent = "Jeff Busby" | What is the least first elected for jeff busby? | <s>[INST]What is the least first elected for jeff busby? Context: CREATE TABLE table_1342393_23 (first_elected INTEGER, incumbent VARCHAR)[/INST]SELECT MIN(first_elected) FROM table_1342393_23 WHERE incumbent = "Jeff Busby"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.