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