training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_38 (points VARCHAR, goals VARCHAR, games VARCHAR) ###human: What are the points in the season with 47 games and 28 goals? ###assistant: SELECT points FROM table_name_38 WHERE goals = "28" AND games = "47"
###context:CREATE TABLE table_name_29 (goals VARCHAR, games VARCHAR) ###human: How many goals were there in game 47? ###assistant: SELECT goals FROM table_name_29 WHERE games = "47"
###context:CREATE TABLE table_name_79 (snatch INTEGER, total__kg_ INTEGER) ###human: How much Snatch has a Total (kg) smaller than 257? ###assistant: SELECT SUM(snatch) FROM table_name_79 WHERE total__kg_ < 257
###context:CREATE TABLE table_name_25 (snatch INTEGER, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR) ###human: Which Snatch has a Clean & Jerk of 180, and a Bodyweight smaller than 69.83? ###assistant: SELECT MIN(snatch) FROM table_name_25 WHERE clean_ & _jerk = 180 AND bodyweight < 69.83
###context:CREATE TABLE table_name_41 (military_deaths VARCHAR, military_and_or_civilian_wounded VARCHAR, total_deaths VARCHAR) ###human: What is the total number of military deaths when there are 78 military and/or civilian wounded and more than 27 total deaths? ###assistant: SELECT COUNT(military_deaths) FROM table_name_41 WHERE military_and_or_civilian_wounded = "78" AND total_deaths > 27
###context:CREATE TABLE table_name_22 (military_deaths INTEGER, civilian_deaths__including_foreigners_ VARCHAR, military_and_or_civilian_wounded VARCHAR) ###human: What is the average number of military deaths when there are fewer than 38 civilian deaths (including foreigners) and 33 military and/or civilian wounded? ###assistant: SELECT AVG(military_deaths) FROM table_name_22 WHERE civilian_deaths__including_foreigners_ < 38 AND military_and_or_civilian_wounded = "33"
###context:CREATE TABLE table_name_47 (total_casualties VARCHAR, total_deaths VARCHAR, military_deaths VARCHAR) ###human: What is the total number of casualties when there are 12 total deaths and more than 1 military death? ###assistant: SELECT total_casualties FROM table_name_47 WHERE total_deaths = 12 AND military_deaths > 1
###context:CREATE TABLE table_name_13 (total VARCHAR, score_points VARCHAR) ###human: which Total has a Score points of 11? ###assistant: SELECT total FROM table_name_13 WHERE score_points = "11"
###context:CREATE TABLE table_name_27 (total VARCHAR, rank_points VARCHAR) ###human: Which Total has an olympic bronze medalist? ###assistant: SELECT total FROM table_name_27 WHERE rank_points = "olympic bronze medalist"
###context:CREATE TABLE table_name_40 (shooter VARCHAR, score_points VARCHAR) ###human: Which Shooter has Score points of olympic silver medalist? ###assistant: SELECT shooter FROM table_name_40 WHERE score_points = "olympic silver medalist"
###context:CREATE TABLE table_name_75 (rank_points VARCHAR, total VARCHAR, event VARCHAR, score_points VARCHAR) ###human: Name the Rank points which have an Event of wc beijing, and Score points of 13, and a Total of 18? ###assistant: SELECT rank_points FROM table_name_75 WHERE event = "wc beijing" AND score_points = "13" AND total = "18"
###context:CREATE TABLE table_name_91 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) ###human: What is the Film title used in nomination of Cilvēka Bērns? ###assistant: SELECT film_title_used_in_nomination FROM table_name_91 WHERE original_title = "cilvēka bērns"
###context:CREATE TABLE table_name_61 (original_title VARCHAR, year__ceremony_ VARCHAR) ###human: What is the Original Title of the 1992 (65th) Film ###assistant: SELECT original_title FROM table_name_61 WHERE year__ceremony_ = "1992 (65th)"
###context:CREATE TABLE table_name_55 (director VARCHAR, film_title_used_in_nomination VARCHAR) ###human: What is the Director of Gulf Stream Under the Iceberg? ###assistant: SELECT director FROM table_name_55 WHERE film_title_used_in_nomination = "gulf stream under the iceberg"
###context:CREATE TABLE table_name_36 (original_title VARCHAR, director VARCHAR) ###human: What is the Original Title of the movie directed by Aigars Grauba? ###assistant: SELECT original_title FROM table_name_36 WHERE director = "aigars grauba"
###context:CREATE TABLE table_name_55 (british VARCHAR, letter VARCHAR) ###human: What is the British letter with o /oʊ/? ###assistant: SELECT british FROM table_name_55 WHERE letter = "o /oʊ/"
###context:CREATE TABLE table_name_40 (letter VARCHAR, british VARCHAR) ###human: Which letter has the British aɪ? ###assistant: SELECT letter FROM table_name_40 WHERE british = "aɪ"
###context:CREATE TABLE table_name_65 (american VARCHAR, australian VARCHAR) ###human: What does American have if Australia has əʉ? ###assistant: SELECT american FROM table_name_65 WHERE australian = "əʉ"
###context:CREATE TABLE table_name_10 (british VARCHAR, american VARCHAR) ###human: What is the British letter if American is ə? ###assistant: SELECT british FROM table_name_10 WHERE american = "ə"
###context:CREATE TABLE table_name_67 (australian VARCHAR, british VARCHAR, letter VARCHAR) ###human: What is the Australian letter with a British of ɪ and a letter of æ /i/?? ###assistant: SELECT australian FROM table_name_67 WHERE british = "ɪ" AND letter = "æ /i/"
###context:CREATE TABLE table_name_74 (away_team VARCHAR, home_team VARCHAR) ###human: What is sheffield united's away team? ###assistant: SELECT away_team FROM table_name_74 WHERE home_team = "sheffield united"
###context:CREATE TABLE table_name_67 (attendance VARCHAR, away_team VARCHAR) ###human: How many people attended the Away team of middlesbrough? ###assistant: SELECT COUNT(attendance) FROM table_name_67 WHERE away_team = "middlesbrough"
###context:CREATE TABLE table_name_98 (score VARCHAR, away_team VARCHAR) ###human: Which Score has an Away team of middlesbrough? ###assistant: SELECT score FROM table_name_98 WHERE away_team = "middlesbrough"
###context:CREATE TABLE table_name_81 (years_as_tallest VARCHAR, street_address VARCHAR) ###human: WHAT IS THE YEARS AS TALLEST WITH 01.0 10 light street? ###assistant: SELECT years_as_tallest FROM table_name_81 WHERE street_address = "01.0 10 light street"
###context:CREATE TABLE table_name_57 (floors INTEGER, street_address VARCHAR) ###human: WHAT IS THE FLOOR NUMBERS WITH 01.0 10 light street? ###assistant: SELECT SUM(floors) FROM table_name_57 WHERE street_address = "01.0 10 light street"
###context:CREATE TABLE table_name_10 (years_as_tallest VARCHAR, floors VARCHAR, street_address VARCHAR) ###human: WHAT IS THE YEAR'S TALLEST VALUE WITH FLOORS LESS THAN 24, AND 05.0 210 north charles street? ###assistant: SELECT years_as_tallest FROM table_name_10 WHERE floors < 24 AND street_address = "05.0 210 north charles street"
###context:CREATE TABLE table_name_63 (name VARCHAR, street_address VARCHAR) ###human: WHAT IS THE NAME WITH 01.0 10 light street? ###assistant: SELECT name FROM table_name_63 WHERE street_address = "01.0 10 light street"
###context:CREATE TABLE table_name_20 (name VARCHAR, height VARCHAR) ###human: What is the Name of the Player with a Height of m (ft 1in)? ###assistant: SELECT name FROM table_name_20 WHERE height = "m (ft 1in)"
###context:CREATE TABLE table_name_43 (weight VARCHAR, name VARCHAR) ###human: What is Tatyana Gubina's Weight? ###assistant: SELECT weight FROM table_name_43 WHERE name = "tatyana gubina"
###context:CREATE TABLE table_name_86 (pos VARCHAR, name VARCHAR) ###human: What is Alyona Klimenko's Pos.? ###assistant: SELECT pos FROM table_name_86 WHERE name = "alyona klimenko"
###context:CREATE TABLE table_name_23 (third_place VARCHAR, total VARCHAR, rank VARCHAR) ###human: How many third places has a total greater than 2 and a rank less than 2? ###assistant: SELECT third_place FROM table_name_23 WHERE total > 2 AND rank < 2
###context:CREATE TABLE table_name_98 (r_bacon VARCHAR, county VARCHAR) ###human: What is the number for R Bacon in Passaic County? ###assistant: SELECT r_bacon FROM table_name_98 WHERE county = "passaic"
###context:CREATE TABLE table_name_9 (d_shulman VARCHAR, c_abate VARCHAR) ###human: What is the number for D. Shulman if C. Abate has 728 (43%) ###assistant: SELECT d_shulman FROM table_name_9 WHERE c_abate = "728 (43%)"
###context:CREATE TABLE table_name_4 (county VARCHAR, c_abate VARCHAR) ###human: Which county has 728 (43%) listed under C. Abate? ###assistant: SELECT county FROM table_name_4 WHERE c_abate = "728 (43%)"
###context:CREATE TABLE table_name_12 (d_shulman VARCHAR, county VARCHAR) ###human: What are the numbers for D. Shulman in Warren County? ###assistant: SELECT d_shulman FROM table_name_12 WHERE county = "warren"
###context:CREATE TABLE table_name_51 (county VARCHAR, precincts VARCHAR) ###human: Which County has Precincts of 90/90? ###assistant: SELECT county FROM table_name_51 WHERE precincts = "90/90"
###context:CREATE TABLE table_name_92 (county VARCHAR, r_bacon VARCHAR) ###human: Which county has 438 (4%) listed under R. Bacon? ###assistant: SELECT county FROM table_name_92 WHERE r_bacon = "438 (4%)"
###context:CREATE TABLE table_name_57 (format VARCHAR, album VARCHAR, year VARCHAR) ###human: What is the format of the album Pacific Ocean Blue in 1991? ###assistant: SELECT format FROM table_name_57 WHERE album = "pacific ocean blue" AND year = 1991
###context:CREATE TABLE table_name_38 (artist VARCHAR, catalog__number VARCHAR) ###human: Who is the artist with catalog number ZK 34354? ###assistant: SELECT artist FROM table_name_38 WHERE catalog__number = "zk 34354"
###context:CREATE TABLE table_name_19 (height VARCHAR, name VARCHAR) ###human: How tall is player James Stanton? ###assistant: SELECT height FROM table_name_19 WHERE name = "james stanton"
###context:CREATE TABLE table_name_58 (name VARCHAR, club VARCHAR) ###human: Which player is on the roster for the Sydney University Lions? ###assistant: SELECT name FROM table_name_58 WHERE club = "sydney university lions"
###context:CREATE TABLE table_name_63 (height VARCHAR, name VARCHAR) ###human: What is the height of player James Stanton? ###assistant: SELECT height FROM table_name_63 WHERE name = "james stanton"
###context:CREATE TABLE table_name_89 (draft INTEGER, pick VARCHAR, round VARCHAR, nationality VARCHAR) ###human: What is the highest draft after round 2, is from the United States and has picked less than 113? ###assistant: SELECT MAX(draft) FROM table_name_89 WHERE round > 2 AND nationality = "united states" AND pick < 113
###context:CREATE TABLE table_name_45 (draft INTEGER, round VARCHAR, pick VARCHAR, player VARCHAR) ###human: What is the average draft with a pick larger than 42, and player Grant Eakin after round 8? ###assistant: SELECT AVG(draft) FROM table_name_45 WHERE pick > 42 AND player = "grant eakin" AND round > 8
###context:CREATE TABLE table_name_9 (venue VARCHAR, competition VARCHAR) ###human: What venue was the 2000 AFC Asian Cup qualification held at? ###assistant: SELECT venue FROM table_name_9 WHERE competition = "2000 afc asian cup qualification"
###context:CREATE TABLE table_name_40 (goals INTEGER, matches INTEGER) ###human: What were the lowest goals when the matches were smaller than 29? ###assistant: SELECT MIN(goals) FROM table_name_40 WHERE matches < 29
###context:CREATE TABLE table_name_42 (matches INTEGER, goals INTEGER) ###human: What is the lowest match for goals larger than 36? ###assistant: SELECT MIN(matches) FROM table_name_42 WHERE goals > 36
###context:CREATE TABLE table_name_53 (sno INTEGER, completion_schedule VARCHAR) ###human: For the 2013 completion schedule, what is the total S.no.? ###assistant: SELECT SUM(sno) FROM table_name_53 WHERE completion_schedule = "2013"
###context:CREATE TABLE table_name_96 (completion_schedule VARCHAR, state VARCHAR, total_capacity__mw_ VARCHAR) ###human: What is the completion schedule for himachal pradesh state with a total capacity (MW) of 800? ###assistant: SELECT completion_schedule FROM table_name_96 WHERE state = "himachal pradesh" AND total_capacity__mw_ = 800
###context:CREATE TABLE table_name_9 (sno INTEGER, state VARCHAR, completion_schedule VARCHAR) ###human: When the completion schedule is 2016 for the state of jammu & kashmir, what is the smallest S.no.? ###assistant: SELECT MIN(sno) FROM table_name_9 WHERE state = "jammu & kashmir" AND completion_schedule = "2016"
###context:CREATE TABLE table_name_32 (tournament VARCHAR) ###human: What is the 2009 value of the shanghai masters, which was A in 2012 and 1r in 2011? ###assistant: SELECT 2009 FROM table_name_32 WHERE 2012 = "a" AND 2011 = "1r" AND tournament = "shanghai masters"
###context:CREATE TABLE table_name_34 (tournament VARCHAR) ###human: What is the 2011 value of the paris masters, which had A in 2008, A in 2012, A in 2009? ###assistant: SELECT 2011 FROM table_name_34 WHERE 2008 = "a" AND 2012 = "a" AND 2009 = "a" AND tournament = "paris masters"
###context:CREATE TABLE table_name_45 (tournament VARCHAR) ###human: What is the 2012 of the hamburg masters? ###assistant: SELECT 2012 FROM table_name_45 WHERE tournament = "hamburg masters"
###context:CREATE TABLE table_name_30 (tournament VARCHAR) ###human: What is the 2008 value of the hamburg masters? ###assistant: SELECT 2008 FROM table_name_30 WHERE tournament = "hamburg masters"
###context:CREATE TABLE table_name_19 (Id VARCHAR) ###human: What is the 2009 value with lq in 2012, 2r in 2011, and lq in 2008? ###assistant: SELECT 2009 FROM table_name_19 WHERE 2012 = "lq" AND 2011 = "2r" AND 2008 = "lq"
###context:CREATE TABLE table_name_97 (tournament VARCHAR) ###human: What is the 2010 value of the monte carlo masters, which had A in 2012? ###assistant: SELECT 2010 FROM table_name_97 WHERE 2012 = "a" AND tournament = "monte carlo masters"
###context:CREATE TABLE table_name_93 (quantity VARCHAR, drg_number_s_ VARCHAR) ###human: What is the quantity when the DRG was E 62 01–E 62 05? ###assistant: SELECT COUNT(quantity) FROM table_name_93 WHERE drg_number_s_ = "e 62 01–e 62 05"
###context:CREATE TABLE table_name_88 (opponent_in_the_final VARCHAR, partnering VARCHAR) ###human: Which Opponent in the final has a Partnering of graydon oliver? ###assistant: SELECT opponent_in_the_final FROM table_name_88 WHERE partnering = "graydon oliver"
###context:CREATE TABLE table_name_63 (score VARCHAR, partnering VARCHAR) ###human: which Score has a Partnering of dmitry tursunov? ###assistant: SELECT score FROM table_name_63 WHERE partnering = "dmitry tursunov"
###context:CREATE TABLE table_name_17 (score VARCHAR, opponent_in_the_final VARCHAR) ###human: Which Score has an Opponent in the final of chris haggard robbie koenig? ###assistant: SELECT score FROM table_name_17 WHERE opponent_in_the_final = "chris haggard robbie koenig"
###context:CREATE TABLE table_name_11 (partnering VARCHAR, score VARCHAR) ###human: Which Partnering has a Score of 7–6 7 , 6–1? ###assistant: SELECT partnering FROM table_name_11 WHERE score = "7–6 7 , 6–1"
###context:CREATE TABLE table_name_92 (surface VARCHAR, tournament VARCHAR) ###human: Name the Surface that of Tournament of valencia , spain? ###assistant: SELECT surface FROM table_name_92 WHERE tournament = "valencia , spain"
###context:CREATE TABLE table_name_52 (opponent_in_the_final VARCHAR, date VARCHAR) ###human: Name the Opponent in the final on july 4, 2005? ###assistant: SELECT opponent_in_the_final FROM table_name_52 WHERE date = "july 4, 2005"
###context:CREATE TABLE table_name_55 (result_f_a VARCHAR, league_position VARCHAR, date VARCHAR) ###human: What was the Result F–A on 21 February 2009, when the league position was 1st? ###assistant: SELECT result_f_a FROM table_name_55 WHERE league_position = "1st" AND date = "21 february 2009"
###context:CREATE TABLE table_name_99 (college_junior_club_team__league_ VARCHAR, player VARCHAR) ###human: What club does John Westin play for? ###assistant: SELECT college_junior_club_team__league_ FROM table_name_99 WHERE player = "john westin"
###context:CREATE TABLE table_name_58 (round VARCHAR, position VARCHAR) ###human: In what round was a left wing drafted? ###assistant: SELECT round FROM table_name_58 WHERE position = "left wing"
###context:CREATE TABLE table_name_30 (player VARCHAR, round VARCHAR) ###human: What player was drafted in Round 5? ###assistant: SELECT player FROM table_name_30 WHERE round = 5
###context:CREATE TABLE table_name_1 (finish VARCHAR, year_s__won VARCHAR) ###human: Where did the player who won in 1991 finish? ###assistant: SELECT finish FROM table_name_1 WHERE year_s__won = "1991"
###context:CREATE TABLE table_name_24 (player VARCHAR, country VARCHAR) ###human: Which player is from scotland? ###assistant: SELECT player FROM table_name_24 WHERE country = "scotland"
###context:CREATE TABLE table_name_60 (lyrics__l____music__m_ VARCHAR, draw VARCHAR) ###human: What are the Lyrics (l) / Music (m) when the draw was 5? ###assistant: SELECT lyrics__l____music__m_ FROM table_name_60 WHERE draw = 5
###context:CREATE TABLE table_name_11 (score VARCHAR, competition VARCHAR) ###human: What score has friendly as the competition? ###assistant: SELECT score FROM table_name_11 WHERE competition = "friendly"
###context:CREATE TABLE table_name_6 (home_team VARCHAR, date VARCHAR, away_team VARCHAR) ###human: Playing against Chelmsford City on 15 November 1986, who was the home team? ###assistant: SELECT home_team FROM table_name_6 WHERE date = "15 november 1986" AND away_team = "chelmsford city"
###context:CREATE TABLE table_name_21 (tie_no VARCHAR, away_team VARCHAR) ###human: When Lincoln City was the away team what is the tie number? ###assistant: SELECT tie_no FROM table_name_21 WHERE away_team = "lincoln city"
###context:CREATE TABLE table_name_95 (date VARCHAR, away_team VARCHAR) ###human: When was the game played that had Rochdale as the away team? ###assistant: SELECT date FROM table_name_95 WHERE away_team = "rochdale"
###context:CREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR) ###human: Scunthorpe United as the home team has what tie number? ###assistant: SELECT tie_no FROM table_name_52 WHERE home_team = "scunthorpe united"
###context:CREATE TABLE table_name_12 (score VARCHAR, date VARCHAR) ###human: The game played on 6 December 1986 had what score? ###assistant: SELECT score FROM table_name_12 WHERE date = "6 december 1986"
###context:CREATE TABLE table_name_56 (type VARCHAR, quantity VARCHAR) ###human: WHAT IS THE TYPE WITH 124? ###assistant: SELECT type FROM table_name_56 WHERE quantity = "124"
###context:CREATE TABLE table_name_32 (score VARCHAR, total VARCHAR) ###human: What is Score, when Total is "28:42"? ###assistant: SELECT score FROM table_name_32 WHERE total = "28:42"
###context:CREATE TABLE table_name_49 (date VARCHAR, set_1 VARCHAR) ###human: What is Date, when Set 1 is "20:22"? ###assistant: SELECT date FROM table_name_49 WHERE set_1 = "20:22"
###context:CREATE TABLE table_name_48 (set_1 VARCHAR, set_2 VARCHAR) ###human: What is Set 1, when Set 2 is "21:18"? ###assistant: SELECT set_1 FROM table_name_48 WHERE set_2 = "21:18"
###context:CREATE TABLE table_name_81 (set_2 VARCHAR, total VARCHAR) ###human: What is Set 2, when Total is "52:44"? ###assistant: SELECT set_2 FROM table_name_81 WHERE total = "52:44"
###context:CREATE TABLE table_name_57 (away_team VARCHAR, tie_no VARCHAR) ###human: What is the away team with a 4 tie no.? ###assistant: SELECT away_team FROM table_name_57 WHERE tie_no = "4"
###context:CREATE TABLE table_name_52 (date VARCHAR, away_team VARCHAR) ###human: What is the date southampton was the away team? ###assistant: SELECT date FROM table_name_52 WHERE away_team = "southampton"
###context:CREATE TABLE table_name_94 (score VARCHAR, home_team VARCHAR) ###human: What is the score of the home team tottenham hotspur? ###assistant: SELECT score FROM table_name_94 WHERE home_team = "tottenham hotspur"
###context:CREATE TABLE table_name_36 (score VARCHAR, date VARCHAR) ###human: What was the score of the game on 16 december 1987? ###assistant: SELECT score FROM table_name_36 WHERE date = "16 december 1987"
###context:CREATE TABLE table_name_16 (home_team VARCHAR, away_team VARCHAR) ###human: Who played against the away team hereford united? ###assistant: SELECT home_team FROM table_name_16 WHERE away_team = "hereford united"
###context:CREATE TABLE table_name_4 (home_team VARCHAR, away_team VARCHAR) ###human: Who played against away team hereford united? ###assistant: SELECT home_team FROM table_name_4 WHERE away_team = "hereford united"
###context:CREATE TABLE table_name_59 (clubs VARCHAR, position_in_1959_1960 VARCHAR) ###human: Which club was in Position 1 in 1959-1960? ###assistant: SELECT clubs FROM table_name_59 WHERE position_in_1959_1960 = "1"
###context:CREATE TABLE table_name_28 (season_joined_league VARCHAR, settlements VARCHAR) ###human: In which season did the évora settlements join the league? ###assistant: SELECT season_joined_league FROM table_name_28 WHERE settlements = "évora"
###context:CREATE TABLE table_name_45 (position_in_1959_1960 VARCHAR, seasons_at_this_level VARCHAR) ###human: What was the position in 1959-1960 for the club that had 14 seasons at this level? ###assistant: SELECT position_in_1959_1960 FROM table_name_45 WHERE seasons_at_this_level = "14 seasons"
###context:CREATE TABLE table_name_19 (position_in_1959_1960 VARCHAR, clubs VARCHAR) ###human: What was the position in 1959-1960 for the Sporting De Braga club? ###assistant: SELECT position_in_1959_1960 FROM table_name_19 WHERE clubs = "sporting de braga"
###context:CREATE TABLE table_name_54 (season_joined_league VARCHAR, seasons_at_this_level VARCHAR) ###human: What is the "season joined league" for the club that had 15 seasons at this level? ###assistant: SELECT season_joined_league FROM table_name_54 WHERE seasons_at_this_level = "15 seasons"
###context:CREATE TABLE table_name_79 (country VARCHAR, score VARCHAR) ###human: What country has a score of 71-66-72-72=281? ###assistant: SELECT country FROM table_name_79 WHERE score = 71 - 66 - 72 - 72 = 281
###context:CREATE TABLE table_name_90 (money___ INTEGER, player VARCHAR) ###human: What is the total amount of money that Payne Stewart has? ###assistant: SELECT SUM(money___) AS £__ FROM table_name_90 WHERE player = "payne stewart"
###context:CREATE TABLE table_name_92 (country VARCHAR, player VARCHAR) ###human: What country has player Nick Faldo? ###assistant: SELECT country FROM table_name_92 WHERE player = "nick faldo"
###context:CREATE TABLE table_name_40 (to_par VARCHAR, score VARCHAR) ###human: What is the to par for the score 64-73-74-69=280? ###assistant: SELECT to_par FROM table_name_40 WHERE score = 64 - 73 - 74 - 69 = 280
###context:CREATE TABLE table_name_89 (rank INTEGER, carriers VARCHAR, passengers VARCHAR) ###human: What is the lowest rank for China Eastern Airlines, Korean Air with more passengers than 97,055? ###assistant: SELECT MIN(rank) FROM table_name_89 WHERE carriers = "china eastern airlines, korean air" AND passengers > 97 OFFSET 055
###context:CREATE TABLE table_name_45 (rank INTEGER, passengers INTEGER) ###human: What is the smallest rank for passengers more than 73,754? ###assistant: SELECT MIN(rank) FROM table_name_45 WHERE passengers > 73 OFFSET 754
###context:CREATE TABLE table_name_19 (carriers VARCHAR, rank VARCHAR) ###human: Which carrier is ranked 20? ###assistant: SELECT carriers FROM table_name_19 WHERE rank = 20
###context:CREATE TABLE table_name_4 (rank INTEGER, passengers INTEGER) ###human: What is the highest rank when there are fewer than 124,296 passengers? ###assistant: SELECT MAX(rank) FROM table_name_4 WHERE passengers < 124 OFFSET 296