output stringlengths 18 557 | instruction stringlengths 22 540 |
|---|---|
SELECT director FROM table_name_57 WHERE title = "min dally nseek" AND result = "won" | CREATE TABLE table_name_57 (director VARCHAR, title VARCHAR, result VARCHAR), Who is the director with the Min Dally Nseek title, and won? |
SELECT survey FROM table_name_57 WHERE title = "ehsas jdeed" | CREATE TABLE table_name_57 (survey VARCHAR, title VARCHAR), What survey has the Ehsas Jdeed title? |
SELECT title FROM table_name_95 WHERE survey = "murex d'or" AND year > 2005 AND director = "said elmarouk" AND result = "nominated" | CREATE TABLE table_name_95 (title VARCHAR, result VARCHAR, director VARCHAR, survey VARCHAR, year VARCHAR), What is the title for the Murex D'or survey, after 2005, Said Elmarouk as director, and was nominated? |
SELECT result FROM table_name_2 WHERE director = "said elmarouk" AND year < 2008 | CREATE TABLE table_name_2 (result VARCHAR, director VARCHAR, year VARCHAR), What is the result for director Said Elmarouk before 2008? |
SELECT week_1 FROM table_name_53 WHERE week_3 = "candice hunnicutt" | CREATE TABLE table_name_53 (week_1 VARCHAR, week_3 VARCHAR), What is the week 1 with candice hunnicutt in week 3? |
SELECT week_2 FROM table_name_83 WHERE week_1 = "daniella mugnolo" | CREATE TABLE table_name_83 (week_2 VARCHAR, week_1 VARCHAR), What is the week 2 with daniella mugnolo in week 1? |
SELECT week_3 FROM table_name_17 WHERE week_2 = "addison miller" | CREATE TABLE table_name_17 (week_3 VARCHAR, week_2 VARCHAR), What is the week 3 with addison miller in week 2? |
SELECT SUM(first_elected) FROM table_name_37 WHERE party = "republican" AND district = "kentucky 2" | CREATE TABLE table_name_37 (first_elected INTEGER, party VARCHAR, district VARCHAR), In what year was the republican incumbent from Kentucky 2 district first elected? |
SELECT AVG(played) FROM table_name_89 WHERE position < 15 AND points_1 = "19 2" AND goals_against < 65 | CREATE TABLE table_name_89 (played INTEGER, goals_against VARCHAR, position VARCHAR, points_1 VARCHAR), What is the average played for entries with fewer than 65 goals against, points 1 of 19 2, and a position higher than 15? |
SELECT MIN(drawn) FROM table_name_38 WHERE lost = 13 | CREATE TABLE table_name_38 (drawn INTEGER, lost VARCHAR), What is the lowest drawn for entries with a lost of 13? |
SELECT AVG(drawn) FROM table_name_45 WHERE points_1 = "33" AND goals_against = 45 AND played < 28 | CREATE TABLE table_name_45 (drawn INTEGER, played VARCHAR, points_1 VARCHAR, goals_against VARCHAR), For entries with fewer than 28 played, with 45 goals against and points 1 of 33, what is the average drawn? |
SELECT AVG(drawn) FROM table_name_79 WHERE goals_for < 36 AND lost > 21 | CREATE TABLE table_name_79 (drawn INTEGER, goals_for VARCHAR, lost VARCHAR), For entries with lost larger than 21 and goals for smaller than 36, what is the average drawn? |
SELECT MAX(goals_for) FROM table_name_84 WHERE goals_against = 85 AND drawn > 6 | CREATE TABLE table_name_84 (goals_for INTEGER, goals_against VARCHAR, drawn VARCHAR), What is the highest goals entry with drawn larger than 6 and goals against 85? |
SELECT to_par FROM table_name_64 WHERE player = "fredrik jacobson" | CREATE TABLE table_name_64 (to_par VARCHAR, player VARCHAR), What is the To Par of Fredrik Jacobson? |
SELECT place FROM table_name_92 WHERE to_par = "+1" AND player = "davis love iii" | CREATE TABLE table_name_92 (place VARCHAR, to_par VARCHAR, player VARCHAR), What is the Place of Davis Love III with a To Par of +1? |
SELECT start FROM table_name_55 WHERE duration = "6 months 2 days" | CREATE TABLE table_name_55 (start VARCHAR, duration VARCHAR), Which Start has a Duration of 6 months 2 days? |
SELECT duration FROM table_name_84 WHERE defeated_by = "retired" | CREATE TABLE table_name_84 (duration VARCHAR, defeated_by VARCHAR), Which duration was defeated by retired? |
SELECT AVG(wins) FROM table_name_45 WHERE defeated_by = "furuichi" | CREATE TABLE table_name_45 (wins INTEGER, defeated_by VARCHAR), How many wins, on average, were defeated by furuichi? |
SELECT MAX(wins) FROM table_name_81 WHERE port_fairy_fl = "port fairy" AND against > 2333 | CREATE TABLE table_name_81 (wins INTEGER, port_fairy_fl VARCHAR, against VARCHAR), How many wins for Port Fairy and against more than 2333? |
SELECT COUNT(byes) FROM table_name_22 WHERE draws < 0 | CREATE TABLE table_name_22 (byes VARCHAR, draws INTEGER), How many byes when the draws are less than 0? |
SELECT MAX(draws) FROM table_name_81 WHERE port_fairy_fl = "hawkesdale" AND wins > 9 | CREATE TABLE table_name_81 (draws INTEGER, port_fairy_fl VARCHAR, wins VARCHAR), How many draws when the Port Fairy FL is Hawkesdale and there are more than 9 wins? |
SELECT weight FROM table_name_23 WHERE date_of_birth = "1981-11-21" | CREATE TABLE table_name_23 (weight VARCHAR, date_of_birth VARCHAR), What is the weight of the entry that has a date of birth of 1981-11-21? |
SELECT name FROM table_name_95 WHERE pos = "d" AND club = "circolo nautico posillipo" | CREATE TABLE table_name_95 (name VARCHAR, pos VARCHAR, club VARCHAR), What is the name of the player from club Circolo Nautico Posillipo and a position of D? |
SELECT pos FROM table_name_53 WHERE height = "m (ft 6in)" | CREATE TABLE table_name_53 (pos VARCHAR, height VARCHAR), What is the position of the player with a height of m (ft 6in)? |
SELECT player FROM table_name_46 WHERE to_par = "+8" AND year_s__won = "1979" | CREATE TABLE table_name_46 (player VARCHAR, to_par VARCHAR, year_s__won VARCHAR), Who won in 1979 with +8 to par? |
SELECT AVG(total) FROM table_name_27 WHERE year_s__won = "1969" | CREATE TABLE table_name_27 (total INTEGER, year_s__won VARCHAR), What is the average total in 1969? |
SELECT score FROM table_name_70 WHERE opponent_in_the_final = "martin spottl" | CREATE TABLE table_name_70 (score VARCHAR, opponent_in_the_final VARCHAR), What is the Score of the Tournament with Opponent in the final of Martin Spottl? |
SELECT score FROM table_name_42 WHERE surface = "clay" AND date = "may 5, 1999" | CREATE TABLE table_name_42 (score VARCHAR, surface VARCHAR, date VARCHAR), What is the Score of the Tournament played on Clay Surface on May 5, 1999? |
SELECT date FROM table_name_26 WHERE score = "6–4, 6–2" | CREATE TABLE table_name_26 (date VARCHAR, score VARCHAR), What is the Date of the game with a Score of 6–4, 6–2? |
SELECT opponent_in_the_final FROM table_name_68 WHERE date = "february 2, 2004" | CREATE TABLE table_name_68 (opponent_in_the_final VARCHAR, date VARCHAR), What is the Opponent in the final of the game on february 2, 2004? |
SELECT team FROM table_name_56 WHERE car__number = 24 AND date = "august 30" | CREATE TABLE table_name_56 (team VARCHAR, car__number VARCHAR, date VARCHAR), What team ran car #24 on August 30? |
SELECT avg_speed FROM table_name_47 WHERE winning_driver = "tony stewart" AND make = "chevrolet impala" | CREATE TABLE table_name_47 (avg_speed VARCHAR, winning_driver VARCHAR, make VARCHAR), What was the average speed of Tony Stewart's winning Chevrolet Impala? |
SELECT college_junior_club_team__league_ FROM table_name_58 WHERE nationality = "switzerland" | CREATE TABLE table_name_58 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR), Which College/junior/club team (league) was the player from Switzerland from? |
SELECT player FROM table_name_68 WHERE position = "defence" AND round < 5 AND nationality = "united states" | CREATE TABLE table_name_68 (player VARCHAR, nationality VARCHAR, position VARCHAR, round VARCHAR), Which player from the United States plays defence and was chosen before round 5? |
SELECT COUNT(attendance) FROM table_name_67 WHERE year > 1983 AND venue = "anaheim stadium" AND result = "14-28" | CREATE TABLE table_name_67 (attendance VARCHAR, result VARCHAR, year VARCHAR, venue VARCHAR), What's the total attendance at anaheim stadium after 1983 when the result is 14-28? |
SELECT score FROM table_name_53 WHERE tie_no = "8" | CREATE TABLE table_name_53 (score VARCHAR, tie_no VARCHAR), What is the score when the tie is 8? |
SELECT home_team FROM table_name_76 WHERE away_team = "liverpool" | CREATE TABLE table_name_76 (home_team VARCHAR, away_team VARCHAR), Who is the home team with Liverpool as the away? |
SELECT score FROM table_name_29 WHERE tie_no = "9" | CREATE TABLE table_name_29 (score VARCHAR, tie_no VARCHAR), What is the score when the tie is 9? |
SELECT to_par FROM table_name_50 WHERE country = "england" | CREATE TABLE table_name_50 (to_par VARCHAR, country VARCHAR), What's england's to par? |
SELECT country FROM table_name_7 WHERE finish = "t49" | CREATE TABLE table_name_7 (country VARCHAR, finish VARCHAR), What country had a finish of t49? |
SELECT country FROM table_name_38 WHERE finish = "t42" | CREATE TABLE table_name_38 (country VARCHAR, finish VARCHAR), What country had a finish of t42? |
SELECT finish FROM table_name_96 WHERE total = 288 | CREATE TABLE table_name_96 (finish VARCHAR, total VARCHAR), What's the finish for the total 288? |
SELECT status FROM table_name_68 WHERE against = 11 | CREATE TABLE table_name_68 (status VARCHAR, against VARCHAR), What is the status when the against is 11? |
SELECT venue FROM table_name_5 WHERE date = "13/02/1954" | CREATE TABLE table_name_5 (venue VARCHAR, date VARCHAR), What was the venue for the game played on 13/02/1954? |
SELECT venue FROM table_name_96 WHERE against > 3 AND date = "16/01/1954" | CREATE TABLE table_name_96 (venue VARCHAR, against VARCHAR, date VARCHAR), What was the venue for the game played on 16/01/1954, when the against was more than 3? |
SELECT MIN(against) FROM table_name_51 WHERE venue = "stade colombes, paris" | CREATE TABLE table_name_51 (against INTEGER, venue VARCHAR), What is the lowest against for games played in the stade colombes, paris venue? |
SELECT venue FROM table_name_72 WHERE against = 11 | CREATE TABLE table_name_72 (venue VARCHAR, against VARCHAR), In which venue was there an against of 11? |
SELECT elector FROM table_name_31 WHERE elevated = "december 18, 1182" | CREATE TABLE table_name_31 (elector VARCHAR, elevated VARCHAR), What Elector was Elevated on December 18, 1182? |
SELECT elevator FROM table_name_50 WHERE elevated = "september 21, 1179" | CREATE TABLE table_name_50 (elevator VARCHAR, elevated VARCHAR), What is the Elevator of the Elected Elevated on September 21, 1179? |
SELECT elector FROM table_name_91 WHERE cardinalatial_title = "priest of s. sabina and archbishop of reims" | CREATE TABLE table_name_91 (elector VARCHAR, cardinalatial_title VARCHAR), Who is the Elector with a Cardinalatial title of Priest of S. Sabina and Archbishop of Reims? |
SELECT elector FROM table_name_31 WHERE elevator = "alexander iii" AND cardinalatial_title = "bishop of palestrina" | CREATE TABLE table_name_31 (elector VARCHAR, elevator VARCHAR, cardinalatial_title VARCHAR), What Elector has an Elevator of Alexander III and a Cardinalatial title of Bishop of Palestrina? |
SELECT home__1st_leg_ FROM table_name_70 WHERE aggregate = "3-4" | CREATE TABLE table_name_70 (home__1st_leg_ VARCHAR, aggregate VARCHAR), Which team played their first leg at home with an aggregate score of 3-4? |
SELECT country FROM table_name_3 WHERE city = "haugesund" | CREATE TABLE table_name_3 (country VARCHAR, city VARCHAR), In what Country is Haugesund? |
SELECT airport FROM table_name_23 WHERE icao = "ento" | CREATE TABLE table_name_23 (airport VARCHAR, icao VARCHAR), What Airport's ICAO is ENTO? |
SELECT iata FROM table_name_12 WHERE country = "norway" AND city = "sandefjord" | CREATE TABLE table_name_12 (iata VARCHAR, country VARCHAR, city VARCHAR), What is City of Sandefjord in Norway's IATA? |
SELECT iata FROM table_name_99 WHERE country = "norway" AND icao = "ento" | CREATE TABLE table_name_99 (iata VARCHAR, country VARCHAR, icao VARCHAR), What is th IATA for Norway with an ICAO of ENTO? |
SELECT country FROM table_name_67 WHERE icao = "ekch" | CREATE TABLE table_name_67 (country VARCHAR, icao VARCHAR), What Country has a ICAO of EKCH? |
SELECT airport FROM table_name_64 WHERE city = "oslo" | CREATE TABLE table_name_64 (airport VARCHAR, city VARCHAR), What is the Airport in Oslo? |
SELECT COUNT(drawn) FROM table_name_4 WHERE lost < 25 AND goal_difference = "+7" AND played > 34 | CREATE TABLE table_name_4 (drawn VARCHAR, played VARCHAR, lost VARCHAR, goal_difference VARCHAR), How many Drawn have a Lost smaller than 25, and a Goal Difference of +7, and a Played larger than 34? |
SELECT MIN(goals_for) FROM table_name_86 WHERE played > 34 | CREATE TABLE table_name_86 (goals_for INTEGER, played INTEGER), Which Goals For has a Played larger than 34? |
SELECT MAX(position) FROM table_name_2 WHERE goals_against = 47 AND played > 34 | CREATE TABLE table_name_2 (position INTEGER, goals_against VARCHAR, played VARCHAR), Which Position has 47 Goals Against, and a Played larger than 34? |
SELECT MAX(goals_for) FROM table_name_28 WHERE lost = 12 AND played > 34 | CREATE TABLE table_name_28 (goals_for INTEGER, lost VARCHAR, played VARCHAR), Which Goals For has a Lost of 12, and a Played larger than 34? |
SELECT score FROM table_name_1 WHERE country = "taiwan" | CREATE TABLE table_name_1 (score VARCHAR, country VARCHAR), What did Taiwan score? |
SELECT country FROM table_name_95 WHERE place = "t9" AND player = "jiyai shin" | CREATE TABLE table_name_95 (country VARCHAR, place VARCHAR, player VARCHAR), Which country placed t9 and had the player jiyai shin? |
SELECT player FROM table_name_78 WHERE score = 69 - 74 = 143 AND country = "colombia" | CREATE TABLE table_name_78 (player VARCHAR, country VARCHAR, score VARCHAR), Who scored 69-74=143 for Colombia? |
SELECT place FROM table_name_86 WHERE player = "momoko ueda" | CREATE TABLE table_name_86 (place VARCHAR, player VARCHAR), What was Momoko Ueda's place? |
SELECT player FROM table_name_45 WHERE place = "t5" AND score = 70 - 72 = 142 | CREATE TABLE table_name_45 (player VARCHAR, place VARCHAR, score VARCHAR), Who placed t5 and had a score of 70-72=142? |
SELECT place FROM table_name_47 WHERE player = "david graham" | CREATE TABLE table_name_47 (place VARCHAR, player VARCHAR), What place is David Graham in? |
SELECT SUM(goals_for) FROM table_name_14 WHERE points < 30 AND position < 10 AND goals_against > 57 | CREATE TABLE table_name_14 (goals_for INTEGER, goals_against VARCHAR, points VARCHAR, position VARCHAR), What is the sum of the goals with less than 30 points, a position less than 10, and more than 57 goals against? |
SELECT MIN(draws) FROM table_name_27 WHERE wins < 12 AND played < 30 | CREATE TABLE table_name_27 (draws INTEGER, wins VARCHAR, played VARCHAR), What is the lowest amount of draws with less than 12 wins and less than 30 played? |
SELECT MAX(goals_for) FROM table_name_66 WHERE goals_against > 51 AND played < 30 | CREATE TABLE table_name_66 (goals_for INTEGER, goals_against VARCHAR, played VARCHAR), What is the highest amount of goals with more than 51 goals against and less than 30 played? |
SELECT goals_for FROM table_name_97 WHERE wins < 14 AND goal_difference < -4 | CREATE TABLE table_name_97 (goals_for VARCHAR, wins VARCHAR, goal_difference VARCHAR), What is the number of goals with less than 14 wins and a goal difference less than -4? |
SELECT AVG(goals_against) FROM table_name_98 WHERE wins > 12 AND losses = 12 AND position > 3 | CREATE TABLE table_name_98 (goals_against INTEGER, position VARCHAR, wins VARCHAR, losses VARCHAR), What is the average number of goals against with more than 12 wins, 12 losses, and a position greater than 3? |
SELECT COUNT(losses) FROM table_name_54 WHERE goals_for < 73 AND wins < 11 AND points > 24 AND position > 15 | CREATE TABLE table_name_54 (losses VARCHAR, position VARCHAR, points VARCHAR, goals_for VARCHAR, wins VARCHAR), What is the total number of losses with less than 73 goals for, less than 11 wins, more than 24 points, and a position greater than 15? |
SELECT SUM(goals) FROM table_name_31 WHERE matches < 29 | CREATE TABLE table_name_31 (goals INTEGER, matches INTEGER), What is the sum of Goals, when Matches is less than 29? |
SELECT MAX(average) FROM table_name_41 WHERE goals = 34 AND matches < 37 | CREATE TABLE table_name_41 (average INTEGER, goals VARCHAR, matches VARCHAR), What is the highest Average, when Goals is "34", and when Matches is less than 37? |
SELECT ship_type FROM table_name_93 WHERE tonnage = "225" | CREATE TABLE table_name_93 (ship_type VARCHAR, tonnage VARCHAR), With a tonnage of 225 what is the ship type? |
SELECT location FROM table_name_29 WHERE disposition_of_ship = "captured" AND tonnage = "225" | CREATE TABLE table_name_29 (location VARCHAR, disposition_of_ship VARCHAR, tonnage VARCHAR), Where was the ship when the ship had captured as the disposition of ship and was carrying 225 tonnage? |
SELECT disposition_of_ship FROM table_name_57 WHERE ship_type = "brig" AND location = "english channel" | CREATE TABLE table_name_57 (disposition_of_ship VARCHAR, ship_type VARCHAR, location VARCHAR), For the ship that was a brig and located in the English Channel, what was the disposition of ship? |
SELECT tonnage FROM table_name_19 WHERE date = "14" | CREATE TABLE table_name_19 (tonnage VARCHAR, date VARCHAR), With 14 under the date, what is the tonnage of the ship? |
SELECT disposition_of_ship FROM table_name_37 WHERE tonnage = "t" AND ship_name = "bacchus" | CREATE TABLE table_name_37 (disposition_of_ship VARCHAR, tonnage VARCHAR, ship_name VARCHAR), The ship named Bacchus with a tonnage of t had what disposition of ship? |
SELECT date FROM table_name_30 WHERE ship_type = "brig" AND location = "sw approaches" | CREATE TABLE table_name_30 (date VARCHAR, ship_type VARCHAR, location VARCHAR), What date was a brig type ship located in SW Approaches? |
SELECT COUNT(crowd) FROM table_name_59 WHERE round = "round 9" | CREATE TABLE table_name_59 (crowd VARCHAR, round VARCHAR), What was the attendance at Round 9? |
SELECT AVG(number_of_electorates__2009_) FROM table_name_77 WHERE constituency_number = "46" | CREATE TABLE table_name_77 (number_of_electorates__2009_ INTEGER, constituency_number VARCHAR), Which Number of electorates (2009) has a Constituency number of 46? |
SELECT capacity FROM table_name_81 WHERE code = "f4r" | CREATE TABLE table_name_81 (capacity VARCHAR, code VARCHAR), What is the capacity of code f4r? |
SELECT code FROM table_name_7 WHERE capacity = "1,461cc" AND name = "1.5 dci 110" | CREATE TABLE table_name_7 (code VARCHAR, capacity VARCHAR, name VARCHAR), What is the code of 1.5 dci 110, which has a capacity of 1,461cc? |
SELECT name FROM table_name_55 WHERE height = "6-5" AND year = "junior" | CREATE TABLE table_name_55 (name VARCHAR, height VARCHAR, year VARCHAR), Can you tell me the Name that has the Height of 6-5, and the Year of junior? |
SELECT AVG(weight) FROM table_name_69 WHERE height = "6-9" | CREATE TABLE table_name_69 (weight INTEGER, height VARCHAR), Can you tell me the average Weight that has Height of 6-9? |
SELECT lexton_plains FROM table_name_18 WHERE wins < 9 AND against < 1593 | CREATE TABLE table_name_18 (lexton_plains VARCHAR, wins VARCHAR, against VARCHAR), What team has fewer than 9 wins and less than 1593 against? |
SELECT MAX(wins) FROM table_name_84 WHERE byes > 0 | CREATE TABLE table_name_84 (wins INTEGER, byes INTEGER), What is the most wins with 0 byes? |
SELECT total FROM table_name_65 WHERE clubs = 10 AND place > 1 | CREATE TABLE table_name_65 (total VARCHAR, clubs VARCHAR, place VARCHAR), What total has 10 as the clubs, with a place greater than 1? |
SELECT MIN(clubs) FROM table_name_88 WHERE place > 5 AND all_around > 9.7 | CREATE TABLE table_name_88 (clubs INTEGER, place VARCHAR, all_around VARCHAR), What are the lowest clubs that have a place greater than 5, with an all around greater than 9.7? |
SELECT MAX(total) FROM table_name_98 WHERE name = "andrea sinko" AND all_around > 9.65 | CREATE TABLE table_name_98 (total INTEGER, name VARCHAR, all_around VARCHAR), What is the highest total that has andrea sinko as the name, with an all around greater than 9.65? |
SELECT COUNT(place) FROM table_name_84 WHERE name = "bianka panova" AND clubs < 10 | CREATE TABLE table_name_84 (place VARCHAR, name VARCHAR, clubs VARCHAR), How many places have bianka panova as the name, with clubs less than 10? |
SELECT date FROM table_name_59 WHERE country = "china" AND perpetrator = "shi yuejun , 35" | CREATE TABLE table_name_59 (date VARCHAR, country VARCHAR, perpetrator VARCHAR), What is Date, when Country is "China", and when Perpetrator is "Shi Yuejun , 35"? |
SELECT injured FROM table_name_21 WHERE country = "afghanistan" | CREATE TABLE table_name_21 (injured VARCHAR, country VARCHAR), What is Injured, when Country is "Afghanistan"? |
SELECT country FROM table_name_87 WHERE killed = 100.9 AND year > 1939.9 | CREATE TABLE table_name_87 (country VARCHAR, killed VARCHAR, year VARCHAR), What is Country, when Killed is "100.9", and when Year is greater than 1939.9? |
SELECT AVG(year) FROM table_name_64 WHERE date = "04.01 april 1" | CREATE TABLE table_name_64 (year INTEGER, date VARCHAR), What is the average Year, when Date is "04.01 April 1"? |
SELECT COUNT(position) FROM table_name_61 WHERE goals_against > 48 AND points_1 = "29" AND played < 34 | CREATE TABLE table_name_61 (position VARCHAR, played VARCHAR, goals_against VARCHAR, points_1 VARCHAR), What is the total number of positions when there are more than 48 goals against, 1 of 29 points are played, and less than 34 games have been played? |
SELECT MIN(goals_against) FROM table_name_86 WHERE lost = 8 AND goals_for = 60 | CREATE TABLE table_name_86 (goals_against INTEGER, lost VARCHAR, goals_for VARCHAR), What is the smallest number of goals against when 8 games were lost, and the goals for are 60? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.