training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_98 (score VARCHAR, loss VARCHAR)
###human: What was the score of the game that had a loss of Embree (1-2)?
###assistant: SELECT score FROM table_name_98 WHERE loss = "embree (1-2)" |
###context:CREATE TABLE table_name_55 (tournament VARCHAR)
###human: What shows for 2007 at the Olympic Games as tournament.
###assistant: SELECT 2007 FROM table_name_55 WHERE tournament = "olympic games" |
###context:CREATE TABLE table_name_5 (Id VARCHAR)
###human: What shows for 2009 when the 2012 is 1R?
###assistant: SELECT 2009 FROM table_name_5 WHERE 2012 = "1r" |
###context:CREATE TABLE table_name_50 (Id VARCHAR)
###human: What is the 2010 when the 2009 shows Q1?
###assistant: SELECT 2010 FROM table_name_50 WHERE 2009 = "q1" |
###context:CREATE TABLE table_name_8 (gross_revenue__2011_ VARCHAR, state VARCHAR)
###human: What is the gross revenue in 2011 for MO?
###assistant: SELECT gross_revenue__2011_ FROM table_name_8 WHERE state = "mo" |
###context:CREATE TABLE table_name_30 (state VARCHAR, venue VARCHAR)
###human: Which state has the venue Tsukisamu dome?
###assistant: SELECT state FROM table_name_30 WHERE venue = "tsukisamu dome" |
###context:CREATE TABLE table_name_92 (city VARCHAR, gross_revenue__2011_ VARCHAR)
###human: Which city had a gross revenue in 2011 of $739,578?
###assistant: SELECT city FROM table_name_92 WHERE gross_revenue__2011_ = "$739,578" |
###context:CREATE TABLE table_name_28 (gross_revenue__2011_ VARCHAR, gross_revenue__1982_ VARCHAR)
###human: What is the gross revenue in 2011 with a gross revenue in 1982 of $1,988,047?
###assistant: SELECT gross_revenue__2011_ FROM table_name_28 WHERE gross_revenue__1982_ = "$1,988,047" |
###context:CREATE TABLE table_name_96 (grid VARCHAR, driver VARCHAR)
###human: What was the grid when the driver was Mark Webber?
###assistant: SELECT grid FROM table_name_96 WHERE driver = "mark webber" |
###context:CREATE TABLE table_name_1 (driver VARCHAR, constructor VARCHAR, time_retired VARCHAR)
###human: Who was the driver, when the constructor was Renault, and when the Time/Retired was +38.600?
###assistant: SELECT driver FROM table_name_1 WHERE constructor = "renault" AND time_retired = "+38.600" |
###context:CREATE TABLE table_name_73 (laps VARCHAR, time_retired VARCHAR)
###human: How many laps were there when the Time/Retired was +1:00.003?
###assistant: SELECT laps FROM table_name_73 WHERE time_retired = "+1:00.003" |
###context:CREATE TABLE table_name_45 (laps VARCHAR, time_retired VARCHAR)
###human: How many laps were there when the Time/Retired was +14.403?
###assistant: SELECT laps FROM table_name_45 WHERE time_retired = "+14.403" |
###context:CREATE TABLE table_name_10 (driver VARCHAR, laps VARCHAR)
###human: Who was the driver when there were 35 laps?
###assistant: SELECT driver FROM table_name_10 WHERE laps = "35" |
###context:CREATE TABLE table_name_7 (laps VARCHAR, constructor VARCHAR, driver VARCHAR)
###human: How many laps were there when the constructor was Renault, and when the Driver was Fernando Alonso?
###assistant: SELECT laps FROM table_name_7 WHERE constructor = "renault" AND driver = "fernando alonso" |
###context:CREATE TABLE table_name_74 (street_address VARCHAR, name VARCHAR)
###human: What's the Street address with a Name of New York Life Insurance building?
###assistant: SELECT street_address FROM table_name_74 WHERE name = "new york life insurance building" |
###context:CREATE TABLE table_name_12 (years_as_tallest VARCHAR, street_address VARCHAR)
###human: What's the Years as tallest with a Street address of 324 E. 11th Street?
###assistant: SELECT years_as_tallest FROM table_name_12 WHERE street_address = "324 e. 11th street" |
###context:CREATE TABLE table_name_40 (height_feet___m VARCHAR, street_address VARCHAR)
###human: What is listsed as the Height feet/m and has a Street address of 2345 Grand Avenue?
###assistant: SELECT height_feet___m FROM table_name_40 WHERE street_address = "2345 grand avenue" |
###context:CREATE TABLE table_name_40 (capacity INTEGER, city VARCHAR, enrollment VARCHAR)
###human: What is the average capacity of stadiums in the City of London that belong to schools with an enrollment less than 30,000?
###assistant: SELECT AVG(capacity) FROM table_name_40 WHERE city = "london" AND enrollment < 30 OFFSET 000 |
###context:CREATE TABLE table_name_25 (player VARCHAR, score VARCHAR)
###human: Who had a score of 69-70=139?
###assistant: SELECT player FROM table_name_25 WHERE score = 69 - 70 = 139 |
###context:CREATE TABLE table_name_30 (score VARCHAR, result VARCHAR)
###human: What was the score of the game that had a result of 5–0?
###assistant: SELECT score FROM table_name_30 WHERE result = "5–0" |
###context:CREATE TABLE table_name_99 (heat INTEGER, time VARCHAR)
###human: What is the heat number of the athlete who finished in 2:23.95?
###assistant: SELECT AVG(heat) FROM table_name_99 WHERE time = "2:23.95" |
###context:CREATE TABLE table_name_6 (lane VARCHAR, nationality VARCHAR)
###human: Which lane did the athlete from Zambia swim in?
###assistant: SELECT lane FROM table_name_6 WHERE nationality = "zambia" |
###context:CREATE TABLE table_name_69 (opponent VARCHAR, record VARCHAR)
###human: Who was the opponent at the game when the record was 4-5?
###assistant: SELECT opponent FROM table_name_69 WHERE record = "4-5" |
###context:CREATE TABLE table_name_60 (Id VARCHAR)
###human: What is the average for 2009 when 2001 is more than 0, 1996 is less than 1 and 2004 is more than 2
###assistant: SELECT AVG(2009) FROM table_name_60 WHERE 2001 > 0 AND 1996 < 1 AND 2004 > 2 |
###context:CREATE TABLE table_name_5 (Id VARCHAR)
###human: What is the listing for 2009 when 1989 is less than 0?
###assistant: SELECT SUM(2009) FROM table_name_5 WHERE 1989 < 0 |
###context:CREATE TABLE table_name_77 (Id VARCHAR)
###human: what is the average for 2005 when 1995 is more than 3, 1996 is less than 4, and 2011 is more than 5?
###assistant: SELECT AVG(2005) FROM table_name_77 WHERE 1995 > 3 AND 1996 < 4 AND 2011 > 5 |
###context:CREATE TABLE table_name_27 (Id VARCHAR)
###human: what is the listing for 1999 when 1990 is more than 0, 2003 is 3, 2007 is more than 1 and 1996 is more than 0?
###assistant: SELECT SUM(1999) FROM table_name_27 WHERE 1990 > 0 AND 2003 = 3 AND 2007 > 1 AND 1996 > 0 |
###context:CREATE TABLE table_name_8 (Id VARCHAR)
###human: what is the listing for 2012 when 2004 is more than 0, 2008 is more than 1 1994 is 8 and 2005 is less than 11?
###assistant: SELECT MIN(2012) FROM table_name_8 WHERE 2004 > 0 AND 2008 > 1 AND 1994 = 8 AND 2005 < 11 |
###context:CREATE TABLE table_name_14 (Id VARCHAR)
###human: what is the listing for 1992 when 1999 is more than 1, 2008 is less than 2 and 2003 is less than 2?
###assistant: SELECT SUM(1992) FROM table_name_14 WHERE 1999 > 1 AND 2008 < 2 AND 2003 < 2 |
###context:CREATE TABLE table_name_28 (_percentage_of_1_rep_max_last_set_ VARCHAR, set_4 VARCHAR)
###human: How many % of 1 Rep Max(Last Set) has a Set 4 of 145lb x 5reps?
###assistant: SELECT _percentage_of_1_rep_max_last_set_ FROM table_name_28 WHERE set_4 = "145lb x 5reps" |
###context:CREATE TABLE table_name_53 (volume_lbs VARCHAR, set_4 VARCHAR)
###human: How many lbs does a set 4 of 115lb x 8reps have?
###assistant: SELECT volume_lbs FROM table_name_53 WHERE set_4 = "115lb x 8reps" |
###context:CREATE TABLE table_name_1 (set_3 VARCHAR, week VARCHAR)
###human: What is set 3 on week 6?
###assistant: SELECT set_3 FROM table_name_1 WHERE week = 6 |
###context:CREATE TABLE table_name_90 (gdp_per_capita__us$_ VARCHAR, gdp__billion_us$_ VARCHAR)
###human: What is the per-capita GDP for the country with an overall GDP of 156.640?
###assistant: SELECT gdp_per_capita__us$_ FROM table_name_90 WHERE gdp__billion_us$_ = "156.640" |
###context:CREATE TABLE table_name_40 (gdp_per_capita__us$_ VARCHAR, gdp__billion_us$_ VARCHAR)
###human: What is the per-capita GDP of the country with an overall GDP of 80.955?
###assistant: SELECT gdp_per_capita__us$_ FROM table_name_40 WHERE gdp__billion_us$_ = "80.955" |
###context:CREATE TABLE table_name_15 (member_countries VARCHAR, area__km²_ VARCHAR)
###human: Which country has an area of 871,980 square km?
###assistant: SELECT member_countries FROM table_name_15 WHERE area__km²_ = "871,980" |
###context:CREATE TABLE table_name_74 (outcome VARCHAR, partner VARCHAR, date VARCHAR)
###human: On October 1, 1995 with Dora Djilianova as a partner, what was the outcome of the match?
###assistant: SELECT outcome FROM table_name_74 WHERE partner = "dora djilianova" AND date = "october 1, 1995" |
###context:CREATE TABLE table_name_90 (score_in_the_final VARCHAR, partner VARCHAR)
###human: With Lindsay Lee-Waters as a partner, what was the final score?
###assistant: SELECT score_in_the_final FROM table_name_90 WHERE partner = "lindsay lee-waters" |
###context:CREATE TABLE table_name_58 (score VARCHAR, date VARCHAR)
###human: Which score has a Date of august 17?
###assistant: SELECT score FROM table_name_58 WHERE date = "august 17" |
###context:CREATE TABLE table_name_19 (score VARCHAR, opponent VARCHAR, record VARCHAR)
###human: Which score has an Opponent of @ athletics, and a Record of 76-57?
###assistant: SELECT score FROM table_name_19 WHERE opponent = "@ athletics" AND record = "76-57" |
###context:CREATE TABLE table_name_37 (loss VARCHAR, record VARCHAR)
###human: Which loss has a Record of 67-51?
###assistant: SELECT loss FROM table_name_37 WHERE record = "67-51" |
###context:CREATE TABLE table_name_31 (position VARCHAR, wins VARCHAR, season VARCHAR)
###human: Which position has 2 wins in 1992?
###assistant: SELECT position FROM table_name_31 WHERE wins = "2" AND season = 1992 |
###context:CREATE TABLE table_name_78 (wins VARCHAR, series VARCHAR, position VARCHAR)
###human: How many wins have a Series of formula nippon, and a Position of 8th?
###assistant: SELECT wins FROM table_name_78 WHERE series = "formula nippon" AND position = "8th" |
###context:CREATE TABLE table_name_52 (season INTEGER, wins VARCHAR, races VARCHAR, series VARCHAR)
###human: What is the smallest season with 6 races, 2 wins, and a Series of all-japan gt championship>
###assistant: SELECT MIN(season) FROM table_name_52 WHERE races = "6" AND series = "all-japan gt championship" AND wins = "2" |
###context:CREATE TABLE table_name_88 (total INTEGER, to_par VARCHAR, player VARCHAR)
###human: What was Mark Brooks total score when he finished more than 2 above par?
###assistant: SELECT AVG(total) FROM table_name_88 WHERE to_par > 2 AND player = "mark brooks" |
###context:CREATE TABLE table_name_4 (to_par VARCHAR, year_s__won VARCHAR)
###human: What was the winning to par score of the 1993 PGA Championship?
###assistant: SELECT to_par FROM table_name_4 WHERE year_s__won = "1993" |
###context:CREATE TABLE table_name_7 (construct__tion_no INTEGER, wheel_arrange__ment VARCHAR)
###human: How many constructions has a Wheel arrange- ment of 4-4-0?
###assistant: SELECT SUM(construct__tion_no) FROM table_name_7 WHERE wheel_arrange__ment = "4-4-0" |
###context:CREATE TABLE table_name_6 (builder VARCHAR, date_ordered VARCHAR, tc VARCHAR, stl_no__1883_84_ VARCHAR)
###human: Who built the order on November 1881 of more than 54 TC&StL no. (1883–84)?
###assistant: SELECT builder FROM table_name_6 WHERE tc & stl_no__1883_84_ > 54 AND date_ordered = "november 1881" |
###context:CREATE TABLE table_name_10 (season_outcome VARCHAR, school VARCHAR)
###human: What is the Season Outcome for the Sussex Central School?
###assistant: SELECT season_outcome FROM table_name_10 WHERE school = "sussex central" |
###context:CREATE TABLE table_name_31 (team VARCHAR, school VARCHAR)
###human: What is the School of Sussex Tech's Team?
###assistant: SELECT team FROM table_name_31 WHERE school = "sussex tech" |
###context:CREATE TABLE table_name_68 (team VARCHAR, school VARCHAR)
###human: What is the Team for the Milford School?
###assistant: SELECT team FROM table_name_68 WHERE school = "milford" |
###context:CREATE TABLE table_name_79 (season VARCHAR, rating VARCHAR)
###human: Which season was one of the players rated +33?
###assistant: SELECT season FROM table_name_79 WHERE rating = "+33" |
###context:CREATE TABLE table_name_51 (team VARCHAR, win__number VARCHAR, rating VARCHAR)
###human: What is the name of the team that had 1 win and a rating of +85?
###assistant: SELECT team FROM table_name_51 WHERE win__number = "1" AND rating = "+85" |
###context:CREATE TABLE table_name_6 (season VARCHAR, rating VARCHAR)
###human: Which season was one of the players rated +98?
###assistant: SELECT season FROM table_name_6 WHERE rating = "+98" |
###context:CREATE TABLE table_name_62 (rating VARCHAR, player VARCHAR)
###human: What is Patrice Bergeron's rating?
###assistant: SELECT rating FROM table_name_62 WHERE player = "patrice bergeron" |
###context:CREATE TABLE table_name_47 (overall INTEGER, pick__number VARCHAR, position VARCHAR, round VARCHAR)
###human: Position of defensive tackle, and a Round of 4, and a Pick # smaller than 36 has what overall average?
###assistant: SELECT AVG(overall) FROM table_name_47 WHERE position = "defensive tackle" AND round = 4 AND pick__number < 36 |
###context:CREATE TABLE table_name_88 (pick__number VARCHAR, name VARCHAR, round VARCHAR)
###human: Pick # that has a Name of jaimie thomas, and a Round smaller than 7 is how many numbers?
###assistant: SELECT COUNT(pick__number) FROM table_name_88 WHERE name = "jaimie thomas" AND round < 7 |
###context:CREATE TABLE table_name_47 (muzzle_device VARCHAR, barrel_twist VARCHAR, stock VARCHAR)
###human: What is the muzzle device with a 1:7 barrel twist and a stock 4th generation?
###assistant: SELECT muzzle_device FROM table_name_47 WHERE barrel_twist = "1:7" AND stock = "4th generation" |
###context:CREATE TABLE table_name_12 (date VARCHAR, opponenent VARCHAR, match_type VARCHAR)
###human: When was the opponent Poland and the match type EC -qualifier?
###assistant: SELECT date FROM table_name_12 WHERE opponenent = "poland" AND match_type = "ec -qualifier" |
###context:CREATE TABLE table_name_96 (location VARCHAR, opponenent VARCHAR)
###human: Where was the opponent Germany?
###assistant: SELECT location FROM table_name_96 WHERE opponenent = "germany" |
###context:CREATE TABLE table_name_70 (opponenent VARCHAR, result VARCHAR)
###human: Who was the opponent when the result was 2-2 (draw)?
###assistant: SELECT opponenent FROM table_name_70 WHERE result = "2-2 (draw)" |
###context:CREATE TABLE table_name_64 (match_type VARCHAR, location VARCHAR, opponenent VARCHAR)
###human: What was the match type in Budapest where the opponent was Luxembourg?
###assistant: SELECT match_type FROM table_name_64 WHERE location = "budapest" AND opponenent = "luxembourg" |
###context:CREATE TABLE table_name_95 (player VARCHAR, score VARCHAR)
###human: Which player has the score 72-67-69=208?
###assistant: SELECT player FROM table_name_95 WHERE score = 72 - 67 - 69 = 208 |
###context:CREATE TABLE table_name_23 (to_par VARCHAR, score VARCHAR)
###human: Who has the par score of 70-76-68-214?
###assistant: SELECT to_par FROM table_name_23 WHERE score = "70-76-68-214" |
###context:CREATE TABLE table_name_71 (country VARCHAR, score VARCHAR)
###human: Which country has the score 70-76-68-214?
###assistant: SELECT country FROM table_name_71 WHERE score = "70-76-68-214" |
###context:CREATE TABLE table_name_72 (first_performance VARCHAR, name VARCHAR, style VARCHAR, status VARCHAR)
###human: when was the first performance for the ballet with peter mazurowski in the final cast?
###assistant: SELECT first_performance FROM table_name_72 WHERE style = "ballet" AND status = "final cast" AND name = "peter mazurowski" |
###context:CREATE TABLE table_name_26 (name VARCHAR, first_performance VARCHAR)
###human: who had the first performance on 3 july 2011?
###assistant: SELECT name FROM table_name_26 WHERE first_performance = "3 july 2011" |
###context:CREATE TABLE table_name_18 (name VARCHAR, last_performance VARCHAR)
###human: who had a last performance of 3 july 2011?
###assistant: SELECT name FROM table_name_18 WHERE last_performance = "3 july 2011" |
###context:CREATE TABLE table_name_73 (status VARCHAR, style VARCHAR)
###human: what's the status in the style of ballet/ gymnastics?
###assistant: SELECT status FROM table_name_73 WHERE style = "ballet/ gymnastics" |
###context:CREATE TABLE table_name_68 (name VARCHAR, status VARCHAR, first_performance VARCHAR)
###human: what's the name with final cast status and first performance on 12 november 2011?
###assistant: SELECT name FROM table_name_68 WHERE status = "final cast" AND first_performance = "12 november 2011" |
###context:CREATE TABLE table_name_7 (last_performance VARCHAR, name VARCHAR, status VARCHAR, style VARCHAR)
###human: what last performance has past status, ballet as style and tommy batchelor?
###assistant: SELECT last_performance FROM table_name_7 WHERE status = "past" AND style = "ballet" AND name = "tommy batchelor" |
###context:CREATE TABLE table_name_38 (goals VARCHAR, name VARCHAR, since VARCHAR, nat VARCHAR, transfer_fee VARCHAR)
###human: How many goals was by Rix from Eng who started before 2005 in the youth system?
###assistant: SELECT COUNT(goals) FROM table_name_38 WHERE nat = "eng" AND transfer_fee = "youth system" AND since < 2005 AND name = "rix" |
###context:CREATE TABLE table_name_36 (nat VARCHAR, name VARCHAR)
###human: Where is Rix from?
###assistant: SELECT nat FROM table_name_36 WHERE name = "rix" |
###context:CREATE TABLE table_name_1 (specification VARCHAR, total_produced VARCHAR, model VARCHAR)
###human: What is the specification of the locomotives with a total produced more than 19 and a model of fb-1?
###assistant: SELECT specification FROM table_name_1 WHERE total_produced > 19 AND model = "fb-1" |
###context:CREATE TABLE table_name_42 (build_date VARCHAR, total_produced VARCHAR, model VARCHAR)
###human: What is the build date of the locomotives with a total produced less than 45 and a fb-2 model?
###assistant: SELECT build_date FROM table_name_42 WHERE total_produced < 45 AND model = "fb-2" |
###context:CREATE TABLE table_name_16 (prime_mover VARCHAR, model VARCHAR)
###human: What is the prime mover of the locomotive with a fa-2 model?
###assistant: SELECT prime_mover FROM table_name_16 WHERE model = "fa-2" |
###context:CREATE TABLE table_name_55 (build_date VARCHAR, model VARCHAR)
###human: What is the build date of the locomotive with a fa-2 model?
###assistant: SELECT build_date FROM table_name_55 WHERE model = "fa-2" |
###context:CREATE TABLE table_name_1 (region_served VARCHAR, transmitter_location VARCHAR)
###human: What region has a transmitter located at Mount Sugarloaf?
###assistant: SELECT region_served FROM table_name_1 WHERE transmitter_location = "mount sugarloaf" |
###context:CREATE TABLE table_name_71 (finals VARCHAR, prelim VARCHAR)
###human: Name the finals for prelim of out of playoffs
###assistant: SELECT finals FROM table_name_71 WHERE prelim = "out of playoffs" |
###context:CREATE TABLE table_name_35 (music_director VARCHAR, film VARCHAR)
###human: Who is the musical director of the film Vettaiyaadu vilaiyaadu?
###assistant: SELECT music_director FROM table_name_35 WHERE film = "vettaiyaadu vilaiyaadu" |
###context:CREATE TABLE table_name_2 (film VARCHAR, music_director VARCHAR, year VARCHAR, language VARCHAR)
###human: What is the 2007 film in Hindi with a music director Shantanu moitra?
###assistant: SELECT film FROM table_name_2 WHERE year = 2007 AND language = "hindi" AND music_director = "shantanu moitra" |
###context:CREATE TABLE table_name_84 (loss VARCHAR, coach VARCHAR, pts VARCHAR)
###human: What is the number of losses that coach John Kowalski has with a PTS smaller than 9?
###assistant: SELECT COUNT(loss) FROM table_name_84 WHERE coach = "john kowalski" AND pts < 9 |
###context:CREATE TABLE table_name_45 (pct INTEGER, pts VARCHAR, wins VARCHAR)
###human: What is the average PCT when it has a PTS smaller than 9 a wins larger than 1?
###assistant: SELECT AVG(pct) FROM table_name_45 WHERE pts < 9 AND wins > 1 |
###context:CREATE TABLE table_name_11 (pts INTEGER, pct INTEGER)
###human: What is the sum of PTS when there is a PCT smaller than 0.1?
###assistant: SELECT SUM(pts) FROM table_name_11 WHERE pct < 0.1 |
###context:CREATE TABLE table_name_48 (coach VARCHAR, loss VARCHAR, pct VARCHAR, pts VARCHAR)
###human: What coach has a PCT larger than 0.1, PTS larger than 9 and a loss of 19?
###assistant: SELECT coach FROM table_name_48 WHERE pct > 0.1 AND pts > 9 AND loss = 19 |
###context:CREATE TABLE table_name_59 (name VARCHAR, rank VARCHAR, nationality VARCHAR)
###human: What's the name of spain rank greater than 2?
###assistant: SELECT name FROM table_name_59 WHERE rank > 2 AND nationality = "spain" |
###context:CREATE TABLE table_name_84 (time VARCHAR, lane VARCHAR, nationality VARCHAR)
###human: Spain had what time with lanes smaller than 4?
###assistant: SELECT time FROM table_name_84 WHERE lane < 4 AND nationality = "spain" |
###context:CREATE TABLE table_name_76 (rank INTEGER, name VARCHAR)
###human: What's the smallest rank of noriko inada?
###assistant: SELECT MIN(rank) FROM table_name_76 WHERE name = "noriko inada" |
###context:CREATE TABLE table_name_34 (lost VARCHAR, played INTEGER)
###human: How many total losses have teams that played more than 30 games?
###assistant: SELECT COUNT(lost) FROM table_name_34 WHERE played > 30 |
###context:CREATE TABLE table_name_55 (rank VARCHAR, time VARCHAR, lane VARCHAR)
###human: What is the number of the rank when the time is 2:15.98, in a lane larger than 7?
###assistant: SELECT COUNT(rank) FROM table_name_55 WHERE time = "2:15.98" AND lane > 7 |
###context:CREATE TABLE table_name_89 (rank VARCHAR, name VARCHAR, lane VARCHAR)
###human: What is the number of the rank for the name of Chen Yan in a lane less than 2?
###assistant: SELECT COUNT(rank) FROM table_name_89 WHERE name = "chen yan" AND lane < 2 |
###context:CREATE TABLE table_name_64 (lane INTEGER, rank VARCHAR)
###human: What is the smallest lane for rank 6?
###assistant: SELECT MIN(lane) FROM table_name_64 WHERE rank = 6 |
###context:CREATE TABLE table_name_30 (league VARCHAR, total INTEGER)
###human: What's the total for a league cup less than 1?
###assistant: SELECT COUNT(league) AS Cup FROM table_name_30 WHERE total < 1 |
###context:CREATE TABLE table_name_3 (fa_cup INTEGER, league INTEGER)
###human: What's the FA Cup that has a league less than 1?
###assistant: SELECT SUM(fa_cup) FROM table_name_3 WHERE league < 1 |
###context:CREATE TABLE table_name_92 (villages INTEGER, hanzi VARCHAR, population VARCHAR)
###human: Which town has the most villages with the hanzi 南流乡 and a population larger than 24,802?
###assistant: SELECT MAX(villages) FROM table_name_92 WHERE hanzi = "南流乡" AND population > 24 OFFSET 802 |
###context:CREATE TABLE table_name_41 (pos VARCHAR, laps VARCHAR)
###human: What position did lap 296 come in?
###assistant: SELECT pos FROM table_name_41 WHERE laps = 296 |
###context:CREATE TABLE table_name_21 (played VARCHAR, try_bonus VARCHAR, points_against VARCHAR)
###human: How many games did the Club that has a try bonus of 4 and 391 points against play ?
###assistant: SELECT played FROM table_name_21 WHERE try_bonus = "4" AND points_against = "391" |
###context:CREATE TABLE table_name_32 (points_against VARCHAR, played VARCHAR, club VARCHAR)
###human: How many points against did Carmarthen Athletic RFC have when they played 22 games ?
###assistant: SELECT points_against FROM table_name_32 WHERE played = "22" AND club = "carmarthen athletic rfc" |
###context:CREATE TABLE table_name_93 (club VARCHAR, lost VARCHAR)
###human: Which club lost 10 games ?
###assistant: SELECT club FROM table_name_93 WHERE lost = "10" |
###context:CREATE TABLE table_name_43 (points_for VARCHAR, tries_for VARCHAR)
###human: How many points for did the club that had 77 tries for have ?
###assistant: SELECT points_for FROM table_name_43 WHERE tries_for = "77" |
###context:CREATE TABLE table_name_8 (club VARCHAR, try_bonus VARCHAR)
###human: Which club has a try bonus of 2 ?
###assistant: SELECT club FROM table_name_8 WHERE try_bonus = "2" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.