training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_99 (date VARCHAR, winner VARCHAR, season VARCHAR)
###human: What is the date for the winner Universitario after the 1943 season?
###assistant: SELECT date FROM table_name_99 WHERE winner = "universitario" AND season > 1943 |
###context:CREATE TABLE table_name_75 (competition_round_ VARCHAR, d_ VARCHAR, season VARCHAR, winner VARCHAR)
###human: What is the competition before the 1930 season, and a winning draw?
###assistant: SELECT competition_round_[d_] FROM table_name_75 WHERE season < 1930 AND winner = "draw" |
###context:CREATE TABLE table_name_36 (co_driver VARCHAR, position VARCHAR, laps VARCHAR)
###human: Who is the co-driver for the 6th position and more than 159 laps?
###assistant: SELECT co_driver FROM table_name_36 WHERE position = "6th" AND laps > 159 |
###context:CREATE TABLE table_name_83 (location VARCHAR, rank VARCHAR, floors VARCHAR)
###human: Which location has 13 floors and a rank greater than 12?
###assistant: SELECT location FROM table_name_83 WHERE rank > 12 AND floors = 13 |
###context:CREATE TABLE table_name_58 (visitor VARCHAR, date VARCHAR)
###human: What is the Visitor on January 1?
###assistant: SELECT visitor FROM table_name_58 WHERE date = "january 1" |
###context:CREATE TABLE table_name_63 (record VARCHAR, date VARCHAR, score VARCHAR, visitor VARCHAR)
###human: What is the Record of the Game on January 20 with Visitor Toronto Maple Leafs with a Score of 3–1?
###assistant: SELECT record FROM table_name_63 WHERE score = "3–1" AND visitor = "toronto maple leafs" AND date = "january 20" |
###context:CREATE TABLE table_name_75 (record VARCHAR, score VARCHAR, date VARCHAR)
###human: What is the Record of the game on November 24 with a Score of 6–2?
###assistant: SELECT record FROM table_name_75 WHERE score = "6–2" AND date = "november 24" |
###context:CREATE TABLE table_name_32 (record VARCHAR, date VARCHAR, score VARCHAR, visitor VARCHAR)
###human: What is the Record of the game on November 15 against Visitor Chicago Black Hawks with a Score of 1–3?
###assistant: SELECT record FROM table_name_32 WHERE score = "1–3" AND visitor = "chicago black hawks" AND date = "november 15" |
###context:CREATE TABLE table_name_70 (date VARCHAR, score VARCHAR, record VARCHAR)
###human: What is the Date of the game with a Score of 3–1 and Record of 1–1–0?
###assistant: SELECT date FROM table_name_70 WHERE score = "3–1" AND record = "1–1–0" |
###context:CREATE TABLE table_name_33 (visitor VARCHAR, date VARCHAR)
###human: What is the Visitor of the game on January 24?
###assistant: SELECT visitor FROM table_name_33 WHERE date = "january 24" |
###context:CREATE TABLE table_name_54 (record VARCHAR, game VARCHAR)
###human: What is Record, when Game is 27?
###assistant: SELECT record FROM table_name_54 WHERE game = 27 |
###context:CREATE TABLE table_name_61 (team VARCHAR, high_rebounds VARCHAR)
###human: What is Team, when High Rebounds is David Lee (15)?
###assistant: SELECT team FROM table_name_61 WHERE high_rebounds = "david lee (15)" |
###context:CREATE TABLE table_name_32 (record VARCHAR, location_attendance VARCHAR)
###human: What is Record, when Location Attendance, is Madison Square Garden 19,009?
###assistant: SELECT record FROM table_name_32 WHERE location_attendance = "madison square garden 19,009" |
###context:CREATE TABLE table_name_48 (weeks_on_top VARCHAR, artist VARCHAR)
###human: How many weeks on top was OMC?
###assistant: SELECT weeks_on_top FROM table_name_48 WHERE artist = "omc" |
###context:CREATE TABLE table_name_7 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR)
###human: What's the volume:issue of Sheryl Crow with 3 weeks on top?
###assistant: SELECT volume AS :issue FROM table_name_7 WHERE weeks_on_top = "3" AND artist = "sheryl crow" |
###context:CREATE TABLE table_name_14 (coverage__transmitter_site_ VARCHAR, power__kw_ VARCHAR, callsign VARCHAR)
###human: What is Coverage (Transmitter Site), when Power (kW) is "10kW", and when Callsign is "DYFX-TV"?
###assistant: SELECT coverage__transmitter_site_ FROM table_name_14 WHERE power__kw_ = "10kw" AND callsign = "dyfx-tv" |
###context:CREATE TABLE table_name_69 (coverage__transmitter_site_ VARCHAR, power__kw_ VARCHAR, callsign VARCHAR)
###human: What is Coverage (Transmitter Site), when Power (kW) is "10kW", and when Callsign is "DYFX-TV"?
###assistant: SELECT coverage__transmitter_site_ FROM table_name_69 WHERE power__kw_ = "10kw" AND callsign = "dyfx-tv" |
###context:CREATE TABLE table_name_73 (branding VARCHAR, callsign VARCHAR)
###human: What is Branding, when Callsign is "DXED-TV"?
###assistant: SELECT branding FROM table_name_73 WHERE callsign = "dxed-tv" |
###context:CREATE TABLE table_name_12 (power__kw_ VARCHAR, coverage__transmitter_site_ VARCHAR)
###human: What is Power (kW), when Coverage (Transmitter Site) is "Lucena"?
###assistant: SELECT power__kw_ FROM table_name_12 WHERE coverage__transmitter_site_ = "lucena" |
###context:CREATE TABLE table_name_95 (year INTEGER, round VARCHAR, winner VARCHAR)
###human: What year did Ivanovic win with Ivanovic greater than 4 and round of R16?
###assistant: SELECT SUM(year) FROM table_name_95 WHERE winner = "ivanovic" AND "ivanovic" > 4 AND round = "r16" |
###context:CREATE TABLE table_name_68 (jankovic INTEGER, round VARCHAR, tournament VARCHAR)
###human: What is the highest result for Jankovic at Indian Wells and round of SF?
###assistant: SELECT MAX(jankovic) FROM table_name_68 WHERE round = "sf" AND tournament = "indian wells" |
###context:CREATE TABLE table_name_55 (location_attendance VARCHAR, high_assists VARCHAR)
###human: Where did Ben Gordon (8) have the high assists?
###assistant: SELECT location_attendance FROM table_name_55 WHERE high_assists = "ben gordon (8)" |
###context:CREATE TABLE table_name_42 (high_points VARCHAR, location_attendance VARCHAR)
###human: Who had the high points at the United Center 20,389?
###assistant: SELECT high_points FROM table_name_42 WHERE location_attendance = "united center 20,389" |
###context:CREATE TABLE table_name_1 (location_attendance VARCHAR, team VARCHAR)
###human: Where was the location attendance when Minnesota played?
###assistant: SELECT location_attendance FROM table_name_1 WHERE team = "minnesota" |
###context:CREATE TABLE table_name_20 (date VARCHAR, high_assists VARCHAR)
###human: What date did Ben Gordon (8) have high assists?
###assistant: SELECT date FROM table_name_20 WHERE high_assists = "ben gordon (8)" |
###context:CREATE TABLE table_name_82 (team VARCHAR, start VARCHAR, finish VARCHAR)
###human: What team had a finish of 25 in a smaller than 28?
###assistant: SELECT team FROM table_name_82 WHERE start < 28 AND finish = 25 |
###context:CREATE TABLE table_name_61 (finish INTEGER, start VARCHAR)
###human: For any races with a start of 14 what was the lowest finish?
###assistant: SELECT MIN(finish) FROM table_name_61 WHERE start = 14 |
###context:CREATE TABLE table_name_22 (transfer_fee VARCHAR, name VARCHAR)
###human: What is the transfer fee for Jimmy Gibson?
###assistant: SELECT transfer_fee FROM table_name_22 WHERE name = "jimmy gibson" |
###context:CREATE TABLE table_name_30 (silver INTEGER, rank VARCHAR)
###human: What is the sum of silver medals won for rank 7?
###assistant: SELECT SUM(silver) FROM table_name_30 WHERE rank = "7" |
###context:CREATE TABLE table_name_95 (agg VARCHAR, team_1 VARCHAR)
###human: Goldfields Obuasi Team 1 has what Agg. totals ?
###assistant: SELECT agg FROM table_name_95 WHERE team_1 = "goldfields obuasi" |
###context:CREATE TABLE table_name_36 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR)
###human: Which Inhabitants has a Party of south tyrolean people's party, a Municipality of bruneck, and an Election larger than 2010?
###assistant: SELECT AVG(inhabitants) FROM table_name_36 WHERE party = "south tyrolean people's party" AND municipality = "bruneck" AND election > 2010 |
###context:CREATE TABLE table_name_35 (election INTEGER, municipality VARCHAR, inhabitants VARCHAR)
###human: Which Election has a Municipality of laives, and Inhabitants smaller than 17,197?
###assistant: SELECT AVG(election) FROM table_name_35 WHERE municipality = "laives" AND inhabitants < 17 OFFSET 197 |
###context:CREATE TABLE table_name_35 (week INTEGER, result VARCHAR)
###human: What is the number week with a result of w 40–62?
###assistant: SELECT SUM(week) FROM table_name_35 WHERE result = "w 40–62" |
###context:CREATE TABLE table_name_79 (game_site VARCHAR, week VARCHAR)
###human: What was the game site week 15?
###assistant: SELECT game_site FROM table_name_79 WHERE week = 15 |
###context:CREATE TABLE table_name_5 (record VARCHAR, result VARCHAR)
###human: What is the record when the result was w 52–43?
###assistant: SELECT record FROM table_name_5 WHERE result = "w 52–43" |
###context:CREATE TABLE table_name_69 (week INTEGER, game_site VARCHAR, result VARCHAR)
###human: What is the highest week when the game site was Verizon Wireless Arena, and the result was w 59–42?
###assistant: SELECT MAX(week) FROM table_name_69 WHERE game_site = "verizon wireless arena" AND result = "w 59–42" |
###context:CREATE TABLE table_name_98 (opponent VARCHAR, date VARCHAR)
###human: What is the opponent on May 25, 2007?
###assistant: SELECT opponent FROM table_name_98 WHERE date = "may 25, 2007" |
###context:CREATE TABLE table_name_94 (opponent VARCHAR, record VARCHAR)
###human: What team was the opponent with a record of 5–0?
###assistant: SELECT opponent FROM table_name_94 WHERE record = "5–0" |
###context:CREATE TABLE table_name_37 (date VARCHAR, away_team VARCHAR)
###human: What date was the away team from Adelaide?
###assistant: SELECT date FROM table_name_37 WHERE away_team = "adelaide" |
###context:CREATE TABLE table_name_62 (date VARCHAR, ground VARCHAR)
###human: What date was the Colonial Stadium?
###assistant: SELECT date FROM table_name_62 WHERE ground = "colonial stadium" |
###context:CREATE TABLE table_name_98 (crowd INTEGER, ground VARCHAR)
###human: What was the total crowd attendance at Westpac Stadium?
###assistant: SELECT SUM(crowd) FROM table_name_98 WHERE ground = "westpac stadium" |
###context:CREATE TABLE table_name_13 (attendance VARCHAR, away_team VARCHAR)
###human: What is the attendance of the match with maidsone united as the away team?
###assistant: SELECT attendance FROM table_name_13 WHERE away_team = "maidsone united" |
###context:CREATE TABLE table_name_73 (attendance VARCHAR, tie_no VARCHAR)
###human: What is the attendance with a 45 tie no.?
###assistant: SELECT attendance FROM table_name_73 WHERE tie_no = "45" |
###context:CREATE TABLE table_name_74 (february VARCHAR, opponent VARCHAR)
###human: What is February, when Opponent is "Montreal Canadiens"?
###assistant: SELECT february FROM table_name_74 WHERE opponent = "montreal canadiens" |
###context:CREATE TABLE table_name_46 (february VARCHAR, record VARCHAR)
###human: What is February, when Record is "21-29-11"?
###assistant: SELECT february FROM table_name_46 WHERE record = "21-29-11" |
###context:CREATE TABLE table_name_54 (february INTEGER, record VARCHAR, game VARCHAR)
###human: What is the lowest February, when Record is "21-30-11", and when Game is greater than 62?
###assistant: SELECT MIN(february) FROM table_name_54 WHERE record = "21-30-11" AND game > 62 |
###context:CREATE TABLE table_name_25 (score VARCHAR, opponent VARCHAR, game VARCHAR, february VARCHAR)
###human: What is Score, when Game is less than 61, when February is less than 11, and when Opponent is "@ Buffalo Sabres"?
###assistant: SELECT score FROM table_name_25 WHERE game < 61 AND february < 11 AND opponent = "@ buffalo sabres" |
###context:CREATE TABLE table_name_92 (game INTEGER, record VARCHAR)
###human: What is the highest Game, when Record is "21-30-11"?
###assistant: SELECT MAX(game) FROM table_name_92 WHERE record = "21-30-11" |
###context:CREATE TABLE table_name_16 (high_rebounds VARCHAR, game VARCHAR, team VARCHAR)
###human: Who had the most rebounds in the game against Phoenix with a number over 76?
###assistant: SELECT high_rebounds FROM table_name_16 WHERE game > 76 AND team = "phoenix" |
###context:CREATE TABLE table_name_43 (years VARCHAR, jersey_number_s_ VARCHAR)
###human: What is Years, when Jersey Number(s) is 5?
###assistant: SELECT years FROM table_name_43 WHERE jersey_number_s_ = "5" |
###context:CREATE TABLE table_name_54 (position VARCHAR, player VARCHAR)
###human: What is Position when Player is Drew Barry Category:Articles With hCards?
###assistant: SELECT position FROM table_name_54 WHERE player = "drew barry category:articles with hcards" |
###context:CREATE TABLE table_name_97 (years VARCHAR, jersey_number_s_ VARCHAR, position VARCHAR)
###human: What is Years, when Jersey Number(s) is 21, and when Position is SG?
###assistant: SELECT years FROM table_name_97 WHERE jersey_number_s_ = "21" AND position = "sg" |
###context:CREATE TABLE table_name_50 (position VARCHAR, player VARCHAR, nationality VARCHAR, jersey_number_s_ VARCHAR)
###human: What is Postition, when Nationality is United States, when Jersey Number(s) is 12, and when Player is Tom Black Category:Articles With hCards?
###assistant: SELECT position FROM table_name_50 WHERE nationality = "united states" AND jersey_number_s_ = "12" AND player = "tom black category:articles with hcards" |
###context:CREATE TABLE table_name_76 (club VARCHAR, founded VARCHAR, league VARCHAR)
###human: Which Club has a Founded smaller than 1882, and a League of fa premier league?
###assistant: SELECT club FROM table_name_76 WHERE founded < 1882 AND league = "fa premier league" |
###context:CREATE TABLE table_name_99 (venue VARCHAR, club VARCHAR)
###human: Which Venue has a Club of west bromwich albion?
###assistant: SELECT venue FROM table_name_99 WHERE club = "west bromwich albion" |
###context:CREATE TABLE table_name_71 (sport VARCHAR, founded VARCHAR, club VARCHAR)
###human: Which Sport has a Founded larger than 1874 and a Club of birmingham city?
###assistant: SELECT sport FROM table_name_71 WHERE founded > 1874 AND club = "birmingham city" |
###context:CREATE TABLE table_name_48 (league VARCHAR, venue VARCHAR)
###human: What kind of League has a Venue of billesley common?
###assistant: SELECT league FROM table_name_48 WHERE venue = "billesley common" |
###context:CREATE TABLE table_name_5 (founded INTEGER, venue VARCHAR)
###human: COunt the Founded which has a Venue of villa park?
###assistant: SELECT SUM(founded) FROM table_name_5 WHERE venue = "villa park" |
###context:CREATE TABLE table_name_73 (club VARCHAR, founded VARCHAR, sport VARCHAR)
###human: Name the Club which has a Founded larger than 1875, and a Sport of football?
###assistant: SELECT club FROM table_name_73 WHERE founded > 1875 AND sport = "football" |
###context:CREATE TABLE table_name_54 (score VARCHAR, place VARCHAR, player VARCHAR)
###human: What score did Seve Ballesteros have when he was in T3 place?
###assistant: SELECT score FROM table_name_54 WHERE place = "t3" AND player = "seve ballesteros" |
###context:CREATE TABLE table_name_43 (money___$__ VARCHAR, player VARCHAR)
###human: What was the money value for Jerry Pate?
###assistant: SELECT money___$__ FROM table_name_43 WHERE player = "jerry pate" |
###context:CREATE TABLE table_name_54 (country VARCHAR, player VARCHAR)
###human: What country is Curtis Strange from?
###assistant: SELECT country FROM table_name_54 WHERE player = "curtis strange" |
###context:CREATE TABLE table_name_91 (player VARCHAR, score VARCHAR)
###human: Who had a score of 77-69-70-71=287?
###assistant: SELECT player FROM table_name_91 WHERE score = 77 - 69 - 70 - 71 = 287 |
###context:CREATE TABLE table_name_71 (to_par VARCHAR, player VARCHAR)
###human: What was Tom Kite's to par?
###assistant: SELECT to_par FROM table_name_71 WHERE player = "tom kite" |
###context:CREATE TABLE table_name_99 (date VARCHAR, home VARCHAR)
###human: What is the date for the game where Platense was the home side?
###assistant: SELECT date FROM table_name_99 WHERE home = "platense" |
###context:CREATE TABLE table_name_30 (date VARCHAR, attendance VARCHAR, score VARCHAR)
###human: On what date was the game with fewer than 6650 in attendance, that finished 0:1?
###assistant: SELECT date FROM table_name_30 WHERE attendance < 6650 AND score = "0:1" |
###context:CREATE TABLE table_name_28 (home VARCHAR, attendance VARCHAR, away VARCHAR)
###human: Who was the home team in the game with more than 1675, and Olimpia was the away side?
###assistant: SELECT home FROM table_name_28 WHERE attendance > 1675 AND away = "olimpia" |
###context:CREATE TABLE table_name_47 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)
###human: What was the total Attendance in weeks previous of 5, playing the Seattle Seahawks?
###assistant: SELECT COUNT(attendance) FROM table_name_47 WHERE week < 5 AND opponent = "seattle seahawks" |
###context:CREATE TABLE table_name_75 (head_coach VARCHAR, shirt_sponsor VARCHAR)
###human: Who is the head coach for the team that has finke as the shirt sponsor?
###assistant: SELECT head_coach FROM table_name_75 WHERE shirt_sponsor = "finke" |
###context:CREATE TABLE table_name_11 (team VARCHAR)
###human: Who was the team captain of tus koblenz?
###assistant: SELECT team AS captain FROM table_name_11 WHERE team = "tus koblenz" |
###context:CREATE TABLE table_name_48 (shirt_sponsor VARCHAR, kitmaker VARCHAR, head_coach VARCHAR)
###human: Who is the shirt sponsor for the team with a head coach of andre schubert and a kitmaker of puma?
###assistant: SELECT shirt_sponsor FROM table_name_48 WHERE kitmaker = "puma" AND head_coach = "andre schubert" |
###context:CREATE TABLE table_name_41 (team VARCHAR, shirt_sponsor VARCHAR)
###human: Who is the team captain for the team with sparkasse (düsseldorf) as the shirt sponsor?
###assistant: SELECT team AS captain FROM table_name_41 WHERE shirt_sponsor = "sparkasse (düsseldorf)" |
###context:CREATE TABLE table_name_94 (head_coach VARCHAR, team VARCHAR)
###human: Who is the head coach for the team, arminia bielefeld?
###assistant: SELECT head_coach FROM table_name_94 WHERE team = "arminia bielefeld" |
###context:CREATE TABLE table_name_61 (result VARCHAR, attendance VARCHAR)
###human: What is the result of the game with 77,698 in attendance?
###assistant: SELECT result FROM table_name_61 WHERE attendance = "77,698" |
###context:CREATE TABLE table_name_60 (venue VARCHAR, result VARCHAR)
###human: What is the Venue when the result was 2-1?
###assistant: SELECT venue FROM table_name_60 WHERE result = "2-1" |
###context:CREATE TABLE table_name_64 (venue VARCHAR, round VARCHAR)
###human: What is the venue when the Round shows after extra time, chelsea won on 4-1 on penalties?
###assistant: SELECT venue FROM table_name_64 WHERE round = "after extra time, chelsea won on 4-1 on penalties" |
###context:CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR)
###human: What was the attendance when the result was 1-1?
###assistant: SELECT attendance FROM table_name_12 WHERE result = "1-1" |
###context:CREATE TABLE table_name_99 (version VARCHAR, format VARCHAR)
###human: What is the Version of the CD release?
###assistant: SELECT version FROM table_name_99 WHERE format = "cd" |
###context:CREATE TABLE table_name_40 (label VARCHAR, format VARCHAR, version VARCHAR)
###human: What is the Label of the Original CD release?
###assistant: SELECT label FROM table_name_40 WHERE format = "cd" AND version = "original" |
###context:CREATE TABLE table_name_82 (version VARCHAR, region VARCHAR, format VARCHAR, date VARCHAR)
###human: What is the Version of the CD release on June 12, 2008 in Cyprus?
###assistant: SELECT version FROM table_name_82 WHERE format = "cd" AND date = "june 12, 2008" AND region = "cyprus" |
###context:CREATE TABLE table_name_2 (region VARCHAR, date VARCHAR)
###human: What is the Region of the release on December 22, 2008?
###assistant: SELECT region FROM table_name_2 WHERE date = "december 22, 2008" |
###context:CREATE TABLE table_name_62 (label VARCHAR, date VARCHAR, region VARCHAR)
###human: What is the Label of the release on June 12, 2008 in Cyprus?
###assistant: SELECT label FROM table_name_62 WHERE date = "june 12, 2008" AND region = "cyprus" |
###context:CREATE TABLE table_name_16 (format VARCHAR, region VARCHAR)
###human: What is the Format of the release in Greece?
###assistant: SELECT format FROM table_name_16 WHERE region = "greece" |
###context:CREATE TABLE table_name_4 (tonnage VARCHAR, date VARCHAR)
###human: What is the total number of Tonnage, when Date is "25 June 1943"?
###assistant: SELECT COUNT(tonnage) FROM table_name_4 WHERE date = "25 june 1943" |
###context:CREATE TABLE table_name_39 (ship VARCHAR, tonnage VARCHAR, nationality VARCHAR, date VARCHAR)
###human: What is Ship, when Nationality is "Syria", and when Date is "26 June 1943", and when Tonnage is "80"?
###assistant: SELECT ship FROM table_name_39 WHERE nationality = "syria" AND date = "26 june 1943" AND tonnage = 80 |
###context:CREATE TABLE table_name_99 (record VARCHAR, result VARCHAR, attendance VARCHAR)
###human: What is the record of the game that resulted in a loss with more than 56,648 people in attendance?
###assistant: SELECT record FROM table_name_99 WHERE result = "loss" AND attendance > 56 OFFSET 648 |
###context:CREATE TABLE table_name_35 (enrollment VARCHAR, university VARCHAR)
###human: What was the university of akron's enrollment?
###assistant: SELECT enrollment FROM table_name_35 WHERE university = "university of akron" |
###context:CREATE TABLE table_name_86 (athletics_nickname VARCHAR, founded VARCHAR)
###human: Which athletics nickname was founded in 1872?
###assistant: SELECT athletics_nickname FROM table_name_86 WHERE founded = "1872" |
###context:CREATE TABLE table_name_76 (Took VARCHAR, location VARCHAR, type VARCHAR)
###human: What date did the executive office in Dover take office?
###assistant: SELECT Took AS office FROM table_name_76 WHERE location = "dover" AND type = "executive" |
###context:CREATE TABLE table_name_94 (Left VARCHAR, location VARCHAR)
###human: What left office date happened in Washington?
###assistant: SELECT Left AS office FROM table_name_94 WHERE location = "washington" |
###context:CREATE TABLE table_name_65 (team_2 VARCHAR)
###human: What is the 2nd Leg, when Team 2 is Marbella?
###assistant: SELECT 2 AS nd_leg FROM table_name_65 WHERE team_2 = "marbella" |
###context:CREATE TABLE table_name_22 (result_f___a VARCHAR, round VARCHAR)
###human: What was the result F-A for round 5?
###assistant: SELECT result_f___a FROM table_name_22 WHERE round = "round 5" |
###context:CREATE TABLE table_name_59 (played INTEGER, position VARCHAR, lost VARCHAR, name VARCHAR)
###human: What is the most elevated Played that has a Lost smaller than 12, and a Name of ec amberg (n), and a Position smaller than 4?
###assistant: SELECT MAX(played) FROM table_name_59 WHERE lost < 12 AND name = "ec amberg (n)" AND position < 4 |
###context:CREATE TABLE table_name_63 (lost INTEGER, name VARCHAR, position VARCHAR)
###human: What is the average Lost that has a Name of ec amberg (n), and a Position smaller than 4?
###assistant: SELECT AVG(lost) FROM table_name_63 WHERE name = "ec amberg (n)" AND position < 4 |
###context:CREATE TABLE table_name_14 (points INTEGER, drawn INTEGER)
###human: What is the whole of Points that has a Drawn smaller than 1?
###assistant: SELECT SUM(points) FROM table_name_14 WHERE drawn < 1 |
###context:CREATE TABLE table_name_33 (drawn INTEGER, lost VARCHAR)
###human: What is the whole of Drawn that has a Lost of 4?
###assistant: SELECT SUM(drawn) FROM table_name_33 WHERE lost = 4 |
###context:CREATE TABLE table_name_42 (drawn INTEGER, played INTEGER)
###human: What is the whole of Drawn that has a Played larger than 14?
###assistant: SELECT SUM(drawn) FROM table_name_42 WHERE played > 14 |
###context:CREATE TABLE table_name_75 (result VARCHAR, date VARCHAR)
###human: What was the result of the game on April 28?
###assistant: SELECT result FROM table_name_75 WHERE date = "april 28" |
###context:CREATE TABLE table_name_36 (home_team VARCHAR, road_team VARCHAR, date VARCHAR)
###human: Who was the home team on April 20 against Boston?
###assistant: SELECT home_team FROM table_name_36 WHERE road_team = "boston" AND date = "april 20" |
###context:CREATE TABLE table_name_42 (result VARCHAR, game VARCHAR)
###human: What was the result of game 3?
###assistant: SELECT result FROM table_name_42 WHERE game = "game 3" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.