answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT system FROM table_name_9 WHERE license = "freeware" | What is the System with a freeware License? | CREATE TABLE table_name_9 (system VARCHAR, license VARCHAR) |
SELECT MAX(points) FROM table_name_65 WHERE class = "125cc" AND team = "mv agusta" AND year > 1957 | Name the most points for class of 125cc and team of mv agusta with year more than 1957 | CREATE TABLE table_name_65 (points INTEGER, year VARCHAR, class VARCHAR, team VARCHAR) |
SELECT AVG(rank) FROM table_name_81 WHERE name = "karen frohner" AND points < 1266 | What was the rank for karen frohner with under 1266 points? | CREATE TABLE table_name_81 (rank INTEGER, name VARCHAR, points VARCHAR) |
SELECT round FROM table_1859269_1 WHERE winners_from_previous_round = "8" | If the winners from the previous round is 8, what is the round? | CREATE TABLE table_1859269_1 (round VARCHAR, winners_from_previous_round VARCHAR) |
SELECT AVG(goals) FROM table_name_54 WHERE name = "essi sainio" | What is the average goals for Essi Sainio? | CREATE TABLE table_name_54 (goals INTEGER, name VARCHAR) |
SELECT ends FROM table_name_77 WHERE since = 2007 AND name = "milito" | WHAT IS THE ENDS IN 2007 AND NAMED MILITO? | CREATE TABLE table_name_77 (ends VARCHAR, since VARCHAR, name VARCHAR) |
SELECT country FROM table_name_3 WHERE place = "t6" AND player = "raymond floyd" | What is the Country, when Place is T6, and when Player is "Raymond Floyd"? | CREATE TABLE table_name_3 (country VARCHAR, place VARCHAR, player VARCHAR) |
SELECT date FROM table_name_67 WHERE away_team = "fitzroy" | Which date has an Away team of fitzroy? | CREATE TABLE table_name_67 (date VARCHAR, away_team VARCHAR) |
SELECT driver___rider FROM table_name_58 WHERE car___motorcycle = "indian" | Which driver is Indian? | CREATE TABLE table_name_58 (driver___rider VARCHAR, car___motorcycle VARCHAR) |
SELECT pole_position FROM table_22765887_1 WHERE date = "August 15, 1981" | Who had the pole position in the August 15, 1981 race? | CREATE TABLE table_22765887_1 (pole_position VARCHAR, date VARCHAR) |
SELECT country FROM table_name_58 WHERE react < 0.242 AND points > 1041 | Which country has a reaction time of under 0.242 seconds and over 1041 points? | CREATE TABLE table_name_58 (country VARCHAR, react VARCHAR, points VARCHAR) |
SELECT away_team FROM table_name_74 WHERE home_team = "sheffield united" | What is sheffield united's away team? | CREATE TABLE table_name_74 (away_team VARCHAR, home_team VARCHAR) |
SELECT tournament FROM table_name_55 WHERE date = "july 6, 1987" | What was the tournament that was on july 6, 1987? | CREATE TABLE table_name_55 (tournament VARCHAR, date VARCHAR) |
SELECT team_2 FROM table_name_85 WHERE team_1 = "fc rouen (d1)" | what is team 2 when team 1 is fc rouen (d1)? | CREATE TABLE table_name_85 (team_2 VARCHAR, team_1 VARCHAR) |
SELECT preliminary_average FROM table_16323766_3 WHERE state = "Mississippi" | What was the preliminary average for Miss Mississippi? | CREATE TABLE table_16323766_3 (preliminary_average VARCHAR, state VARCHAR) |
SELECT airport FROM table_name_52 WHERE carriers = "malaysia airlines" | Which Airport has a Carrier of malaysia airlines? | CREATE TABLE table_name_52 (airport VARCHAR, carriers VARCHAR) |
SELECT COUNT(*), T1.name FROM scientists AS T1 JOIN assignedto AS T2 ON T1.ssn = T2.scientist GROUP BY T1.name | Find the number of projects which each scientist is working on and scientist's name. | CREATE TABLE scientists (name VARCHAR, ssn VARCHAR); CREATE TABLE assignedto (scientist VARCHAR) |
SELECT lost FROM table_name_73 WHERE points_for = "142" | Who lost with 142 points for? | CREATE TABLE table_name_73 (lost VARCHAR, points_for VARCHAR) |
SELECT date FROM table_name_44 WHERE attendance = "bye" | On what date was the attendance a bye? | CREATE TABLE table_name_44 (date VARCHAR, attendance VARCHAR) |
SELECT MAX(l3_cache__mb_) FROM table_269920_17 WHERE qpi_speed__gt_s_ = "4.8" AND speed__ghz_ = "2.00" AND model = "E5504" | What is the maximum L3 cache of the processor whose speed is 2.00 GHZ, has a QPI speed of 4.8 gt/s, and is model e5504? | CREATE TABLE table_269920_17 (l3_cache__mb_ INTEGER, model VARCHAR, qpi_speed__gt_s_ VARCHAR, speed__ghz_ VARCHAR) |
SELECT MIN(team_1) FROM table_name_89 WHERE agg = "asolo fonte (veneto b)" | What's the lowest team 1 number that had asolo fonte (veneto b) as the Agg.? | CREATE TABLE table_name_89 (team_1 INTEGER, agg VARCHAR) |
SELECT SUM(start) FROM table_name_35 WHERE year < 2012 AND team = "team penske" AND finish > 27 | How many starts have a year prior to 2012, and team penske as the team, with a finish greater than 27? | CREATE TABLE table_name_35 (start INTEGER, finish VARCHAR, year VARCHAR, team VARCHAR) |
SELECT player FROM table_name_20 WHERE to_par = "–2" | What Player has a To par of –2? | CREATE TABLE table_name_20 (player VARCHAR, to_par VARCHAR) |
SELECT SUM(total) FROM table_name_57 WHERE t_score > 8 AND e_score < 8.4 | What is the total of the team with a T score greater than 8 and an E score less than 8.4? | CREATE TABLE table_name_57 (total INTEGER, t_score VARCHAR, e_score VARCHAR) |
SELECT year FROM table_name_30 WHERE venue = "bad neuenahr eppelborn" | What year was the game at Bad Neuenahr Eppelborn? | CREATE TABLE table_name_30 (year VARCHAR, venue VARCHAR) |
SELECT actor FROM table_name_85 WHERE duration = "17 years" AND character = "harold bishop" | Which actor played Harold Bishop for 17 years? | CREATE TABLE table_name_85 (actor VARCHAR, duration VARCHAR, character VARCHAR) |
SELECT character_s_ FROM table_name_89 WHERE first_appearance = "amazing fantasy #15" | Which character first appeared in Amazing Fantasy #15? | CREATE TABLE table_name_89 (character_s_ VARCHAR, first_appearance VARCHAR) |
SELECT record FROM table_23346983_1 WHERE opponent = "Army" | What was the record for the Orangemen when they played against Army? | CREATE TABLE table_23346983_1 (record VARCHAR, opponent VARCHAR) |
SELECT date FROM table_11960407_4 WHERE high_rebounds = "Chris Bosh (14)" | When did Chris Bosh (14) have the high rebounds? | CREATE TABLE table_11960407_4 (date VARCHAR, high_rebounds VARCHAR) |
SELECT COUNT(r) FROM table WHERE coppa_italia > 1.0 | Name the total number of r for coppa italia larger than 1.0 | CREATE TABLE table (r VARCHAR, coppa_italia INTEGER) |
SELECT COUNT(pos) FROM table_14460937_2 WHERE member_association = "China PR" | how many pos with member association being china pr | CREATE TABLE table_14460937_2 (pos VARCHAR, member_association VARCHAR) |
SELECT team FROM table_15872814_7 WHERE high_assists = "Rafer Alston (5)" | What team had high assists Rafer Alston (5)? | CREATE TABLE table_15872814_7 (team VARCHAR, high_assists VARCHAR) |
SELECT SUM(total) FROM table_name_11 WHERE gold = 0 AND silver < 2 AND rank = "6" | What is the sum of Total for 0 gold and less than 2, silver with a rank of 6? | CREATE TABLE table_name_11 (total INTEGER, rank VARCHAR, gold VARCHAR, silver VARCHAR) |
SELECT player FROM table_name_81 WHERE to_par = "+8" | Which player has a to par of +8? | CREATE TABLE table_name_81 (player VARCHAR, to_par VARCHAR) |
SELECT MAX(score) FROM table_1506950_4 | What is the worst (highest) score? | CREATE TABLE table_1506950_4 (score INTEGER) |
SELECT home_team FROM table_name_21 WHERE tie_no = "14" | WHAT IS THE HOME TEAM WITH A TIE OF 14? | CREATE TABLE table_name_21 (home_team VARCHAR, tie_no VARCHAR) |
SELECT title__english_ FROM table_1481865_1 WHERE title__original_ = "Die Qual der Wahl" | What is the English title when the original title is Die Qual Der Wahl? | CREATE TABLE table_1481865_1 (title__english_ VARCHAR, title__original_ VARCHAR) |
SELECT october FROM table_name_61 WHERE november = "carina ragnarsson" | Who is in October when Carina Ragnarsson is in November? | CREATE TABLE table_name_61 (october VARCHAR, november VARCHAR) |
SELECT city FROM table_name_56 WHERE prize = "£1,000,000" | The prize of £1,000,000 was given by an event in what city? | CREATE TABLE table_name_56 (city VARCHAR, prize VARCHAR) |
SELECT years FROM table_name_21 WHERE role = "steve rhoades" | How many years did the role of Steve Rhoades last? | CREATE TABLE table_name_21 (years VARCHAR, role VARCHAR) |
SELECT COUNT(number_of_dances) FROM table_20424140_3 WHERE place = 6 | How many different numbers of total dances are there for the couple ranked at number 6? | CREATE TABLE table_20424140_3 (number_of_dances VARCHAR, place VARCHAR) |
SELECT ryds FROM table_name_35 WHERE ratt = "2" AND comp = "41" | What is the RYds when the RAtt was 2, and the comp is 41? | CREATE TABLE table_name_35 (ryds VARCHAR, ratt VARCHAR, comp VARCHAR) |
SELECT COUNT(population__2011_) FROM table_2562572_20 WHERE cyrillic_name_other_names = "Врбас" | Name the number of population for врбас | CREATE TABLE table_2562572_20 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR) |
SELECT location FROM table_name_81 WHERE school = "lakewood park christian" | What is the location for Lakewood Park Christian? | CREATE TABLE table_name_81 (location VARCHAR, school VARCHAR) |
SELECT inclination FROM table_name_16 WHERE semimajor_axis___au__ = "20 au" | What inclination has a semimajor axis of 20 au? | CREATE TABLE table_name_16 (inclination VARCHAR, semimajor_axis___au__ VARCHAR) |
SELECT MAX(rank) FROM table_name_32 WHERE name = "laure manaudou" | What is Laure Manaudou's highest rank? | CREATE TABLE table_name_32 (rank INTEGER, name VARCHAR) |
SELECT title FROM table_29545336_2 WHERE featured_character_s_ = "Abbud Siddiqui" | What is the title of the episode that featured Abbud Siddiqui? | CREATE TABLE table_29545336_2 (title VARCHAR, featured_character_s_ VARCHAR) |
SELECT country FROM table_14523485_9 WHERE channel = "TVNZ" | What country is the show aired on TVNZ? | CREATE TABLE table_14523485_9 (country VARCHAR, channel VARCHAR) |
SELECT home_team FROM table_name_31 WHERE tie_no = "60" | What was the home team when the Tie no was 60? | CREATE TABLE table_name_31 (home_team VARCHAR, tie_no VARCHAR) |
SELECT original_air_date FROM table_18335117_3 WHERE no_overall = 15 | When 15 is the number overall what is the original air date? | CREATE TABLE table_18335117_3 (original_air_date VARCHAR, no_overall VARCHAR) |
SELECT fastest_lap FROM table_26920192_5 WHERE circuit = "Magione" | Who had the fastest lap for the circuit magione? | CREATE TABLE table_26920192_5 (fastest_lap VARCHAR, circuit VARCHAR) |
SELECT season FROM table_name_87 WHERE round = "first round" AND result = "4–1, 0–1" | What season had a game in the first round with a result of 4–1, 0–1? | CREATE TABLE table_name_87 (season VARCHAR, round VARCHAR, result VARCHAR) |
SELECT away_team AS score FROM table_name_86 WHERE away_team = "collingwood" | When the away team was collingwood, what was the away team score? | CREATE TABLE table_name_86 (away_team VARCHAR) |
SELECT market_share FROM table_23801721_1 WHERE technology = "CDMA EVDO GSM EDGE HSPA+" | What was the market share of the operator whose technology is CDMA EVDO GSM EDGE HSPA+? | CREATE TABLE table_23801721_1 (market_share VARCHAR, technology VARCHAR) |
SELECT ag FROM table_name_73 WHERE d3 & 4 = "46" AND transmitter = "seaham" | What is the A.G. value associated with D3&4 of 46 and transmitter of Seaham? | CREATE TABLE table_name_73 (ag VARCHAR, transmitter VARCHAR, d3 VARCHAR) |
SELECT english_title FROM table_name_89 WHERE year = 2001 | What is the English title of the film from 2001? | CREATE TABLE table_name_89 (english_title VARCHAR, year VARCHAR) |
SELECT notes FROM table_name_80 WHERE rank = 1 | What are the notes for the contestants that were ranked #1? | CREATE TABLE table_name_80 (notes VARCHAR, rank VARCHAR) |
SELECT DISTINCT T1.Director FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID = T2.Film_ID WHERE T2.Year = 1995 | Show the distinct director of films with market estimation in the year of 1995. | CREATE TABLE film (Director VARCHAR, Film_ID VARCHAR); CREATE TABLE film_market_estimation (Film_ID VARCHAR, Year VARCHAR) |
SELECT score FROM table_name_59 WHERE date = "17/03/1956" | What's the score on 17/03/1956? | CREATE TABLE table_name_59 (score VARCHAR, date VARCHAR) |
SELECT result FROM table_14975415_1 WHERE english_title = "Diary for My Loves" | Was diary for my loves nominated? | CREATE TABLE table_14975415_1 (result VARCHAR, english_title VARCHAR) |
SELECT s_mestizo FROM table_1333612_1 WHERE asians = "0.2%" AND whites = "74.8%" | what's the s mestizo with asians being 0.2% and whites being 74.8% | CREATE TABLE table_1333612_1 (s_mestizo VARCHAR, asians VARCHAR, whites VARCHAR) |
SELECT position FROM table_name_53 WHERE player = "magnus nygren" | What is the Position, when Player is "Magnus Nygren"? | CREATE TABLE table_name_53 (position VARCHAR, player VARCHAR) |
SELECT total FROM table_name_13 WHERE score_points = "11" | which Total has a Score points of 11? | CREATE TABLE table_name_13 (total VARCHAR, score_points VARCHAR) |
SELECT name FROM user_profiles ORDER BY followers DESC LIMIT 5 | List the names of 5 users followed by the largest number of other users. | CREATE TABLE user_profiles (name VARCHAR, followers VARCHAR) |
SELECT years_for_grizzlies FROM table_name_81 WHERE school_club_team = "unlv" | What year did the Grizzlies play for the UNLV team? | CREATE TABLE table_name_81 (years_for_grizzlies VARCHAR, school_club_team VARCHAR) |
SELECT COUNT(population__2011_) FROM table_2562572_53 WHERE cyrillic_name = "Сурдук" | What was the population of сурдук in 2011? | CREATE TABLE table_2562572_53 (population__2011_ VARCHAR, cyrillic_name VARCHAR) |
SELECT direction FROM table_name_50 WHERE starting_point = "downtown transit center" AND terminus = "pensacola beach" | What is the direction of the route that stars at downtown transit center and has a terminus point at Pensacola Beach? | CREATE TABLE table_name_50 (direction VARCHAR, starting_point VARCHAR, terminus VARCHAR) |
SELECT home_team AS score FROM table_name_16 WHERE venue = "princes park" | What is the home team's score when the venue is princes park? | CREATE TABLE table_name_16 (home_team VARCHAR, venue VARCHAR) |
SELECT label FROM table_name_32 WHERE date = "february 14, 2002" | Which label is dated February 14, 2002? | CREATE TABLE table_name_32 (label VARCHAR, date VARCHAR) |
SELECT directed_by FROM table_17467447_1 WHERE production_code = "2T6267" | If the product code is 2t6267, who was the director? | CREATE TABLE table_17467447_1 (directed_by VARCHAR, production_code VARCHAR) |
SELECT mccain__percentage FROM table_20278716_2 WHERE others__percentage = "2.1%" | What percentage of voters chose McCain in the county where 2.1% of voters voted third party? | CREATE TABLE table_20278716_2 (mccain__percentage VARCHAR, others__percentage VARCHAR) |
SELECT AVG(rank) FROM table_name_8 WHERE day_of_week = "wednesday" AND year < 2012 AND studio_s_ = "reliance entertainment" | What is the average rank of the Reliance Entertainment movie with an opening day on Wednesday before 2012? | CREATE TABLE table_name_8 (rank INTEGER, studio_s_ VARCHAR, day_of_week VARCHAR, year VARCHAR) |
SELECT championship FROM table_1918850_2 WHERE opponents_in_the_final = "Arantxa Sánchez Vicario Todd Woodbridge" | which championship had arantxa sánchez vicario todd woodbridge as opponents in the final | CREATE TABLE table_1918850_2 (championship VARCHAR, opponents_in_the_final VARCHAR) |
SELECT AVG(first_game) FROM table_name_16 WHERE lost > 16 | What First game has a Lost greater than 16? | CREATE TABLE table_name_16 (first_game INTEGER, lost INTEGER) |
SELECT nominee FROM table_name_36 WHERE vote_to_save = "1.98%" | Which Nominee has a Vote to Save of 1.98%? | CREATE TABLE table_name_36 (nominee VARCHAR, vote_to_save VARCHAR) |
SELECT COUNT(date) FROM table_23916462_3 WHERE week = 4 | How many dates for the week of 4? | CREATE TABLE table_23916462_3 (date VARCHAR, week VARCHAR) |
SELECT COUNT(*) FROM player | How many players are there? | CREATE TABLE player (Id VARCHAR) |
SELECT notes FROM table_name_94 WHERE time = "6:24.21" | What are the notes with the time 6:24.21? | CREATE TABLE table_name_94 (notes VARCHAR, time VARCHAR) |
SELECT no FROM table_18424435_4 WHERE directed_by = "Kelly Makin" AND written_by = "Mark Ellis & Stephanie Morgenstern" | What number episode in the series was directed by Kelly Makin and written by Mark Ellis & Stephanie Morgenstern? | CREATE TABLE table_18424435_4 (no VARCHAR, directed_by VARCHAR, written_by VARCHAR) |
SELECT capital FROM table_name_53 WHERE area__km²_ = 2166086 | What capital has an area of 2166086? | CREATE TABLE table_name_53 (capital VARCHAR, area__km²_ VARCHAR) |
SELECT COUNT(crowd) FROM table_name_50 WHERE venue = "arden street oval" | What was the attendance when the VFL played Arden Street Oval? | CREATE TABLE table_name_50 (crowd VARCHAR, venue VARCHAR) |
SELECT mon_26_may FROM table_14209455_1 WHERE fri_30_may = "18' 28.27 122.599mph" | what time is mon may 26 and fri may 30 is 18' 28.27 122.599mph? | CREATE TABLE table_14209455_1 (mon_26_may VARCHAR, fri_30_may VARCHAR) |
SELECT policy_type_code FROM policies GROUP BY policy_type_code HAVING COUNT(*) > 2 | Find all the policy types that are used by more than 2 customers. | CREATE TABLE policies (policy_type_code VARCHAR) |
SELECT opponent FROM table_name_91 WHERE series = "bruins lead 2–1" | Which Opponent has a Series of bruins lead 2–1? | CREATE TABLE table_name_91 (opponent VARCHAR, series VARCHAR) |
SELECT SUM(no_in_series) FROM table_name_38 WHERE director = "jefferson kibbee" AND production_code = "2398191" | What is the total series numbers that is directed by Jefferson Kibbee and has a production code of 2398191? | CREATE TABLE table_name_38 (no_in_series INTEGER, director VARCHAR, production_code VARCHAR) |
SELECT AVG(wins) FROM table_name_96 WHERE played < 30 | What is the average Wins, when Played is less than 30? | CREATE TABLE table_name_96 (wins INTEGER, played INTEGER) |
SELECT team FROM table_11207040_6 WHERE outgoing_manager = "Jim McInally" | What teams does jim mcinally manage? | CREATE TABLE table_11207040_6 (team VARCHAR, outgoing_manager VARCHAR) |
SELECT high_points FROM table_name_67 WHERE record = "27–29" | Which High points have a Record of 27–29? | CREATE TABLE table_name_67 (high_points VARCHAR, record VARCHAR) |
SELECT away_team FROM table_name_61 WHERE home_team = "geelong" | Who went to Geelong to play? | CREATE TABLE table_name_61 (away_team VARCHAR, home_team VARCHAR) |
SELECT game FROM table_name_26 WHERE road_team = "houston" AND date = "june 15" | Which game has houston as the road team, and june 15 as the date? | CREATE TABLE table_name_26 (game VARCHAR, road_team VARCHAR, date VARCHAR) |
SELECT high_rebounds FROM table_22879323_10 WHERE date = "April 4" | What were the high rebounds on April 4? | CREATE TABLE table_22879323_10 (high_rebounds VARCHAR, date VARCHAR) |
SELECT DISTINCT T1.FirstName FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.country = "Brazil" | Find the first names of all customers that live in Brazil and have an invoice. | CREATE TABLE CUSTOMER (FirstName VARCHAR, CustomerId VARCHAR, country VARCHAR); CREATE TABLE INVOICE (CustomerId VARCHAR) |
SELECT event FROM table_name_33 WHERE method = "submission (triangle choke)" AND opponent = "thiago tavares" | Which event has a Method of submission (triangle choke), and an Opponent of thiago tavares? | CREATE TABLE table_name_33 (event VARCHAR, method VARCHAR, opponent VARCHAR) |
SELECT home_team AS score FROM table_name_89 WHERE away_team = "essendon" | What is the score of the home team aginst Essendon? | CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR) |
SELECT SUM(played) FROM table_name_27 WHERE first_game < 2000 AND lost < 21 AND drawn < 0 | What is the sum of matches played that has a year of first match before 2000, fewer than 21 lost, and 0 drawn? | CREATE TABLE table_name_27 (played INTEGER, drawn VARCHAR, first_game VARCHAR, lost VARCHAR) |
SELECT SUM(freq) FROM table_name_55 WHERE owner = "wpw" AND day_power___w__ > 250 | What is the WPW freq with a day power of 250? | CREATE TABLE table_name_55 (freq INTEGER, owner VARCHAR, day_power___w__ VARCHAR) |
SELECT home_team FROM table_name_44 WHERE venue = "kardinia park" | Who was the home team at the game played at Kardinia Park? | CREATE TABLE table_name_44 (home_team VARCHAR, venue VARCHAR) |
SELECT event FROM table_name_32 WHERE city = "copenhagen" | What was the Event in the city of copenhagen? | CREATE TABLE table_name_32 (event VARCHAR, city VARCHAR) |
SELECT name, age FROM people WHERE is_male = 'T' AND NOT people_id IN (SELECT male_id FROM wedding) | Show the name and age for all male people who don't have a wedding. | CREATE TABLE wedding (name VARCHAR, age VARCHAR, is_male VARCHAR, people_id VARCHAR, male_id VARCHAR); CREATE TABLE people (name VARCHAR, age VARCHAR, is_male VARCHAR, people_id VARCHAR, male_id VARCHAR) |
SELECT date FROM table_name_88 WHERE week > 11 AND opponent = "arizona cardinals" | On which date after week 11 was the opponent the arizona cardinals? | CREATE TABLE table_name_88 (date VARCHAR, week VARCHAR, opponent VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.