training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_88 (city VARCHAR, home_team_s VARCHAR)
###human: What city has the home team of the brisbane broncos?
###assistant: SELECT city FROM table_name_88 WHERE home_team_s = "brisbane broncos" |
###context:CREATE TABLE table_name_94 (closed__as_a_rl_stadium_ INTEGER, country VARCHAR)
###human: What is the earliest closed year in the country of france?
###assistant: SELECT MIN(closed__as_a_rl_stadium_) FROM table_name_94 WHERE country = "france" |
###context:CREATE TABLE table_name_7 (res VARCHAR, time VARCHAR)
###human: What is the result for the event that lasted 2:20?
###assistant: SELECT res FROM table_name_7 WHERE time = "2:20" |
###context:CREATE TABLE table_name_54 (opponent VARCHAR, res VARCHAR, event VARCHAR)
###human: Who was the fight against when loss was the result at the Gladiator Challenge 87: Collision Course event?
###assistant: SELECT opponent FROM table_name_54 WHERE res = "loss" AND event = "gladiator challenge 87: collision course" |
###context:CREATE TABLE table_name_13 (record VARCHAR, event VARCHAR)
###human: For the Cage Combat Fighting Championships: Mayhem, what was the record?
###assistant: SELECT record FROM table_name_13 WHERE event = "cage combat fighting championships: mayhem" |
###context:CREATE TABLE table_name_89 (designer VARCHAR, restaurant_name VARCHAR)
###human: Who was the designer for The Grapefruit Moon?
###assistant: SELECT designer FROM table_name_89 WHERE restaurant_name = "the grapefruit moon" |
###context:CREATE TABLE table_name_21 (chef VARCHAR, restaurant_name VARCHAR)
###human: Who is the chef at Lakes Bar and Grill?
###assistant: SELECT chef FROM table_name_21 WHERE restaurant_name = "lakes bar and grill" |
###context:CREATE TABLE table_name_85 (restaurant_name VARCHAR, designer VARCHAR, location VARCHAR)
###human: What is the name of the Cobourg, ON restaurant that had Robin de Groot as designer?
###assistant: SELECT restaurant_name FROM table_name_85 WHERE designer = "robin de groot" AND location = "cobourg, on" |
###context:CREATE TABLE table_name_48 (european_competitions VARCHAR, tier VARCHAR, pos VARCHAR)
###human: What European competitions have a tier of 2 and a position of 3?
###assistant: SELECT european_competitions FROM table_name_48 WHERE tier = 2 AND pos = 3 |
###context:CREATE TABLE table_name_2 (nation VARCHAR, silver VARCHAR, gold VARCHAR)
###human: Which Nation won 5 Silver, and more than 4 Gold?
###assistant: SELECT nation FROM table_name_2 WHERE silver = 5 AND gold > 4 |
###context:CREATE TABLE table_name_74 (heat VARCHAR, lane VARCHAR, name VARCHAR)
###human: What is the sum of heat for christophe lebon when lane is less than 4?
###assistant: SELECT COUNT(heat) FROM table_name_74 WHERE lane < 4 AND name = "christophe lebon" |
###context:CREATE TABLE table_name_79 (name VARCHAR, nationality VARCHAR, rank VARCHAR, heat VARCHAR)
###human: Who is from the united states, has a rank less than 9, and heat more than 5?
###assistant: SELECT name FROM table_name_79 WHERE rank < 9 AND heat > 5 AND nationality = "united states" |
###context:CREATE TABLE table_name_38 (rank VARCHAR, nationality VARCHAR, heat VARCHAR)
###human: Serbia has a heat less than 2 and what sum of rank?
###assistant: SELECT COUNT(rank) FROM table_name_38 WHERE nationality = "serbia" AND heat < 2 |
###context:CREATE TABLE table_name_38 (lane INTEGER, rank VARCHAR)
###human: When rank is 33, what is the smallest lane?
###assistant: SELECT MIN(lane) FROM table_name_38 WHERE rank = 33 |
###context:CREATE TABLE table_name_6 (model VARCHAR, number_of_cpus VARCHAR, performance__mips_ VARCHAR)
###human: Which Model has a Number of CPUs of 1β10, and a Performance (MIPS) of 49β447?
###assistant: SELECT model FROM table_name_6 WHERE number_of_cpus = "1β10" AND performance__mips_ = "49β447" |
###context:CREATE TABLE table_name_26 (year_introduced INTEGER, memory__gb_ VARCHAR)
###human: Which Year Introduced has a Memory (GB) of 0.125β2?
###assistant: SELECT MAX(year_introduced) FROM table_name_26 WHERE memory__gb_ = "0.125β2" |
###context:CREATE TABLE table_name_59 (number_of_cpus VARCHAR, memory__gb_ VARCHAR)
###human: Which Number of CPUs has a Memory (GB) of 0.5β16?
###assistant: SELECT number_of_cpus FROM table_name_59 WHERE memory__gb_ = "0.5β16" |
###context:CREATE TABLE table_name_57 (memory__gb_ VARCHAR, number_of_cpus VARCHAR)
###human: Which Memory (GB) has a Number of CPUs of 1β6?
###assistant: SELECT memory__gb_ FROM table_name_57 WHERE number_of_cpus = "1β6" |
###context:CREATE TABLE table_name_62 (fuel_type VARCHAR, manufacturer VARCHAR, mpg_us_extra_urban VARCHAR, mpg_us_combined VARCHAR)
###human: Which Fuel Type that has a mpg-US Extra-Urban larger than 53.5, and a mpg-US Combined larger than 50 from renault?
###assistant: SELECT fuel_type FROM table_name_62 WHERE mpg_us_extra_urban > 53.5 AND mpg_us_combined > 50 AND manufacturer = "renault" |
###context:CREATE TABLE table_name_26 (country VARCHAR, rank VARCHAR, time VARCHAR)
###human: What is the Country of the Rowers with a Rank larger than 4 and Time of 5:59.56?
###assistant: SELECT country FROM table_name_26 WHERE rank > 4 AND time = "5:59.56" |
###context:CREATE TABLE table_name_98 (time VARCHAR, country VARCHAR, rank VARCHAR, notes VARCHAR)
###human: What is the Time of the Belarus Player with a Rank larger than 2 and Notes of FB?
###assistant: SELECT time FROM table_name_98 WHERE rank > 2 AND notes = "fb" AND country = "belarus" |
###context:CREATE TABLE table_name_75 (time VARCHAR, notes VARCHAR, rank VARCHAR)
###human: What is the Time of the Player with a Rank of 1 or 2 and Notes of FA?
###assistant: SELECT time FROM table_name_75 WHERE notes = "fa" AND rank < 2 |
###context:CREATE TABLE table_name_66 (rowers VARCHAR, country VARCHAR)
###human: Who are the Rowers from Poland?
###assistant: SELECT rowers FROM table_name_66 WHERE country = "poland" |
###context:CREATE TABLE table_name_14 (rowers VARCHAR, time VARCHAR)
###human: Who are the Rowers with a Time of 5:56.38?
###assistant: SELECT rowers FROM table_name_14 WHERE time = "5:56.38" |
###context:CREATE TABLE table_name_95 (title VARCHAR, release_date VARCHAR)
###human: What's the title of the film with the release date of 1954-12-18?
###assistant: SELECT title FROM table_name_95 WHERE release_date = "1954-12-18" |
###context:CREATE TABLE table_name_21 (production_number VARCHAR, series VARCHAR, title VARCHAR)
###human: What is the production number for Bell Hoppy in the MM Series?
###assistant: SELECT COUNT(production_number) FROM table_name_21 WHERE series = "mm" AND title = "bell hoppy" |
###context:CREATE TABLE table_name_75 (scored INTEGER, losses INTEGER)
###human: How much Scored has Losses smaller than 0?
###assistant: SELECT SUM(scored) FROM table_name_75 WHERE losses < 0 |
###context:CREATE TABLE table_name_98 (wins INTEGER, played VARCHAR, losses VARCHAR, position VARCHAR)
###human: Which Wins have Losses smaller than 6, and a Position of 4, and Played larger than 9?
###assistant: SELECT MIN(wins) FROM table_name_98 WHERE losses < 6 AND position = 4 AND played > 9 |
###context:CREATE TABLE table_name_77 (conceded VARCHAR, wins VARCHAR, points VARCHAR)
###human: How much Conceded has Wins smaller than 3, and Points larger than 11?
###assistant: SELECT COUNT(conceded) FROM table_name_77 WHERE wins < 3 AND points > 11 |
###context:CREATE TABLE table_name_91 (draws INTEGER, wins VARCHAR, position VARCHAR, points VARCHAR, conceded VARCHAR)
###human: Which Draws has Points smaller than 15, and a Conceded larger than 10, and a Position larger than 8, and Wins of 1?
###assistant: SELECT MIN(draws) FROM table_name_91 WHERE points < 15 AND conceded > 10 AND position > 8 AND wins = 1 |
###context:CREATE TABLE table_name_62 (losses VARCHAR, points VARCHAR)
###human: How many losses have 11 points?
###assistant: SELECT COUNT(losses) FROM table_name_62 WHERE points = 11 |
###context:CREATE TABLE table_name_3 (song_title VARCHAR, number VARCHAR, singer_s_ VARCHAR, lyricist VARCHAR)
###human: What is the song title sung by Sonu Nigam with lyricists of Dev Kohli/Biddu, and number over 8?
###assistant: SELECT song_title FROM table_name_3 WHERE singer_s_ = "sonu nigam" AND lyricist = "dev kohli/biddu" AND number > 8 |
###context:CREATE TABLE table_name_97 (singer_s_ VARCHAR, lyricist VARCHAR, number VARCHAR)
###human: Who was the singer for the song numbered 3, with lyricist Dev Kohli?
###assistant: SELECT singer_s_ FROM table_name_97 WHERE lyricist = "dev kohli" AND number = 3 |
###context:CREATE TABLE table_name_75 (number INTEGER, song_title VARCHAR)
###human: What is the average number for the song "O Sudha"?
###assistant: SELECT AVG(number) FROM table_name_75 WHERE song_title = "o sudha" |
###context:CREATE TABLE table_name_53 (length VARCHAR, song_title VARCHAR)
###human: What is the average length for the song "Ma Ke Jaisi"?
###assistant: SELECT length FROM table_name_53 WHERE song_title = "ma ke jaisi" |
###context:CREATE TABLE table_name_83 (name VARCHAR, total_goals VARCHAR, fa_cup_goals VARCHAR, league_cup_goals VARCHAR)
###human: Who had fa cup goals of 0, league cup goals less than 2, and total goals of 2?
###assistant: SELECT name FROM table_name_83 WHERE fa_cup_goals = 0 AND league_cup_goals < 2 AND total_goals = 2 |
###context:CREATE TABLE table_name_12 (fa_cup_goals INTEGER, total_apps VARCHAR)
###human: what is the fa cup goals when total apps is 10 (4)?
###assistant: SELECT SUM(fa_cup_goals) FROM table_name_12 WHERE total_apps = "10 (4)" |
###context:CREATE TABLE table_name_52 (total_goals VARCHAR, league_goals VARCHAR, fa_cup_apps VARCHAR, position VARCHAR)
###human: how many times is the fa cup apps more than 0, the position mf and the league goals 4?
###assistant: SELECT COUNT(total_goals) FROM table_name_52 WHERE fa_cup_apps > 0 AND position = "mf" AND league_goals = 4 |
###context:CREATE TABLE table_name_83 (number_of_electorates__2009_ VARCHAR, constituency_number VARCHAR)
###human: What is the total number of electorates in 2009 with a constituency of 193?
###assistant: SELECT COUNT(number_of_electorates__2009_) FROM table_name_83 WHERE constituency_number = "193" |
###context:CREATE TABLE table_name_34 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)
###human: What is the reserved for the constituency of 192?
###assistant: SELECT reserved_for___sc___st__none_ FROM table_name_34 WHERE constituency_number = "192" |
###context:CREATE TABLE table_name_79 (artist VARCHAR, percentage VARCHAR)
###human: Which Artist has a Percentage of 11.32%?
###assistant: SELECT artist FROM table_name_79 WHERE percentage = "11.32%" |
###context:CREATE TABLE table_name_14 (week INTEGER, date VARCHAR)
###human: What is the week for November 28, 1982?
###assistant: SELECT MIN(week) FROM table_name_14 WHERE date = "november 28, 1982" |
###context:CREATE TABLE table_name_32 (attendance VARCHAR, result VARCHAR)
###human: What is the attendance number when the result is l 41-37?
###assistant: SELECT attendance FROM table_name_32 WHERE result = "l 41-37" |
###context:CREATE TABLE table_name_5 (attendance INTEGER, week VARCHAR, result VARCHAR)
###human: What is the attendance in a week earlier than 4, and result is w 31-20?
###assistant: SELECT AVG(attendance) FROM table_name_5 WHERE week < 4 AND result = "w 31-20" |
###context:CREATE TABLE table_name_31 (opponent VARCHAR, week VARCHAR, result VARCHAR)
###human: What is the opponent in a week larger than 1, with a result of l 21-20?
###assistant: SELECT opponent FROM table_name_31 WHERE week > 1 AND result = "l 21-20" |
###context:CREATE TABLE table_name_3 (sport VARCHAR, founded VARCHAR)
###human: What sport was played by the team founded in 2010?
###assistant: SELECT sport FROM table_name_3 WHERE founded = 2010 |
###context:CREATE TABLE table_name_27 (club VARCHAR, founded VARCHAR, venue VARCHAR)
###human: What club team was founded before 2011 and plays at the champion window field?
###assistant: SELECT club FROM table_name_27 WHERE founded < 2011 AND venue = "champion window field" |
###context:CREATE TABLE table_name_77 (founded VARCHAR, venue VARCHAR)
###human: How many different dates are there for founded teams for the venue of champion window field?
###assistant: SELECT COUNT(founded) FROM table_name_77 WHERE venue = "champion window field" |
###context:CREATE TABLE table_name_40 (club VARCHAR, venue VARCHAR)
###human: What club team plays at the champion window field?
###assistant: SELECT club FROM table_name_40 WHERE venue = "champion window field" |
###context:CREATE TABLE table_name_67 (inflation_index__2000 INTEGER, per_capita_income__as__percentage_of_usa_ VARCHAR, year VARCHAR)
###human: Which Inflation Index (2000=100) has a Per Capita Income (as % of USA) of 10.65, and a Year smaller than 1990?
###assistant: SELECT MAX(inflation_index__2000) = 100 AS _ FROM table_name_67 WHERE per_capita_income__as__percentage_of_usa_ = 10.65 AND year < 1990 |
###context:CREATE TABLE table_name_77 (release_date VARCHAR, production_num VARCHAR)
###human: What release date has 6998 as the production num.?
###assistant: SELECT release_date FROM table_name_77 WHERE production_num = "6998" |
###context:CREATE TABLE table_name_40 (director VARCHAR, series VARCHAR, production_num VARCHAR)
###human: What director has lt as the series, with 6982 as the production num.?
###assistant: SELECT director FROM table_name_40 WHERE series = "lt" AND production_num = "6982" |
###context:CREATE TABLE table_name_12 (series VARCHAR, release_date VARCHAR)
###human: What series has 1935-07-13 as the release date?
###assistant: SELECT series FROM table_name_12 WHERE release_date = "1935-07-13" |
###context:CREATE TABLE table_name_66 (title VARCHAR, production_num VARCHAR, series VARCHAR, director VARCHAR)
###human: What title has lt as the series, ben hardaway as the director, with 6612 as the production num.?
###assistant: SELECT title FROM table_name_66 WHERE series = "lt" AND director = "ben hardaway" AND production_num = "6612" |
###context:CREATE TABLE table_name_26 (title VARCHAR, label VARCHAR, year VARCHAR, Nr VARCHAR, st VARCHAR)
###human: What is the song title from 1963 on the Pacific Jazz label, and a Label-Nr of st-81?
###assistant: SELECT title FROM table_name_26 WHERE label = "pacific jazz" AND year = 1963 AND label - Nr = st - 81 |
###context:CREATE TABLE table_name_37 (year INTEGER, label VARCHAR, Nr VARCHAR, st VARCHAR)
###human: What is the earliest year with a label-Nr of st-43?
###assistant: SELECT MIN(year) FROM table_name_37 WHERE label - Nr = st - 43 |
###context:CREATE TABLE table_name_3 (title VARCHAR, label VARCHAR, Nr VARCHAR, st VARCHAR)
###human: What is the song title on the Pacific Jazz label, and a Label-Nr of st-20124?
###assistant: SELECT title FROM table_name_3 WHERE label = "pacific jazz" AND label - Nr = st - 20124 |
###context:CREATE TABLE table_name_42 (type VARCHAR, year VARCHAR, title VARCHAR)
###human: What is the type earlier than 1968, and a Title of stretchin' out?
###assistant: SELECT type FROM table_name_42 WHERE year < 1968 AND title = "stretchin' out" |
###context:CREATE TABLE table_name_19 (team VARCHAR, pick VARCHAR)
###human: what is the team that is pick 31?
###assistant: SELECT team FROM table_name_19 WHERE pick = 31 |
###context:CREATE TABLE table_name_8 (position VARCHAR, pick VARCHAR, team VARCHAR)
###human: what is the position when the pick is higher than 32 and the team is atlanta braves?
###assistant: SELECT position FROM table_name_8 WHERE pick > 32 AND team = "atlanta braves" |
###context:CREATE TABLE table_name_16 (position VARCHAR, pick VARCHAR, school VARCHAR)
###human: what is the position when the pick is higher than 33 and the school is tottenville hs (staten island, ny)?
###assistant: SELECT position FROM table_name_16 WHERE pick > 33 AND school = "tottenville hs (staten island, ny)" |
###context:CREATE TABLE table_name_99 (attendance INTEGER, week VARCHAR)
###human: What is the Attendance of the game in Week 12?
###assistant: SELECT MAX(attendance) FROM table_name_99 WHERE week = 12 |
###context:CREATE TABLE table_name_25 (opponent VARCHAR, date VARCHAR)
###human: What is the Opponent on December 3, 1979?
###assistant: SELECT opponent FROM table_name_25 WHERE date = "december 3, 1979" |
###context:CREATE TABLE table_name_62 (result VARCHAR, opponent VARCHAR)
###human: What is the Result of the game against Philadelphia Eagles?
###assistant: SELECT result FROM table_name_62 WHERE opponent = "philadelphia eagles" |
###context:CREATE TABLE table_name_55 (score VARCHAR, date VARCHAR)
###human: What is the score March 27?
###assistant: SELECT score FROM table_name_55 WHERE date = "march 27" |
###context:CREATE TABLE table_name_77 (score VARCHAR, game VARCHAR, series VARCHAR)
###human: What is the score for the game larger than 4 in series 3-2?
###assistant: SELECT score FROM table_name_77 WHERE game > 4 AND series = "3-2" |
###context:CREATE TABLE table_name_56 (game VARCHAR, series VARCHAR)
###human: What is the game number for series 4-2?
###assistant: SELECT COUNT(game) FROM table_name_56 WHERE series = "4-2" |
###context:CREATE TABLE table_name_73 (date VARCHAR, game VARCHAR, score VARCHAR)
###human: What date has a game smaller than 4, and a score of 116-114?
###assistant: SELECT date FROM table_name_73 WHERE game < 4 AND score = "116-114" |
###context:CREATE TABLE table_name_43 (game VARCHAR, date VARCHAR)
###human: What is the game number on April 7?
###assistant: SELECT COUNT(game) FROM table_name_43 WHERE date = "april 7" |
###context:CREATE TABLE table_name_34 (opposing_team VARCHAR, against VARCHAR, date VARCHAR)
###human: Which Opposing Team has an Against smaller than 19, and a Date of 20/05/1979?
###assistant: SELECT opposing_team FROM table_name_34 WHERE against < 19 AND date = "20/05/1979" |
###context:CREATE TABLE table_name_76 (production_number VARCHAR, title VARCHAR)
###human: What was the production number of the episode titel of pre-hysterical hare?
###assistant: SELECT COUNT(production_number) FROM table_name_76 WHERE title = "pre-hysterical hare" |
###context:CREATE TABLE table_name_27 (director VARCHAR, production_number VARCHAR)
###human: What director had a production number of 1490?
###assistant: SELECT director FROM table_name_27 WHERE production_number = 1490 |
###context:CREATE TABLE table_name_56 (title VARCHAR, director VARCHAR, release_date VARCHAR)
###human: Which title was directed by chuck jones and released on 1958-04-12?
###assistant: SELECT title FROM table_name_56 WHERE director = "chuck jones" AND release_date = "1958-04-12" |
###context:CREATE TABLE table_name_96 (name VARCHAR, nationality VARCHAR, rank VARCHAR, time VARCHAR, lane VARCHAR)
###human: Which Name has a Time larger than 53.06, and a Lane smaller than 8, and a Rank larger than 2, and a Nationality of japan?
###assistant: SELECT name FROM table_name_96 WHERE time > 53.06 AND lane < 8 AND rank > 2 AND nationality = "japan" |
###context:CREATE TABLE table_name_32 (lane INTEGER, time VARCHAR, rank VARCHAR)
###human: How many lanes have a Time of 53.61, and a Rank larger than 3?
###assistant: SELECT SUM(lane) FROM table_name_32 WHERE time = 53.61 AND rank > 3 |
###context:CREATE TABLE table_name_64 (finish_position VARCHAR, year INTEGER)
###human: What is the finish position in the year prior to 2009?
###assistant: SELECT finish_position FROM table_name_64 WHERE year < 2009 |
###context:CREATE TABLE table_name_88 (_number___county VARCHAR, location VARCHAR)
###human: Which #/ County has a Location of ossian?
###assistant: SELECT _number___county FROM table_name_88 WHERE location = "ossian" |
###context:CREATE TABLE table_name_79 (enrollment VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR)
###human: How much Enrollment has an IHSAA Class of aaaaa, and a Mascot of spartans?
###assistant: SELECT COUNT(enrollment) FROM table_name_79 WHERE ihsaa_class = "aaaaa" AND mascot = "spartans" |
###context:CREATE TABLE table_name_5 (enrollment INTEGER, school VARCHAR)
###human: How much Enrollment has a School of fort wayne homestead?
###assistant: SELECT SUM(enrollment) FROM table_name_5 WHERE school = "fort wayne homestead" |
###context:CREATE TABLE table_name_49 (ihsaa_class VARCHAR, location VARCHAR)
###human: Which IHSAA Class has a Location of columbia city?
###assistant: SELECT ihsaa_class FROM table_name_49 WHERE location = "columbia city" |
###context:CREATE TABLE table_name_78 (opponent VARCHAR, score VARCHAR)
###human: Who was the opponent at the game with a score of 111-106?
###assistant: SELECT opponent FROM table_name_78 WHERE score = "111-106" |
###context:CREATE TABLE table_name_13 (location_attendance VARCHAR, score VARCHAR)
###human: What was the location of the game with a score of 113-106?
###assistant: SELECT location_attendance FROM table_name_13 WHERE score = "113-106" |
###context:CREATE TABLE table_name_52 (pick INTEGER, team VARCHAR)
###human: What is the highest pick number for a pick drafted by the denver broncos?
###assistant: SELECT MAX(pick) FROM table_name_52 WHERE team = "denver broncos" |
###context:CREATE TABLE table_name_83 (opponent VARCHAR, result VARCHAR)
###human: What opponent has l 27-7 as the result?
###assistant: SELECT opponent FROM table_name_83 WHERE result = "l 27-7" |
###context:CREATE TABLE table_name_87 (week VARCHAR, attendance VARCHAR)
###human: How many weeks has 54,187 as the attendance?
###assistant: SELECT COUNT(week) FROM table_name_87 WHERE attendance = 54 OFFSET 187 |
###context:CREATE TABLE table_name_96 (tournament VARCHAR, opponent VARCHAR, score VARCHAR)
###human: What tournament had Alberta Brianti as an opponent with a score of 6-4 2-6 6-2?
###assistant: SELECT tournament FROM table_name_96 WHERE opponent = "alberta brianti" AND score = "6-4 2-6 6-2" |
###context:CREATE TABLE table_name_3 (date VARCHAR, score VARCHAR)
###human: When was the score 3-6 4-6?
###assistant: SELECT date FROM table_name_3 WHERE score = "3-6 4-6" |
###context:CREATE TABLE table_name_36 (rank INTEGER, time VARCHAR, lane VARCHAR)
###human: What is the Rank of the Swimmer with a Time of 2:25.65 in a Lane larger than 3?
###assistant: SELECT AVG(rank) FROM table_name_36 WHERE time = "2:25.65" AND lane > 3 |
###context:CREATE TABLE table_name_52 (rank VARCHAR, name VARCHAR)
###human: What is the Rank of Qi Hui?
###assistant: SELECT COUNT(rank) FROM table_name_52 WHERE name = "qi hui" |
###context:CREATE TABLE table_name_84 (forfeits VARCHAR, wins VARCHAR, losses VARCHAR)
###human: How many Forfeits have Wins smaller than 8, and Losses larger than 16?
###assistant: SELECT COUNT(forfeits) FROM table_name_84 WHERE wins < 8 AND losses > 16 |
###context:CREATE TABLE table_name_13 (losses VARCHAR, millewa VARCHAR)
###human: How many Losses have a Millewa of nangiloc?
###assistant: SELECT COUNT(losses) FROM table_name_13 WHERE millewa = "nangiloc" |
###context:CREATE TABLE table_name_58 (losses INTEGER, draws INTEGER)
###human: How many Losses have Draws larger than 0?
###assistant: SELECT MAX(losses) FROM table_name_58 WHERE draws > 0 |
###context:CREATE TABLE table_name_46 (rank INTEGER, name VARCHAR, lane VARCHAR)
###human: What is the average rank of Elise Matthysen in lanes under 8?
###assistant: SELECT AVG(rank) FROM table_name_46 WHERE name = "elise matthysen" AND lane < 8 |
###context:CREATE TABLE table_name_53 (time VARCHAR, name VARCHAR)
###human: What is the time of Yuliya Yefimova?
###assistant: SELECT time FROM table_name_53 WHERE name = "yuliya yefimova" |
###context:CREATE TABLE table_name_1 (name VARCHAR, lane VARCHAR, nationality VARCHAR)
###human: Who was from Great Britain in lanes under number 3?
###assistant: SELECT name FROM table_name_1 WHERE lane < 3 AND nationality = "great britain" |
###context:CREATE TABLE table_name_1 (wheel_arrangement VARCHAR, year_made VARCHAR)
###human: What wheel arrangement was made in 1910?
###assistant: SELECT wheel_arrangement FROM table_name_1 WHERE year_made = "1910" |
###context:CREATE TABLE table_name_32 (year_s__retired VARCHAR, serial_numbers VARCHAR)
###human: What year were the retired serial numbers 27317β27336?
###assistant: SELECT year_s__retired FROM table_name_32 WHERE serial_numbers = "27317β27336" |
###context:CREATE TABLE table_name_16 (surface VARCHAR, score VARCHAR)
###human: Which Surface has a score of 7-5, 5-7, 6-3?
###assistant: SELECT surface FROM table_name_16 WHERE score = "7-5, 5-7, 6-3" |
###context:CREATE TABLE table_name_30 (tournament VARCHAR, score VARCHAR)
###human: Which tournament has a Score of 6-4, 6-4?
###assistant: SELECT tournament FROM table_name_30 WHERE score = "6-4, 6-4" |
###context:CREATE TABLE table_name_41 (surface VARCHAR, date VARCHAR)
###human: What was the Surface on during 10 November 2006?
###assistant: SELECT surface FROM table_name_41 WHERE date = "10 november 2006" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.