answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT video FROM table_name_75 WHERE channel = 14.2 | What is the video ratio on channel 14.2? | CREATE TABLE table_name_75 (video VARCHAR, channel VARCHAR) |
SELECT SUM(round) FROM table_name_11 WHERE position = "tackle" AND player = "john sutro" AND pick < 79 | What round was john sutro, tackle, drafter with a pick lower than 79? | CREATE TABLE table_name_11 (round INTEGER, pick VARCHAR, position VARCHAR, player VARCHAR) |
SELECT AVG(total) FROM table_name_39 WHERE gold > 1 AND rank > 3 AND bronze > 3 | What is the average total for teams with more than 1 gold, ranked over 3 and more than 3 bronze? | CREATE TABLE table_name_39 (total INTEGER, bronze VARCHAR, gold VARCHAR, rank VARCHAR) |
SELECT tries_for FROM table_name_31 WHERE tries_against = "correct as of 2007-10-15" | tries against correct as of 2007-10-15 has what tries for? | CREATE TABLE table_name_31 (tries_for VARCHAR, tries_against VARCHAR) |
SELECT date FROM table_name_24 WHERE method = "technical knockout" AND opponent = "fatu tuimanono" | When did the technical knockout against Fatu Tuimanono happen? | CREATE TABLE table_name_24 (date VARCHAR, method VARCHAR, opponent VARCHAR) |
SELECT COUNT(episode) FROM table_2112766_1 WHERE viewers__in_millions_ = "8.4" | how many episode have 8.4 millions viewer. | CREATE TABLE table_2112766_1 (episode VARCHAR, viewers__in_millions_ VARCHAR) |
SELECT date FROM table_name_28 WHERE location = "zurich" AND result = 10.07 | When was Steve Williams in Zurich and his result was 10.07? | CREATE TABLE table_name_28 (date VARCHAR, location VARCHAR, result VARCHAR) |
SELECT COUNT(no_in_series) FROM table_18569389_1 WHERE us_viewers__million_ = "3.62" | Name the total number for number in series that got 3.62 viewers | CREATE TABLE table_18569389_1 (no_in_series VARCHAR, us_viewers__million_ VARCHAR) |
SELECT record FROM table_name_93 WHERE opponent = "milwaukee bucks" | Which Record has an Opponent of milwaukee bucks? | CREATE TABLE table_name_93 (record VARCHAR, opponent VARCHAR) |
SELECT MAX(l) & cr_no FROM table_1184344_1 WHERE name = "Archimedes" | What was the maximum l&cr number for archimedes? | CREATE TABLE table_1184344_1 (cr_no VARCHAR, l INTEGER, name VARCHAR) |
SELECT MIN(overall) FROM table_name_30 WHERE position = "cornerback" AND pick__number < 16 | Which cornerback has the lowest overall and a pick number smaller than 16? | CREATE TABLE table_name_30 (overall INTEGER, position VARCHAR, pick__number VARCHAR) |
SELECT open_cup FROM table_15672920_1 WHERE year = 2010 | Name the open cup for 2010 | CREATE TABLE table_15672920_1 (open_cup VARCHAR, year VARCHAR) |
SELECT COUNT(wins) FROM table_name_22 WHERE events < 2 | How many wins did he have when he played under 2 events? | CREATE TABLE table_name_22 (wins VARCHAR, events INTEGER) |
SELECT MIN(over_no) FROM table_name_37 WHERE bowler = "shane bond" | Bowler of shane bond has what lowest overall number? | CREATE TABLE table_name_37 (over_no INTEGER, bowler VARCHAR) |
SELECT title FROM table_name_40 WHERE transliteration = "u lyudey-to v domu" | What Title has a Transliteration of u lyudey-to v domu? | CREATE TABLE table_name_40 (title VARCHAR, transliteration VARCHAR) |
SELECT COUNT(district) FROM table_1342393_41 WHERE incumbent = "Cordell Hull" | Cordell Hull is the incumbent in how many districts? | CREATE TABLE table_1342393_41 (district VARCHAR, incumbent VARCHAR) |
SELECT province FROM table_name_79 WHERE party = "national" AND name = "ken wright" | Ken Wright of the National Party was from which province? | CREATE TABLE table_name_79 (province VARCHAR, party VARCHAR, name VARCHAR) |
SELECT date FROM table_name_73 WHERE away_team = "geelong" | What day did Geelong play as the away team? | CREATE TABLE table_name_73 (date VARCHAR, away_team VARCHAR) |
SELECT centre FROM table_name_34 WHERE rank = 42 | Which Centre has a Rank of 42? | CREATE TABLE table_name_34 (centre VARCHAR, rank VARCHAR) |
SELECT erp_w FROM table_name_19 WHERE frequency_mhz > 93.3 AND city_of_license = "washington, georgia" | Name the ERP W with a frequency mhz more than 93.3 and city license of washington, georgia | CREATE TABLE table_name_19 (erp_w VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR) |
SELECT 1994 FROM table_name_65 WHERE 1996 = "grand slams" | What is 1994, when 1996 is "Grand Slams"? | CREATE TABLE table_name_65 (Id VARCHAR) |
SELECT us_viewers__millions_ FROM table_27832075_2 WHERE series__number = 69 | How many million U.S. viewers wtched episode 69 of the series? | CREATE TABLE table_27832075_2 (us_viewers__millions_ VARCHAR, series__number VARCHAR) |
SELECT team FROM table_name_91 WHERE high_rebounds = "antawn jamison (10)" AND date = "november 5" | Can you tell me the Team that has the High rebounds of antawn jamison (10), and the Date of november 5? | CREATE TABLE table_name_91 (team VARCHAR, high_rebounds VARCHAR, date VARCHAR) |
SELECT T1.professional_id, T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING COUNT(*) >= 2 | Which professionals have done at least two types of treatments? List the professional id and cell phone. | CREATE TABLE Professionals (professional_id VARCHAR, cell_number VARCHAR); CREATE TABLE Treatments (professional_id VARCHAR) |
SELECT social_democratic FROM table_name_94 WHERE date_released = "october 10, 1999" | What is the social democrat released on October 10, 1999? | CREATE TABLE table_name_94 (social_democratic VARCHAR, date_released VARCHAR) |
SELECT of_4 FROM table_name_47 WHERE country = "albania" | What is the OF-4 of Albania? | CREATE TABLE table_name_47 (of_4 VARCHAR, country VARCHAR) |
SELECT COUNT(sound_engineer) FROM table_28005100_1 WHERE title = "Law Hakon '3er Leek" | How many sound engineers were there for law hakon '3er leek? | CREATE TABLE table_28005100_1 (sound_engineer VARCHAR, title VARCHAR) |
SELECT score_in_the_final FROM table_22834834_2 WHERE year = 1994 | What is the score in the final in the year 1994? | CREATE TABLE table_22834834_2 (score_in_the_final VARCHAR, year VARCHAR) |
SELECT poor_law_union FROM table_30120619_1 WHERE townland = "Barnahely" | What is the poor law union for the Barnahely towland? | CREATE TABLE table_30120619_1 (poor_law_union VARCHAR, townland VARCHAR) |
SELECT directed_by FROM table_18424435_4 WHERE production_code = 301 | Who directed the episode with a production code of 301? | CREATE TABLE table_18424435_4 (directed_by VARCHAR, production_code VARCHAR) |
SELECT MIN(crowd) FROM table_name_25 WHERE venue = "princes park" | Which Crowd has a Venue of princes park? | CREATE TABLE table_name_25 (crowd INTEGER, venue VARCHAR) |
SELECT hdtv FROM table_name_12 WHERE television_service = "r-light" | What is the HDTV status of the r-light television service? | CREATE TABLE table_name_12 (hdtv VARCHAR, television_service VARCHAR) |
SELECT transfer_fee FROM table_name_22 WHERE name = "jimmy gibson" | What is the transfer fee for Jimmy Gibson? | CREATE TABLE table_name_22 (transfer_fee VARCHAR, name VARCHAR) |
SELECT date FROM table_name_14 WHERE venue = "away" AND opponent = "swindon wildcats" | When did they play the swindon wildcats away? | CREATE TABLE table_name_14 (date VARCHAR, venue VARCHAR, opponent VARCHAR) |
SELECT year FROM table_name_65 WHERE points = 4 | What year shows 4 points? | CREATE TABLE table_name_65 (year VARCHAR, points VARCHAR) |
SELECT COUNT(earnings__) AS $__ FROM table_name_28 WHERE country = "united states" AND wins < 24 AND player = "george archer" AND rank > 5 | In total, how much did the United States player George Archer earn with Wins lower than 24 and a rank that was higher than 5? | CREATE TABLE table_name_28 (earnings__ VARCHAR, rank VARCHAR, player VARCHAR, country VARCHAR, wins VARCHAR) |
SELECT class FROM table_name_30 WHERE machine = "rs125r" AND points > 113 AND rank = "4th" | Which class had a machine of RS125R, points over 113, and a rank of 4th? | CREATE TABLE table_name_30 (class VARCHAR, rank VARCHAR, machine VARCHAR, points VARCHAR) |
SELECT date FROM table_name_63 WHERE away_team = "geelong" | What is the date with geelong as Away team? | CREATE TABLE table_name_63 (date VARCHAR, away_team VARCHAR) |
SELECT date FROM table_name_89 WHERE surface = "clay" AND score = "6–3, 5–7, 2–6" | Which Date has a Surface of clay, and a Score of 6–3, 5–7, 2–6? | CREATE TABLE table_name_89 (date VARCHAR, surface VARCHAR, score VARCHAR) |
SELECT position FROM table_name_51 WHERE level = 3 AND nationality = "saint kitts and nevis" | What is the Position of the Level 3 winner from Saint Kitts and Nevis? | CREATE TABLE table_name_51 (position VARCHAR, level VARCHAR, nationality VARCHAR) |
SELECT clive_churchill_medal FROM table_name_27 WHERE losingteam = "sydney roosters" AND season = 2010 | Who wins the clive churchill medal when the losing team is the sydney roosters in 2010? | CREATE TABLE table_name_27 (clive_churchill_medal VARCHAR, losingteam VARCHAR, season VARCHAR) |
SELECT title FROM table_name_4 WHERE year < 2011 AND network = "kbs2" AND genre = "drama" | What's the title when the genre is drama and network of KBS2 happening before 2011? | CREATE TABLE table_name_4 (title VARCHAR, genre VARCHAR, year VARCHAR, network VARCHAR) |
SELECT opponent FROM table_19778010_5 WHERE game = 8 | Who was game number 8 played against? | CREATE TABLE table_19778010_5 (opponent VARCHAR, game VARCHAR) |
SELECT MIN(total) FROM table_19681738_1 WHERE county = "Gila" | what is the least total in gila | CREATE TABLE table_19681738_1 (total INTEGER, county VARCHAR) |
SELECT opponent FROM table_name_17 WHERE week = 10 | Who is the opponent for week 10? | CREATE TABLE table_name_17 (opponent VARCHAR, week VARCHAR) |
SELECT ranking FROM table_name_14 WHERE season = "2009" | Which Ranking has a Season of 2009? | CREATE TABLE table_name_14 (ranking VARCHAR, season VARCHAR) |
SELECT position FROM table_16575609_1 WHERE college = "Louisiana-Lafayette" | What position was taken out of Louisiana-Lafayette? | CREATE TABLE table_16575609_1 (position VARCHAR, college VARCHAR) |
SELECT AVG(product_price), product_category_code FROM products GROUP BY product_category_code | What is the average price of the products for each category? | CREATE TABLE products (product_category_code VARCHAR, product_price INTEGER) |
SELECT school FROM table_name_38 WHERE team = "wildcats" | The wildcats belong to what school? | CREATE TABLE table_name_38 (school VARCHAR, team VARCHAR) |
SELECT MIN(position) FROM table_name_72 WHERE total < 66.5 AND compulsory = 30.9 AND voluntary < 33.7 | What's the position that has a total less than 66.5m, a compulsory of 30.9 and voluntary less than 33.7? | CREATE TABLE table_name_72 (position INTEGER, voluntary VARCHAR, total VARCHAR, compulsory VARCHAR) |
SELECT SUM(s_barangay) FROM table_name_72 WHERE area___has__ > 865.13 | What is the total of Barangay with an area larger than 865.13? | CREATE TABLE table_name_72 (s_barangay INTEGER, area___has__ INTEGER) |
SELECT score FROM table_name_11 WHERE tie_no < 2 | What was the score when the Tie no less than 2? | CREATE TABLE table_name_11 (score VARCHAR, tie_no INTEGER) |
SELECT score1 FROM table_name_32 WHERE opponent = "hapoel tel aviv" | What was the score against hapoel tel aviv? | CREATE TABLE table_name_32 (score1 VARCHAR, opponent VARCHAR) |
SELECT MAX(pts) FROM table_name_51 WHERE engine = "cosworth straight-4" | What is the highest number of points the cosworth straight-4 engine scored? | CREATE TABLE table_name_51 (pts INTEGER, engine VARCHAR) |
SELECT level FROM table_23649244_1 WHERE artist_1 = "Wale" | Which level has wale as artist 1? | CREATE TABLE table_23649244_1 (level VARCHAR, artist_1 VARCHAR) |
SELECT score_1 FROM table_name_55 WHERE attendance = "2,571" | What is the Score 1 of the game with Attendance of 2,571? | CREATE TABLE table_name_55 (score_1 VARCHAR, attendance VARCHAR) |
SELECT MAX(year) FROM table_name_98 WHERE result = "9th" | Tell me the highest year for result of 9th | CREATE TABLE table_name_98 (year INTEGER, result VARCHAR) |
SELECT COUNT(reason_for_change) FROM table_225094_4 WHERE successor = "Jonathan Jennings" | Name the reason for change for jonathan jennings | CREATE TABLE table_225094_4 (reason_for_change VARCHAR, successor VARCHAR) |
SELECT party FROM table_1341568_34 WHERE incumbent = "Stephen L. Neal" | What party did incumbent Stephen L. Neal belong to? | CREATE TABLE table_1341568_34 (party VARCHAR, incumbent VARCHAR) |
SELECT date FROM table_name_28 WHERE record = "54-69" | When was the game with a record of 54-69? | CREATE TABLE table_name_28 (date VARCHAR, record VARCHAR) |
SELECT manner_of_departure FROM table_27057070_3 WHERE replaced_by = "Bahman Hasanov" | What is the manner of departure when the replaced by is bahman hasanov? | CREATE TABLE table_27057070_3 (manner_of_departure VARCHAR, replaced_by VARCHAR) |
SELECT driver FROM table_name_80 WHERE time_retired = "+ 10 laps" AND points > 6 | What driver had a time/retired of + 10 laps and more than 6 points? | CREATE TABLE table_name_80 (driver VARCHAR, time_retired VARCHAR, points VARCHAR) |
SELECT date FROM table_name_70 WHERE event = "200m individual medley" | What is the date of the 200m individual medley? | CREATE TABLE table_name_70 (date VARCHAR, event VARCHAR) |
SELECT MIN(production_code) FROM table_12294557_3 | what is the minimum production code | CREATE TABLE table_12294557_3 (production_code INTEGER) |
SELECT title FROM table_23918997_1 WHERE directed_by = "Rowan Woods" | What was the title of the episode directed by Rowan Woods? | CREATE TABLE table_23918997_1 (title VARCHAR, directed_by VARCHAR) |
SELECT date FROM table_name_59 WHERE catalogue__number = "ptcd-1015-6" | What is the date with the catalogue number ptcd-1015-6? | CREATE TABLE table_name_59 (date VARCHAR, catalogue__number VARCHAR) |
SELECT won FROM table_17369472_2 WHERE points = "49" | How many were won when there were 49 points? | CREATE TABLE table_17369472_2 (won VARCHAR, points VARCHAR) |
SELECT 2011 FROM table_name_35 WHERE 2010 = "1r" AND 2012 = "sf" | Name the 2011 with 2010 of 1r and 2012 of sf | CREATE TABLE table_name_35 (Id VARCHAR) |
SELECT final_episode FROM table_name_72 WHERE episodes_credited = 187 | What was the final episode credited of 187? | CREATE TABLE table_name_72 (final_episode VARCHAR, episodes_credited VARCHAR) |
SELECT date FROM table_name_72 WHERE result = "3–2" AND score = "6–0, 6–4" | When was the Result of 3–2, with a Score of 6–0, 6–4? | CREATE TABLE table_name_72 (date VARCHAR, result VARCHAR, score VARCHAR) |
SELECT date FROM table_name_61 WHERE tournament = "ameritech senior open" | What is the Date of the Ameritech Senior Open? | CREATE TABLE table_name_61 (date VARCHAR, tournament VARCHAR) |
SELECT AVG(played) FROM table_name_61 WHERE losses = 6 AND wins > 33 | How many Played that has Losses of 6, and Wins larger than 33? | CREATE TABLE table_name_61 (played INTEGER, losses VARCHAR, wins VARCHAR) |
SELECT COUNT(pos) FROM table_15530244_5 WHERE race_1 = "2" | Name the total number of positions for race 1 being 2 | CREATE TABLE table_15530244_5 (pos VARCHAR, race_1 VARCHAR) |
SELECT MAX(YEAR) FROM perpetrator | In which year did the most recent crime happen? | CREATE TABLE perpetrator (YEAR INTEGER) |
SELECT player FROM table_name_35 WHERE place = "t9" AND country = "australia" | Which player is from Australia, and has a place of t9? | CREATE TABLE table_name_35 (player VARCHAR, place VARCHAR, country VARCHAR) |
SELECT celebrity FROM table_name_84 WHERE famous_for = "actor" | What celebrity is famous for being an actor? | CREATE TABLE table_name_84 (celebrity VARCHAR, famous_for VARCHAR) |
SELECT MAX(weight) FROM table_25360865_1 | Name the most height | CREATE TABLE table_25360865_1 (weight INTEGER) |
SELECT release_date FROM table_name_34 WHERE voltage_range = "1.148 v - 1.196 v" | Which Release Date has a Voltage Range of 1.148 v - 1.196 v? | CREATE TABLE table_name_34 (release_date VARCHAR, voltage_range VARCHAR) |
SELECT womens_doubles FROM table_20361783_1 WHERE year = 2010 | who won womens doubles in 2010 | CREATE TABLE table_20361783_1 (womens_doubles VARCHAR, year VARCHAR) |
SELECT T2.Railway_ID, T1.Builder FROM railway AS T1 JOIN train AS T2 ON T1.Railway_ID = T2.Railway_ID GROUP BY T2.Railway_ID ORDER BY COUNT(*) DESC LIMIT 1 | Show the id and builder of the railway that are associated with the most trains. | CREATE TABLE train (Railway_ID VARCHAR); CREATE TABLE railway (Builder VARCHAR, Railway_ID VARCHAR) |
SELECT SUM(lane) FROM table_name_89 WHERE rank = 2 | What is the lane total when rank is 2? | CREATE TABLE table_name_89 (lane INTEGER, rank VARCHAR) |
SELECT athlete FROM table_name_94 WHERE notes = "sc/d" AND rank = 6 | Which athlete had a rank of 6 and notes of sc/d? | CREATE TABLE table_name_94 (athlete VARCHAR, notes VARCHAR, rank VARCHAR) |
SELECT organisation FROM table_name_84 WHERE year < 2005 AND award = "best variety show host" | what is the organisation when the year is less than 2005 and the award is the best variety show host? | CREATE TABLE table_name_84 (organisation VARCHAR, year VARCHAR, award VARCHAR) |
SELECT lot_details, investor_id FROM LOTS | Return the lot details and investor ids. | CREATE TABLE LOTS (lot_details VARCHAR, investor_id VARCHAR) |
SELECT type FROM table_name_15 WHERE unit = "greifswald - 7 (kgr 7)" | Which type had the unit greifswald - 7 (kgr 7) ? | CREATE TABLE table_name_15 (type VARCHAR, unit VARCHAR) |
SELECT number_of_states FROM table_name_83 WHERE population__2009_estimate_ = "27,3 million" | How many states has a 2009 estimate population of 27,3 million? | CREATE TABLE table_name_83 (number_of_states VARCHAR, population__2009_estimate_ VARCHAR) |
SELECT shivalik_zone FROM table_10638523_1 WHERE mid_hill_zone = "10%" | What is the percentage of the Shivalik Zone where the percentage of the Mid-Hill Zone is 10%? | CREATE TABLE table_10638523_1 (shivalik_zone VARCHAR, mid_hill_zone VARCHAR) |
SELECT time FROM table_name_15 WHERE city = "sheffield" | What is the time for Sheffield? | CREATE TABLE table_name_15 (time VARCHAR, city VARCHAR) |
SELECT opponents FROM table_24901152_4 WHERE championship = "Rome" | Who were the opponents in the Rome championship? | CREATE TABLE table_24901152_4 (opponents VARCHAR, championship VARCHAR) |
SELECT written_by FROM table_24961421_1 WHERE us_viewers__millions_ = "12.15" | Who wrote the episode that had 12.15 million viewers? | CREATE TABLE table_24961421_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR) |
SELECT notes FROM table_name_89 WHERE year = 2011 | What were the notes in 2011? | CREATE TABLE table_name_89 (notes VARCHAR, year VARCHAR) |
SELECT score FROM table_name_25 WHERE date = "november 1" | What was the score for the game on November 1? | CREATE TABLE table_name_25 (score VARCHAR, date VARCHAR) |
SELECT position FROM table_name_30 WHERE round < 5 AND nationality = "canada" AND college_junior_club_team__league_ = "saint john sea dogs ( qmjhl )" | What is Position, when Round is less than 5, when Nationality is "Canada", and when College/Junior/Club Team (League) is "Saint John Sea Dogs ( QMJHL )"? | CREATE TABLE table_name_30 (position VARCHAR, college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR) |
SELECT position FROM table_name_28 WHERE character = "frank tripp" | What was the position of Frank Tripp? | CREATE TABLE table_name_28 (position VARCHAR, character VARCHAR) |
SELECT club FROM table_name_91 WHERE tries_against = "45" | Which club participated with a record of 45 tries against? | CREATE TABLE table_name_91 (club VARCHAR, tries_against VARCHAR) |
SELECT group FROM table_2062148_3 WHERE race = "Hollindale Stakes" | What group was the Hollindale Stakes in? | CREATE TABLE table_2062148_3 (group VARCHAR, race VARCHAR) |
SELECT MIN(game) FROM table_11961582_4 | What's the minimal game number in the season? | CREATE TABLE table_11961582_4 (game INTEGER) |
SELECT COUNT(points) FROM table_name_60 WHERE wins < 21 AND club = "palamós cf" AND goals_for < 40 | What is the number of points of palamós cf, which has less than 21 wins and less than 40 goals? | CREATE TABLE table_name_60 (points VARCHAR, goals_for VARCHAR, wins VARCHAR, club VARCHAR) |
SELECT percent_decline_from_peak_population FROM table_name_98 WHERE peak_population__year_ = "178320 (1960)" | what is the percent decline from peak population when the peak population (year) is 178320 (1960)? | CREATE TABLE table_name_98 (percent_decline_from_peak_population VARCHAR, peak_population__year_ VARCHAR) |
SELECT COUNT(background) FROM table_1289860_2 WHERE hometown = "Memphis, Tennessee" | How many backgrounds are there represented from Memphis, Tennessee? | CREATE TABLE table_1289860_2 (background VARCHAR, hometown VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.