output stringlengths 18 557 | instruction stringlengths 22 540 |
|---|---|
SELECT transfers FROM table_name_16 WHERE distance__km_ > 36.5 AND station_name = "guangximen" | CREATE TABLE table_name_16 (transfers VARCHAR, distance__km_ VARCHAR, station_name VARCHAR), What's the transfer distance (km) larger than 36.5, at the station of guangximen? |
SELECT station_name FROM table_name_57 WHERE chinese_name = "上地 shàngdì" | CREATE TABLE table_name_57 (station_name VARCHAR, chinese_name VARCHAR), The Chinese Name of 上地 shàngdì belongs to what station? |
SELECT runner_s__up FROM table_name_37 WHERE margin_of_victory = "3 strokes" | CREATE TABLE table_name_37 (runner_s__up VARCHAR, margin_of_victory VARCHAR), Name the runner-up for margin of victory of 3 strokes |
SELECT date FROM table_name_83 WHERE margin_of_victory = "1 stroke" AND tournament = "legend financial group classic" | CREATE TABLE table_name_83 (date VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR), Name the date with margin of victory of 1 stroke and tournament of legend financial group classic |
SELECT runner_s__up FROM table_name_10 WHERE margin_of_victory = "1 stroke" AND tournament = "legend financial group classic" | CREATE TABLE table_name_10 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR), Name the runner-up for margin of victory of 1 stroke and tournament of legend financial group classic |
SELECT margin_of_victory FROM table_name_24 WHERE runner_s__up = "jonas blixt" | CREATE TABLE table_name_24 (margin_of_victory VARCHAR, runner_s__up VARCHAR), Name the margin of victory for jonas blixt |
SELECT party FROM table_name_46 WHERE office = "majority floor leader" | CREATE TABLE table_name_46 (party VARCHAR, office VARCHAR), Which Party has a Office of majority floor leader |
SELECT office FROM table_name_81 WHERE representative = "scott pelath" | CREATE TABLE table_name_81 (office VARCHAR, representative VARCHAR), Which Office has a Representative of scott pelath? |
SELECT office FROM table_name_9 WHERE party = "rep" AND representative = "brian bosma" | CREATE TABLE table_name_9 (office VARCHAR, party VARCHAR, representative VARCHAR), Which Office has a Party of rep, and a Representative of brian bosma? |
SELECT residence FROM table_name_20 WHERE party = "dem" AND representative = "linda lawson" | CREATE TABLE table_name_20 (residence VARCHAR, party VARCHAR, representative VARCHAR), Which Residence has a Party of dem, and a Representative of linda lawson? |
SELECT party FROM table_name_61 WHERE representative = "brian bosma" | CREATE TABLE table_name_61 (party VARCHAR, representative VARCHAR), Which Party has a Representative of brian bosma? |
SELECT office FROM table_name_2 WHERE party = "dem" AND first_elected = "1991†" | CREATE TABLE table_name_2 (office VARCHAR, party VARCHAR, first_elected VARCHAR), Which Office has a Party of dem, and a First Elected of 1991†? |
SELECT college FROM table_name_22 WHERE player = "paul seiler" | CREATE TABLE table_name_22 (college VARCHAR, player VARCHAR), what college has paul seiler as a player? |
SELECT COUNT(laps) FROM table_name_89 WHERE year = "1955" | CREATE TABLE table_name_89 (laps VARCHAR, year VARCHAR), How many laps were in 1955? |
SELECT finish FROM table_name_85 WHERE laps < 200 AND year = "1953" | CREATE TABLE table_name_85 (finish VARCHAR, laps VARCHAR, year VARCHAR), What was the finish with less than 200 laps in 1953? |
SELECT rank FROM table_name_89 WHERE year = "1955" | CREATE TABLE table_name_89 (rank VARCHAR, year VARCHAR), What was the rank in 1955? |
SELECT SUM(laps) FROM table_name_79 WHERE year = "1954" | CREATE TABLE table_name_79 (laps INTEGER, year VARCHAR), What was the sum of laps in 1954? |
SELECT rank FROM table_name_84 WHERE laps < 200 AND finish = "26" | CREATE TABLE table_name_84 (rank VARCHAR, laps VARCHAR, finish VARCHAR), What rank had less than 200 laps with a finish of 26? |
SELECT AVG(wins) FROM table_name_42 WHERE podiums = 3 | CREATE TABLE table_name_42 (wins INTEGER, podiums VARCHAR), What's the average wins of those games with 3 podiums? |
SELECT team_1 FROM table_name_65 WHERE team_2 = "young africans" | CREATE TABLE table_name_65 (team_1 VARCHAR, team_2 VARCHAR), Who was team 1 when team 2 was Young Africans? |
SELECT 2 AS nd_leg FROM table_name_61 WHERE team_2 = "al-merrikh" | CREATE TABLE table_name_61 (team_2 VARCHAR), What was the 2nd leg score for Al-Merrikh as team 2? |
SELECT date FROM table_name_74 WHERE opponent = "gisela dulko" | CREATE TABLE table_name_74 (date VARCHAR, opponent VARCHAR), What is the Date, when the Opponent is Gisela Dulko? |
SELECT tournament FROM table_name_83 WHERE opponent = "patricia mayr-achleitner" | CREATE TABLE table_name_83 (tournament VARCHAR, opponent VARCHAR), What is the Tournament, when the Opponent is Patricia Mayr-Achleitner? |
SELECT result FROM table_name_49 WHERE competition = "2006 world cup qualification" | CREATE TABLE table_name_49 (result VARCHAR, competition VARCHAR), what is the result of the competition in 2006 world cup qualification? |
SELECT nationality FROM table_name_78 WHERE heat = 2 AND lane = 3 | CREATE TABLE table_name_78 (nationality VARCHAR, heat VARCHAR, lane VARCHAR), What nation started in lane 3 of heat 2? |
SELECT tied FROM table_name_95 WHERE matches = "1" AND lost = "0" AND team = "durham" | CREATE TABLE table_name_95 (tied VARCHAR, team VARCHAR, matches VARCHAR, lost VARCHAR), Which Tied has Matches of 1, and a Lost of 0, and a Team of durham? |
SELECT team FROM table_name_6 WHERE winner = "1" | CREATE TABLE table_name_6 (team VARCHAR, winner VARCHAR), Which Team has a Winner of 1? |
SELECT _percentage_won FROM table_name_12 WHERE team = "durham" | CREATE TABLE table_name_12 (_percentage_won VARCHAR, team VARCHAR), What is the % Won of Team of durham |
SELECT matches FROM table_name_77 WHERE _percentage_won = "52.38" | CREATE TABLE table_name_77 (matches VARCHAR, _percentage_won VARCHAR), Which Match has the percentage won 52.38? |
SELECT points FROM table_name_54 WHERE wins > 15 AND losses < 10 | CREATE TABLE table_name_54 (points VARCHAR, wins VARCHAR, losses VARCHAR), How many points has more than 15 wins and less than 10 losses? |
SELECT SUM(goal_difference) FROM table_name_73 WHERE goals_against > 47 AND played > 38 | CREATE TABLE table_name_73 (goal_difference INTEGER, goals_against VARCHAR, played VARCHAR), What is the total goal difference with more than 38 played and more than 47 goals against? |
SELECT AVG(draws) FROM table_name_25 WHERE played > 38 | CREATE TABLE table_name_25 (draws INTEGER, played INTEGER), What is the average draws with more than 38 played? |
SELECT partner FROM table_name_39 WHERE opponents_in_final = "lucas arnold ker martín garcía" | CREATE TABLE table_name_39 (partner VARCHAR, opponents_in_final VARCHAR), What is the name of the partner who played in the final against Lucas Arnold Ker Martín García? |
SELECT name FROM table_name_70 WHERE lane < 6 AND time = "2:11.02" | CREATE TABLE table_name_70 (name VARCHAR, lane VARCHAR, time VARCHAR), Who swam in a lane less than 6 and finished with a time of 2:11.02? |
SELECT film_title_used_in_nomination FROM table_name_10 WHERE original_name = "mig og charly" | CREATE TABLE table_name_10 (film_title_used_in_nomination VARCHAR, original_name VARCHAR), What is the Film title used in nomination of Mig Og Charly? |
SELECT director FROM table_name_66 WHERE film_title_used_in_nomination = "nick carter in prague" | CREATE TABLE table_name_66 (director VARCHAR, film_title_used_in_nomination VARCHAR), Who is the Director that has a Film title of nick carter in prague? |
SELECT language FROM table_name_54 WHERE director = "nagisa oshima" | CREATE TABLE table_name_54 (language VARCHAR, director VARCHAR), Which Language Director of nagisa oshima use in his film? |
SELECT director FROM table_name_8 WHERE language = "dutch" | CREATE TABLE table_name_8 (director VARCHAR, language VARCHAR), Who is the Director that speaks dutch? |
SELECT original_name FROM table_name_17 WHERE film_title_used_in_nomination = "empire of passion" | CREATE TABLE table_name_17 (original_name VARCHAR, film_title_used_in_nomination VARCHAR), What is the Original name of empire of passion? |
SELECT start_date FROM table_name_28 WHERE party = "pd" | CREATE TABLE table_name_28 (start_date VARCHAR, party VARCHAR), Name the start date with party of pd |
SELECT minister FROM table_name_12 WHERE end_date = "31 july 2004" | CREATE TABLE table_name_12 (minister VARCHAR, end_date VARCHAR), Name the minister for end date of 31 july 2004 |
SELECT party FROM table_name_2 WHERE end_date = "22 november 1980" | CREATE TABLE table_name_2 (party VARCHAR, end_date VARCHAR), Name the party with end date of 22 november 1980 |
SELECT end_date FROM table_name_50 WHERE minister = "robert goebbels" | CREATE TABLE table_name_50 (end_date VARCHAR, minister VARCHAR), Name the end date for robert goebbels |
SELECT start_date FROM table_name_29 WHERE party = "lsap" AND end_date = "present day" | CREATE TABLE table_name_29 (start_date VARCHAR, party VARCHAR, end_date VARCHAR), Name the start date with lsap and end date of present day |
SELECT acceleration_0_100km_h FROM table_name_32 WHERE name = "1.5 dci" | CREATE TABLE table_name_32 (acceleration_0_100km_h VARCHAR, name VARCHAR), What is the acceleration 1-100km/h when the name is 1.5 dci? |
SELECT power FROM table_name_43 WHERE capacity = "898cc" | CREATE TABLE table_name_43 (power VARCHAR, capacity VARCHAR), what is the power when the capacity is 898cc? |
SELECT capacity FROM table_name_36 WHERE code = "d4f bi-fuel 732" | CREATE TABLE table_name_36 (capacity VARCHAR, code VARCHAR), what is the capacity when the code is d4f bi-fuel 732? |
SELECT power FROM table_name_13 WHERE name = "1.2 16v lpg" | CREATE TABLE table_name_13 (power VARCHAR, name VARCHAR), what is the power when the name is 1.2 16v lpg? |
SELECT capacity FROM table_name_68 WHERE name = "1.2 16v" | CREATE TABLE table_name_68 (capacity VARCHAR, name VARCHAR), what is the capacity when the name is 1.2 16v? |
SELECT capacity FROM table_name_39 WHERE acceleration_0_100km_h = "11.1 s" | CREATE TABLE table_name_39 (capacity VARCHAR, acceleration_0_100km_h VARCHAR), what is the capacity when the acceleration 1-100km/h is 11.1 s? |
SELECT director FROM table_name_50 WHERE year = 1957 | CREATE TABLE table_name_50 (director VARCHAR, year VARCHAR), Name the director for 1957 |
SELECT director FROM table_name_47 WHERE title = "transylvania 6-5000" | CREATE TABLE table_name_47 (director VARCHAR, title VARCHAR), Name the director who has title of transylvania 6-5000 |
SELECT attendance FROM table_name_21 WHERE time = "1:31" | CREATE TABLE table_name_21 (attendance VARCHAR, time VARCHAR), Name the attendance for time of 1:31 |
SELECT score FROM table_name_20 WHERE time = "1:36" | CREATE TABLE table_name_20 (score VARCHAR, time VARCHAR), Name the score for 1:36 time |
SELECT score FROM table_name_92 WHERE date = "october 9" | CREATE TABLE table_name_92 (score VARCHAR, date VARCHAR), Name the score for october 9 |
SELECT MIN(round) FROM table_name_83 WHERE overall = 91 | CREATE TABLE table_name_83 (round INTEGER, overall VARCHAR), What round did the overall pick of 91 occur in the 1982 NFL draft? |
SELECT race_3 FROM table_name_4 WHERE round = "round 5" | CREATE TABLE table_name_4 (race_3 VARCHAR, round VARCHAR), What Race 3 is Round 5? |
SELECT round FROM table_name_42 WHERE track = "clipsal 500 support" | CREATE TABLE table_name_42 (round VARCHAR, track VARCHAR), What Round has the Track Clipsal 500 Support? |
SELECT race_2 FROM table_name_26 WHERE race_1 = "dnf" AND race_3 = "dnf" AND track = "winton" | CREATE TABLE table_name_26 (race_2 VARCHAR, track VARCHAR, race_1 VARCHAR, race_3 VARCHAR), What Race 2 has a Race 1 of dnf, a Race 3 of dnf, and the Track Winton? |
SELECT round FROM table_name_30 WHERE track = "winton" | CREATE TABLE table_name_30 (round VARCHAR, track VARCHAR), What Round has the Track Winton? |
SELECT race_2 FROM table_name_4 WHERE round = "round 2" | CREATE TABLE table_name_4 (race_2 VARCHAR, round VARCHAR), What is the Race 2 result of Round 2? |
SELECT race_1 FROM table_name_25 WHERE round = "round 2" | CREATE TABLE table_name_25 (race_1 VARCHAR, round VARCHAR), What is the Race 1 result of Round 2? |
SELECT AVG(year) FROM table_name_71 WHERE mixed_doubles = "nathan robertson gail emms" | CREATE TABLE table_name_71 (year INTEGER, mixed_doubles VARCHAR), What is the average year with Nathan Robertson Gail Emms in mixed doubles? |
SELECT player FROM table_name_59 WHERE score = 76 - 67 - 71 = 214 | CREATE TABLE table_name_59 (player VARCHAR, score VARCHAR), Who is the player with a 76-67-71=214 score? |
SELECT score FROM table_name_20 WHERE player = "nick price" | CREATE TABLE table_name_20 (score VARCHAR, player VARCHAR), What is Nick Price's score? |
SELECT country FROM table_name_23 WHERE score = 69 - 74 - 71 = 214 | CREATE TABLE table_name_23 (country VARCHAR, score VARCHAR), What is the country of the player with a score of 69-74-71=214? |
SELECT to_par FROM table_name_83 WHERE player = "greg norman" | CREATE TABLE table_name_83 (to_par VARCHAR, player VARCHAR), What is the to par of Greg Norman? |
SELECT score FROM table_name_58 WHERE opponent = "@ tigers" AND date = "july 24" | CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR, date VARCHAR), What's the score for opponent @ Tigers on July 24? |
SELECT opponent FROM table_name_12 WHERE date = "july 2" | CREATE TABLE table_name_12 (opponent VARCHAR, date VARCHAR), What's the opponent for July 2? |
SELECT year FROM table_name_80 WHERE chassis = "surtees ts19" | CREATE TABLE table_name_80 (year VARCHAR, chassis VARCHAR), What's the year of the Chassis surtees ts19? |
SELECT MIN(points) FROM table_name_51 WHERE year > 1978 | CREATE TABLE table_name_51 (points INTEGER, year INTEGER), What are the lowest points past the year 1978? |
SELECT MAX(year) FROM table_name_33 WHERE chassis = "ats hs1" | CREATE TABLE table_name_33 (year INTEGER, chassis VARCHAR), What's the top year with the Chassis ats hs1? |
SELECT local_time FROM table_name_46 WHERE date = "september 1" | CREATE TABLE table_name_46 (local_time VARCHAR, date VARCHAR), What was the time on September 1? |
SELECT location FROM table_name_25 WHERE date = "september 5" | CREATE TABLE table_name_25 (location VARCHAR, date VARCHAR), Where was September 5? |
SELECT margin_of_victory FROM table_name_72 WHERE winning_score = 74 - 68 - 67 - 75 = 284 | CREATE TABLE table_name_72 (margin_of_victory VARCHAR, winning_score VARCHAR), When the Winning score is 74-68-67-75=284, what was the Margin of victory? |
SELECT to_par FROM table_name_7 WHERE winning_score = 71 - 71 - 70 - 69 = 281 | CREATE TABLE table_name_7 (to_par VARCHAR, winning_score VARCHAR), When the Winning is 71-71-70-69=281, what is the To par? |
SELECT margin_of_victory FROM table_name_59 WHERE winning_score = 68 - 65 - 65 - 68 = 266 | CREATE TABLE table_name_59 (margin_of_victory VARCHAR, winning_score VARCHAR), When the Winning score is 68-65-65-68=266, what is the Margin of victory? |
SELECT date FROM table_name_30 WHERE winning_score = 72 - 67 - 68 - 67 = 274 | CREATE TABLE table_name_30 (date VARCHAR, winning_score VARCHAR), On what Date was the Winning score of 72-67-68-67=274? |
SELECT SUM(2 AS nd_pl) FROM table_name_83 WHERE years_active = "2009-2010" AND wins > 0 | CREATE TABLE table_name_83 (years_active VARCHAR, wins VARCHAR), What is the total number of 2nd place finishes for riders active in years 2009-2010 and more than 0 wins? |
SELECT SUM(3 AS rd_pl) FROM table_name_31 WHERE titles < 0 | CREATE TABLE table_name_31 (titles INTEGER), What is the total number of 3rd place finishes for racers with 0 titles? |
SELECT AVG(2 AS nd_pl) FROM table_name_16 WHERE years_active = "2000" AND titles > 0 | CREATE TABLE table_name_16 (years_active VARCHAR, titles VARCHAR), What is the average number of 2nd place finishes for racers active in the year 2000 and more than 0 titles? |
SELECT SUM(played) FROM table_name_67 WHERE team = "c.d. luis ángel firpo" AND place > 3 | CREATE TABLE table_name_67 (played INTEGER, team VARCHAR, place VARCHAR), Name the sum of played for c.d. luis ángel firpo and place more than 3 |
SELECT COUNT(place) FROM table_name_59 WHERE played > 18 | CREATE TABLE table_name_59 (place VARCHAR, played INTEGER), Name the total number of places which has played more than 18 |
SELECT COUNT(lost) FROM table_name_82 WHERE goals_scored < 22 AND goals_conceded > 27 | CREATE TABLE table_name_82 (lost VARCHAR, goals_scored VARCHAR, goals_conceded VARCHAR), Name the total number of lost when goals scored is less than 22 and goals conceded is more than 27 |
SELECT AVG(goals_conceded) FROM table_name_26 WHERE draw > 7 AND goals_scored > 24 | CREATE TABLE table_name_26 (goals_conceded INTEGER, draw VARCHAR, goals_scored VARCHAR), Name the average goals conceded with draw bigger than 7 and goals scored more than 24 |
SELECT MIN(goals_scored) FROM table_name_36 WHERE place > 8 AND lost < 8 | CREATE TABLE table_name_36 (goals_scored INTEGER, place VARCHAR, lost VARCHAR), Name the least goals scored with place more than 8 and lost less than 8 |
SELECT SUM(rank) FROM table_name_37 WHERE state = "alaska" AND mountain_peak = "mount chamberlin" | CREATE TABLE table_name_37 (rank INTEGER, state VARCHAR, mountain_peak VARCHAR), Where does Mount Chamberlin, located in Alaska, rank on the chart? |
SELECT location FROM table_name_20 WHERE rank = 36 | CREATE TABLE table_name_20 (location VARCHAR, rank VARCHAR), What is the location of the mountain ranked at 36? |
SELECT MAX(rank) FROM table_name_5 WHERE mountain_range = "kuskokwim mountains" | CREATE TABLE table_name_5 (rank INTEGER, mountain_range VARCHAR), Where does the Kuskokwim Mountains rank on the chart? |
SELECT AVG(rank) FROM table_name_38 WHERE state = "maine" | CREATE TABLE table_name_38 (rank INTEGER, state VARCHAR), What is the average rank of a mountain range located in Maine? |
SELECT COUNT(round) FROM table_name_82 WHERE player = "matt roth" | CREATE TABLE table_name_82 (round VARCHAR, player VARCHAR), What round was matt roth drafted? |
SELECT nfl_club FROM table_name_35 WHERE pick > 196 | CREATE TABLE table_name_35 (nfl_club VARCHAR, pick INTEGER), What team did the player represent that was picked after 196? |
SELECT pos FROM table_name_41 WHERE european_competitions = "eurocup regular season" | CREATE TABLE table_name_41 (pos VARCHAR, european_competitions VARCHAR), Name the position for european competitions of eurocup regular season |
SELECT opponent FROM table_name_54 WHERE series = "3-2" | CREATE TABLE table_name_54 (opponent VARCHAR, series VARCHAR), Who was the opponent with a series of 3-2? |
SELECT opponent FROM table_name_79 WHERE series = "1-0" | CREATE TABLE table_name_79 (opponent VARCHAR, series VARCHAR), Who was the opponent with a series of 1-0? |
SELECT division_record FROM table_name_93 WHERE school = "delmar" | CREATE TABLE table_name_93 (division_record VARCHAR, school VARCHAR), For the Delmar school what is the division record? |
SELECT school FROM table_name_16 WHERE team = "blue raiders" | CREATE TABLE table_name_16 (school VARCHAR, team VARCHAR), What school does the Blue Raiders belong to? |
SELECT team FROM table_name_57 WHERE school = "seaford" | CREATE TABLE table_name_57 (team VARCHAR, school VARCHAR), What team name belongs to Seaford? |
SELECT division_record FROM table_name_26 WHERE team = "spartans" | CREATE TABLE table_name_26 (division_record VARCHAR, team VARCHAR), What division record did the Spartans hold? |
SELECT school FROM table_name_38 WHERE team = "wildcats" | CREATE TABLE table_name_38 (school VARCHAR, team VARCHAR), The wildcats belong to what school? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.