training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_7 (constructor VARCHAR, laps VARCHAR, time_retired VARCHAR)
###human: Who built the car that retired due to suspension before 65 laps?
###assistant: SELECT constructor FROM table_name_7 WHERE laps < 65 AND time_retired = "suspension" |
###context:CREATE TABLE table_name_39 (valley_vista VARCHAR, dysart VARCHAR)
###human: What Valley Vista has a Dysart of 1668?
###assistant: SELECT valley_vista FROM table_name_39 WHERE dysart = "1668" |
###context:CREATE TABLE table_name_47 (valley_vista VARCHAR, willow_canyon VARCHAR)
###human: What Valley Vista has a Willow Canyon of 2169?
###assistant: SELECT valley_vista FROM table_name_47 WHERE willow_canyon = "2169" |
###context:CREATE TABLE table_name_2 (crowd VARCHAR, venue VARCHAR)
###human: How many people were in the crowd at Lake Oval?
###assistant: SELECT crowd FROM table_name_2 WHERE venue = "lake oval" |
###context:CREATE TABLE table_name_88 (home_team VARCHAR, date VARCHAR, venue VARCHAR)
###human: What team was the home team on 27 june 1981, at vfl park?
###assistant: SELECT home_team FROM table_name_88 WHERE date = "27 june 1981" AND venue = "vfl park" |
###context:CREATE TABLE table_name_99 (tyre VARCHAR, chassis VARCHAR)
###human: What is the tyre with a 56 chassis?
###assistant: SELECT tyre FROM table_name_99 WHERE chassis = "56" |
###context:CREATE TABLE table_name_20 (country VARCHAR, gdp__nominal_ VARCHAR)
###human: Which country has a GDP (nominal) of $29.9 billion?
###assistant: SELECT country FROM table_name_20 WHERE gdp__nominal_ = "$29.9 billion" |
###context:CREATE TABLE table_name_46 (country VARCHAR, gdp__nominal_ VARCHAR)
###human: Which country has a GDP (nominal) of $29.9 billion?
###assistant: SELECT country FROM table_name_46 WHERE gdp__nominal_ = "$29.9 billion" |
###context:CREATE TABLE table_name_98 (gdp__nominal_ VARCHAR, population VARCHAR)
###human: Which GDP (nominal) has a Population of 5,550,239?
###assistant: SELECT gdp__nominal_ FROM table_name_98 WHERE population = "5,550,239" |
###context:CREATE TABLE table_name_63 (population VARCHAR, gdp__nominal_ VARCHAR)
###human: Which population has a GDP (nominal) of $6.4 billion?
###assistant: SELECT population FROM table_name_63 WHERE gdp__nominal_ = "$6.4 billion" |
###context:CREATE TABLE table_name_30 (country VARCHAR, gdp__nominal_ VARCHAR)
###human: Which country has a GDP (nominal) of $29.9 billion?
###assistant: SELECT country FROM table_name_30 WHERE gdp__nominal_ = "$29.9 billion" |
###context:CREATE TABLE table_name_16 (gdp_per_capita__nominal_ VARCHAR, population VARCHAR)
###human: What is the GDP (nominal) with Population of 5,125,693?
###assistant: SELECT gdp_per_capita__nominal_ FROM table_name_16 WHERE population = "5,125,693" |
###context:CREATE TABLE table_name_79 (year INTEGER, points VARCHAR)
###human: What is the earliest year for 9 points?
###assistant: SELECT MIN(year) FROM table_name_79 WHERE points = 9 |
###context:CREATE TABLE table_name_90 (points INTEGER, chassis VARCHAR)
###human: What is the low score for the jaguar r3 chasis?
###assistant: SELECT MIN(points) FROM table_name_90 WHERE chassis = "jaguar r3" |
###context:CREATE TABLE table_name_78 (notes VARCHAR, displacement VARCHAR)
###human: What is the notes when the displacement is 220cid (3,604cc)?
###assistant: SELECT notes FROM table_name_78 WHERE displacement = "220cid (3,604cc)" |
###context:CREATE TABLE table_name_91 (engine VARCHAR, notes VARCHAR)
###human: What is then engine when the notes state srt8?
###assistant: SELECT engine FROM table_name_91 WHERE notes = "srt8" |
###context:CREATE TABLE table_name_43 (power VARCHAR, displacement VARCHAR, notes VARCHAR)
###human: What is the power when the displacement is 182cid (2,988cc) and the notes are eu spec?
###assistant: SELECT power FROM table_name_43 WHERE displacement = "182cid (2,988cc)" AND notes = "eu spec" |
###context:CREATE TABLE table_name_52 (engine VARCHAR, years VARCHAR)
###human: What is the engine for year 2012-?
###assistant: SELECT engine FROM table_name_52 WHERE years = "2012-" |
###context:CREATE TABLE table_name_96 (record VARCHAR, home VARCHAR, date VARCHAR)
###human: What is the record of the match with Columbus as the home team on March 7?
###assistant: SELECT record FROM table_name_96 WHERE home = "columbus" AND date = "march 7" |
###context:CREATE TABLE table_name_20 (record VARCHAR, date VARCHAR)
###human: What is the record of the game on March 18?
###assistant: SELECT record FROM table_name_20 WHERE date = "march 18" |
###context:CREATE TABLE table_name_72 (height VARCHAR, college VARCHAR, name VARCHAR)
###human: Which height has a College of wyoming, and a Name of guy frazier?
###assistant: SELECT height FROM table_name_72 WHERE college = "wyoming" AND name = "guy frazier" |
###context:CREATE TABLE table_name_33 (season VARCHAR, location VARCHAR, winners VARCHAR)
###human: Which season's winner is Panathinaikos and is located in Athens?
###assistant: SELECT season FROM table_name_33 WHERE location = "athens" AND winners = "panathinaikos" |
###context:CREATE TABLE table_name_34 (recorded VARCHAR, translation VARCHAR)
###human: What is the date recorded of Hate?
###assistant: SELECT recorded FROM table_name_34 WHERE translation = "hate" |
###context:CREATE TABLE table_name_36 (composer VARCHAR, track INTEGER)
###human: Who is the composer on the tracks less than 4?
###assistant: SELECT composer FROM table_name_36 WHERE track < 4 |
###context:CREATE TABLE table_name_83 (title VARCHAR, track VARCHAR)
###human: What is the title of track 7?
###assistant: SELECT title FROM table_name_83 WHERE track = 7 |
###context:CREATE TABLE table_name_73 (recorded VARCHAR, track VARCHAR)
###human: What is the recorded date of track 8?
###assistant: SELECT recorded FROM table_name_73 WHERE track = 8 |
###context:CREATE TABLE table_name_19 (no_built INTEGER, unit_nos VARCHAR)
###human: How many number Builts had unit numbers of 375301-310?
###assistant: SELECT SUM(no_built) FROM table_name_19 WHERE unit_nos = "375301-310" |
###context:CREATE TABLE table_name_91 (score VARCHAR, home VARCHAR, record VARCHAR)
###human: What was the score of the game where Montreal was the home team and the Devils had a record of 40β24β6?
###assistant: SELECT score FROM table_name_91 WHERE home = "montreal" AND record = "40β24β6" |
###context:CREATE TABLE table_name_29 (location VARCHAR, stores VARCHAR)
###human: Which location has 140 stores?
###assistant: SELECT location FROM table_name_29 WHERE stores = "140" |
###context:CREATE TABLE table_name_4 (year_opened VARCHAR, mall_name VARCHAR)
###human: Which year did the Short Pump Town Center Mall open?
###assistant: SELECT year_opened FROM table_name_4 WHERE mall_name = "short pump town center" |
###context:CREATE TABLE table_name_70 (retail_space_sq_feet__mΒ²_ VARCHAR, mall_name VARCHAR)
###human: What is the retail space of the Stony Point Fashion Park Mall?
###assistant: SELECT retail_space_sq_feet__mΒ²_ FROM table_name_70 WHERE mall_name = "stony point fashion park" |
###context:CREATE TABLE table_name_3 (mall_name VARCHAR, stores VARCHAR)
###human: Which Mall has 140 stores?
###assistant: SELECT mall_name FROM table_name_3 WHERE stores = "140" |
###context:CREATE TABLE table_name_33 (match VARCHAR, date VARCHAR)
###human: What match was on 30 january 1938?
###assistant: SELECT match FROM table_name_33 WHERE date = "30 january 1938" |
###context:CREATE TABLE table_name_75 (result VARCHAR, match VARCHAR)
###human: What was the result of the napoli-roma match?
###assistant: SELECT result FROM table_name_75 WHERE match = "napoli-roma" |
###context:CREATE TABLE table_name_15 (player VARCHAR, school VARCHAR)
###human: What is the player that is from seattle prep?
###assistant: SELECT player FROM table_name_15 WHERE school = "seattle prep" |
###context:CREATE TABLE table_name_31 (hometown VARCHAR, height VARCHAR)
###human: What is the hometown of the player which has a height of 6-0?
###assistant: SELECT hometown FROM table_name_31 WHERE height = "6-0" |
###context:CREATE TABLE table_name_54 (hometown VARCHAR, college VARCHAR)
###human: What is the hometown for the player that went to the college of washington
###assistant: SELECT hometown FROM table_name_54 WHERE college = "washington" |
###context:CREATE TABLE table_name_3 (away_team VARCHAR, venue VARCHAR)
###human: What was the away team's score at Princes Park?
###assistant: SELECT away_team FROM table_name_3 WHERE venue = "princes park" |
###context:CREATE TABLE table_name_36 (date VARCHAR, away_team VARCHAR)
###human: When did Richmond play an away game against Collingwood?
###assistant: SELECT date FROM table_name_36 WHERE away_team = "richmond" |
###context:CREATE TABLE table_name_64 (league INTEGER, fa_cup VARCHAR)
###human: How many league cup goals on average for players with over 0 FA cup and 5 league goals?
###assistant: SELECT AVG(league) AS Cup FROM table_name_64 WHERE fa_cup > 0 AND league = 5 |
###context:CREATE TABLE table_name_58 (fa_cup INTEGER, name VARCHAR, europe VARCHAR)
###human: What is the low FA cup goals for viduka with under 2 europe goals?
###assistant: SELECT MIN(fa_cup) FROM table_name_58 WHERE name = "viduka" AND europe < 2 |
###context:CREATE TABLE table_name_55 (year INTEGER, association VARCHAR, category VARCHAR)
###human: Who won the most recent favorite rap/hip-hop new artist at the American music awards?
###assistant: SELECT MAX(year) FROM table_name_55 WHERE association = "american music awards" AND category = "favorite rap/hip-hop new artist" |
###context:CREATE TABLE table_name_24 (date VARCHAR, leading_scorer VARCHAR, score VARCHAR)
###human: What is the Date with a Leading scorer with maurice williams (25), and a Score with 102β105?
###assistant: SELECT date FROM table_name_24 WHERE leading_scorer = "maurice williams (25)" AND score = "102β105" |
###context:CREATE TABLE table_name_54 (score VARCHAR, home VARCHAR)
###human: What is the Score with a Home with hornets?
###assistant: SELECT score FROM table_name_54 WHERE home = "hornets" |
###context:CREATE TABLE table_name_81 (score VARCHAR, visitor VARCHAR, leading_scorer VARCHAR)
###human: What is the Score with a Visitor of bucks, and a Leading scorer with maurice williams (25)?
###assistant: SELECT score FROM table_name_81 WHERE visitor = "bucks" AND leading_scorer = "maurice williams (25)" |
###context:CREATE TABLE table_name_49 (record VARCHAR, leading_scorer VARCHAR)
###human: What is the Record with a Leading scorer with andrew bogut (29)?
###assistant: SELECT record FROM table_name_49 WHERE leading_scorer = "andrew bogut (29)" |
###context:CREATE TABLE table_name_38 (record VARCHAR, leading_scorer VARCHAR, date VARCHAR)
###human: What is the Record with a Leading scorer with maurice williams (25), and a Date with 27 january 2008?
###assistant: SELECT record FROM table_name_38 WHERE leading_scorer = "maurice williams (25)" AND date = "27 january 2008" |
###context:CREATE TABLE table_name_12 (record VARCHAR, score VARCHAR, visitor VARCHAR)
###human: What is the Record with a Score with 80β87, and a Visitor with bucks?
###assistant: SELECT record FROM table_name_12 WHERE score = "80β87" AND visitor = "bucks" |
###context:CREATE TABLE table_name_74 (nationality VARCHAR, player VARCHAR)
###human: What is the nationality of the player Tom Boswell?
###assistant: SELECT nationality FROM table_name_74 WHERE player = "tom boswell" |
###context:CREATE TABLE table_name_18 (nationality VARCHAR, school_club_team VARCHAR)
###human: What is the nationality of the player from Duke?
###assistant: SELECT nationality FROM table_name_18 WHERE school_club_team = "duke" |
###context:CREATE TABLE table_name_31 (position VARCHAR, school_club_team VARCHAR)
###human: What position did the player from Florida International play?
###assistant: SELECT position FROM table_name_31 WHERE school_club_team = "florida international" |
###context:CREATE TABLE table_name_4 (nationality VARCHAR, school_club_team VARCHAR)
###human: What is the nationality of the player from UCLA?
###assistant: SELECT nationality FROM table_name_4 WHERE school_club_team = "ucla" |
###context:CREATE TABLE table_name_48 (attendance_g INTEGER, tms INTEGER)
###human: What was Attendance/G with Tms more than 18?
###assistant: SELECT AVG(attendance_g) FROM table_name_48 WHERE tms > 18 |
###context:CREATE TABLE table_name_37 (chassis VARCHAR, entrant VARCHAR)
###human: Which chassis had an entrant of John Mecom?
###assistant: SELECT chassis FROM table_name_37 WHERE entrant = "john mecom" |
###context:CREATE TABLE table_name_27 (tyre VARCHAR, entrant VARCHAR)
###human: What tyre was used for an entrant of Ecurie Nationale Suisse?
###assistant: SELECT tyre FROM table_name_27 WHERE entrant = "ecurie nationale suisse" |
###context:CREATE TABLE table_name_40 (rounds VARCHAR, driver VARCHAR)
###human: Which rounds was Hap Sharp a driver in?
###assistant: SELECT rounds FROM table_name_40 WHERE driver = "hap sharp" |
###context:CREATE TABLE table_name_38 (year INTEGER, title VARCHAR)
###human: what is the year when the title is jotei?
###assistant: SELECT SUM(year) FROM table_name_38 WHERE title = "jotei" |
###context:CREATE TABLE table_name_67 (original_channel VARCHAR, year VARCHAR, note VARCHAR)
###human: what is the original channel when the year is before 2006 and the note is supporting?
###assistant: SELECT original_channel FROM table_name_67 WHERE year < 2006 AND note = "supporting" |
###context:CREATE TABLE table_name_61 (original_channel VARCHAR, note VARCHAR, year VARCHAR)
###human: what is the original channel when the note is co-star in year 2012?
###assistant: SELECT original_channel FROM table_name_61 WHERE note = "co-star" AND year = 2012 |
###context:CREATE TABLE table_name_7 (original_channel VARCHAR, year INTEGER)
###human: what is the original channel when the year is after 2012?
###assistant: SELECT original_channel FROM table_name_7 WHERE year > 2012 |
###context:CREATE TABLE table_name_5 (year VARCHAR, note VARCHAR, title VARCHAR)
###human: what is the year when the note is supporting and the title is rokumeikan?
###assistant: SELECT year FROM table_name_5 WHERE note = "supporting" AND title = "rokumeikan" |
###context:CREATE TABLE table_name_71 (title VARCHAR, year VARCHAR, original_channel VARCHAR)
###human: what is the title when the year is after 2011 and the original channel is nhk?
###assistant: SELECT title FROM table_name_71 WHERE year > 2011 AND original_channel = "nhk" |
###context:CREATE TABLE table_name_91 (circuit VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
###human: On which circuit does lorenzo bandini have the fastest lap as well as the pole position?
###assistant: SELECT circuit FROM table_name_91 WHERE fastest_lap = "lorenzo bandini" AND pole_position = "lorenzo bandini" |
###context:CREATE TABLE table_name_72 (race VARCHAR, pole_position VARCHAR, circuit VARCHAR)
###human: At what race does jim clark has a Pole position on the Circuit of monaco?
###assistant: SELECT race FROM table_name_72 WHERE pole_position = "jim clark" AND circuit = "monaco" |
###context:CREATE TABLE table_name_32 (report VARCHAR, circuit VARCHAR)
###human: Which Report is on the Circuit of reims?
###assistant: SELECT report FROM table_name_32 WHERE circuit = "reims" |
###context:CREATE TABLE table_name_77 (date VARCHAR, circuit VARCHAR)
###human: On what Date is there a race on the Circuit of brands hatch?
###assistant: SELECT date FROM table_name_77 WHERE circuit = "brands hatch" |
###context:CREATE TABLE table_name_21 (winning_driver VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
###human: Who is the Winnning driver in which lorenzo bandini has the fastest lap as well as the Pole position?
###assistant: SELECT winning_driver FROM table_name_21 WHERE fastest_lap = "lorenzo bandini" AND pole_position = "lorenzo bandini" |
###context:CREATE TABLE table_name_91 (date VARCHAR, tyre VARCHAR, circuit VARCHAR)
###human: On what date is there a Tryre of d at the Circuit of monaco?
###assistant: SELECT date FROM table_name_91 WHERE tyre = "d" AND circuit = "monaco" |
###context:CREATE TABLE table_name_46 (date VARCHAR, against VARCHAR, surface VARCHAR)
###human: What's the date that Morocco has an Against along with a surface of hard?
###assistant: SELECT date FROM table_name_46 WHERE against = "morocco" AND surface = "hard" |
###context:CREATE TABLE table_name_51 (round VARCHAR, surface VARCHAR, opponent VARCHAR)
###human: What's Round has a Surface of hard and Opponent of Jelena Simic?
###assistant: SELECT round FROM table_name_51 WHERE surface = "hard" AND opponent = "jelena simic" |
###context:CREATE TABLE table_name_95 (winning_driver VARCHAR, constructor VARCHAR, race_name VARCHAR)
###human: What driver won in the xv grand prix de l'albigeois in a vehicle by ferrari?
###assistant: SELECT winning_driver FROM table_name_95 WHERE constructor = "ferrari" AND race_name = "xv grand prix de l'albigeois" |
###context:CREATE TABLE table_name_4 (date INTEGER, description VARCHAR)
###human: What is the latest death with a description of BR-Built inspection saloon?
###assistant: SELECT MAX(date) FROM table_name_4 WHERE description = "br-built inspection saloon" |
###context:CREATE TABLE table_name_57 (number_ VARCHAR, _name VARCHAR, description VARCHAR)
###human: What is the identifying number for a description of Stanier (Period III) full brake?
###assistant: SELECT number_ & _name FROM table_name_57 WHERE description = "stanier (period iii) full brake" |
###context:CREATE TABLE table_name_86 (date VARCHAR, number_ VARCHAR, _name VARCHAR)
###human: What is the date with identifying number of No. 37817?
###assistant: SELECT date FROM table_name_86 WHERE number_ & _name = "no. 37817" |
###context:CREATE TABLE table_name_18 (release_date VARCHAR, release_format VARCHAR, country VARCHAR)
###human: What is the release date for the standard cd release format in north america?
###assistant: SELECT release_date FROM table_name_18 WHERE release_format = "standard cd" AND country = "north america" |
###context:CREATE TABLE table_name_23 (cat_no VARCHAR, label_s_ VARCHAR, release_format VARCHAR)
###human: What is the cat no for the label mute and the standard cd format?
###assistant: SELECT cat_no FROM table_name_23 WHERE label_s_ = "mute" AND release_format = "standard cd" |
###context:CREATE TABLE table_name_51 (rating INTEGER, night_rank VARCHAR, timeslot_rank VARCHAR)
###human: What is the rating for the episode with the night rank of 11 and timeslot rank is larger than 4?
###assistant: SELECT AVG(rating) FROM table_name_51 WHERE night_rank = "11" AND timeslot_rank > 4 |
###context:CREATE TABLE table_name_67 (share INTEGER, viewers__m_ VARCHAR, timeslot_rank VARCHAR)
###human: What is the smallest share for a timeslot ranking less than 4 and fewer viewers than 8.78 million?
###assistant: SELECT MIN(share) FROM table_name_67 WHERE viewers__m_ < 8.78 AND timeslot_rank < 4 |
###context:CREATE TABLE table_name_69 (rating INTEGER, viewers__m_ VARCHAR, overall_rank VARCHAR)
###human: What is the rating of the episode with 13.47 million viewers and overall rank larger than 6?
###assistant: SELECT SUM(rating) FROM table_name_69 WHERE viewers__m_ = 13.47 AND overall_rank > 6 |
###context:CREATE TABLE table_name_39 (overall_rank INTEGER, share VARCHAR, timeslot_rank VARCHAR)
###human: What is the rank of the episode with a share of 6 and timeslot rank smaller than 4?
###assistant: SELECT AVG(overall_rank) FROM table_name_39 WHERE share = 6 AND timeslot_rank < 4 |
###context:CREATE TABLE table_name_40 (premierships VARCHAR, venue VARCHAR)
###human: How many premierships for the queensland raceway?
###assistant: SELECT premierships FROM table_name_40 WHERE venue = "queensland raceway" |
###context:CREATE TABLE table_name_25 (premierships VARCHAR, league VARCHAR)
###human: How many premierships for the commonwealth bank trophy league?
###assistant: SELECT premierships FROM table_name_25 WHERE league = "commonwealth bank trophy" |
###context:CREATE TABLE table_name_66 (round INTEGER, pick VARCHAR)
###human: In which round was there a pick of 4?
###assistant: SELECT MAX(round) FROM table_name_66 WHERE pick = 4 |
###context:CREATE TABLE table_name_66 (round VARCHAR, position VARCHAR)
###human: How many rounds were there an offensive tackle position?
###assistant: SELECT COUNT(round) FROM table_name_66 WHERE position = "offensive tackle" |
###context:CREATE TABLE table_name_44 (pick INTEGER, player VARCHAR, round VARCHAR)
###human: What was the pick number in round 228 for Mike Ford?
###assistant: SELECT MAX(pick) FROM table_name_44 WHERE player = "mike ford" AND round > 228 |
###context:CREATE TABLE table_name_9 (year VARCHAR, driver VARCHAR)
###human: What year was E. Meyer the driver?
###assistant: SELECT year FROM table_name_9 WHERE driver = "e. meyer" |
###context:CREATE TABLE table_name_2 (driver VARCHAR, constructor VARCHAR, location VARCHAR)
###human: What is the name of the driver of the vehicle constructed by Bugatti in Anfa?
###assistant: SELECT driver FROM table_name_2 WHERE constructor = "bugatti" AND location = "anfa" |
###context:CREATE TABLE table_name_99 (constructor VARCHAR, location VARCHAR, year VARCHAR)
###human: What company constructed the vehicle in the location not held in 1933?
###assistant: SELECT constructor FROM table_name_99 WHERE location = "not held" AND year = "1933" |
###context:CREATE TABLE table_name_61 (constructor VARCHAR, driver VARCHAR)
###human: What company constructed the vehicle when the driver shows as not held?
###assistant: SELECT constructor FROM table_name_61 WHERE driver = "not held" |
###context:CREATE TABLE table_name_18 (driver VARCHAR, year VARCHAR)
###human: What is the name of the driver in 1955?
###assistant: SELECT driver FROM table_name_18 WHERE year = "1955" |
###context:CREATE TABLE table_name_48 (constructor VARCHAR, year VARCHAR)
###human: What is the name of the constructor when report shows report in 1955?
###assistant: SELECT constructor FROM table_name_48 WHERE "report" = "report" AND year = "1955" |
###context:CREATE TABLE table_name_93 (induction VARCHAR, years VARCHAR)
###human: What is the inductioin for 1975β1976?
###assistant: SELECT induction FROM table_name_93 WHERE years = "1975β1976" |
###context:CREATE TABLE table_name_73 (power VARCHAR, years VARCHAR)
###human: What is the power of an engine of 1972?
###assistant: SELECT power FROM table_name_73 WHERE years = "1972" |
###context:CREATE TABLE table_name_99 (venue VARCHAR, away_team VARCHAR)
###human: In the game where richmond was the away team, what venue was it played at?
###assistant: SELECT venue FROM table_name_99 WHERE away_team = "richmond" |
###context:CREATE TABLE table_name_90 (date VARCHAR, home_team VARCHAR)
###human: On what date did the match where fitzroy was the home team occur?
###assistant: SELECT date FROM table_name_90 WHERE home_team = "fitzroy" |
###context:CREATE TABLE table_name_79 (apps INTEGER, division VARCHAR, team VARCHAR, country VARCHAR, goals VARCHAR)
###human: What is the smallest apps in Honduras with less than 2 goals for Club Deportivo Victoria in a division over 1?
###assistant: SELECT MIN(apps) FROM table_name_79 WHERE country = "honduras" AND goals < 2 AND team = "club deportivo victoria" AND division > 1 |
###context:CREATE TABLE table_name_8 (grid INTEGER, driver VARCHAR, laps VARCHAR)
###human: What grid for jacques villeneuve with over 36 laps?
###assistant: SELECT MAX(grid) FROM table_name_8 WHERE driver = "jacques villeneuve" AND laps > 36 |
###context:CREATE TABLE table_name_69 (laps INTEGER, driver VARCHAR)
###human: What were the lowest laps of Tarso Marques?
###assistant: SELECT MIN(laps) FROM table_name_69 WHERE driver = "tarso marques" |
###context:CREATE TABLE table_name_68 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
###human: What's the average Grid for those who spun off after Lap 64?
###assistant: SELECT AVG(grid) FROM table_name_68 WHERE time_retired = "spun off" AND laps > 64 |
###context:CREATE TABLE table_name_27 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
###human: What is the grid total that has a Time/Retired of + 1:33.141, and under 70 laps?
###assistant: SELECT SUM(grid) FROM table_name_27 WHERE time_retired = "+ 1:33.141" AND laps < 70 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.