context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE Student_Tests_Taken (test_result VARCHAR) | SELECT COUNT(*) FROM Student_Tests_Taken WHERE test_result = "Fail" | How many tests have result "Fail"? | <s>[INST]How many tests have result "Fail"? Context: CREATE TABLE Student_Tests_Taken (test_result VARCHAR)[/INST]SELECT COUNT(*) FROM Student_Tests_Taken WHERE test_result = "Fail"</s> |
CREATE TABLE table_name_59 (round INTEGER, player VARCHAR, pick VARCHAR) | SELECT MAX(round) FROM table_name_59 WHERE player = "dan federman" AND pick > 114 | Player of dan federman, and a Pick larger than 114 involves which highest round? | <s>[INST]Player of dan federman, and a Pick larger than 114 involves which highest round? Context: CREATE TABLE table_name_59 (round INTEGER, player VARCHAR, pick VARCHAR)[/INST]SELECT MAX(round) FROM table_name_59 WHERE player = "dan federman" AND pick > 114</s> |
CREATE TABLE table_name_15 (prize VARCHAR, winner VARCHAR) | SELECT prize FROM table_name_15 WHERE winner = "dominik nitsche" | What is the Prize amount of Winner Dominik Nitsche? | <s>[INST]What is the Prize amount of Winner Dominik Nitsche? Context: CREATE TABLE table_name_15 (prize VARCHAR, winner VARCHAR)[/INST]SELECT prize FROM table_name_15 WHERE winner = "dominik nitsche"</s> |
CREATE TABLE table_name_44 (place VARCHAR, score INTEGER) | SELECT place FROM table_name_44 WHERE score < 70 | What is Place, when Score is less than 70? | <s>[INST]What is Place, when Score is less than 70? Context: CREATE TABLE table_name_44 (place VARCHAR, score INTEGER)[/INST]SELECT place FROM table_name_44 WHERE score < 70</s> |
CREATE TABLE table_name_90 (power VARCHAR, class VARCHAR, identifier VARCHAR) | SELECT power FROM table_name_90 WHERE class = "a" AND identifier = "cboc-fm" | What is the power that belongs to Class A with an Identifier of CBOC-FM? | <s>[INST]What is the power that belongs to Class A with an Identifier of CBOC-FM? Context: CREATE TABLE table_name_90 (power VARCHAR, class VARCHAR, identifier VARCHAR)[/INST]SELECT power FROM table_name_90 WHERE class = "a" AND identifier = "cboc-fm"</s> |
CREATE TABLE table_name_69 (rebounds INTEGER, steals VARCHAR, turnovers VARCHAR) | SELECT MAX(rebounds) FROM table_name_69 WHERE steals = 0.9 AND turnovers < 1.4 | What is the maximum rebounds when there are 0.9 steals and fewer than 1.4 turnovers? | <s>[INST]What is the maximum rebounds when there are 0.9 steals and fewer than 1.4 turnovers? Context: CREATE TABLE table_name_69 (rebounds INTEGER, steals VARCHAR, turnovers VARCHAR)[/INST]SELECT MAX(rebounds) FROM table_name_69 WHERE steals = 0.9 AND turnovers < 1.4</s> |
CREATE TABLE table_name_22 (season VARCHAR, promoted VARCHAR) | SELECT season FROM table_name_22 WHERE promoted = "norwich union league" | What season was Norwich Union League promoted? | <s>[INST]What season was Norwich Union League promoted? Context: CREATE TABLE table_name_22 (season VARCHAR, promoted VARCHAR)[/INST]SELECT season FROM table_name_22 WHERE promoted = "norwich union league"</s> |
CREATE TABLE table_name_74 (time_retired VARCHAR, constructor VARCHAR, laps VARCHAR) | SELECT time_retired FROM table_name_74 WHERE constructor = "maserati" AND laps = 90 | what is the time/retired when the constructor is maserati and the laps is 90? | <s>[INST]what is the time/retired when the constructor is maserati and the laps is 90? Context: CREATE TABLE table_name_74 (time_retired VARCHAR, constructor VARCHAR, laps VARCHAR)[/INST]SELECT time_retired FROM table_name_74 WHERE constructor = "maserati" AND laps = 90</s> |
CREATE TABLE table_name_43 (graphics VARCHAR, vram VARCHAR) | SELECT graphics FROM table_name_43 WHERE vram = "512mb" | Which graphics spec has a VRAM spec of 512MB? | <s>[INST]Which graphics spec has a VRAM spec of 512MB? Context: CREATE TABLE table_name_43 (graphics VARCHAR, vram VARCHAR)[/INST]SELECT graphics FROM table_name_43 WHERE vram = "512mb"</s> |
CREATE TABLE table_name_28 (fl_cup_goals VARCHAR, fa_cup_goals VARCHAR, division VARCHAR, other_apps VARCHAR) | SELECT COUNT(fl_cup_goals) FROM table_name_28 WHERE division = "one" AND other_apps > 3 AND fa_cup_goals > 0 | What is Division One's total number of FL Cup Goals, with an Other Apps greater than 3, and a FA Cup Goals greater than 0? | <s>[INST]What is Division One's total number of FL Cup Goals, with an Other Apps greater than 3, and a FA Cup Goals greater than 0? Context: CREATE TABLE table_name_28 (fl_cup_goals VARCHAR, fa_cup_goals VARCHAR, division VARCHAR, other_apps VARCHAR)[/INST]SELECT COUNT(fl_cup_goals) FROM table_name_28 WHERE division = ... |
CREATE TABLE table_28628309_6 (average VARCHAR, totals VARCHAR) | SELECT COUNT(average) FROM table_28628309_6 WHERE totals = "105-161" | How many items appear in the average column when the totals were 105-161? | <s>[INST]How many items appear in the average column when the totals were 105-161? Context: CREATE TABLE table_28628309_6 (average VARCHAR, totals VARCHAR)[/INST]SELECT COUNT(average) FROM table_28628309_6 WHERE totals = "105-161"</s> |
CREATE TABLE table_name_65 (l2_cache VARCHAR, model_number VARCHAR) | SELECT l2_cache FROM table_name_65 WHERE model_number = "core i7-2635qm" | What is the L2 cache for the core i7-2635QM? | <s>[INST]What is the L2 cache for the core i7-2635QM? Context: CREATE TABLE table_name_65 (l2_cache VARCHAR, model_number VARCHAR)[/INST]SELECT l2_cache FROM table_name_65 WHERE model_number = "core i7-2635qm"</s> |
CREATE TABLE table_2840500_6 (college_junior_club_team VARCHAR, nationality VARCHAR) | SELECT COUNT(college_junior_club_team) FROM table_2840500_6 WHERE nationality = "Russia" | How many college teams have a player with a nationality of Russia? | <s>[INST]How many college teams have a player with a nationality of Russia? Context: CREATE TABLE table_2840500_6 (college_junior_club_team VARCHAR, nationality VARCHAR)[/INST]SELECT COUNT(college_junior_club_team) FROM table_2840500_6 WHERE nationality = "Russia"</s> |
CREATE TABLE table_name_10 (date VARCHAR, partnering VARCHAR, opponent_in_final VARCHAR) | SELECT date FROM table_name_10 WHERE partnering = "francesca lubiani" AND opponent_in_final = "yuliya beygelzimer / jennifer hopkins" | What is the Date, when Partnering is "Francesca Lubiani", and when Opponent in Final is "Yuliya Beygelzimer / Jennifer Hopkins"? | <s>[INST]What is the Date, when Partnering is "Francesca Lubiani", and when Opponent in Final is "Yuliya Beygelzimer / Jennifer Hopkins"? Context: CREATE TABLE table_name_10 (date VARCHAR, partnering VARCHAR, opponent_in_final VARCHAR)[/INST]SELECT date FROM table_name_10 WHERE partnering = "francesca lubiani" AND oppo... |
CREATE TABLE table_10707176_2 (report VARCHAR, winning_team VARCHAR) | SELECT report FROM table_10707176_2 WHERE winning_team = "Porsche North America" | What report was there for the porsche north america? | <s>[INST]What report was there for the porsche north america? Context: CREATE TABLE table_10707176_2 (report VARCHAR, winning_team VARCHAR)[/INST]SELECT report FROM table_10707176_2 WHERE winning_team = "Porsche North America"</s> |
CREATE TABLE table_19630743_2 (no INTEGER, tournament VARCHAR) | SELECT MIN(no) FROM table_19630743_2 WHERE tournament = "BMW Championship" | What is the minimum number of the bmw championship tournament. | <s>[INST]What is the minimum number of the bmw championship tournament. Context: CREATE TABLE table_19630743_2 (no INTEGER, tournament VARCHAR)[/INST]SELECT MIN(no) FROM table_19630743_2 WHERE tournament = "BMW Championship"</s> |
CREATE TABLE table_name_31 (h_rempel VARCHAR, j_j_neufeld VARCHAR) | SELECT h_rempel FROM table_name_31 WHERE j_j_neufeld = "sajen" | Which of the H. Rempel has J. J. Neufeld of Sajen? | <s>[INST]Which of the H. Rempel has J. J. Neufeld of Sajen? Context: CREATE TABLE table_name_31 (h_rempel VARCHAR, j_j_neufeld VARCHAR)[/INST]SELECT h_rempel FROM table_name_31 WHERE j_j_neufeld = "sajen"</s> |
CREATE TABLE table_17814458_1 (name_or_route VARCHAR, slope_length VARCHAR) | SELECT name_or_route FROM table_17814458_1 WHERE slope_length = 336 | Name the name or route for slope length being 336 | <s>[INST]Name the name or route for slope length being 336 Context: CREATE TABLE table_17814458_1 (name_or_route VARCHAR, slope_length VARCHAR)[/INST]SELECT name_or_route FROM table_17814458_1 WHERE slope_length = 336</s> |
CREATE TABLE table_name_49 (roll INTEGER, decile VARCHAR, years VARCHAR, name VARCHAR) | SELECT MAX(roll) FROM table_name_49 WHERE years = "1–8" AND name = "dorie school" AND decile > 9 | What is the largest roll with Years 1–8, a Name of dorie school, and a Decile larger than 9? | <s>[INST]What is the largest roll with Years 1–8, a Name of dorie school, and a Decile larger than 9? Context: CREATE TABLE table_name_49 (roll INTEGER, decile VARCHAR, years VARCHAR, name VARCHAR)[/INST]SELECT MAX(roll) FROM table_name_49 WHERE years = "1–8" AND name = "dorie school" AND decile > 9</s> |
CREATE TABLE table_name_80 (year VARCHAR, first_publisher VARCHAR, english_title VARCHAR) | SELECT year FROM table_name_80 WHERE first_publisher = "kodansha novels" AND english_title = "tokyo nightmare" | What is the Year of Kodansha Novels' Tokyo Nightmare? | <s>[INST]What is the Year of Kodansha Novels' Tokyo Nightmare? Context: CREATE TABLE table_name_80 (year VARCHAR, first_publisher VARCHAR, english_title VARCHAR)[/INST]SELECT year FROM table_name_80 WHERE first_publisher = "kodansha novels" AND english_title = "tokyo nightmare"</s> |
CREATE TABLE table_23289934_1 (no_in_season INTEGER, production_code VARCHAR) | SELECT MAX(no_in_season) FROM table_23289934_1 WHERE production_code = "3ABC12" | Name the most number in season for production code 3abc12 | <s>[INST]Name the most number in season for production code 3abc12 Context: CREATE TABLE table_23289934_1 (no_in_season INTEGER, production_code VARCHAR)[/INST]SELECT MAX(no_in_season) FROM table_23289934_1 WHERE production_code = "3ABC12"</s> |
CREATE TABLE table_name_57 (team VARCHAR, position VARCHAR, player VARCHAR) | SELECT team FROM table_name_57 WHERE position = "guard / forward" AND player = "steinar kaldal" | What team has Steinar Kaldal, a guard / forward? | <s>[INST]What team has Steinar Kaldal, a guard / forward? Context: CREATE TABLE table_name_57 (team VARCHAR, position VARCHAR, player VARCHAR)[/INST]SELECT team FROM table_name_57 WHERE position = "guard / forward" AND player = "steinar kaldal"</s> |
CREATE TABLE table_name_71 (engine VARCHAR, chassis VARCHAR, year VARCHAR) | SELECT engine FROM table_name_71 WHERE chassis = "connaught type b" AND year > 1957 | What 1957 engine has a Chassis of connaught type b? | <s>[INST]What 1957 engine has a Chassis of connaught type b? Context: CREATE TABLE table_name_71 (engine VARCHAR, chassis VARCHAR, year VARCHAR)[/INST]SELECT engine FROM table_name_71 WHERE chassis = "connaught type b" AND year > 1957</s> |
CREATE TABLE table_26173058_2 (amman VARCHAR, wehdat VARCHAR) | SELECT COUNT(amman) FROM table_26173058_2 WHERE wehdat = "0-1" | what is the number of teams where the record is 0-1 | <s>[INST]what is the number of teams where the record is 0-1 Context: CREATE TABLE table_26173058_2 (amman VARCHAR, wehdat VARCHAR)[/INST]SELECT COUNT(amman) FROM table_26173058_2 WHERE wehdat = "0-1"</s> |
CREATE TABLE table_name_68 (loss VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT loss FROM table_name_68 WHERE opponent = "indians" AND record = "15-15" | What was the loss of the game against the Indians when the record was 15-15? | <s>[INST]What was the loss of the game against the Indians when the record was 15-15? Context: CREATE TABLE table_name_68 (loss VARCHAR, opponent VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_68 WHERE opponent = "indians" AND record = "15-15"</s> |
CREATE TABLE table_name_42 (top_10 INTEGER, cuts_made VARCHAR, wins VARCHAR, top_25 VARCHAR) | SELECT AVG(top_10) FROM table_name_42 WHERE wins < 1 AND top_25 = 5 AND cuts_made < 10 | Tell me the average top 10 for cuts made less than 10, wins less than 1 and top 25 of 5 | <s>[INST]Tell me the average top 10 for cuts made less than 10, wins less than 1 and top 25 of 5 Context: CREATE TABLE table_name_42 (top_10 INTEGER, cuts_made VARCHAR, wins VARCHAR, top_25 VARCHAR)[/INST]SELECT AVG(top_10) FROM table_name_42 WHERE wins < 1 AND top_25 = 5 AND cuts_made < 10</s> |
CREATE TABLE table_name_1 (gold INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR) | SELECT MAX(gold) FROM table_name_1 WHERE total < 171 AND nation = "united states" AND bronze < 9 | The United States, with a total medal count of less than 171, and a bronze medal count less than 9, has how many gold medals? | <s>[INST]The United States, with a total medal count of less than 171, and a bronze medal count less than 9, has how many gold medals? Context: CREATE TABLE table_name_1 (gold INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR)[/INST]SELECT MAX(gold) FROM table_name_1 WHERE total < 171 AND nation = "united states" ... |
CREATE TABLE table_name_7 (nba_draft VARCHAR, school VARCHAR) | SELECT nba_draft FROM table_name_7 WHERE school = "northeast high school" | What was the NBA draft status for Northeast High School? | <s>[INST]What was the NBA draft status for Northeast High School? Context: CREATE TABLE table_name_7 (nba_draft VARCHAR, school VARCHAR)[/INST]SELECT nba_draft FROM table_name_7 WHERE school = "northeast high school"</s> |
CREATE TABLE table_name_2 (score VARCHAR, game VARCHAR, date VARCHAR) | SELECT score FROM table_name_2 WHERE game < 4 AND date = "april 19" | What score has a game less than 4, and april 19 as the date? | <s>[INST]What score has a game less than 4, and april 19 as the date? Context: CREATE TABLE table_name_2 (score VARCHAR, game VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_2 WHERE game < 4 AND date = "april 19"</s> |
CREATE TABLE table_name_33 (drawn INTEGER, lost VARCHAR) | SELECT SUM(drawn) FROM table_name_33 WHERE lost = 4 | What is the whole of Drawn that has a Lost of 4? | <s>[INST]What is the whole of Drawn that has a Lost of 4? Context: CREATE TABLE table_name_33 (drawn INTEGER, lost VARCHAR)[/INST]SELECT SUM(drawn) FROM table_name_33 WHERE lost = 4</s> |
CREATE TABLE table_name_49 (laps INTEGER, finish VARCHAR, start VARCHAR) | SELECT MIN(laps) FROM table_name_49 WHERE finish = "7" AND start = "6" | What's the smallest amount of Laps that had a finish of 7 with a start of 6? | <s>[INST]What's the smallest amount of Laps that had a finish of 7 with a start of 6? Context: CREATE TABLE table_name_49 (laps INTEGER, finish VARCHAR, start VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_49 WHERE finish = "7" AND start = "6"</s> |
CREATE TABLE table_name_21 (years VARCHAR, role VARCHAR) | SELECT years FROM table_name_21 WHERE role = "steve rhoades" | How many years did the role of Steve Rhoades last? | <s>[INST]How many years did the role of Steve Rhoades last? Context: CREATE TABLE table_name_21 (years VARCHAR, role VARCHAR)[/INST]SELECT years FROM table_name_21 WHERE role = "steve rhoades"</s> |
CREATE TABLE table_27116696_1 (production_code VARCHAR, written_by VARCHAR) | SELECT COUNT(production_code) FROM table_27116696_1 WHERE written_by = "Matthew Lau" | What is the total number of production code listings of episodes written by Matthew Lau? | <s>[INST]What is the total number of production code listings of episodes written by Matthew Lau? Context: CREATE TABLE table_27116696_1 (production_code VARCHAR, written_by VARCHAR)[/INST]SELECT COUNT(production_code) FROM table_27116696_1 WHERE written_by = "Matthew Lau"</s> |
CREATE TABLE table_21907770_4 (date VARCHAR, versus VARCHAR) | SELECT date FROM table_21907770_4 WHERE versus = "South Africa" | What are the dates where the versus team is South Africa? | <s>[INST]What are the dates where the versus team is South Africa? Context: CREATE TABLE table_21907770_4 (date VARCHAR, versus VARCHAR)[/INST]SELECT date FROM table_21907770_4 WHERE versus = "South Africa"</s> |
CREATE TABLE table_name_94 (money___$__ VARCHAR, place VARCHAR, country VARCHAR) | SELECT money___$__ FROM table_name_94 WHERE place = "t3" AND country = "united states" | What was the money for place t3 and United States? | <s>[INST]What was the money for place t3 and United States? Context: CREATE TABLE table_name_94 (money___$__ VARCHAR, place VARCHAR, country VARCHAR)[/INST]SELECT money___$__ FROM table_name_94 WHERE place = "t3" AND country = "united states"</s> |
CREATE TABLE table_name_48 (margin_of_victory VARCHAR, runner_s__up VARCHAR) | SELECT margin_of_victory FROM table_name_48 WHERE runner_s__up = "justin rose" | What is the margin of victory in the race where Justin Rose was the runner-up? | <s>[INST]What is the margin of victory in the race where Justin Rose was the runner-up? Context: CREATE TABLE table_name_48 (margin_of_victory VARCHAR, runner_s__up VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_48 WHERE runner_s__up = "justin rose"</s> |
CREATE TABLE enzyme (name VARCHAR, product VARCHAR) | SELECT name FROM enzyme WHERE product <> 'Heme' | What are the names of enzymes who does not produce 'Heme'? | <s>[INST]What are the names of enzymes who does not produce 'Heme'? Context: CREATE TABLE enzyme (name VARCHAR, product VARCHAR)[/INST]SELECT name FROM enzyme WHERE product <> 'Heme'</s> |
CREATE TABLE table_name_30 (Id VARCHAR) | SELECT 2010 FROM table_name_30 WHERE 2006 = "a" AND 2011 = "a" | What 2010 has an A 2006 & 2011? | <s>[INST]What 2010 has an A 2006 & 2011? Context: CREATE TABLE table_name_30 (Id VARCHAR)[/INST]SELECT 2010 FROM table_name_30 WHERE 2006 = "a" AND 2011 = "a"</s> |
CREATE TABLE table_name_47 (year VARCHAR, award VARCHAR) | SELECT COUNT(year) FROM table_name_47 WHERE award = "press award" | How many years have an Award of press award? | <s>[INST]How many years have an Award of press award? Context: CREATE TABLE table_name_47 (year VARCHAR, award VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_47 WHERE award = "press award"</s> |
CREATE TABLE table_name_82 (rank INTEGER, country VARCHAR) | SELECT AVG(rank) FROM table_name_82 WHERE country = "hungary" | What is the average rank for Hungary? | <s>[INST]What is the average rank for Hungary? Context: CREATE TABLE table_name_82 (rank INTEGER, country VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_82 WHERE country = "hungary"</s> |
CREATE TABLE table_name_40 (name VARCHAR, heat VARCHAR, time VARCHAR) | SELECT name FROM table_name_40 WHERE heat = 2 AND time = "9:04.86" | What is the Name of the swimmer with a Time of 9:04.86 in Heat 2? | <s>[INST]What is the Name of the swimmer with a Time of 9:04.86 in Heat 2? Context: CREATE TABLE table_name_40 (name VARCHAR, heat VARCHAR, time VARCHAR)[/INST]SELECT name FROM table_name_40 WHERE heat = 2 AND time = "9:04.86"</s> |
CREATE TABLE table_15621965_17 (years_in_orlando VARCHAR, player VARCHAR) | SELECT years_in_orlando FROM table_15621965_17 WHERE player = "Jeryl Sasser" | List all years in Orlando where Jeryl Sasser was a player. | <s>[INST]List all years in Orlando where Jeryl Sasser was a player. Context: CREATE TABLE table_15621965_17 (years_in_orlando VARCHAR, player VARCHAR)[/INST]SELECT years_in_orlando FROM table_15621965_17 WHERE player = "Jeryl Sasser"</s> |
CREATE TABLE table_name_50 (sio_2 INTEGER, na_2_o VARCHAR, k_2_o VARCHAR, fe_2_o_3 VARCHAR) | SELECT MAX(sio_2) FROM table_name_50 WHERE k_2_o > 0.16 AND fe_2_o_3 > 0.16 AND na_2_o < 7.53 | What is the highest SiO 2, when K 2 O is greater than 0.16, when Fe 2 O 3 is greater than 0.16, and when Na 2 O is less than 7.53? | <s>[INST]What is the highest SiO 2, when K 2 O is greater than 0.16, when Fe 2 O 3 is greater than 0.16, and when Na 2 O is less than 7.53? Context: CREATE TABLE table_name_50 (sio_2 INTEGER, na_2_o VARCHAR, k_2_o VARCHAR, fe_2_o_3 VARCHAR)[/INST]SELECT MAX(sio_2) FROM table_name_50 WHERE k_2_o > 0.16 AND fe_2_o_3 > 0.... |
CREATE TABLE table_1682026_2 (assets__billion_$_ VARCHAR, headquarters VARCHAR) | SELECT assets__billion_$_ FROM table_1682026_2 WHERE headquarters = "Brazil" | What are the assets for company who's headquarters are located in Brazil? | <s>[INST]What are the assets for company who's headquarters are located in Brazil? Context: CREATE TABLE table_1682026_2 (assets__billion_$_ VARCHAR, headquarters VARCHAR)[/INST]SELECT assets__billion_$_ FROM table_1682026_2 WHERE headquarters = "Brazil"</s> |
CREATE TABLE table_name_25 (episode INTEGER, performer_1 VARCHAR, performer_4 VARCHAR) | SELECT SUM(episode) FROM table_name_25 WHERE performer_1 = "jim sweeney" AND performer_4 = "mike mcshane" | What is the episode number where Jim Sweeney was performer 1 and Mike Mcshane was performer 4? | <s>[INST]What is the episode number where Jim Sweeney was performer 1 and Mike Mcshane was performer 4? Context: CREATE TABLE table_name_25 (episode INTEGER, performer_1 VARCHAR, performer_4 VARCHAR)[/INST]SELECT SUM(episode) FROM table_name_25 WHERE performer_1 = "jim sweeney" AND performer_4 = "mike mcshane"</s> |
CREATE TABLE people (Age INTEGER, People_ID VARCHAR); CREATE TABLE gymnast (Gymnast_ID VARCHAR) | SELECT AVG(T2.Age) FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID | What is the average age of all gymnasts? | <s>[INST]What is the average age of all gymnasts? Context: CREATE TABLE people (Age INTEGER, People_ID VARCHAR); CREATE TABLE gymnast (Gymnast_ID VARCHAR)[/INST]SELECT AVG(T2.Age) FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID</s> |
CREATE TABLE table_name_38 (year_started INTEGER, current_car VARCHAR, number_of_cars VARCHAR) | SELECT MAX(year_started) FROM table_name_38 WHERE current_car = "arctic sun" AND number_of_cars < 1 | Which Year started is the highest one that has a Current car of arctic sun, and a Number of cars smaller than 1? | <s>[INST]Which Year started is the highest one that has a Current car of arctic sun, and a Number of cars smaller than 1? Context: CREATE TABLE table_name_38 (year_started INTEGER, current_car VARCHAR, number_of_cars VARCHAR)[/INST]SELECT MAX(year_started) FROM table_name_38 WHERE current_car = "arctic sun" AND number_... |
CREATE TABLE table_name_12 (surface VARCHAR, tournament VARCHAR) | SELECT surface FROM table_name_12 WHERE tournament = "new zealand f1 futures" | What is the type of Surface for the New Zealand F1 Futures Tournament? | <s>[INST]What is the type of Surface for the New Zealand F1 Futures Tournament? Context: CREATE TABLE table_name_12 (surface VARCHAR, tournament VARCHAR)[/INST]SELECT surface FROM table_name_12 WHERE tournament = "new zealand f1 futures"</s> |
CREATE TABLE table_name_39 (laps VARCHAR, driver VARCHAR) | SELECT laps FROM table_name_39 WHERE driver = "eddie cheever" | How many Laps does Eddie Cheever have? | <s>[INST]How many Laps does Eddie Cheever have? Context: CREATE TABLE table_name_39 (laps VARCHAR, driver VARCHAR)[/INST]SELECT laps FROM table_name_39 WHERE driver = "eddie cheever"</s> |
CREATE TABLE table_name_72 (province VARCHAR, city VARCHAR, stadium VARCHAR) | SELECT province FROM table_name_72 WHERE city = "mendoza" AND stadium = "feliciano gambarte" | What province is in Mendoza with a stadium feliciano gambarte? | <s>[INST]What province is in Mendoza with a stadium feliciano gambarte? Context: CREATE TABLE table_name_72 (province VARCHAR, city VARCHAR, stadium VARCHAR)[/INST]SELECT province FROM table_name_72 WHERE city = "mendoza" AND stadium = "feliciano gambarte"</s> |
CREATE TABLE table_name_52 (rank VARCHAR) | SELECT rank FROM table_name_52 WHERE 2010 = "2,903,000" | what is the ranking for 2010 production of 2,903,000? | <s>[INST]what is the ranking for 2010 production of 2,903,000? Context: CREATE TABLE table_name_52 (rank VARCHAR)[/INST]SELECT rank FROM table_name_52 WHERE 2010 = "2,903,000"</s> |
CREATE TABLE table_name_69 (country VARCHAR, airport VARCHAR) | SELECT country FROM table_name_69 WHERE airport = "hiroshima airport" | In what country is Hiroshima Airport located? | <s>[INST]In what country is Hiroshima Airport located? Context: CREATE TABLE table_name_69 (country VARCHAR, airport VARCHAR)[/INST]SELECT country FROM table_name_69 WHERE airport = "hiroshima airport"</s> |
CREATE TABLE table_name_87 (title VARCHAR, written_by VARCHAR, original_air_date VARCHAR) | SELECT title FROM table_name_87 WHERE written_by = "terri hughes & ron milbauer" AND original_air_date = "march 6, 2001" | What is the Title written by Terri Hughes & Ron Milbauer, and an Original air date of march 6, 2001? | <s>[INST]What is the Title written by Terri Hughes & Ron Milbauer, and an Original air date of march 6, 2001? Context: CREATE TABLE table_name_87 (title VARCHAR, written_by VARCHAR, original_air_date VARCHAR)[/INST]SELECT title FROM table_name_87 WHERE written_by = "terri hughes & ron milbauer" AND original_air_date = ... |
CREATE TABLE table_name_10 (year VARCHAR, rank VARCHAR, name VARCHAR) | SELECT year FROM table_name_10 WHERE rank < 6 AND name = "damac heights" | In what year was the rank less than 6 for Damac Heights? | <s>[INST]In what year was the rank less than 6 for Damac Heights? Context: CREATE TABLE table_name_10 (year VARCHAR, rank VARCHAR, name VARCHAR)[/INST]SELECT year FROM table_name_10 WHERE rank < 6 AND name = "damac heights"</s> |
CREATE TABLE table_17325580_10 (record VARCHAR, team VARCHAR) | SELECT record FROM table_17325580_10 WHERE team = "Boston" | What was the record when the team played Boston? | <s>[INST]What was the record when the team played Boston? Context: CREATE TABLE table_17325580_10 (record VARCHAR, team VARCHAR)[/INST]SELECT record FROM table_17325580_10 WHERE team = "Boston"</s> |
CREATE TABLE table_name_69 (game INTEGER, date VARCHAR) | SELECT MIN(game) FROM table_name_69 WHERE date = "february 20" | What is the lowest game number on February 20? | <s>[INST]What is the lowest game number on February 20? Context: CREATE TABLE table_name_69 (game INTEGER, date VARCHAR)[/INST]SELECT MIN(game) FROM table_name_69 WHERE date = "february 20"</s> |
CREATE TABLE table_name_62 (republican_ticket VARCHAR, democratic_ticket VARCHAR) | SELECT republican_ticket FROM table_name_62 WHERE democratic_ticket = "flora d. johnson" | Who's the Republican ticket with a Democratic ticket of flora d. johnson? | <s>[INST]Who's the Republican ticket with a Democratic ticket of flora d. johnson? Context: CREATE TABLE table_name_62 (republican_ticket VARCHAR, democratic_ticket VARCHAR)[/INST]SELECT republican_ticket FROM table_name_62 WHERE democratic_ticket = "flora d. johnson"</s> |
CREATE TABLE table_name_48 (institution VARCHAR, nickname VARCHAR, classification VARCHAR, current_conference VARCHAR) | SELECT institution FROM table_name_48 WHERE classification = "ncaa division i" AND current_conference = "nec" AND nickname = "blue devils" | What institution is a NCAA Division i school and part of the NEC conference with a nickname the Blue Devils? | <s>[INST]What institution is a NCAA Division i school and part of the NEC conference with a nickname the Blue Devils? Context: CREATE TABLE table_name_48 (institution VARCHAR, nickname VARCHAR, classification VARCHAR, current_conference VARCHAR)[/INST]SELECT institution FROM table_name_48 WHERE classification = "ncaa d... |
CREATE TABLE table_name_58 (matches INTEGER, goalkeeper VARCHAR, average VARCHAR) | SELECT SUM(matches) FROM table_name_58 WHERE goalkeeper = "carlos kameni" AND average > 1.27 | How many matches did Carlos Kameni play in, who had an average larger than 1.27? | <s>[INST]How many matches did Carlos Kameni play in, who had an average larger than 1.27? Context: CREATE TABLE table_name_58 (matches INTEGER, goalkeeper VARCHAR, average VARCHAR)[/INST]SELECT SUM(matches) FROM table_name_58 WHERE goalkeeper = "carlos kameni" AND average > 1.27</s> |
CREATE TABLE table_11748792_2 (friday VARCHAR, monday VARCHAR) | SELECT friday FROM table_11748792_2 WHERE monday = "Emma Willis Jamie East" | Who is the friday presenter for each show, when the monday presenter is Emma Willis Jamie East? | <s>[INST]Who is the friday presenter for each show, when the monday presenter is Emma Willis Jamie East? Context: CREATE TABLE table_11748792_2 (friday VARCHAR, monday VARCHAR)[/INST]SELECT friday FROM table_11748792_2 WHERE monday = "Emma Willis Jamie East"</s> |
CREATE TABLE table_name_31 (date VARCHAR, time VARCHAR) | SELECT date FROM table_name_31 WHERE time = "2:16.08" | What was the date in which the time was 2:16.08? | <s>[INST]What was the date in which the time was 2:16.08? Context: CREATE TABLE table_name_31 (date VARCHAR, time VARCHAR)[/INST]SELECT date FROM table_name_31 WHERE time = "2:16.08"</s> |
CREATE TABLE table_13273629_2 (original_air_date VARCHAR, directed_by VARCHAR) | SELECT original_air_date FROM table_13273629_2 WHERE directed_by = "Carey Meyer" | When was the episode directed by Carey Meyer aired for the first time? | <s>[INST]When was the episode directed by Carey Meyer aired for the first time? Context: CREATE TABLE table_13273629_2 (original_air_date VARCHAR, directed_by VARCHAR)[/INST]SELECT original_air_date FROM table_13273629_2 WHERE directed_by = "Carey Meyer"</s> |
CREATE TABLE table_2076608_1 (control VARCHAR, school VARCHAR) | SELECT control FROM table_2076608_1 WHERE school = "Christopher Newport University" | What is the control for Christopher Newport University? | <s>[INST]What is the control for Christopher Newport University? Context: CREATE TABLE table_2076608_1 (control VARCHAR, school VARCHAR)[/INST]SELECT control FROM table_2076608_1 WHERE school = "Christopher Newport University"</s> |
CREATE TABLE table_19534874_2 (indoor INTEGER, inspection VARCHAR) | SELECT MIN(indoor) FROM table_19534874_2 WHERE inspection = 5 | What are the minimum indoor results that have a 5 for inspection? | <s>[INST]What are the minimum indoor results that have a 5 for inspection? Context: CREATE TABLE table_19534874_2 (indoor INTEGER, inspection VARCHAR)[/INST]SELECT MIN(indoor) FROM table_19534874_2 WHERE inspection = 5</s> |
CREATE TABLE table_name_46 (place VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT place FROM table_name_46 WHERE to_par = "+3" AND score = 74 - 73 = 147 | What is the Place when the To par was +3 and Score was 74-73=147? | <s>[INST]What is the Place when the To par was +3 and Score was 74-73=147? Context: CREATE TABLE table_name_46 (place VARCHAR, to_par VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_46 WHERE to_par = "+3" AND score = 74 - 73 = 147</s> |
CREATE TABLE table_11839306_2 (track VARCHAR) | SELECT track AS time FROM table_11839306_2 WHERE track = 8 | How long is track number 8? | <s>[INST]How long is track number 8? Context: CREATE TABLE table_11839306_2 (track VARCHAR)[/INST]SELECT track AS time FROM table_11839306_2 WHERE track = 8</s> |
CREATE TABLE table_name_36 (goals_against VARCHAR, wins VARCHAR) | SELECT goals_against FROM table_name_36 WHERE wins = 7 | For teams with 7 wins, what is the number of goals against? | <s>[INST]For teams with 7 wins, what is the number of goals against? Context: CREATE TABLE table_name_36 (goals_against VARCHAR, wins VARCHAR)[/INST]SELECT goals_against FROM table_name_36 WHERE wins = 7</s> |
CREATE TABLE table_name_41 (round INTEGER, pick VARCHAR) | SELECT SUM(round) FROM table_name_41 WHERE pick = 169 | Name the sum of round for pick of 169 | <s>[INST]Name the sum of round for pick of 169 Context: CREATE TABLE table_name_41 (round INTEGER, pick VARCHAR)[/INST]SELECT SUM(round) FROM table_name_41 WHERE pick = 169</s> |
CREATE TABLE table_name_97 (date VARCHAR, type VARCHAR, round VARCHAR) | SELECT date FROM table_name_97 WHERE type = "tko" AND round = "1 (6)" | When has a Type of tko, and a Round of 1 (6) | <s>[INST]When has a Type of tko, and a Round of 1 (6) Context: CREATE TABLE table_name_97 (date VARCHAR, type VARCHAR, round VARCHAR)[/INST]SELECT date FROM table_name_97 WHERE type = "tko" AND round = "1 (6)"</s> |
CREATE TABLE table_name_94 (class VARCHAR, identifier VARCHAR) | SELECT class FROM table_name_94 WHERE identifier = "cbf-fm-14" | What's the class when the identifier is cbf-fm-14? | <s>[INST]What's the class when the identifier is cbf-fm-14? Context: CREATE TABLE table_name_94 (class VARCHAR, identifier VARCHAR)[/INST]SELECT class FROM table_name_94 WHERE identifier = "cbf-fm-14"</s> |
CREATE TABLE table_10733530_3 (_percentage_growth__2000_2008_ VARCHAR, nation VARCHAR) | SELECT _percentage_growth__2000_2008_ FROM table_10733530_3 WHERE nation = "Ethiopia" | What is the percentage of growth in 2000-2008 in ethiopia? | <s>[INST]What is the percentage of growth in 2000-2008 in ethiopia? Context: CREATE TABLE table_10733530_3 (_percentage_growth__2000_2008_ VARCHAR, nation VARCHAR)[/INST]SELECT _percentage_growth__2000_2008_ FROM table_10733530_3 WHERE nation = "Ethiopia"</s> |
CREATE TABLE table_name_39 (Id VARCHAR) | SELECT 2009 FROM table_name_39 WHERE 2013 = "4th" | What is the 2009 when the 2013 is 4th? | <s>[INST]What is the 2009 when the 2013 is 4th? Context: CREATE TABLE table_name_39 (Id VARCHAR)[/INST]SELECT 2009 FROM table_name_39 WHERE 2013 = "4th"</s> |
CREATE TABLE table_1046454_1 (regular_season VARCHAR, year VARCHAR) | SELECT regular_season FROM table_1046454_1 WHERE year = 2011 | what are all the regular season where year is 2011 | <s>[INST]what are all the regular season where year is 2011 Context: CREATE TABLE table_1046454_1 (regular_season VARCHAR, year VARCHAR)[/INST]SELECT regular_season FROM table_1046454_1 WHERE year = 2011</s> |
CREATE TABLE table_28730459_3 (league_goals VARCHAR, league_matches VARCHAR, tebe_career VARCHAR) | SELECT league_goals FROM table_28730459_3 WHERE league_matches = 10 AND tebe_career = "2003" | What is the number of league goals for players with 10 league matches and a TeBe career of 2003? | <s>[INST]What is the number of league goals for players with 10 league matches and a TeBe career of 2003? Context: CREATE TABLE table_28730459_3 (league_goals VARCHAR, league_matches VARCHAR, tebe_career VARCHAR)[/INST]SELECT league_goals FROM table_28730459_3 WHERE league_matches = 10 AND tebe_career = "2003"</s> |
CREATE TABLE table_name_68 (venue VARCHAR, crowd INTEGER) | SELECT venue FROM table_name_68 WHERE crowd > 20 OFFSET 000 | Which venue had a crowd larger than 20,000? | <s>[INST]Which venue had a crowd larger than 20,000? Context: CREATE TABLE table_name_68 (venue VARCHAR, crowd INTEGER)[/INST]SELECT venue FROM table_name_68 WHERE crowd > 20 OFFSET 000</s> |
CREATE TABLE table_1749567_2 (number INTEGER, name VARCHAR) | SELECT MAX(number) FROM table_1749567_2 WHERE name = "Eyserweg" | The Eyserweg race was which race #? | <s>[INST]The Eyserweg race was which race #? Context: CREATE TABLE table_1749567_2 (number INTEGER, name VARCHAR)[/INST]SELECT MAX(number) FROM table_1749567_2 WHERE name = "Eyserweg"</s> |
CREATE TABLE table_name_77 (series_3 VARCHAR, seat INTEGER) | SELECT series_3 FROM table_name_77 WHERE seat > 4 | What is the series 3 with more than 4 seats? | <s>[INST]What is the series 3 with more than 4 seats? Context: CREATE TABLE table_name_77 (series_3 VARCHAR, seat INTEGER)[/INST]SELECT series_3 FROM table_name_77 WHERE seat > 4</s> |
CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dorm_name VARCHAR, dormid VARCHAR) | SELECT dorm_name FROM dorm WHERE NOT dormid IN (SELECT dormid FROM has_amenity) | Find the name of dorms that do not have any amenity | <s>[INST]Find the name of dorms that do not have any amenity Context: CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dorm_name VARCHAR, dormid VARCHAR)[/INST]SELECT dorm_name FROM dorm WHERE NOT dormid IN (SELECT dormid FROM has_amenity)</s> |
CREATE TABLE perpetrator (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Weight VARCHAR) | SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Weight DESC LIMIT 1 | What is the name of the perpetrator with the biggest weight. | <s>[INST]What is the name of the perpetrator with the biggest weight. Context: CREATE TABLE perpetrator (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Weight VARCHAR)[/INST]SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Weight DESC LIMIT 1<... |
CREATE TABLE table_name_2 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_2 WHERE away_team = "footscray" | Which team plays against Footscray as the home team? | <s>[INST]Which team plays against Footscray as the home team? Context: CREATE TABLE table_name_2 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_2 WHERE away_team = "footscray"</s> |
CREATE TABLE table_name_72 (laps INTEGER, name VARCHAR, grid VARCHAR) | SELECT SUM(laps) FROM table_name_72 WHERE name = "sébastien bourdais" AND grid < 1 | How many laps for sébastien bourdais, and a Grid smaller than 1? | <s>[INST]How many laps for sébastien bourdais, and a Grid smaller than 1? Context: CREATE TABLE table_name_72 (laps INTEGER, name VARCHAR, grid VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_72 WHERE name = "sébastien bourdais" AND grid < 1</s> |
CREATE TABLE table_name_6 (pts VARCHAR, year VARCHAR, event VARCHAR) | SELECT pts FROM table_name_6 WHERE year = "2004" AND event = "ro" | What is the pts for 2004, and the ro event? | <s>[INST]What is the pts for 2004, and the ro event? Context: CREATE TABLE table_name_6 (pts VARCHAR, year VARCHAR, event VARCHAR)[/INST]SELECT pts FROM table_name_6 WHERE year = "2004" AND event = "ro"</s> |
CREATE TABLE table_name_45 (name VARCHAR, length VARCHAR, winner VARCHAR) | SELECT name FROM table_name_45 WHERE length = "2.40km" AND winner = "s. loeb" | What is the Name of the Special Stage with a 2.40km length and S. Loeb as Winner? | <s>[INST]What is the Name of the Special Stage with a 2.40km length and S. Loeb as Winner? Context: CREATE TABLE table_name_45 (name VARCHAR, length VARCHAR, winner VARCHAR)[/INST]SELECT name FROM table_name_45 WHERE length = "2.40km" AND winner = "s. loeb"</s> |
CREATE TABLE table_name_88 (total INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR) | SELECT AVG(total) FROM table_name_88 WHERE bronze < 34 AND gold < 14 AND silver < 0 | What is the average total for teams with under 34 bronzes, 0 silver, and under 14 gold? | <s>[INST]What is the average total for teams with under 34 bronzes, 0 silver, and under 14 gold? Context: CREATE TABLE table_name_88 (total INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR)[/INST]SELECT AVG(total) FROM table_name_88 WHERE bronze < 34 AND gold < 14 AND silver < 0</s> |
CREATE TABLE table_13836704_6 (_percentage_change_2008_2009 VARCHAR, airport VARCHAR) | SELECT _percentage_change_2008_2009 FROM table_13836704_6 WHERE airport = "Belfast International" | What is the percent change from 08/09 for belfast international? | <s>[INST]What is the percent change from 08/09 for belfast international? Context: CREATE TABLE table_13836704_6 (_percentage_change_2008_2009 VARCHAR, airport VARCHAR)[/INST]SELECT _percentage_change_2008_2009 FROM table_13836704_6 WHERE airport = "Belfast International"</s> |
CREATE TABLE table_1284347_2 (distance VARCHAR, race VARCHAR) | SELECT COUNT(distance) FROM table_1284347_2 WHERE race = "Rosehill Guineas" | How many races is different distances does Rosehill Guineas compete in? | <s>[INST]How many races is different distances does Rosehill Guineas compete in? Context: CREATE TABLE table_1284347_2 (distance VARCHAR, race VARCHAR)[/INST]SELECT COUNT(distance) FROM table_1284347_2 WHERE race = "Rosehill Guineas"</s> |
CREATE TABLE table_2866456_1 (directed_by VARCHAR, production_code VARCHAR) | SELECT directed_by FROM table_2866456_1 WHERE production_code = "2T6404" | Who is the directed by when 2t6404 is the production code? | <s>[INST]Who is the directed by when 2t6404 is the production code? Context: CREATE TABLE table_2866456_1 (directed_by VARCHAR, production_code VARCHAR)[/INST]SELECT directed_by FROM table_2866456_1 WHERE production_code = "2T6404"</s> |
CREATE TABLE table_name_70 (nation VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR) | SELECT nation FROM table_name_70 WHERE gold = "1" AND bronze = "1" AND total = 2 | Which nation won 1 gold medal and 1 bronze, for a total of 2 medals? | <s>[INST]Which nation won 1 gold medal and 1 bronze, for a total of 2 medals? Context: CREATE TABLE table_name_70 (nation VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR)[/INST]SELECT nation FROM table_name_70 WHERE gold = "1" AND bronze = "1" AND total = 2</s> |
CREATE TABLE table_name_6 (format VARCHAR, single VARCHAR) | SELECT format FROM table_name_6 WHERE single = "i can't stay" | What's the format of the single, I Can't Stay? | <s>[INST]What's the format of the single, I Can't Stay? Context: CREATE TABLE table_name_6 (format VARCHAR, single VARCHAR)[/INST]SELECT format FROM table_name_6 WHERE single = "i can't stay"</s> |
CREATE TABLE table_name_91 (mascot VARCHAR, county VARCHAR) | SELECT mascot FROM table_name_91 WHERE county = "78 switzerland" | who is the mascot of the county 78 switzerland? | <s>[INST]who is the mascot of the county 78 switzerland? Context: CREATE TABLE table_name_91 (mascot VARCHAR, county VARCHAR)[/INST]SELECT mascot FROM table_name_91 WHERE county = "78 switzerland"</s> |
CREATE TABLE table_name_47 (tournament VARCHAR, finalist VARCHAR) | SELECT tournament FROM table_name_47 WHERE finalist = "marat safin (12)" | WHich Tournament has a Finalist of marat safin (12)? | <s>[INST]WHich Tournament has a Finalist of marat safin (12)? Context: CREATE TABLE table_name_47 (tournament VARCHAR, finalist VARCHAR)[/INST]SELECT tournament FROM table_name_47 WHERE finalist = "marat safin (12)"</s> |
CREATE TABLE table_name_97 (region VARCHAR, altitude__metres_ VARCHAR) | SELECT region FROM table_name_97 WHERE altitude__metres_ = 6854 | Say the region for 6854 altitudes | <s>[INST]Say the region for 6854 altitudes Context: CREATE TABLE table_name_97 (region VARCHAR, altitude__metres_ VARCHAR)[/INST]SELECT region FROM table_name_97 WHERE altitude__metres_ = 6854</s> |
CREATE TABLE table_11456251_5 (power_capacity__gw_ VARCHAR, number_of_generators VARCHAR) | SELECT power_capacity__gw_ FROM table_11456251_5 WHERE number_of_generators = 781 | What is the power capacity when the generators were 781? | <s>[INST]What is the power capacity when the generators were 781? Context: CREATE TABLE table_11456251_5 (power_capacity__gw_ VARCHAR, number_of_generators VARCHAR)[/INST]SELECT power_capacity__gw_ FROM table_11456251_5 WHERE number_of_generators = 781</s> |
CREATE TABLE table_name_15 (time VARCHAR, speed VARCHAR) | SELECT time FROM table_name_15 WHERE speed = "87.49mph" | What is Time, when Speed is 87.49mph? | <s>[INST]What is Time, when Speed is 87.49mph? Context: CREATE TABLE table_name_15 (time VARCHAR, speed VARCHAR)[/INST]SELECT time FROM table_name_15 WHERE speed = "87.49mph"</s> |
CREATE TABLE table_23453931_8 (game VARCHAR, opponent VARCHAR) | SELECT COUNT(game) FROM table_23453931_8 WHERE opponent = "Carolina Hurricanes" | How many games did they play the carolina hurricanes? | <s>[INST]How many games did they play the carolina hurricanes? Context: CREATE TABLE table_23453931_8 (game VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(game) FROM table_23453931_8 WHERE opponent = "Carolina Hurricanes"</s> |
CREATE TABLE table_name_28 (failures INTEGER, launches VARCHAR, partial_failures VARCHAR) | SELECT MIN(failures) FROM table_name_28 WHERE launches = 1 AND partial_failures < 0 | What is the least amount of failures with 1 launch and 0 partial failures? | <s>[INST]What is the least amount of failures with 1 launch and 0 partial failures? Context: CREATE TABLE table_name_28 (failures INTEGER, launches VARCHAR, partial_failures VARCHAR)[/INST]SELECT MIN(failures) FROM table_name_28 WHERE launches = 1 AND partial_failures < 0</s> |
CREATE TABLE table_name_25 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_25 WHERE home_team = "essendon" | What was the essendon score when they were at home? | <s>[INST]What was the essendon score when they were at home? Context: CREATE TABLE table_name_25 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_25 WHERE home_team = "essendon"</s> |
CREATE TABLE table_name_70 (pct INTEGER, wins VARCHAR, name VARCHAR) | SELECT SUM(pct) FROM table_name_70 WHERE wins > 72 AND name = "john yovicsin" | Which percent has Wins larger than 72, and a Name of john yovicsin? | <s>[INST]Which percent has Wins larger than 72, and a Name of john yovicsin? Context: CREATE TABLE table_name_70 (pct INTEGER, wins VARCHAR, name VARCHAR)[/INST]SELECT SUM(pct) FROM table_name_70 WHERE wins > 72 AND name = "john yovicsin"</s> |
CREATE TABLE table_11542215_3 (vault VARCHAR, total VARCHAR) | SELECT vault FROM table_11542215_3 WHERE total = "56.635" | What is the vault score for the total of 56.635? | <s>[INST]What is the vault score for the total of 56.635? Context: CREATE TABLE table_11542215_3 (vault VARCHAR, total VARCHAR)[/INST]SELECT vault FROM table_11542215_3 WHERE total = "56.635"</s> |
CREATE TABLE table_name_62 (score VARCHAR, game VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_62 WHERE game > 68 AND opponent = "boston bruins" | What's the score of the game against the Boston Bruins and after game 68? | <s>[INST]What's the score of the game against the Boston Bruins and after game 68? Context: CREATE TABLE table_name_62 (score VARCHAR, game VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_62 WHERE game > 68 AND opponent = "boston bruins"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.