answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT MAX(brisbane) FROM table_24291077_8 WHERE melbourne = 276000 | What was the rating in Brisbane the week it was 276000 in Melbourne? | CREATE TABLE table_24291077_8 (brisbane INTEGER, melbourne VARCHAR) |
SELECT MIN(rank) FROM table_name_16 WHERE borough = "richmondshire" AND population > 8 OFFSET 178 | Which Rank is the lowest one that has a Borough of richmondshire, and a Population larger than 8,178? | CREATE TABLE table_name_16 (rank INTEGER, borough VARCHAR, population VARCHAR) |
SELECT horse FROM table_name_54 WHERE competition = "badminton horse trials" | What horse was at the Badminton Horse Trials? | CREATE TABLE table_name_54 (horse VARCHAR, competition VARCHAR) |
SELECT SUM(year) FROM table_name_43 WHERE course = "sunset ridge cc" | What is the year when the course is sunset ridge cc? | CREATE TABLE table_name_43 (year INTEGER, course VARCHAR) |
SELECT high_rebounds FROM table_27700530_14 WHERE date = "April 1" | Who had the most the most rebounds and how many did they have on April 1? | CREATE TABLE table_27700530_14 (high_rebounds VARCHAR, date VARCHAR) |
SELECT MIN(attendance) FROM table_name_77 WHERE record = "5–5–0" | Which Attendance is the lowest one that has a Record of 5–5–0? | CREATE TABLE table_name_77 (attendance INTEGER, record VARCHAR) |
SELECT date FROM table_name_40 WHERE result = "w 30–15" | On what Date was the Result of the game W 30–15? | CREATE TABLE table_name_40 (date VARCHAR, result VARCHAR) |
SELECT SUM(place__posición_) FROM table_name_70 WHERE points__pts_ > 49 AND goals_scored__gf_ < 54 | What is the sum of the places of the team with more than 49 points and less than 54 goals scored? | CREATE TABLE table_name_70 (place__posición_ INTEGER, points__pts_ VARCHAR, goals_scored__gf_ VARCHAR) |
SELECT name FROM table_name_13 WHERE population = "810" | What name has a population of 810? | CREATE TABLE table_name_13 (name VARCHAR, population VARCHAR) |
SELECT in_county_tuition_per_credit_hour__fall_2009_ FROM table_22308881_2 WHERE college = "Gloucester" | How much was the cost of in-county tuition per credit hour at the Gloucester College by the fall of 2009? | CREATE TABLE table_22308881_2 (in_county_tuition_per_credit_hour__fall_2009_ VARCHAR, college VARCHAR) |
SELECT time FROM table_name_27 WHERE rider = "steve plater" | What time did rider steve plater have? | CREATE TABLE table_name_27 (time VARCHAR, rider VARCHAR) |
SELECT title FROM table_name_29 WHERE state = "qin" | What was the title for the state of qin? | CREATE TABLE table_name_29 (title VARCHAR, state VARCHAR) |
SELECT visitor FROM table_name_29 WHERE home = "ny rangers" | Name the visitor for home of ny rangers | CREATE TABLE table_name_29 (visitor VARCHAR, home VARCHAR) |
SELECT street_address FROM table_name_94 WHERE floors = "40" | What is the street address of the building with 40 floors? | CREATE TABLE table_name_94 (street_address VARCHAR, floors VARCHAR) |
SELECT city FROM table_name_50 WHERE iata = "kul" | Which city's IATA is KUL? | CREATE TABLE table_name_50 (city VARCHAR, iata VARCHAR) |
SELECT new_wnba_team FROM table_name_52 WHERE pick > 7 | What was the new WNBA team of the player selected with a pick over 7? | CREATE TABLE table_name_52 (new_wnba_team VARCHAR, pick INTEGER) |
SELECT COUNT(the_mole) FROM table_13036251_1 WHERE airdate = "5 January 2012" | what's the the mole with airdate being 5 january 2012 | CREATE TABLE table_13036251_1 (the_mole VARCHAR, airdate VARCHAR) |
SELECT T1.Status FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID GROUP BY T2.Host_city_ID ORDER BY COUNT(*) DESC LIMIT 1 | Show the status of the city that has hosted the greatest number of competitions. | CREATE TABLE city (Status VARCHAR, City_ID VARCHAR); CREATE TABLE farm_competition (Host_city_ID VARCHAR) |
SELECT surface FROM table_name_38 WHERE against = "poland" | On what surface did Poland play as the against team? | CREATE TABLE table_name_38 (surface VARCHAR, against VARCHAR) |
SELECT 2007 FROM table_name_8 WHERE 2010 = "3.137" | What is the 2007 Lukoil oil prodroduction when in 2010 oil production 3.137 million tonnes? | CREATE TABLE table_name_8 (Id VARCHAR) |
SELECT group_iII FROM table_name_99 WHERE group_i = "racing club" | Who won group III when group 1 was of the racing club? | CREATE TABLE table_name_99 (group_iII VARCHAR, group_i VARCHAR) |
SELECT AVG(lost) FROM table_name_99 WHERE games = 64 AND champs < 0 | Which Lost has Games of 64, and Champs smaller than 0? | CREATE TABLE table_name_99 (lost INTEGER, games VARCHAR, champs VARCHAR) |
SELECT 1 AS st_leg FROM table_name_98 WHERE champion = "sakalai" | what team was the 1st leg champion of sakalai | CREATE TABLE table_name_98 (champion VARCHAR) |
SELECT enrollment FROM table_name_39 WHERE ihsaa_class = "a" AND mascot = "vikings" | What is the enrollment at the school with IHSAA class A and where mascot is the Vikings? | CREATE TABLE table_name_39 (enrollment VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR) |
SELECT SUM(rank) FROM table_name_78 WHERE name = "melaine walker" | What is Melaine Walker's Rank? | CREATE TABLE table_name_78 (rank INTEGER, name VARCHAR) |
SELECT name FROM table_name_21 WHERE length__ft_ = 71 | Who has a length of 71 ft? | CREATE TABLE table_name_21 (name VARCHAR, length__ft_ VARCHAR) |
SELECT league FROM table_name_87 WHERE school = "reed" | In what League is the Reed School? | CREATE TABLE table_name_87 (league VARCHAR, school VARCHAR) |
SELECT reason_for_change FROM table_224844_4 WHERE district = "Connecticut At-large" | Why was a seat left open fo Connecticut at-large? | CREATE TABLE table_224844_4 (reason_for_change VARCHAR, district VARCHAR) |
SELECT result FROM table_name_59 WHERE opponent = "leeds" AND date = "20/03/2008" | What result was a date of 20/03/2008 with leeds as the opponent | CREATE TABLE table_name_59 (result VARCHAR, opponent VARCHAR, date VARCHAR) |
SELECT MIN(seats_2001) FROM table_21132404_1 WHERE seats_2006 = 11 | How many seats were there in 2001 when there were 11 seats in 2006? | CREATE TABLE table_21132404_1 (seats_2001 INTEGER, seats_2006 VARCHAR) |
SELECT ottoman_sultan FROM table_24706337_1 WHERE treaty_at_the_end_of_the_war = "Treaty of Constantinople (1590)" | Who was the Ottoman Sultan where the treaty at the end of the war was the Treaty of Constantinople (1590)? | CREATE TABLE table_24706337_1 (ottoman_sultan VARCHAR, treaty_at_the_end_of_the_war VARCHAR) |
SELECT segment_a FROM table_name_91 WHERE segment_d = "diesel filters" | What is the Segment A entry for the episode that has an entry of Diesel filters for Segment D? | CREATE TABLE table_name_91 (segment_a VARCHAR, segment_d VARCHAR) |
SELECT SUM(floors) FROM table_name_81 WHERE street_address = "800 boylston street" | There is a building at 800 Boylston Street, how many floors does it have? | CREATE TABLE table_name_81 (floors INTEGER, street_address VARCHAR) |
SELECT MIN(total) FROM table_name_62 WHERE player = "tommy ring" AND rank > 1 | What is the lowest total of player tommy ring, who has a rank greater than 1? | CREATE TABLE table_name_62 (total INTEGER, player VARCHAR, rank VARCHAR) |
SELECT result FROM table_name_58 WHERE order__number = "4" AND week__number = "top 12" | What is the Result when the order is # 4, and the week # is top 12? | CREATE TABLE table_name_58 (result VARCHAR, order__number VARCHAR, week__number VARCHAR) |
SELECT gender FROM table_28523_2 WHERE age_range = "3-11" AND school = "St Adrian Roman Catholic Primary school" | What is the gender with a age range of 3-11 at the st adrian roman catholic primary school? | CREATE TABLE table_28523_2 (gender VARCHAR, age_range VARCHAR, school VARCHAR) |
SELECT date FROM table_name_71 WHERE loss = "francis (4–10)" | Loss of francis (4–10) happened on what date? | CREATE TABLE table_name_71 (date VARCHAR, loss VARCHAR) |
SELECT virtue FROM table_name_20 WHERE (latin) = invidia | Which virtue is Invidia(Latin)? | CREATE TABLE table_name_20 (virtue VARCHAR, invidia VARCHAR, latin VARCHAR) |
SELECT astc_member FROM table_name_39 WHERE state = "arkansas" AND aam_member = "no" AND aam_accredited = "yes" | What is ASTC Member, when State is Arkansas, when AAM Member is No, and when AAM Accredited is Yes? | CREATE TABLE table_name_39 (astc_member VARCHAR, aam_accredited VARCHAR, state VARCHAR, aam_member VARCHAR) |
SELECT 2007 FROM table_name_23 WHERE 2008 = "153" | With a 2008 result of 153 what is the result for 2007? | CREATE TABLE table_name_23 (Id VARCHAR) |
SELECT l2_cache FROM table_18823880_10 WHERE release_date = "September 2009" AND part_number_s_ = "BY80607002529AF" | When by80607002529af is the part number and september 2009 is the release date what is the l2 cache? | CREATE TABLE table_18823880_10 (l2_cache VARCHAR, release_date VARCHAR, part_number_s_ VARCHAR) |
SELECT COUNT(season) AS premiere FROM table_10120207_8 WHERE viewers__millions_ = "10.17" | What is the number of season premieres were 10.17 people watched? | CREATE TABLE table_10120207_8 (season VARCHAR, viewers__millions_ VARCHAR) |
SELECT location__all_in_nagano__ FROM table_name_18 WHERE name = "sakakita bs" | Which location includes Sakakita BS? | CREATE TABLE table_name_18 (location__all_in_nagano__ VARCHAR, name VARCHAR) |
SELECT AVG(wins) FROM table_name_85 WHERE division = "central" AND reds_season < 2000 AND losses < 81 | How many wins were there in the 2000 season in the central division with less than 81 losses? | CREATE TABLE table_name_85 (wins INTEGER, losses VARCHAR, division VARCHAR, reds_season VARCHAR) |
SELECT seats FROM table_name_71 WHERE _percentage_of_votes = "8.1" | Regarding the seats that casted 8.1% of the vote how many seats were held? | CREATE TABLE table_name_71 (seats VARCHAR, _percentage_of_votes VARCHAR) |
SELECT AVG(attendance) FROM table_name_63 WHERE record = "58–49" | What was the average attendance when the record was 58–49? | CREATE TABLE table_name_63 (attendance INTEGER, record VARCHAR) |
SELECT record FROM table_name_79 WHERE decision = "ellis" AND visitor = "vancouver" | What is the record of the game with a decision of Ellis and Vancouver as the visitor? | CREATE TABLE table_name_79 (record VARCHAR, decision VARCHAR, visitor VARCHAR) |
SELECT iata FROM table_name_1 WHERE state_territory = "new south wales" AND begin = "july 2009" | What is the IATA that has new south wales as the state/territory beginning on july 2009? | CREATE TABLE table_name_1 (iata VARCHAR, state_territory VARCHAR, begin VARCHAR) |
SELECT to_par FROM table_name_50 WHERE country = "england" | What's england's to par? | CREATE TABLE table_name_50 (to_par VARCHAR, country VARCHAR) |
SELECT engine FROM table_name_8 WHERE year > 2006 AND power = "bhp (kw)" | Which Engine has a Year that's Larger than 2006 and Power of BHP (KW)? | CREATE TABLE table_name_8 (engine VARCHAR, year VARCHAR, power VARCHAR) |
SELECT date FROM table_name_32 WHERE loser = "green bay packers" AND location = "green bay" | What date did the Chicago Bears beat the Green bay Packers 31-20? | CREATE TABLE table_name_32 (date VARCHAR, loser VARCHAR, location VARCHAR) |
SELECT MAX(whole_weeks) FROM table_19542477_9 | What is the longest number of weeks any 1 song was at number #1? | CREATE TABLE table_19542477_9 (whole_weeks INTEGER) |
SELECT AVG(enrollment) FROM table_name_38 WHERE mascot = "hot dogs" AND year_joined > 1926 | What is the average enrollment that has hot dogs as the mascot, with a year joined later than 1926? | CREATE TABLE table_name_38 (enrollment INTEGER, mascot VARCHAR, year_joined VARCHAR) |
SELECT result FROM table_1341663_26 WHERE district = "Missouri 2" | What is the result for the district missouri 2? | CREATE TABLE table_1341663_26 (result VARCHAR, district VARCHAR) |
SELECT home_team FROM table_name_48 WHERE venue = "glenferrie oval" | Which team has a home field at Glenferrie Oval? | CREATE TABLE table_name_48 (home_team VARCHAR, venue VARCHAR) |
SELECT song_sung FROM table_name_14 WHERE status = "eliminated" | Which Song Sung has a Status of Eliminated? | CREATE TABLE table_name_14 (song_sung VARCHAR, status VARCHAR) |
SELECT record FROM table_name_52 WHERE loss = "willis" | Loss of willis has what record? | CREATE TABLE table_name_52 (record VARCHAR, loss VARCHAR) |
SELECT position FROM table_name_79 WHERE year = "freshman" AND weight > 210 | What is the Position with a Year with freshman, and a Weight larger than 210? | CREATE TABLE table_name_79 (position VARCHAR, year VARCHAR, weight VARCHAR) |
SELECT d_42_√ FROM table_name_59 WHERE d_44_√ = "majority→" | What's the D 42 √ when D 44 √ is majority→? | CREATE TABLE table_name_59 (d_42_√ VARCHAR, d_44_√ VARCHAR) |
SELECT year FROM table_name_7 WHERE award = "17th bangkok critics assembly awards" AND category = "best original score" | Which Year has an Award of 17th bangkok critics assembly awards, and a Category of best original score? | CREATE TABLE table_name_7 (year VARCHAR, award VARCHAR, category VARCHAR) |
SELECT george_h_w_bush FROM table_name_84 WHERE result = "no opinion" | What percent of respondents had no opinion on George H.W. Bush? | CREATE TABLE table_name_84 (george_h_w_bush VARCHAR, result VARCHAR) |
SELECT area__km²_ FROM table_2168295_1 WHERE district = "Chittorgarh" | If the district is Chittorgarh, what is the area? | CREATE TABLE table_2168295_1 (area__km²_ VARCHAR, district VARCHAR) |
SELECT position FROM table_24587026_1 WHERE podiums = 0 AND team = "Carlin" | Name the position for 0 podiums and carlin team | CREATE TABLE table_24587026_1 (position VARCHAR, podiums VARCHAR, team VARCHAR) |
SELECT SUM(game) FROM table_name_32 WHERE november = 22 | Which Game has a November of 22? | CREATE TABLE table_name_32 (game INTEGER, november VARCHAR) |
SELECT episode_number FROM table_25391981_20 WHERE episode = "Week 4, Part 2" | What number episode was Week 4, Part 2? | CREATE TABLE table_25391981_20 (episode_number VARCHAR, episode VARCHAR) |
SELECT player FROM table_name_34 WHERE total < 277 | What player had a total less than 277? | CREATE TABLE table_name_34 (player VARCHAR, total INTEGER) |
SELECT nominee FROM table_name_81 WHERE award = "drama desk award" AND result = "won" AND category = "outstanding choreography" | Which nominee won the Drama Desk Award for outstanding choreography? | CREATE TABLE table_name_81 (nominee VARCHAR, category VARCHAR, award VARCHAR, result VARCHAR) |
SELECT SUM(played) FROM table_name_35 WHERE drawn < 2 AND against > 29 | What is the sum of Played when the drawn is less than 2 and against is more than 29? | CREATE TABLE table_name_35 (played INTEGER, drawn VARCHAR, against VARCHAR) |
SELECT date FROM table_name_62 WHERE ground = "colonial stadium" | What date was the Colonial Stadium? | CREATE TABLE table_name_62 (date VARCHAR, ground VARCHAR) |
SELECT MIN(points) FROM table_name_30 WHERE games > 20 AND team = "partizan belgrade" | What is the lowest Points, when Games is greater than 20, and when Team is Partizan Belgrade? | CREATE TABLE table_name_30 (points INTEGER, games VARCHAR, team VARCHAR) |
SELECT year_s__won FROM table_name_18 WHERE to_par > 5 AND total < 155 AND country = "united states" | Can you tell me the Year(s) Won that has the To par larger than 5, and the Total smaller than 155, and the Country of united states? | CREATE TABLE table_name_18 (year_s__won VARCHAR, country VARCHAR, to_par VARCHAR, total VARCHAR) |
SELECT MIN(game) FROM table_11964263_13 | Name the minimum game | CREATE TABLE table_11964263_13 (game INTEGER) |
SELECT COUNT(headphone_class) FROM table_1601027_1 WHERE us_msrp = "$150" | How many headphone classes have a US MSRP of $150? | CREATE TABLE table_1601027_1 (headphone_class VARCHAR, us_msrp VARCHAR) |
SELECT 31 - day_pass FROM table_20803241_1 WHERE type_of_fare = "Fixed Route" | When fixed route is the type of fare how much is the 31-day pass? | CREATE TABLE table_20803241_1 (day_pass VARCHAR, type_of_fare VARCHAR) |
SELECT MIN(episode__number) FROM table_25691838_8 WHERE original_airdate = "August 11" | What was the minimum number of the episode that first aired August 11? | CREATE TABLE table_25691838_8 (episode__number INTEGER, original_airdate VARCHAR) |
SELECT cable_rank FROM table_24399615_3 WHERE airdate = "10 December 2009" | What is the cable rank for the airdate of 10 december 2009? | CREATE TABLE table_24399615_3 (cable_rank VARCHAR, airdate VARCHAR) |
SELECT d_45_√ FROM table_name_99 WHERE d_46_√ = "d 46 √" | What is the D 45 √ with a D 46 √ with d 46 √? | CREATE TABLE table_name_99 (d_45_√ VARCHAR, d_46_√ VARCHAR) |
SELECT COUNT(age) FROM table_17596418_5 WHERE started = "6 November" | what ist he total number of ages where the start date is 6 november? | CREATE TABLE table_17596418_5 (age VARCHAR, started VARCHAR) |
SELECT best FROM table_name_47 WHERE qual_2 = "58.700" | Name the Best which has a Qual 2 of 58.700? | CREATE TABLE table_name_47 (best VARCHAR, qual_2 VARCHAR) |
SELECT MAX(lost) FROM table_name_9 WHERE points_1 > 58 AND goals_against = 66 | What is the maximum lost with points 1 more than 58 and 66 goals against? | CREATE TABLE table_name_9 (lost INTEGER, points_1 VARCHAR, goals_against VARCHAR) |
SELECT MAX(ends_lost) FROM table_name_2 WHERE shot_pct > 77 AND blank_ends = 11 AND stolen_ends = 7 AND ends_won > 44 | What's the highest Ends Lost with a shot % greater than 77, 11 blank ends, 7 stolen ends, and more than 44 ends one? | CREATE TABLE table_name_2 (ends_lost INTEGER, ends_won VARCHAR, stolen_ends VARCHAR, shot_pct VARCHAR, blank_ends VARCHAR) |
SELECT game FROM table_name_48 WHERE team = "philadelphia" | What is Game, when Team is "Philadelphia" | CREATE TABLE table_name_48 (game VARCHAR, team VARCHAR) |
SELECT minimum_age_at_1st_dose FROM table_name_28 WHERE number_of_doses = "3 doses" AND dose = "2-3 drops" | Name the least age for the 1st dose for 3 doses of 2-3 drops | CREATE TABLE table_name_28 (minimum_age_at_1st_dose VARCHAR, number_of_doses VARCHAR, dose VARCHAR) |
SELECT COUNT(other) FROM table_23777640_1 WHERE gn_divisions = 95 | How many figures for Other in the district where the GN division is 95? | CREATE TABLE table_23777640_1 (other VARCHAR, gn_divisions VARCHAR) |
SELECT constructor FROM table_name_94 WHERE grid < 6 AND laps < 49 | Who built the under grid 6 car with under 49 laps? | CREATE TABLE table_name_94 (constructor VARCHAR, grid VARCHAR, laps VARCHAR) |
SELECT SUM(avg_g) FROM table_name_71 WHERE long = 93 AND loss < 249 | Which Avg/G has a Long of 93, and a Loss smaller than 249? | CREATE TABLE table_name_71 (avg_g INTEGER, long VARCHAR, loss VARCHAR) |
SELECT 1 AS st_leg FROM table_name_13 WHERE agg = "2-1" | What is the 1st leg of the team with a 2-1 agg.? | CREATE TABLE table_name_13 (agg VARCHAR) |
SELECT game FROM table_21091157_1 WHERE record = "1-0" | Name the game for record 1-0 | CREATE TABLE table_21091157_1 (game VARCHAR, record VARCHAR) |
SELECT COUNT(wins) FROM table_name_4 WHERE goals_for > 35 AND team = "montreal hockey club" AND losses < 2 | What is the sum of wins when the goals for number was bigger than 35, the team was the Montreal Hockey Club, and the number of losses was less than 2? | CREATE TABLE table_name_4 (wins VARCHAR, losses VARCHAR, goals_for VARCHAR, team VARCHAR) |
SELECT winner FROM table_name_33 WHERE circuit = "june 8" | What is Winner, when Circuit is June 8? | CREATE TABLE table_name_33 (winner VARCHAR, circuit VARCHAR) |
SELECT AVG(against) FROM table_name_93 WHERE byes < 3 | What was the against were there were less than 3 byes? | CREATE TABLE table_name_93 (against INTEGER, byes INTEGER) |
SELECT COUNT(team) FROM table_27683516_3 WHERE date_of_vacancy = "30 October 2010" | How many dates of vacancy were on 30 october 2010? | CREATE TABLE table_27683516_3 (team VARCHAR, date_of_vacancy VARCHAR) |
SELECT finish FROM table_name_67 WHERE start = "19" | What is the finish value for a start of 19? | CREATE TABLE table_name_67 (finish VARCHAR, start VARCHAR) |
SELECT high_assists FROM table_27733909_10 WHERE game = 75 | Who had the highest assists in game 75? | CREATE TABLE table_27733909_10 (high_assists VARCHAR, game VARCHAR) |
SELECT years_for_rockets FROM table_name_80 WHERE no_s_ = "6" | Which years did the Rockets number 6 play? | CREATE TABLE table_name_80 (years_for_rockets VARCHAR, no_s_ VARCHAR) |
SELECT MIN(col__m_) FROM table_name_50 WHERE peak = "pico basilé" AND prominence__m_ < 3 OFFSET 011 | Name the lowest Col (m) with a Peak of pico basilé, and a Prominence (m) smaller than 3,011? | CREATE TABLE table_name_50 (col__m_ INTEGER, peak VARCHAR, prominence__m_ VARCHAR) |
SELECT MAX(draw) FROM table_name_54 WHERE points < 11 AND language = "norwegian" | what is the highest draw when points is less than 11 and language is norwegian? | CREATE TABLE table_name_54 (draw INTEGER, points VARCHAR, language VARCHAR) |
SELECT date FROM table_name_63 WHERE decision = "osgood" AND score = "3 – 4" | What date has a Decision of osgood, and a Score of 3 – 4? | CREATE TABLE table_name_63 (date VARCHAR, decision VARCHAR, score VARCHAR) |
SELECT fname FROM authors ORDER BY fname | Find the first names of all the authors ordered in alphabetical order. | CREATE TABLE authors (fname VARCHAR) |
SELECT notes FROM table_name_36 WHERE year = 2005 | What are the notes for 2005? | CREATE TABLE table_name_36 (notes VARCHAR, year VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.