context
stringlengths 0
489
| instruction
stringlengths 16
244
| response
stringlengths 38
557
|
---|---|---|
CREATE TABLE table_name_28 (length_feet VARCHAR, name VARCHAR, mi_from_kingston VARCHAR, length_meters VARCHAR) | What is Lenth Feet, when Mi From Kingston is greater than 84.5, when Length Meters is greater than 55.5, and when Name is Unnamed? | SELECT length_feet FROM table_name_28 WHERE mi_from_kingston > 84.5 AND length_meters > 55.5 AND name = "unnamed" |
CREATE TABLE table_name_80 (fractievoorzitter VARCHAR, lijsttrekker VARCHAR, year VARCHAR) | What is Fractievoorzitter, when Lijsttrekker is "No Elections", and when Year is after 2005? | SELECT fractievoorzitter FROM table_name_80 WHERE lijsttrekker = "no elections" AND year > 2005 |
CREATE TABLE table_name_19 (opponents_in_the_final VARCHAR, surface VARCHAR, date VARCHAR) | Who was the opponents in the final on January 5, 2003, on a hard surface? | SELECT opponents_in_the_final FROM table_name_19 WHERE surface = "hard" AND date = "january 5, 2003" |
CREATE TABLE table_name_79 (cabinet VARCHAR, chair VARCHAR, fractievoorzitter VARCHAR, year VARCHAR, lijsttrekker VARCHAR) | What is Cabinet, when Year is before 2001, when Lijsttrekker is "No Elections", when Fractievoorzitter is "Hans Van Mierlo", and when Chair is "S. Van Der Loo"? | SELECT cabinet FROM table_name_79 WHERE year < 2001 AND lijsttrekker = "no elections" AND fractievoorzitter = "hans van mierlo" AND chair = "s. van der loo" |
CREATE TABLE table_name_78 (tennis VARCHAR, school VARCHAR, swimming VARCHAR, golf VARCHAR, soccer VARCHAR) | What is the status for tennis at cleveland state who has yes for swimming, golf and soccer? | SELECT tennis FROM table_name_78 WHERE golf = "yes" AND soccer = "yes" AND swimming = "yes" AND school = "cleveland state" |
CREATE TABLE table_name_70 (pick INTEGER, school_club_team VARCHAR) | What is the average pick for Florida State? | SELECT AVG(pick) FROM table_name_70 WHERE school_club_team = "florida state" |
CREATE TABLE table_name_87 (at_neutral_site VARCHAR, overall_record VARCHAR) | With an overall record of MU, 15-8 what is the at neutral site? | SELECT at_neutral_site FROM table_name_87 WHERE overall_record = "mu, 15-8" |
CREATE TABLE table_name_28 (current_streak VARCHAR, last_10_meetings VARCHAR) | For what current streak is KU, 8-2 under last 10 meetings? | SELECT current_streak FROM table_name_28 WHERE last_10_meetings = "ku, 8-2" |
CREATE TABLE table_name_37 (total VARCHAR, player VARCHAR, fa_cup VARCHAR) | How many totals have a Player of ahmad fouzee masuri, and an FA Cup larger than 0? | SELECT COUNT(total) FROM table_name_37 WHERE player = "ahmad fouzee masuri" AND fa_cup > 0 |
CREATE TABLE table_name_44 (fa_cup INTEGER, malaysia_cup VARCHAR, total VARCHAR) | Which FA Cup has a Malaysia Cup larger than 0, and a Total of 8? | SELECT SUM(fa_cup) FROM table_name_44 WHERE malaysia_cup > 0 AND total = 8 |
CREATE TABLE table_name_84 (opponent VARCHAR, round VARCHAR) | What team was the opponent when the round was sf? | SELECT opponent FROM table_name_84 WHERE round = "sf" |
CREATE TABLE table_name_99 (attendance INTEGER, venue VARCHAR, scorers VARCHAR) | What is the number of people in attendance when venue shows A, and Di Matteo, M. Hughes were the scorers? | SELECT SUM(attendance) FROM table_name_99 WHERE venue = "a" AND scorers = "di matteo, m. hughes" |
CREATE TABLE table_name_80 (score VARCHAR, player VARCHAR) | What was Craig Stadler's score? | SELECT score FROM table_name_80 WHERE player = "craig stadler" |
CREATE TABLE table_name_83 (player VARCHAR, total VARCHAR, finish VARCHAR) | Total larger than 285, and a Finish of t30 belongs to what player? | SELECT player FROM table_name_83 WHERE total > 285 AND finish = "t30" |
CREATE TABLE table_name_38 (high_rebounds VARCHAR, record VARCHAR) | Which player for a team with an 18-20 record had the most rebounds in a game? | SELECT high_rebounds FROM table_name_38 WHERE record = "18-20" |
CREATE TABLE table_name_3 (to_par VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR) | What is the to par for Leonard Thompson from the United States with a place of T6? | SELECT to_par FROM table_name_3 WHERE place = "t6" AND country = "united states" AND player = "leonard thompson" |
CREATE TABLE table_name_49 (score VARCHAR, home VARCHAR, date VARCHAR) | What's the score for Toronto Maple Leafs on November 10? | SELECT score FROM table_name_49 WHERE home = "toronto maple leafs" AND date = "november 10" |
CREATE TABLE table_name_24 (run_2 INTEGER, country VARCHAR, athlete VARCHAR) | What is the run 2 of athlete Maria Orlova from Russia? | SELECT SUM(run_2) FROM table_name_24 WHERE country = "russia" AND athlete = "maria orlova" |
CREATE TABLE table_name_47 (d__max_ INTEGER, morse_taper_number INTEGER) | What is the minimum D (max) when the Morse Taper number is less than 0? | SELECT MIN(d__max_) FROM table_name_47 WHERE morse_taper_number < 0 |
CREATE TABLE table_name_62 (finale VARCHAR, premiere VARCHAR) | When was the finale played when the show premiered on September 24, 2002? | SELECT finale FROM table_name_62 WHERE premiere = "september 24, 2002" |
CREATE TABLE table_name_3 (average_points_per_race_entered INTEGER, driver VARCHAR, entries VARCHAR) | What is the lowest average points per race entered of driver kimi räikkönen, who has more than 194 entries? | SELECT MIN(average_points_per_race_entered) FROM table_name_3 WHERE driver = "kimi räikkönen" AND entries > 194 |
CREATE TABLE table_name_75 (average_points_per_race_entered INTEGER, points VARCHAR, average_pre_2010 VARCHAR) | What is the highest average points per race of the driver with less than 969 points and an average pre-2010 less than 0? | SELECT MAX(average_points_per_race_entered) FROM table_name_75 WHERE points < 969 AND average_pre_2010 < 0 |
CREATE TABLE table_name_95 (losses VARCHAR, ties VARCHAR, season VARCHAR, team VARCHAR) | Which Losses have a Season larger than 1941, and a Team of hamilton wildcats, and Ties of 0? | SELECT losses FROM table_name_95 WHERE season > 1941 AND team = "hamilton wildcats" AND ties = 0 |
CREATE TABLE table_name_30 (score VARCHAR, home_team VARCHAR) | Which Score has a Home team of windsor & eton? | SELECT score FROM table_name_30 WHERE home_team = "windsor & eton" |
CREATE TABLE table_name_79 (to_par VARCHAR, score VARCHAR) | In the game that has a score of 71-71-70-73=285 what is the to par? | SELECT to_par FROM table_name_79 WHERE score = 71 - 71 - 70 - 73 = 285 |
What is the lowest 1994-1995, when Points is 145, and when Played is less than 114? | SELECT MIN(*) FROM table_name_2 WHERE points = 145 AND played < 114 |
|
CREATE TABLE table_name_17 (opponent VARCHAR, date VARCHAR) | Which opponent was present on April 14? | SELECT opponent FROM table_name_17 WHERE date = "april 14" |
CREATE TABLE table_name_37 (round INTEGER, winner VARCHAR) | What is the average number of rounds for winner Rafael Cavalcante? | SELECT AVG(round) FROM table_name_37 WHERE winner = "rafael cavalcante" |
CREATE TABLE table_name_67 (points INTEGER, lost VARCHAR, games VARCHAR) | What is the sum of points values that are associated with 0 losses and more than 8 games? | SELECT SUM(points) FROM table_name_67 WHERE lost = 0 AND games > 8 |
CREATE TABLE table_name_97 (points_difference VARCHAR, drawn VARCHAR, points VARCHAR, lost VARCHAR) | What is the difference associated with more than 2 points, fewer than 3 losses, and fewer than 1 draw? | SELECT points_difference FROM table_name_97 WHERE points > 2 AND lost < 3 AND drawn < 1 |
CREATE TABLE table_name_99 (year INTEGER, detroit__dtw_ VARCHAR) | For how many years did Detroit have a passenger fare of $307.29? | SELECT SUM(year) FROM table_name_99 WHERE detroit__dtw_ = "$307.29" |
CREATE TABLE table_name_74 (club VARCHAR, scorer VARCHAR, league_cup_goals VARCHAR, league_goals VARCHAR) | Which Club has a League Cup goals of 0, and a League goals of 11, and a Scorer of joe laidlaw? | SELECT club FROM table_name_74 WHERE league_cup_goals = 0 AND league_goals = "11" AND scorer = "joe laidlaw" |
CREATE TABLE table_name_93 (league_cup_goals INTEGER, scorer VARCHAR, fa_cup_goals VARCHAR) | Which League Cup goals have a Scorer of ken houghton, and an FA Cup goals smaller than 0? | SELECT MAX(league_cup_goals) FROM table_name_93 WHERE scorer = "ken houghton" AND fa_cup_goals < 0 |
CREATE TABLE table_name_57 (played VARCHAR, position VARCHAR, against VARCHAR, team VARCHAR) | How much Played has an Against larger than 11, and a Team of botafogo, and a Position smaller than 2? | SELECT COUNT(played) FROM table_name_57 WHERE against > 11 AND team = "botafogo" AND position < 2 |
CREATE TABLE table_name_39 (association VARCHAR, result VARCHAR, nominee VARCHAR, year VARCHAR) | What was the association for Indonesian Idol after 2005 with a Nominated Result? | SELECT association FROM table_name_39 WHERE nominee = "indonesian idol" AND year > 2005 AND result = "nominated" |
CREATE TABLE table_name_61 (lost VARCHAR, against VARCHAR, drawn VARCHAR, points VARCHAR) | How much Lost has a Drawn larger than 1, and Points smaller than 14, and an Against larger than 10? | SELECT COUNT(lost) FROM table_name_61 WHERE drawn > 1 AND points < 14 AND against > 10 |
CREATE TABLE table_name_56 (loss VARCHAR, opponent VARCHAR, save VARCHAR) | What's the loss of who has a Save of Miguel Saladin and played against Chinatrust Whales? | SELECT loss FROM table_name_56 WHERE opponent = "chinatrust whales" AND save = "miguel saladin" |
CREATE TABLE table_name_8 (attendance VARCHAR, record VARCHAR) | what game had a score of 86-71 | SELECT attendance FROM table_name_8 WHERE record = "86-71" |
CREATE TABLE table_name_10 (position_in_1998 VARCHAR, team VARCHAR) | What was the position of the Slavia team in 1998? | SELECT position_in_1998 FROM table_name_10 WHERE team = "slavia" |
CREATE TABLE table_name_67 (rider VARCHAR, time VARCHAR, manufacturer VARCHAR, grid VARCHAR, laps VARCHAR) | What is Rider, when Grid is less than 16, when Laps is 21, when Manufacturer is Honda, and when Time is +10.583? | SELECT rider FROM table_name_67 WHERE grid < 16 AND laps = 21 AND manufacturer = "honda" AND time = "+10.583" |
CREATE TABLE table_name_69 (finalist VARCHAR, semi_finalists VARCHAR) | Which Finalist has a Semi finalists of monica seles conchita martínez? | SELECT finalist FROM table_name_69 WHERE semi_finalists = "monica seles conchita martínez" |
CREATE TABLE table_name_62 (tournament VARCHAR, semi_finalists VARCHAR) | Which Tournament has a Semi finalists of martina hingis joannette kruger? | SELECT tournament FROM table_name_62 WHERE semi_finalists = "martina hingis joannette kruger" |
CREATE TABLE table_name_64 (player_name VARCHAR, position VARCHAR, college VARCHAR) | Who was a linebacker at Tennessee? | SELECT player_name FROM table_name_64 WHERE position = "linebacker" AND college = "tennessee" |
CREATE TABLE table_name_95 (fleet_number_s_ VARCHAR, class VARCHAR, quantity_preserved VARCHAR, quantity_made VARCHAR) | What is Fleet Number(s), when Quantity Preserved is "0", when Quantity Made is 1, and when Class is "Z"? | SELECT fleet_number_s_ FROM table_name_95 WHERE quantity_preserved = "0" AND quantity_made = "1" AND class = "z" |
CREATE TABLE table_name_92 (result VARCHAR, venue VARCHAR, score VARCHAR) | What is the Result of the AFG Arena, St. Gallen Competition with a Score of 1–0? | SELECT result FROM table_name_92 WHERE venue = "afg arena, st. gallen" AND score = "1–0" |
CREATE TABLE table_name_46 (winning_team VARCHAR, winning_pitcher VARCHAR, location VARCHAR) | Which winning team has a winning pitcher of Chris Young and was played in Arlington? | SELECT winning_team FROM table_name_46 WHERE winning_pitcher = "chris young" AND location = "arlington" |
CREATE TABLE table_name_96 (semi_final_dual_television_commentator VARCHAR, grand_final_television_commentator VARCHAR, spokesperson VARCHAR) | What is the semi-final dual television commentator status of the year with Pierre Tchernia as the grand final television commentator and an unknown spokesperson? | SELECT semi_final_dual_television_commentator FROM table_name_96 WHERE grand_final_television_commentator = "pierre tchernia" AND spokesperson = "unknown" |
CREATE TABLE table_name_54 (semi_final_television_commentator VARCHAR, spokesperson VARCHAR, year_s_ VARCHAR) | What is the semi-final television commentator status in 1962 with an unknown spokesperson? | SELECT semi_final_television_commentator FROM table_name_54 WHERE spokesperson = "unknown" AND year_s_ = 1962 |
CREATE TABLE table_name_77 (elevation__ft_ INTEGER, isolation VARCHAR, range VARCHAR, peak_name VARCHAR) | WHAT IS THE ELEVATION OF THE UNAKA MOUNTAINS, IN ROAN HIGH BLUFF PEAK, AND ISOLATION LARGER THAN 1.54? | SELECT AVG(elevation__ft_) FROM table_name_77 WHERE range = "unaka mountains" AND peak_name = "roan high bluff" AND isolation > 1.54 |
CREATE TABLE table_name_20 (grand_final_television_commentator VARCHAR, spokesperson VARCHAR, year_s_ VARCHAR, grand_final_dual_television_commentator VARCHAR) | What is the grand final television commentator status after 1959 when Dave was the grand final dual television commentator and Marie Myriam was the spokesperson? | SELECT grand_final_television_commentator FROM table_name_20 WHERE year_s_ > 1959 AND grand_final_dual_television_commentator = "dave" AND spokesperson = "marie myriam" |
CREATE TABLE table_name_52 (rank VARCHAR, bronze VARCHAR, silver VARCHAR) | what is the rank when bronze is less than 1 and silver is less than 1? | SELECT rank FROM table_name_52 WHERE bronze < 1 AND silver < 1 |
CREATE TABLE table_22347090_6 (production_code VARCHAR, us_viewers__million_ VARCHAR) | What is the production code for the episode that had 1.32 million U.S. viewers? | SELECT production_code FROM table_22347090_6 WHERE us_viewers__million_ = "1.32" |
CREATE TABLE table_name_43 (enrollment VARCHAR, affiliation VARCHAR, founded VARCHAR) | What is the total enrollment for an affiliation of public, and was founded before 1866? | SELECT COUNT(enrollment) FROM table_name_43 WHERE affiliation = "public" AND founded < 1866 |
CREATE TABLE table_name_5 (away_captain VARCHAR, venue VARCHAR) | What is the name of the away captain when the game was at Adelaide Oval? | SELECT away_captain FROM table_name_5 WHERE venue = "adelaide oval" |
CREATE TABLE table_name_1 (enrollment VARCHAR, affiliation VARCHAR, founded VARCHAR) | What is the total enrollment for a private/catholic affiliation and founded after 1842? | SELECT COUNT(enrollment) FROM table_name_1 WHERE affiliation = "private/catholic" AND founded > 1842 |
CREATE TABLE table_name_42 (winning_score VARCHAR, runner_s__up VARCHAR, margin_of_victory VARCHAR) | What was the winning score when the runner-up was Beth Daniel and the margin of victory was 7 strokes? | SELECT winning_score FROM table_name_42 WHERE runner_s__up = "beth daniel" AND margin_of_victory = "7 strokes" |
CREATE TABLE table_name_4 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) | What was the winning score when the margin of victory was a playoff for the Tournament of safeco classic? | SELECT winning_score FROM table_name_4 WHERE margin_of_victory = "playoff" AND tournament = "safeco classic" |
CREATE TABLE table_name_77 (became_duchess VARCHAR, name VARCHAR) | When did eleonor magdalene of the palatinate-neuburg become duchess? | SELECT became_duchess FROM table_name_77 WHERE name = "eleonor magdalene of the palatinate-neuburg" |
CREATE TABLE table_name_88 (player VARCHAR, place VARCHAR, score VARCHAR) | What is Player, when Place is "T5", and when Score is "69-72=141"? | SELECT player FROM table_name_88 WHERE place = "t5" AND score = 69 - 72 = 141 |
CREATE TABLE table_name_62 (type VARCHAR, location VARCHAR, disaster VARCHAR) | What type of disaster is rms atlantic categorized in that was located in Nova Scotia? | SELECT type FROM table_name_62 WHERE location = "nova scotia" AND disaster = "rms atlantic" |
CREATE TABLE table_name_36 (bike VARCHAR, grid VARCHAR, time VARCHAR, laps VARCHAR) | What bike has an accident time, less than 9 laps, and a 5 grid? | SELECT bike FROM table_name_36 WHERE time = "accident" AND laps < 9 AND grid = 5 |
CREATE TABLE table_name_94 (year VARCHAR, title VARCHAR, producer VARCHAR, director VARCHAR) | How many years was Kay Tagal Kang Hinintay directed by Rory Quintos and produced by Star Cinema? | SELECT COUNT(year) FROM table_name_94 WHERE producer = "star cinema" AND director = "rory quintos" AND title = "kay tagal kang hinintay" |
CREATE TABLE table_name_37 (first_elected INTEGER, counties_represented VARCHAR, committee VARCHAR) | When Baltimore County, Howard are represented, what's the first elected when the committee is environmental matters (vice-chair)? | SELECT MAX(first_elected) FROM table_name_37 WHERE counties_represented = "baltimore county, howard" AND committee = "environmental matters (vice-chair)" |
CREATE TABLE table_name_50 (party VARCHAR, counties_represented VARCHAR, delegate VARCHAR) | What party is the delegate of Turner, Frank S. Frank S. Turner of Howard County? | SELECT party FROM table_name_50 WHERE counties_represented = "howard" AND delegate = "turner, frank s. frank s. turner" |
CREATE TABLE table_name_43 (worldwide_gross VARCHAR, director_s_ VARCHAR, rank VARCHAR, studio VARCHAR) | For the movie directed by Martin Campbell at Columbia pictures with a ranking larger than 8, what is its worldwide gross? | SELECT worldwide_gross FROM table_name_43 WHERE rank > 8 AND studio = "columbia pictures" AND director_s_ = "martin campbell" |
CREATE TABLE table_name_67 (event VARCHAR, method VARCHAR, opponent VARCHAR) | What is the event when the method was submission (armbar), and Jeff Gibson was the opponent? | SELECT event FROM table_name_67 WHERE method = "submission (armbar)" AND opponent = "jeff gibson" |
CREATE TABLE table_name_78 (player VARCHAR, matches VARCHAR) | what player matched up with 9 | SELECT player FROM table_name_78 WHERE matches = "9" |
CREATE TABLE table_name_48 (team_1 VARCHAR) | What is the 2nd leg of the Internacional Team 1? | SELECT 2 AS nd_leg FROM table_name_48 WHERE team_1 = "internacional" |
CREATE TABLE table_name_69 (highest_attendance VARCHAR, rank VARCHAR, venue_name VARCHAR) | What is Highest Attendance, when Rank is 90, and when Venue Name is Infineon Raceway? | SELECT highest_attendance FROM table_name_69 WHERE rank = 90 AND venue_name = "infineon raceway" |
CREATE TABLE table_name_9 (record VARCHAR, visitor VARCHAR) | What was the record when Vancouver was the visitor? | SELECT record FROM table_name_9 WHERE visitor = "vancouver" |
CREATE TABLE table_name_97 (place VARCHAR, to_par VARCHAR, score VARCHAR) | What is the Place of the Player with a To par of +1 and Score of 74-70-69-72=285? | SELECT place FROM table_name_97 WHERE to_par = "+1" AND score = 74 - 70 - 69 - 72 = 285 |
CREATE TABLE table_name_70 (episode VARCHAR, performer_3 VARCHAR) | What is the total number of episodes where hugh laurie was the 3rd performer? | SELECT COUNT(episode) FROM table_name_70 WHERE performer_3 = "hugh laurie" |
CREATE TABLE table_name_38 (drawn INTEGER, position VARCHAR, against VARCHAR) | What is the smallest amount of draws when the position is less than 7 and the against is 19? | SELECT MIN(drawn) FROM table_name_38 WHERE position < 7 AND against = 19 |
CREATE TABLE table_name_43 (points INTEGER, lost VARCHAR, against VARCHAR) | What is the least amount of points when there were less than 4 losses and less than 16 against? | SELECT MIN(points) FROM table_name_43 WHERE lost < 4 AND against < 16 |
CREATE TABLE table_name_52 (score VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR) | Which Score has a Home of quebec nordiques, and a Visitor of vancouver blazers on february 28? | SELECT score FROM table_name_52 WHERE home = "quebec nordiques" AND visitor = "vancouver blazers" AND date = "february 28" |
CREATE TABLE table_name_62 (home VARCHAR, record VARCHAR, visitor VARCHAR, score VARCHAR) | Which Home has a Visitor of quebec nordiques, and a Score of 3–4, and a Record of 8–8–1? | SELECT home FROM table_name_62 WHERE visitor = "quebec nordiques" AND score = "3–4" AND record = "8–8–1" |
CREATE TABLE table_name_84 (date VARCHAR, opponent VARCHAR) | What is Date, when Opponent is @ Carolina Hurricanes? | SELECT date FROM table_name_84 WHERE opponent = "@ carolina hurricanes" |
CREATE TABLE table_name_68 (game INTEGER, location VARCHAR, attendance VARCHAR) | What is the lowest Game, when Location is Philips Arena, and when Attendance is less than 15,619? | SELECT MIN(game) FROM table_name_68 WHERE location = "philips arena" AND attendance < 15 OFFSET 619 |
CREATE TABLE table_name_99 (democratic VARCHAR, district VARCHAR, republican VARCHAR) | Which Democratic has a District smaller than 7, and a Republican of dan mansell? | SELECT democratic FROM table_name_99 WHERE district < 7 AND republican = "dan mansell" |
CREATE TABLE table_name_10 (location_attendance VARCHAR, high_assists VARCHAR, date VARCHAR) | Can you tell me the Location Attendance that has the High assists of luke ridnour (10), and the Date of december 3? | SELECT location_attendance FROM table_name_10 WHERE high_assists = "luke ridnour (10)" AND date = "december 3" |
CREATE TABLE table_name_98 (location_attendance VARCHAR, high_points VARCHAR) | Can you tell me Location Attendance that has the High points of andrew bogut (17)? | SELECT location_attendance FROM table_name_98 WHERE high_points = "andrew bogut (17)" |
CREATE TABLE table_name_23 (state VARCHAR, major_series VARCHAR, track VARCHAR) | What is the State with the imsa gt as the Major Series and a track in new orleans? | SELECT state FROM table_name_23 WHERE major_series = "imsa gt" AND track = "new orleans" |
CREATE TABLE table_name_15 (place VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR) | What is the place of plyaer Tim Herron from the United States with a to par of +1? | SELECT place FROM table_name_15 WHERE country = "united states" AND to_par = "+1" AND player = "tim herron" |
CREATE TABLE table_name_34 (unfavorable INTEGER, no_opinion VARCHAR, favorable VARCHAR, date VARCHAR) | What is the most unfavorable that is favorable of 34 during 1953 August and has a no opinion score larger than 24? | SELECT MAX(unfavorable) FROM table_name_34 WHERE favorable = 34 AND date = "1953 august" AND no_opinion > 24 |
CREATE TABLE table_name_43 (city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR) | What City of license has a Frequency MHz smaller than 95.9 with w223au as the call sign? | SELECT city_of_license FROM table_name_43 WHERE frequency_mhz < 95.9 AND call_sign = "w223au" |
CREATE TABLE table_name_20 (finalist VARCHAR, surface VARCHAR, semifinalists VARCHAR) | Who is the Finalist, when the Surface is Clay, and when the Semifinalist is Yevgeny Kafelnikov Juan Carlos Ferrero (2)? | SELECT finalist FROM table_name_20 WHERE surface = "clay" AND semifinalists = "yevgeny kafelnikov juan carlos ferrero (2)" |
CREATE TABLE table_name_17 (south_dakota VARCHAR, oklahoma VARCHAR) | What South Dakota has Bush of Oklahoma? | SELECT south_dakota FROM table_name_17 WHERE oklahoma = "bush" |
CREATE TABLE table_name_61 (train_name VARCHAR, frequency__inbound_outbound_ VARCHAR, destination VARCHAR) | What is the train name of the rail with a daily frequency and Jammutawi as the destination? | SELECT train_name FROM table_name_61 WHERE frequency__inbound_outbound_ = "daily" AND destination = "jammutawi" |
CREATE TABLE table_name_84 (tries INTEGER, player VARCHAR, points VARCHAR) | What is the smallest number of tries when Matt Diskin is the player and there are more than 16 points? | SELECT MIN(tries) FROM table_name_84 WHERE player = "matt diskin" AND points > 16 |
CREATE TABLE table_name_58 (position VARCHAR, player VARCHAR, squad_no VARCHAR, points VARCHAR, tries VARCHAR) | Which position has more than 4 points, less than 12 tries, a squad number of more than 1, and where Ali Lauitiiti is a player? | SELECT position FROM table_name_58 WHERE points > 4 AND tries < 12 AND squad_no > 1 AND player = "ali lauitiiti" |
CREATE TABLE table_name_58 (games INTEGER, lost VARCHAR, points VARCHAR, drawn VARCHAR) | What is the highest games from a game with points less than 4, drawn of 1 and a lost less than 6? | SELECT MAX(games) FROM table_name_58 WHERE points < 4 AND drawn = 1 AND lost < 6 |
CREATE TABLE table_name_90 (country VARCHAR, player VARCHAR) | What country does david gilford play for? | SELECT country FROM table_name_90 WHERE player = "david gilford" |
CREATE TABLE table_name_24 (score VARCHAR, visitor VARCHAR, date VARCHAR) | What is the score of the game on November 12 with the Chicago Black Hawks as the visitor team? | SELECT score FROM table_name_24 WHERE visitor = "chicago black hawks" AND date = "november 12" |
CREATE TABLE table_name_69 (position INTEGER, points VARCHAR, equipment VARCHAR) | What is the average position for a driver with less than 54 points and husaberg-bsu as equipment? | SELECT AVG(position) FROM table_name_69 WHERE points < 54 AND equipment = "husaberg-bsu" |
CREATE TABLE table_name_76 (class_aAAA VARCHAR, school_year VARCHAR) | Name the clas AAAA of school year 2000-01 | SELECT class_aAAA FROM table_name_76 WHERE school_year = "2000-01" |
CREATE TABLE table_name_62 (goals VARCHAR, transfer_fee VARCHAR) | how many times is the transfer fee £2,500,000? | SELECT COUNT(goals) FROM table_name_62 WHERE transfer_fee = "£2,500,000" |
CREATE TABLE table_name_81 (crew_chief VARCHAR, primary_sponsor_s_ VARCHAR, car_s_ VARCHAR, team VARCHAR) | Who is the crew chief of team Joe Gibbs Racing, which has a Chevrolet Monte Carlo and Fedex as the primary sponsor? | SELECT crew_chief FROM table_name_81 WHERE car_s_ = "chevrolet monte carlo" AND team = "joe gibbs racing" AND primary_sponsor_s_ = "fedex" |
CREATE TABLE table_name_16 (driver_s_ VARCHAR, crew_chief VARCHAR) | Who is the driver of the team with the crew chief Derrick Finley? | SELECT driver_s_ FROM table_name_16 WHERE crew_chief = "derrick finley" |
CREATE TABLE table_name_10 (crew_chief VARCHAR, team VARCHAR, driver_s_ VARCHAR) | Who is the crew chief of team Chip Ganassi Racing with Felix Sabates, which has Casey Mears as the driver? | SELECT crew_chief FROM table_name_10 WHERE team = "chip ganassi racing with felix sabates" AND driver_s_ = "casey mears" |
CREATE TABLE table_name_26 (record VARCHAR, visitor VARCHAR, date VARCHAR) | What is the record when the visiting team was the Quebec Nordiques on April 22? | SELECT record FROM table_name_26 WHERE visitor = "quebec nordiques" AND date = "april 22" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.