context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_46 (matches INTEGER, draws VARCHAR, efficiency__percentage VARCHAR) | SELECT MAX(matches) FROM table_name_46 WHERE draws < 2 AND efficiency__percentage = "25%" | What is the highest number of matches with less than 2 draws that had an efficiency percent of 25%? | <s>[INST]What is the highest number of matches with less than 2 draws that had an efficiency percent of 25%? Context: CREATE TABLE table_name_46 (matches INTEGER, draws VARCHAR, efficiency__percentage VARCHAR)[/INST]SELECT MAX(matches) FROM table_name_46 WHERE draws < 2 AND efficiency__percentage = "25%"</s> |
CREATE TABLE table_name_50 (final VARCHAR, run_2 VARCHAR) | SELECT final FROM table_name_50 WHERE run_2 = "1:27.58" | Which Final has a Run 2 of 1:27.58? | <s>[INST]Which Final has a Run 2 of 1:27.58? Context: CREATE TABLE table_name_50 (final VARCHAR, run_2 VARCHAR)[/INST]SELECT final FROM table_name_50 WHERE run_2 = "1:27.58"</s> |
CREATE TABLE table_21422977_1 (coalition_parties VARCHAR, nº VARCHAR) | SELECT coalition_parties FROM table_21422977_1 WHERE nº = 3 | When nº is 3, what are all the coaliton parties? | <s>[INST]When nº is 3, what are all the coaliton parties? Context: CREATE TABLE table_21422977_1 (coalition_parties VARCHAR, nº VARCHAR)[/INST]SELECT coalition_parties FROM table_21422977_1 WHERE nº = 3</s> |
CREATE TABLE table_name_83 (Id VARCHAR) | SELECT 2006 FROM table_name_83 WHERE 2011 = "0" | With a 2011 of 0 what was the 2006 result? | <s>[INST]With a 2011 of 0 what was the 2006 result? Context: CREATE TABLE table_name_83 (Id VARCHAR)[/INST]SELECT 2006 FROM table_name_83 WHERE 2011 = "0"</s> |
CREATE TABLE table_name_13 (year INTEGER, start VARCHAR) | SELECT MIN(year) FROM table_name_13 WHERE start = "17th" | Name the least year for start of 17th | <s>[INST]Name the least year for start of 17th Context: CREATE TABLE table_name_13 (year INTEGER, start VARCHAR)[/INST]SELECT MIN(year) FROM table_name_13 WHERE start = "17th"</s> |
CREATE TABLE table_name_11 (race VARCHAR, pole_position VARCHAR) | SELECT race AS Winner FROM table_name_11 WHERE pole_position = "didier pironi" AND race = "canadian grand prix" | What Canadian Grand Prix race winner had Didier Pironi in Pole Position? | <s>[INST]What Canadian Grand Prix race winner had Didier Pironi in Pole Position? Context: CREATE TABLE table_name_11 (race VARCHAR, pole_position VARCHAR)[/INST]SELECT race AS Winner FROM table_name_11 WHERE pole_position = "didier pironi" AND race = "canadian grand prix"</s> |
CREATE TABLE table_1013129_3 (nationality VARCHAR, nhl_team VARCHAR) | SELECT COUNT(nationality) FROM table_1013129_3 WHERE nhl_team = "New Jersey Devils" | How many different nationalities do the players of New Jersey Devils come from? | <s>[INST]How many different nationalities do the players of New Jersey Devils come from? Context: CREATE TABLE table_1013129_3 (nationality VARCHAR, nhl_team VARCHAR)[/INST]SELECT COUNT(nationality) FROM table_1013129_3 WHERE nhl_team = "New Jersey Devils"</s> |
CREATE TABLE table_21692771_1 (isin VARCHAR, coupon VARCHAR, amount_issued_ VARCHAR, € VARCHAR) | SELECT isin FROM table_21692771_1 WHERE coupon = "1.02" AND amount_issued_[€] = "447,000,000" | What is the ISIN that has a coupon of 1.02 and a value issued of 447,000,000? | <s>[INST]What is the ISIN that has a coupon of 1.02 and a value issued of 447,000,000? Context: CREATE TABLE table_21692771_1 (isin VARCHAR, coupon VARCHAR, amount_issued_ VARCHAR, € VARCHAR)[/INST]SELECT isin FROM table_21692771_1 WHERE coupon = "1.02" AND amount_issued_[€] = "447,000,000"</s> |
CREATE TABLE table_name_82 (area__sq_mi_ INTEGER, rank VARCHAR) | SELECT MIN(area__sq_mi_) FROM table_name_82 WHERE rank = 160 | What is the smallest area (sq mi) that has 160 as it rank? | <s>[INST]What is the smallest area (sq mi) that has 160 as it rank? Context: CREATE TABLE table_name_82 (area__sq_mi_ INTEGER, rank VARCHAR)[/INST]SELECT MIN(area__sq_mi_) FROM table_name_82 WHERE rank = 160</s> |
CREATE TABLE table_1404984_1 (digital_channel VARCHAR, network VARCHAR) | SELECT digital_channel FROM table_1404984_1 WHERE network = "JCTV" | What is JCTV's digital channel? | <s>[INST]What is JCTV's digital channel? Context: CREATE TABLE table_1404984_1 (digital_channel VARCHAR, network VARCHAR)[/INST]SELECT digital_channel FROM table_1404984_1 WHERE network = "JCTV"</s> |
CREATE TABLE table_name_24 (Id VARCHAR) | SELECT 1958 FROM table_name_24 WHERE 1957 = "dnf-9" | Tell me the 1958 when 1957 is dnf-9 | <s>[INST]Tell me the 1958 when 1957 is dnf-9 Context: CREATE TABLE table_name_24 (Id VARCHAR)[/INST]SELECT 1958 FROM table_name_24 WHERE 1957 = "dnf-9"</s> |
CREATE TABLE table_name_54 (grid VARCHAR, laps VARCHAR, driver VARCHAR) | SELECT grid FROM table_name_54 WHERE laps = 78 AND driver = "ronnie bremer" | What grid has 78 laps, and Ronnie Bremer as driver? | <s>[INST]What grid has 78 laps, and Ronnie Bremer as driver? Context: CREATE TABLE table_name_54 (grid VARCHAR, laps VARCHAR, driver VARCHAR)[/INST]SELECT grid FROM table_name_54 WHERE laps = 78 AND driver = "ronnie bremer"</s> |
CREATE TABLE table_2311410_1 (series_premiere VARCHAR, season VARCHAR) | SELECT COUNT(series_premiere) FROM table_2311410_1 WHERE season = "All-Stars" | How many series premieres did the season "All-stars" have? | <s>[INST]How many series premieres did the season "All-stars" have? Context: CREATE TABLE table_2311410_1 (series_premiere VARCHAR, season VARCHAR)[/INST]SELECT COUNT(series_premiere) FROM table_2311410_1 WHERE season = "All-Stars"</s> |
CREATE TABLE table_name_83 (team VARCHAR, laps VARCHAR, co_drivers VARCHAR) | SELECT team FROM table_name_83 WHERE laps < 315 AND co_drivers = "david brabham franck lagorce" | Name the team with laps less than 315 and co-drivers of david brabham franck lagorce? | <s>[INST]Name the team with laps less than 315 and co-drivers of david brabham franck lagorce? Context: CREATE TABLE table_name_83 (team VARCHAR, laps VARCHAR, co_drivers VARCHAR)[/INST]SELECT team FROM table_name_83 WHERE laps < 315 AND co_drivers = "david brabham franck lagorce"</s> |
CREATE TABLE table_name_91 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) | SELECT film_title_used_in_nomination FROM table_name_91 WHERE original_title = "cilvēka bērns" | What is the Film title used in nomination of Cilvēka Bērns? | <s>[INST]What is the Film title used in nomination of Cilvēka Bērns? Context: CREATE TABLE table_name_91 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)[/INST]SELECT film_title_used_in_nomination FROM table_name_91 WHERE original_title = "cilvēka bērns"</s> |
CREATE TABLE table_name_86 (event VARCHAR, time VARCHAR) | SELECT event FROM table_name_86 WHERE time = "2:34" | Which event had a time of 2:34? | <s>[INST]Which event had a time of 2:34? Context: CREATE TABLE table_name_86 (event VARCHAR, time VARCHAR)[/INST]SELECT event FROM table_name_86 WHERE time = "2:34"</s> |
CREATE TABLE table_name_84 (position VARCHAR, mls_team VARCHAR) | SELECT position FROM table_name_84 WHERE mls_team = "metrostars" | What position did the MLS team metrostars pick? | <s>[INST]What position did the MLS team metrostars pick? Context: CREATE TABLE table_name_84 (position VARCHAR, mls_team VARCHAR)[/INST]SELECT position FROM table_name_84 WHERE mls_team = "metrostars"</s> |
CREATE TABLE table_name_45 (tries_for VARCHAR, try_bonus VARCHAR) | SELECT tries_for FROM table_name_45 WHERE try_bonus = "correct as of 2 june 2009" | How many tries did the club with a try bonus of correct as of 2 June 2009 have? | <s>[INST]How many tries did the club with a try bonus of correct as of 2 June 2009 have? Context: CREATE TABLE table_name_45 (tries_for VARCHAR, try_bonus VARCHAR)[/INST]SELECT tries_for FROM table_name_45 WHERE try_bonus = "correct as of 2 june 2009"</s> |
CREATE TABLE table_28628309_9 (player VARCHAR, category VARCHAR) | SELECT player FROM table_28628309_9 WHERE category = "3-pt field goal percentage" | What is the name of the player when the category is 3-pt field goal percentage? | <s>[INST]What is the name of the player when the category is 3-pt field goal percentage? Context: CREATE TABLE table_28628309_9 (player VARCHAR, category VARCHAR)[/INST]SELECT player FROM table_28628309_9 WHERE category = "3-pt field goal percentage"</s> |
CREATE TABLE table_name_38 (nation VARCHAR, total VARCHAR, bronze VARCHAR, gold VARCHAR) | SELECT nation FROM table_name_38 WHERE bronze > 3 AND gold = 0 AND total = 9 | What nation had more than 3 bronze, 0 gold, and a total of 9? | <s>[INST]What nation had more than 3 bronze, 0 gold, and a total of 9? Context: CREATE TABLE table_name_38 (nation VARCHAR, total VARCHAR, bronze VARCHAR, gold VARCHAR)[/INST]SELECT nation FROM table_name_38 WHERE bronze > 3 AND gold = 0 AND total = 9</s> |
CREATE TABLE table_name_84 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_84 WHERE home_team = "hawthorn" | What away team score has hawthorn as the home team? | <s>[INST]What away team score has hawthorn as the home team? Context: CREATE TABLE table_name_84 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_84 WHERE home_team = "hawthorn"</s> |
CREATE TABLE table_name_44 (species_authority VARCHAR, name VARCHAR) | SELECT species_authority FROM table_name_44 WHERE name = "true's beaked whale" | Which Species/Authority has a Name of true's beaked whale? | <s>[INST]Which Species/Authority has a Name of true's beaked whale? Context: CREATE TABLE table_name_44 (species_authority VARCHAR, name VARCHAR)[/INST]SELECT species_authority FROM table_name_44 WHERE name = "true's beaked whale"</s> |
CREATE TABLE table_2508633_8 (pick__number INTEGER, nfl_team VARCHAR) | SELECT MIN(pick__number) FROM table_2508633_8 WHERE nfl_team = "San Diego Chargers" | what is the pick number minimum if the NFL team is the San Diego Chargers? | <s>[INST]what is the pick number minimum if the NFL team is the San Diego Chargers? Context: CREATE TABLE table_2508633_8 (pick__number INTEGER, nfl_team VARCHAR)[/INST]SELECT MIN(pick__number) FROM table_2508633_8 WHERE nfl_team = "San Diego Chargers"</s> |
CREATE TABLE table_name_8 (round VARCHAR, player VARCHAR) | SELECT round FROM table_name_8 WHERE player = "phil graham" | What round is player phil graham in? | <s>[INST]What round is player phil graham in? Context: CREATE TABLE table_name_8 (round VARCHAR, player VARCHAR)[/INST]SELECT round FROM table_name_8 WHERE player = "phil graham"</s> |
CREATE TABLE table_name_53 (head_coach VARCHAR, location VARCHAR) | SELECT head_coach FROM table_name_53 WHERE location = "mudgeeraba" | Who is the head coach of the team located in Mudgeeraba? | <s>[INST]Who is the head coach of the team located in Mudgeeraba? Context: CREATE TABLE table_name_53 (head_coach VARCHAR, location VARCHAR)[/INST]SELECT head_coach FROM table_name_53 WHERE location = "mudgeeraba"</s> |
CREATE TABLE table_1342331_6 (candidates VARCHAR, first_elected VARCHAR, district VARCHAR) | SELECT candidates FROM table_1342331_6 WHERE first_elected = 1932 AND district = "California 8" | Who was the candidate in the election in the California 8 district where the incumbent was first elected in 1932? | <s>[INST]Who was the candidate in the election in the California 8 district where the incumbent was first elected in 1932? Context: CREATE TABLE table_1342331_6 (candidates VARCHAR, first_elected VARCHAR, district VARCHAR)[/INST]SELECT candidates FROM table_1342331_6 WHERE first_elected = 1932 AND district = "Californ... |
CREATE TABLE table_26362472_1 (left_office VARCHAR, election_number VARCHAR) | SELECT left_office FROM table_26362472_1 WHERE election_number = 11 | What is the date in which a politician who left office on 1840-10-11 for a politician whose election number was 11? | <s>[INST]What is the date in which a politician who left office on 1840-10-11 for a politician whose election number was 11? Context: CREATE TABLE table_26362472_1 (left_office VARCHAR, election_number VARCHAR)[/INST]SELECT left_office FROM table_26362472_1 WHERE election_number = 11</s> |
CREATE TABLE table_name_57 (nominated_won VARCHAR, award_category VARCHAR) | SELECT nominated_won FROM table_name_57 WHERE award_category = "jury award" | What was nominated for the Jury Award? | <s>[INST]What was nominated for the Jury Award? Context: CREATE TABLE table_name_57 (nominated_won VARCHAR, award_category VARCHAR)[/INST]SELECT nominated_won FROM table_name_57 WHERE award_category = "jury award"</s> |
CREATE TABLE table_24257833_4 (major_version VARCHAR, webkit_version VARCHAR) | SELECT major_version FROM table_24257833_4 WHERE webkit_version = "528.17" | What was the major version when the webkit version was 528.17? | <s>[INST]What was the major version when the webkit version was 528.17? Context: CREATE TABLE table_24257833_4 (major_version VARCHAR, webkit_version VARCHAR)[/INST]SELECT major_version FROM table_24257833_4 WHERE webkit_version = "528.17"</s> |
CREATE TABLE table_name_6 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_6 WHERE away_team = "scunthorpe united" | What is the tie no when scunthorpe united was the away team? | <s>[INST]What is the tie no when scunthorpe united was the away team? Context: CREATE TABLE table_name_6 (tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_6 WHERE away_team = "scunthorpe united"</s> |
CREATE TABLE Documents (document_name VARCHAR, template_id VARCHAR, Document_Description VARCHAR) | SELECT document_name, template_id FROM Documents WHERE Document_Description LIKE "%w%" | What is the document name and template id for document with description with the letter 'w' in it? | <s>[INST]What is the document name and template id for document with description with the letter 'w' in it? Context: CREATE TABLE Documents (document_name VARCHAR, template_id VARCHAR, Document_Description VARCHAR)[/INST]SELECT document_name, template_id FROM Documents WHERE Document_Description LIKE "%w%"</s> |
CREATE TABLE table_18888159_1 (points VARCHAR, _number VARCHAR) | SELECT COUNT(points) FROM table_18888159_1 WHERE _number = 6 | Name the total number of points for number 6 | <s>[INST]Name the total number of points for number 6 Context: CREATE TABLE table_18888159_1 (points VARCHAR, _number VARCHAR)[/INST]SELECT COUNT(points) FROM table_18888159_1 WHERE _number = 6</s> |
CREATE TABLE table_name_8 (lost VARCHAR, points_against VARCHAR) | SELECT lost FROM table_name_8 WHERE points_against = "387" | when points against was 387 what was the lost? | <s>[INST]when points against was 387 what was the lost? Context: CREATE TABLE table_name_8 (lost VARCHAR, points_against VARCHAR)[/INST]SELECT lost FROM table_name_8 WHERE points_against = "387"</s> |
CREATE TABLE table_name_58 (to_par VARCHAR, score VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_58 WHERE score < 68 AND country = "england" | What is Top Par, when Score is less than 68, and when Country is England? | <s>[INST]What is Top Par, when Score is less than 68, and when Country is England? Context: CREATE TABLE table_name_58 (to_par VARCHAR, score VARCHAR, country VARCHAR)[/INST]SELECT to_par FROM table_name_58 WHERE score < 68 AND country = "england"</s> |
CREATE TABLE table_name_53 (series VARCHAR, release_date VARCHAR, production_num VARCHAR) | SELECT series FROM table_name_53 WHERE release_date = "1939-07-15" AND production_num = "8863" | Which series had a release on 1939-07-15 with the 8863 production number? | <s>[INST]Which series had a release on 1939-07-15 with the 8863 production number? Context: CREATE TABLE table_name_53 (series VARCHAR, release_date VARCHAR, production_num VARCHAR)[/INST]SELECT series FROM table_name_53 WHERE release_date = "1939-07-15" AND production_num = "8863"</s> |
CREATE TABLE table_name_23 (attendance VARCHAR, record VARCHAR) | SELECT COUNT(attendance) FROM table_name_23 WHERE record = "21–22–2" | How many attended the game with a Record of 21–22–2? | <s>[INST]How many attended the game with a Record of 21–22–2? Context: CREATE TABLE table_name_23 (attendance VARCHAR, record VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_23 WHERE record = "21–22–2"</s> |
CREATE TABLE table_name_66 (engine VARCHAR, chassis VARCHAR, points VARCHAR) | SELECT engine FROM table_name_66 WHERE chassis = "brabham bt58" AND points > 2 | What engine with more than 2 points has Brabham bt58 as Chassis? | <s>[INST]What engine with more than 2 points has Brabham bt58 as Chassis? Context: CREATE TABLE table_name_66 (engine VARCHAR, chassis VARCHAR, points VARCHAR)[/INST]SELECT engine FROM table_name_66 WHERE chassis = "brabham bt58" AND points > 2</s> |
CREATE TABLE table_name_67 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) | SELECT winning_score FROM table_name_67 WHERE margin_of_victory = "1 stroke" AND tournament = "linde german masters" | What is the winning score for Tournament of linde german masters with a margin of victory of 1 stroke? | <s>[INST]What is the winning score for Tournament of linde german masters with a margin of victory of 1 stroke? Context: CREATE TABLE table_name_67 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)[/INST]SELECT winning_score FROM table_name_67 WHERE margin_of_victory = "1 stroke" AND tournament = "... |
CREATE TABLE table_name_58 (attendance INTEGER, result VARCHAR) | SELECT MIN(attendance) FROM table_name_58 WHERE result = "w 25-17" | What is the lowest Attendance at a game with the Result of w 25-17? | <s>[INST]What is the lowest Attendance at a game with the Result of w 25-17? Context: CREATE TABLE table_name_58 (attendance INTEGER, result VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_58 WHERE result = "w 25-17"</s> |
CREATE TABLE table_name_48 (player VARCHAR, years_for_grizzlies VARCHAR) | SELECT player FROM table_name_48 WHERE years_for_grizzlies = "2002-2003" | Which Player has Years for Grizzlies of 2002-2003? | <s>[INST]Which Player has Years for Grizzlies of 2002-2003? Context: CREATE TABLE table_name_48 (player VARCHAR, years_for_grizzlies VARCHAR)[/INST]SELECT player FROM table_name_48 WHERE years_for_grizzlies = "2002-2003"</s> |
CREATE TABLE table_27988559_1 (original_air_date VARCHAR, no_in_series VARCHAR) | SELECT original_air_date FROM table_27988559_1 WHERE no_in_series = 195 | What dat did episode 195 in the series originally air? | <s>[INST]What dat did episode 195 in the series originally air? Context: CREATE TABLE table_27988559_1 (original_air_date VARCHAR, no_in_series VARCHAR)[/INST]SELECT original_air_date FROM table_27988559_1 WHERE no_in_series = 195</s> |
CREATE TABLE table_name_17 (beam VARCHAR, model VARCHAR) | SELECT beam FROM table_name_17 WHERE model = "570" | Which Beam has a Model of 570? | <s>[INST]Which Beam has a Model of 570? Context: CREATE TABLE table_name_17 (beam VARCHAR, model VARCHAR)[/INST]SELECT beam FROM table_name_17 WHERE model = "570"</s> |
CREATE TABLE table_name_3 (college VARCHAR, position VARCHAR) | SELECT college FROM table_name_3 WHERE position = "quarterback" | What college was the quarterback from? | <s>[INST]What college was the quarterback from? Context: CREATE TABLE table_name_3 (college VARCHAR, position VARCHAR)[/INST]SELECT college FROM table_name_3 WHERE position = "quarterback"</s> |
CREATE TABLE table_197446_1 (term_began VARCHAR, term_ended VARCHAR) | SELECT COUNT(term_began) FROM table_197446_1 WHERE term_ended = "January 3, 1989" | How many terms began when the term ended in January 3, 1989? | <s>[INST]How many terms began when the term ended in January 3, 1989? Context: CREATE TABLE table_197446_1 (term_began VARCHAR, term_ended VARCHAR)[/INST]SELECT COUNT(term_began) FROM table_197446_1 WHERE term_ended = "January 3, 1989"</s> |
CREATE TABLE table_name_63 (player VARCHAR, venue VARCHAR) | SELECT player FROM table_name_63 WHERE venue = "esher" | Who is the player associated with the Esher venue? | <s>[INST]Who is the player associated with the Esher venue? Context: CREATE TABLE table_name_63 (player VARCHAR, venue VARCHAR)[/INST]SELECT player FROM table_name_63 WHERE venue = "esher"</s> |
CREATE TABLE table_25042332_27 (fixed_telephone_line VARCHAR, vehicle VARCHAR) | SELECT fixed_telephone_line FROM table_25042332_27 WHERE vehicle = "25.6%" | Name the fixed telephone line for 25.6% vehicle | <s>[INST]Name the fixed telephone line for 25.6% vehicle Context: CREATE TABLE table_25042332_27 (fixed_telephone_line VARCHAR, vehicle VARCHAR)[/INST]SELECT fixed_telephone_line FROM table_25042332_27 WHERE vehicle = "25.6%"</s> |
CREATE TABLE table_name_78 (date VARCHAR, winner VARCHAR) | SELECT date FROM table_name_78 WHERE winner = "scott hoch (2)" | When did Scott Hoch (2) win? | <s>[INST]When did Scott Hoch (2) win? Context: CREATE TABLE table_name_78 (date VARCHAR, winner VARCHAR)[/INST]SELECT date FROM table_name_78 WHERE winner = "scott hoch (2)"</s> |
CREATE TABLE MATCH (name VARCHAR, pilot_id VARCHAR, Winning_Pilot VARCHAR, country VARCHAR); CREATE TABLE pilot (name VARCHAR, pilot_id VARCHAR, Winning_Pilot VARCHAR, country VARCHAR) | SELECT name FROM pilot WHERE NOT pilot_id IN (SELECT Winning_Pilot FROM MATCH WHERE country = 'Australia') | find the name of pilots who did not win the matches held in the country of Australia. | <s>[INST]find the name of pilots who did not win the matches held in the country of Australia. Context: CREATE TABLE MATCH (name VARCHAR, pilot_id VARCHAR, Winning_Pilot VARCHAR, country VARCHAR); CREATE TABLE pilot (name VARCHAR, pilot_id VARCHAR, Winning_Pilot VARCHAR, country VARCHAR)[/INST]SELECT name FROM pilot WH... |
CREATE TABLE table_15530244_5 (driver VARCHAR, race_2 VARCHAR) | SELECT driver FROM table_15530244_5 WHERE race_2 = "7" | Name the driver for race 2 7 | <s>[INST]Name the driver for race 2 7 Context: CREATE TABLE table_15530244_5 (driver VARCHAR, race_2 VARCHAR)[/INST]SELECT driver FROM table_15530244_5 WHERE race_2 = "7"</s> |
CREATE TABLE table_12454156_1 (losing_hand VARCHAR, year VARCHAR) | SELECT COUNT(losing_hand) FROM table_12454156_1 WHERE year = 2007 | How many losing hands are there before 2007? | <s>[INST]How many losing hands are there before 2007? Context: CREATE TABLE table_12454156_1 (losing_hand VARCHAR, year VARCHAR)[/INST]SELECT COUNT(losing_hand) FROM table_12454156_1 WHERE year = 2007</s> |
CREATE TABLE table_name_91 (date VARCHAR, home VARCHAR, visitor VARCHAR) | SELECT date FROM table_name_91 WHERE home = "jazz" AND visitor = "bulls" | What date did the Jazz play the Bulls at home? | <s>[INST]What date did the Jazz play the Bulls at home? Context: CREATE TABLE table_name_91 (date VARCHAR, home VARCHAR, visitor VARCHAR)[/INST]SELECT date FROM table_name_91 WHERE home = "jazz" AND visitor = "bulls"</s> |
CREATE TABLE table_name_72 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_72 WHERE result = "w 20-19" | When did the w 20-19 happen? | <s>[INST]When did the w 20-19 happen? Context: CREATE TABLE table_name_72 (date VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_72 WHERE result = "w 20-19"</s> |
CREATE TABLE table_name_51 (tv_time VARCHAR, opponent VARCHAR) | SELECT tv_time FROM table_name_51 WHERE opponent = "jacksonville jaguars" | What was the TV Time for opponent jacksonville jaguars? | <s>[INST]What was the TV Time for opponent jacksonville jaguars? Context: CREATE TABLE table_name_51 (tv_time VARCHAR, opponent VARCHAR)[/INST]SELECT tv_time FROM table_name_51 WHERE opponent = "jacksonville jaguars"</s> |
CREATE TABLE table_1198175_1 (drafted VARCHAR, pro_team VARCHAR) | SELECT drafted FROM table_1198175_1 WHERE pro_team = "Arizona Cardinals" | What is under drafted when pro team is arizona cardinals? | <s>[INST]What is under drafted when pro team is arizona cardinals? Context: CREATE TABLE table_1198175_1 (drafted VARCHAR, pro_team VARCHAR)[/INST]SELECT drafted FROM table_1198175_1 WHERE pro_team = "Arizona Cardinals"</s> |
CREATE TABLE table_name_4 (year VARCHAR, venue VARCHAR, position VARCHAR, notes VARCHAR) | SELECT year FROM table_name_4 WHERE position = "2nd" AND notes = "-63kg" AND venue = "manchester" | Which Year has a Position of 2nd, and Notes of -63kg, and a Venue of manchester? | <s>[INST]Which Year has a Position of 2nd, and Notes of -63kg, and a Venue of manchester? Context: CREATE TABLE table_name_4 (year VARCHAR, venue VARCHAR, position VARCHAR, notes VARCHAR)[/INST]SELECT year FROM table_name_4 WHERE position = "2nd" AND notes = "-63kg" AND venue = "manchester"</s> |
CREATE TABLE table_1644857_2 (stolen_ends VARCHAR, country VARCHAR, France VARCHAR) | SELECT COUNT(stolen_ends) FROM table_1644857_2 WHERE country = France | How many times is a score for stolen ends recorded for France? | <s>[INST]How many times is a score for stolen ends recorded for France? Context: CREATE TABLE table_1644857_2 (stolen_ends VARCHAR, country VARCHAR, France VARCHAR)[/INST]SELECT COUNT(stolen_ends) FROM table_1644857_2 WHERE country = France</s> |
CREATE TABLE table_15621965_10 (years_in_orlando VARCHAR, school_club_team VARCHAR) | SELECT years_in_orlando FROM table_15621965_10 WHERE school_club_team = "Concord HS" | Name the years in orlando that the player from concord hs was in | <s>[INST]Name the years in orlando that the player from concord hs was in Context: CREATE TABLE table_15621965_10 (years_in_orlando VARCHAR, school_club_team VARCHAR)[/INST]SELECT years_in_orlando FROM table_15621965_10 WHERE school_club_team = "Concord HS"</s> |
CREATE TABLE table_name_34 (report VARCHAR, pole_position VARCHAR, tyre VARCHAR) | SELECT report FROM table_name_34 WHERE pole_position = "juan manuel fangio" AND tyre = "c" | What was Juan Manuel Fangio's reported pole position and the tire of C? | <s>[INST]What was Juan Manuel Fangio's reported pole position and the tire of C? Context: CREATE TABLE table_name_34 (report VARCHAR, pole_position VARCHAR, tyre VARCHAR)[/INST]SELECT report FROM table_name_34 WHERE pole_position = "juan manuel fangio" AND tyre = "c"</s> |
CREATE TABLE table_name_24 (since VARCHAR, name VARCHAR) | SELECT COUNT(since) FROM table_name_24 WHERE name = "belletti" | Name the total number of since for belletti | <s>[INST]Name the total number of since for belletti Context: CREATE TABLE table_name_24 (since VARCHAR, name VARCHAR)[/INST]SELECT COUNT(since) FROM table_name_24 WHERE name = "belletti"</s> |
CREATE TABLE table_15988037_4 (second_place VARCHAR, winner VARCHAR) | SELECT second_place FROM table_15988037_4 WHERE winner = "Rafał Mroczek & Aneta Piotrowska" | Who got second place when the winners were rafał mroczek & aneta piotrowska? | <s>[INST]Who got second place when the winners were rafał mroczek & aneta piotrowska? Context: CREATE TABLE table_15988037_4 (second_place VARCHAR, winner VARCHAR)[/INST]SELECT second_place FROM table_15988037_4 WHERE winner = "Rafał Mroczek & Aneta Piotrowska"</s> |
CREATE TABLE table_13399573_3 (points_against VARCHAR, won VARCHAR) | SELECT points_against FROM table_13399573_3 WHERE won = "10" | What was the number of points against when the amount won is 10? | <s>[INST]What was the number of points against when the amount won is 10? Context: CREATE TABLE table_13399573_3 (points_against VARCHAR, won VARCHAR)[/INST]SELECT points_against FROM table_13399573_3 WHERE won = "10"</s> |
CREATE TABLE table_name_77 (label VARCHAR, catalog VARCHAR) | SELECT label FROM table_name_77 WHERE catalog = "alca-9197" | What label is the ALCA-9197 Catalog? | <s>[INST]What label is the ALCA-9197 Catalog? Context: CREATE TABLE table_name_77 (label VARCHAR, catalog VARCHAR)[/INST]SELECT label FROM table_name_77 WHERE catalog = "alca-9197"</s> |
CREATE TABLE table_name_42 (android VARCHAR, other_unix VARCHAR) | SELECT android FROM table_name_42 WHERE other_unix = "unknown" | Which Android has anOther Unix of unknown? | <s>[INST]Which Android has anOther Unix of unknown? Context: CREATE TABLE table_name_42 (android VARCHAR, other_unix VARCHAR)[/INST]SELECT android FROM table_name_42 WHERE other_unix = "unknown"</s> |
CREATE TABLE table_name_9 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_9 WHERE opponent = "jae young kim" | What was the location where the opponent was Jae Young Kim? | <s>[INST]What was the location where the opponent was Jae Young Kim? Context: CREATE TABLE table_name_9 (location VARCHAR, opponent VARCHAR)[/INST]SELECT location FROM table_name_9 WHERE opponent = "jae young kim"</s> |
CREATE TABLE table_14342480_7 (touchdowns VARCHAR, extra_points INTEGER) | SELECT COUNT(touchdowns) FROM table_14342480_7 WHERE extra_points > 5.0 | How many touchdowns were scored by players who scored more than 5.0 extra points? | <s>[INST]How many touchdowns were scored by players who scored more than 5.0 extra points? Context: CREATE TABLE table_14342480_7 (touchdowns VARCHAR, extra_points INTEGER)[/INST]SELECT COUNT(touchdowns) FROM table_14342480_7 WHERE extra_points > 5.0</s> |
CREATE TABLE table_name_7 (year VARCHAR, gen_secretary VARCHAR) | SELECT year FROM table_name_7 WHERE gen_secretary = "silvana jansen" | Which year has a Gen.-Secretary of silvana jansen? | <s>[INST]Which year has a Gen.-Secretary of silvana jansen? Context: CREATE TABLE table_name_7 (year VARCHAR, gen_secretary VARCHAR)[/INST]SELECT year FROM table_name_7 WHERE gen_secretary = "silvana jansen"</s> |
CREATE TABLE table_1708014_1 (winnings VARCHAR, poles VARCHAR, position VARCHAR) | SELECT winnings FROM table_1708014_1 WHERE poles = 0 AND position = "14th" | When the poles are 0 and the position is 14th, how much are the winnings? | <s>[INST]When the poles are 0 and the position is 14th, how much are the winnings? Context: CREATE TABLE table_1708014_1 (winnings VARCHAR, poles VARCHAR, position VARCHAR)[/INST]SELECT winnings FROM table_1708014_1 WHERE poles = 0 AND position = "14th"</s> |
CREATE TABLE tryout (cName VARCHAR, pPos VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR) | SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie' INTERSECT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid' | Find the names of states that have some college students playing in goalie and mid positions. | <s>[INST]Find the names of states that have some college students playing in goalie and mid positions. Context: CREATE TABLE tryout (cName VARCHAR, pPos VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)[/INST]SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie... |
CREATE TABLE table_name_35 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_35 WHERE away_team = "melbourne" | What is the largest crowd for a Melbourne away team? | <s>[INST]What is the largest crowd for a Melbourne away team? Context: CREATE TABLE table_name_35 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_35 WHERE away_team = "melbourne"</s> |
CREATE TABLE table_name_9 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_9 WHERE home_team = "st kilda" | What is the date of the game where St Kilda is the home team? | <s>[INST]What is the date of the game where St Kilda is the home team? Context: CREATE TABLE table_name_9 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_9 WHERE home_team = "st kilda"</s> |
CREATE TABLE table_name_10 (circuit VARCHAR, event VARCHAR) | SELECT circuit FROM table_name_10 WHERE event = "international procar meeting" | Which Circuit has an Event of international procar meeting? | <s>[INST]Which Circuit has an Event of international procar meeting? Context: CREATE TABLE table_name_10 (circuit VARCHAR, event VARCHAR)[/INST]SELECT circuit FROM table_name_10 WHERE event = "international procar meeting"</s> |
CREATE TABLE table_27734577_8 (record VARCHAR, team VARCHAR) | SELECT record FROM table_27734577_8 WHERE team = "@ Miami" | What's the record of the @ miami team? | <s>[INST]What's the record of the @ miami team? Context: CREATE TABLE table_27734577_8 (record VARCHAR, team VARCHAR)[/INST]SELECT record FROM table_27734577_8 WHERE team = "@ Miami"</s> |
CREATE TABLE table_1590652_4 (margin_of_victory VARCHAR, date VARCHAR) | SELECT margin_of_victory FROM table_1590652_4 WHERE date = "10 Jul 2011" | Name th margin of victory when date is 10 jul 2011 | <s>[INST]Name th margin of victory when date is 10 jul 2011 Context: CREATE TABLE table_1590652_4 (margin_of_victory VARCHAR, date VARCHAR)[/INST]SELECT margin_of_victory FROM table_1590652_4 WHERE date = "10 Jul 2011"</s> |
CREATE TABLE table_29273182_1 (written_by VARCHAR, production_code VARCHAR) | SELECT written_by FROM table_29273182_1 WHERE production_code = "IP03007" | Who wrote the episode with a production code of ip03007? | <s>[INST]Who wrote the episode with a production code of ip03007? Context: CREATE TABLE table_29273182_1 (written_by VARCHAR, production_code VARCHAR)[/INST]SELECT written_by FROM table_29273182_1 WHERE production_code = "IP03007"</s> |
CREATE TABLE table_name_28 (decision VARCHAR, home VARCHAR) | SELECT decision FROM table_name_28 WHERE home = "colorado" | What is the Decision listed when the Home was Colorado? | <s>[INST]What is the Decision listed when the Home was Colorado? Context: CREATE TABLE table_name_28 (decision VARCHAR, home VARCHAR)[/INST]SELECT decision FROM table_name_28 WHERE home = "colorado"</s> |
CREATE TABLE COURSES (course_description VARCHAR, course_name VARCHAR) | SELECT course_description FROM COURSES WHERE course_name = "database" | What are the descriptions of the courses with name "database"? | <s>[INST]What are the descriptions of the courses with name "database"? Context: CREATE TABLE COURSES (course_description VARCHAR, course_name VARCHAR)[/INST]SELECT course_description FROM COURSES WHERE course_name = "database"</s> |
CREATE TABLE table_name_74 (against INTEGER, ballarat_fl VARCHAR, losses VARCHAR) | SELECT MIN(against) FROM table_name_74 WHERE ballarat_fl = "lake wendouree" AND losses > 7 | What is the lowest number of Against that Lake Wendouree had when they had more than 7 Losses? | <s>[INST]What is the lowest number of Against that Lake Wendouree had when they had more than 7 Losses? Context: CREATE TABLE table_name_74 (against INTEGER, ballarat_fl VARCHAR, losses VARCHAR)[/INST]SELECT MIN(against) FROM table_name_74 WHERE ballarat_fl = "lake wendouree" AND losses > 7</s> |
CREATE TABLE table_18012738_1 (ai___percentage_ INTEGER) | SELECT MIN(ai___percentage_) FROM table_18012738_1 | Name the least ai % | <s>[INST]Name the least ai % Context: CREATE TABLE table_18012738_1 (ai___percentage_ INTEGER)[/INST]SELECT MIN(ai___percentage_) FROM table_18012738_1</s> |
CREATE TABLE Documents (Id VARCHAR); CREATE TABLE Ref_Document_Status (Id VARCHAR) | SELECT Ref_Document_Status.document_status_description FROM Ref_Document_Status JOIN Documents ON Documents.document_status_code = Ref_Document_Status.document_status_code WHERE Documents.document_id = 1 | What is the document status description of the document with id 1? | <s>[INST]What is the document status description of the document with id 1? Context: CREATE TABLE Documents (Id VARCHAR); CREATE TABLE Ref_Document_Status (Id VARCHAR)[/INST]SELECT Ref_Document_Status.document_status_description FROM Ref_Document_Status JOIN Documents ON Documents.document_status_code = Ref_Document_St... |
CREATE TABLE table_name_28 (lost INTEGER, points VARCHAR, played VARCHAR) | SELECT AVG(lost) FROM table_name_28 WHERE points = 25 AND played > 18 | What is the average for games Lost where the Points are 25 and games Played are more than 18? | <s>[INST]What is the average for games Lost where the Points are 25 and games Played are more than 18? Context: CREATE TABLE table_name_28 (lost INTEGER, points VARCHAR, played VARCHAR)[/INST]SELECT AVG(lost) FROM table_name_28 WHERE points = 25 AND played > 18</s> |
CREATE TABLE table_24575253_4 (division_five VARCHAR, division_one VARCHAR) | SELECT COUNT(division_five) FROM table_24575253_4 WHERE division_one = "Westcott" | When westcott is in division one how many leagues are in division 5? | <s>[INST]When westcott is in division one how many leagues are in division 5? Context: CREATE TABLE table_24575253_4 (division_five VARCHAR, division_one VARCHAR)[/INST]SELECT COUNT(division_five) FROM table_24575253_4 WHERE division_one = "Westcott"</s> |
CREATE TABLE table_name_52 (production_number VARCHAR, director VARCHAR, title VARCHAR) | SELECT production_number FROM table_name_52 WHERE director = "friz freleng" AND title = "wacky worm, the" | Name the Production Number with a Director of friz freleng, and a Title of wacky worm, the? | <s>[INST]Name the Production Number with a Director of friz freleng, and a Title of wacky worm, the? Context: CREATE TABLE table_name_52 (production_number VARCHAR, director VARCHAR, title VARCHAR)[/INST]SELECT production_number FROM table_name_52 WHERE director = "friz freleng" AND title = "wacky worm, the"</s> |
CREATE TABLE table_name_51 (ihsaa_class VARCHAR, school VARCHAR) | SELECT ihsaa_class FROM table_name_51 WHERE school = "taylor" | Which IHSAA Class has a School of taylor? | <s>[INST]Which IHSAA Class has a School of taylor? Context: CREATE TABLE table_name_51 (ihsaa_class VARCHAR, school VARCHAR)[/INST]SELECT ihsaa_class FROM table_name_51 WHERE school = "taylor"</s> |
CREATE TABLE table_name_84 (opponent VARCHAR, round VARCHAR) | SELECT opponent FROM table_name_84 WHERE round = "sf" | What team was the opponent when the round was sf? | <s>[INST]What team was the opponent when the round was sf? Context: CREATE TABLE table_name_84 (opponent VARCHAR, round VARCHAR)[/INST]SELECT opponent FROM table_name_84 WHERE round = "sf"</s> |
CREATE TABLE table_28540609_2 (cuts_made VARCHAR, player VARCHAR) | SELECT cuts_made FROM table_28540609_2 WHERE player = "Gary Clark" | How many cuts did Gary Clark make? | <s>[INST]How many cuts did Gary Clark make? Context: CREATE TABLE table_28540609_2 (cuts_made VARCHAR, player VARCHAR)[/INST]SELECT cuts_made FROM table_28540609_2 WHERE player = "Gary Clark"</s> |
CREATE TABLE table_11621915_1 (winner VARCHAR, purse__$__ VARCHAR, date VARCHAR) | SELECT winner FROM table_11621915_1 WHERE purse__$__ > 964017.2297960471 AND date = "May 28" | what's the winner with purse( $ ) value of bigger than 964017.2297960471 and date value of may 28 | <s>[INST]what's the winner with purse( $ ) value of bigger than 964017.2297960471 and date value of may 28 Context: CREATE TABLE table_11621915_1 (winner VARCHAR, purse__$__ VARCHAR, date VARCHAR)[/INST]SELECT winner FROM table_11621915_1 WHERE purse__$__ > 964017.2297960471 AND date = "May 28"</s> |
CREATE TABLE table_name_65 (hanyu_pinyin VARCHAR, density___km²_ VARCHAR) | SELECT hanyu_pinyin FROM table_name_65 WHERE density___km²_ = "77" | What is the Pinyin for the item that has a density of 77? | <s>[INST]What is the Pinyin for the item that has a density of 77? Context: CREATE TABLE table_name_65 (hanyu_pinyin VARCHAR, density___km²_ VARCHAR)[/INST]SELECT hanyu_pinyin FROM table_name_65 WHERE density___km²_ = "77"</s> |
CREATE TABLE table_24066938_1 (population__percentage_of_eu VARCHAR, pop_density_people_km_2 VARCHAR) | SELECT population__percentage_of_eu FROM table_24066938_1 WHERE pop_density_people_km_2 = "110.8" | What percentage of the EU's population lives in the country with a population density of 110.8 people per square kilometer? | <s>[INST]What percentage of the EU's population lives in the country with a population density of 110.8 people per square kilometer? Context: CREATE TABLE table_24066938_1 (population__percentage_of_eu VARCHAR, pop_density_people_km_2 VARCHAR)[/INST]SELECT population__percentage_of_eu FROM table_24066938_1 WHERE pop_de... |
CREATE TABLE table_name_80 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_80 WHERE score = 68 - 71 = 139 | What is Player, when Score is "68-71=139"? | <s>[INST]What is Player, when Score is "68-71=139"? Context: CREATE TABLE table_name_80 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_80 WHERE score = 68 - 71 = 139</s> |
CREATE TABLE table_name_29 (method VARCHAR, opponent VARCHAR) | SELECT method FROM table_name_29 WHERE opponent = "björn bregy" | What is the method against Björn Bregy? | <s>[INST]What is the method against Björn Bregy? Context: CREATE TABLE table_name_29 (method VARCHAR, opponent VARCHAR)[/INST]SELECT method FROM table_name_29 WHERE opponent = "björn bregy"</s> |
CREATE TABLE table_15187735_13 (segment_b VARCHAR, segment_a VARCHAR) | SELECT segment_b FROM table_15187735_13 WHERE segment_a = "Pressure Cookers" | Name the segment b for pressure cookers | <s>[INST]Name the segment b for pressure cookers Context: CREATE TABLE table_15187735_13 (segment_b VARCHAR, segment_a VARCHAR)[/INST]SELECT segment_b FROM table_15187735_13 WHERE segment_a = "Pressure Cookers"</s> |
CREATE TABLE table_name_35 (rank INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR) | SELECT MAX(rank) FROM table_name_35 WHERE bronze < 2 AND gold > 1 AND silver < 1 | What is the highest rank with less than 2 bronze, more than 1 gold, and less than 1 silver? | <s>[INST]What is the highest rank with less than 2 bronze, more than 1 gold, and less than 1 silver? Context: CREATE TABLE table_name_35 (rank INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_35 WHERE bronze < 2 AND gold > 1 AND silver < 1</s> |
CREATE TABLE table_name_69 (Id VARCHAR) | SELECT 2012 FROM table_name_69 WHERE 2013 = "2r" AND 2009 = "3r" | Name the 2012 with 2013 of 2r and 2009 of 3r | <s>[INST]Name the 2012 with 2013 of 2r and 2009 of 3r Context: CREATE TABLE table_name_69 (Id VARCHAR)[/INST]SELECT 2012 FROM table_name_69 WHERE 2013 = "2r" AND 2009 = "3r"</s> |
CREATE TABLE ship (name VARCHAR, tonnage VARCHAR) | SELECT name, tonnage FROM ship ORDER BY name DESC | List the name and tonnage ordered by in descending alphaetical order for the names. | <s>[INST]List the name and tonnage ordered by in descending alphaetical order for the names. Context: CREATE TABLE ship (name VARCHAR, tonnage VARCHAR)[/INST]SELECT name, tonnage FROM ship ORDER BY name DESC</s> |
CREATE TABLE table_name_85 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_85 WHERE venue = "lake oval" | What is the score of the team that plays in lake oval? | <s>[INST]What is the score of the team that plays in lake oval? Context: CREATE TABLE table_name_85 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_85 WHERE venue = "lake oval"</s> |
CREATE TABLE follows (f1 VARCHAR, f2 VARCHAR); CREATE TABLE user_profiles (uid VARCHAR, name VARCHAR) | SELECT T2.f1 FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid = T2.f2 WHERE T1.name = "Mary" OR T1.name = "Susan" | Find the id of users who are followed by Mary or Susan. | <s>[INST]Find the id of users who are followed by Mary or Susan. Context: CREATE TABLE follows (f1 VARCHAR, f2 VARCHAR); CREATE TABLE user_profiles (uid VARCHAR, name VARCHAR)[/INST]SELECT T2.f1 FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid = T2.f2 WHERE T1.name = "Mary" OR T1.name = "Susan"</s> |
CREATE TABLE table_name_55 (speed VARCHAR, rider VARCHAR) | SELECT speed FROM table_name_55 WHERE rider = "john hildreth" | What was John Hildreth's speed? | <s>[INST]What was John Hildreth's speed? Context: CREATE TABLE table_name_55 (speed VARCHAR, rider VARCHAR)[/INST]SELECT speed FROM table_name_55 WHERE rider = "john hildreth"</s> |
CREATE TABLE participants (participant_type_code VARCHAR) | SELECT COUNT(*) FROM participants WHERE participant_type_code = 'Organizer' | How many participants belong to the type 'Organizer'? | <s>[INST]How many participants belong to the type 'Organizer'? Context: CREATE TABLE participants (participant_type_code VARCHAR)[/INST]SELECT COUNT(*) FROM participants WHERE participant_type_code = 'Organizer'</s> |
CREATE TABLE table_name_13 (population_1991 INTEGER, name VARCHAR, population_2007 VARCHAR) | SELECT MAX(population_1991) FROM table_name_13 WHERE name = "baden bei wien" AND population_2007 > 25 OFFSET 284 | What is the highest population in 1991 in Baden Bei Wien, and a 2007 population larger than 25,284? | <s>[INST]What is the highest population in 1991 in Baden Bei Wien, and a 2007 population larger than 25,284? Context: CREATE TABLE table_name_13 (population_1991 INTEGER, name VARCHAR, population_2007 VARCHAR)[/INST]SELECT MAX(population_1991) FROM table_name_13 WHERE name = "baden bei wien" AND population_2007 > 25 OF... |
CREATE TABLE table_26250199_1 (song_choice VARCHAR, theme VARCHAR) | SELECT song_choice FROM table_26250199_1 WHERE theme = "Auditioner's Choice" | The theme Auditioner's Choice has what song choice? | <s>[INST]The theme Auditioner's Choice has what song choice? Context: CREATE TABLE table_26250199_1 (song_choice VARCHAR, theme VARCHAR)[/INST]SELECT song_choice FROM table_26250199_1 WHERE theme = "Auditioner's Choice"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.