answer
stringlengths 18
557
| question
stringlengths 12
244
| context
stringlengths 27
489
|
|---|---|---|
SELECT title FROM Movie WHERE director = 'James Cameron' AND YEAR > 2000
|
What is the name of the movie produced after 2000 and directed by James Cameron?
|
CREATE TABLE Movie (title VARCHAR, director VARCHAR, YEAR VARCHAR)
|
SELECT league_from FROM table_name_48 WHERE player = "louis domingue"
|
Which League from has a Player of louis domingue?
|
CREATE TABLE table_name_48 (league_from VARCHAR, player VARCHAR)
|
SELECT member FROM table_11764007_2 WHERE week_sent_to_third_island = "1"
|
Who was sent to the third island in week 1?
|
CREATE TABLE table_11764007_2 (member VARCHAR, week_sent_to_third_island VARCHAR)
|
SELECT week_3_sept_14 FROM table_name_56 WHERE week_7_oct_12 = "georgia (5-1)"
|
What was the week 3 opponent for the year that had a week 7 opponent of Georgia (5-1)?
|
CREATE TABLE table_name_56 (week_3_sept_14 VARCHAR, week_7_oct_12 VARCHAR)
|
SELECT gp_winner FROM table_name_30 WHERE place = "genk" AND race_winners = "ben adriaenssen / ben van den bogaart"
|
What is the GP winner with a place of genk, with race winners ben adriaenssen / ben van den bogaart?
|
CREATE TABLE table_name_30 (gp_winner VARCHAR, place VARCHAR, race_winners VARCHAR)
|
SELECT MAX(round) FROM table_name_83 WHERE pick__number > 34
|
What is the highest round of the player with a pick number lower than 34?
|
CREATE TABLE table_name_83 (round INTEGER, pick__number INTEGER)
|
SELECT MIN(points) FROM table_name_43 WHERE driver = "alex sperafico" AND grid > 17
|
HOW MANY POINTS DOES ALEX SPERAFICO HAVE WITH A GRID LARGER THAN 17?
|
CREATE TABLE table_name_43 (points INTEGER, driver VARCHAR, grid VARCHAR)
|
SELECT MIN(silver) FROM table_name_73 WHERE bronze > 1 AND gold < 2 AND total < 2
|
What is the lowest silver that has a bronze greater than 1, a gold less than 2, and a total less than 2?
|
CREATE TABLE table_name_73 (silver INTEGER, total VARCHAR, bronze VARCHAR, gold VARCHAR)
|
SELECT score FROM table_name_21 WHERE date = "04 september 2006"
|
What is the score for 04 september 2006?
|
CREATE TABLE table_name_21 (score VARCHAR, date VARCHAR)
|
SELECT MIN(title_playoff) FROM table_name_42 WHERE league > 3 AND super_cup < 0
|
What is the lowest Title Playoff, when League is greater than 3, and when Super Cup is less than 0?
|
CREATE TABLE table_name_42 (title_playoff INTEGER, league VARCHAR, super_cup VARCHAR)
|
SELECT original_album FROM table_name_92 WHERE performer = "brad mehldau"
|
On the title feature brad mehldau as the performer, what is the original album?
|
CREATE TABLE table_name_92 (original_album VARCHAR, performer VARCHAR)
|
SELECT loan_club FROM table_12608427_8 WHERE name = "Westlake"
|
Who was the loan club for the Westlake game?
|
CREATE TABLE table_12608427_8 (loan_club VARCHAR, name VARCHAR)
|
SELECT COUNT(year) FROM table_name_71 WHERE venue = "sydney cricket ground" AND opponent = "parramatta eels"
|
What year was the venue at Sydney Cricket Ground, and the opponent was Parramatta Eels?
|
CREATE TABLE table_name_71 (year VARCHAR, venue VARCHAR, opponent VARCHAR)
|
SELECT name, prominence FROM mountain EXCEPT SELECT T1.name, T1.prominence FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id JOIN camera_lens AS T3 ON T2.camera_lens_id = T3.id WHERE T3.brand = 'Sigma'
|
Show the name and prominence of the mountains whose picture is not taken by a lens of brand 'Sigma'.
|
CREATE TABLE camera_lens (id VARCHAR, brand VARCHAR); CREATE TABLE mountain (name VARCHAR, prominence VARCHAR, id VARCHAR); CREATE TABLE photos (mountain_id VARCHAR, camera_lens_id VARCHAR); CREATE TABLE mountain (name VARCHAR, prominence VARCHAR)
|
SELECT artist FROM table_name_92 WHERE english_translation = "all this is music"
|
Which Artist has an English translation of all this is music?
|
CREATE TABLE table_name_92 (artist VARCHAR, english_translation VARCHAR)
|
SELECT home_games FROM table_28884858_1 WHERE team = "Seattle Seahawks"
|
What is the number listed in home games when the team is Seattle Seahawks?
|
CREATE TABLE table_28884858_1 (home_games VARCHAR, team VARCHAR)
|
SELECT COUNT(*), country FROM airports GROUP BY country ORDER BY COUNT(*) DESC
|
How many airports are there per country? Order the countries by decreasing number of airports.
|
CREATE TABLE airports (country VARCHAR)
|
SELECT faith FROM table_name_40 WHERE name = "belswains"
|
Which faith has a name of Belswains?
|
CREATE TABLE table_name_40 (faith VARCHAR, name VARCHAR)
|
SELECT outcome FROM table_name_55 WHERE date = "may 25, 2009"
|
What was the outcome on May 25, 2009?
|
CREATE TABLE table_name_55 (outcome VARCHAR, date VARCHAR)
|
SELECT MAX(no_in_series) FROM table_26736342_1 WHERE written_by = "John Shiban & Thomas Schnauz"
|
What is the latest episode written by John Shiban & Thomas Schnauz?
|
CREATE TABLE table_26736342_1 (no_in_series INTEGER, written_by VARCHAR)
|
SELECT T2.product_name FROM view_product_availability AS T1 JOIN products_for_hire AS T2 ON T1.product_id = T2.product_id WHERE T1.available_yn = 1
|
What are the names of products whose availability equals to 1?
|
CREATE TABLE view_product_availability (product_id VARCHAR, available_yn VARCHAR); CREATE TABLE products_for_hire (product_name VARCHAR, product_id VARCHAR)
|
SELECT year FROM table_name_90 WHERE rank_final = "6"
|
What year was the rank final of 6?
|
CREATE TABLE table_name_90 (year VARCHAR, rank_final VARCHAR)
|
SELECT AVG(week) FROM table_name_99 WHERE result = "l 31-27" AND attendance < 85 OFFSET 865
|
Tell me the week for result of l 31-27, and an Attendance smaller than 85,865
|
CREATE TABLE table_name_99 (week INTEGER, result VARCHAR, attendance VARCHAR)
|
SELECT MIN(lost) FROM table_name_25 WHERE points > 13 AND games < 8
|
What is the fewest losses associated with more than 13 points and fewer than 8 games?
|
CREATE TABLE table_name_25 (lost INTEGER, points VARCHAR, games VARCHAR)
|
SELECT county FROM table_101196_1 WHERE irish_name = "Carna"
|
What is the county for the Irish name Carna?
|
CREATE TABLE table_101196_1 (county VARCHAR, irish_name VARCHAR)
|
SELECT date FROM table_name_37 WHERE catalogue__number = "cocy-80093"
|
What is the date with the catalogue # cocy-80093?
|
CREATE TABLE table_name_37 (date VARCHAR, catalogue__number VARCHAR)
|
SELECT MAX(attendance) FROM table_24814477_2 WHERE game_site = "Rheinstadion"
|
What was the largest attendance at the Rheinstadion?
|
CREATE TABLE table_24814477_2 (attendance INTEGER, game_site VARCHAR)
|
SELECT AVG(goals_for) FROM table_name_62 WHERE goal_difference = "+40" AND points_1 > 55
|
What is the average goals for that has +40 as the goals difference, with points 1 greater than 55?
|
CREATE TABLE table_name_62 (goals_for INTEGER, goal_difference VARCHAR, points_1 VARCHAR)
|
SELECT MAX(year) FROM table_name_37 WHERE venue = "barcelona, spain"
|
What was the most recent year the venue was Barcelona, Spain?
|
CREATE TABLE table_name_37 (year INTEGER, venue VARCHAR)
|
SELECT COUNT(*) FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID JOIN Restaurant ON Visits_Restaurant.ResID = Restaurant.ResID WHERE Student.Fname = "Linda" AND Student.Lname = "Smith" AND Restaurant.ResName = "Subway"
|
How many times has the student Linda Smith visited Subway?
|
CREATE TABLE Visits_Restaurant (Id VARCHAR); CREATE TABLE Student (Id VARCHAR); CREATE TABLE Restaurant (Id VARCHAR)
|
SELECT home_team AS score FROM table_name_78 WHERE home_team = "north melbourne"
|
When the home team north melbourne was playing what did they score?
|
CREATE TABLE table_name_78 (home_team VARCHAR)
|
SELECT touchdowns FROM table_name_88 WHERE player = "william cole"
|
How many touchdowns were scored by William Cole?
|
CREATE TABLE table_name_88 (touchdowns VARCHAR, player VARCHAR)
|
SELECT AVG(year) FROM table_name_16 WHERE genre = "third-person shooter"
|
What year had Third-Person Shooter?
|
CREATE TABLE table_name_16 (year INTEGER, genre VARCHAR)
|
SELECT diameter__mi_ FROM table_name_65 WHERE longitude = "79.8° e"
|
What is the Diameter (mi) when the Longitude is 79.8° e?
|
CREATE TABLE table_name_65 (diameter__mi_ VARCHAR, longitude VARCHAR)
|
SELECT base FROM table_name_2 WHERE name = ".44 wcf"
|
Which Base has a Name of .44 wcf?
|
CREATE TABLE table_name_2 (base VARCHAR, name VARCHAR)
|
SELECT arranger_s_ FROM table_28715942_6 WHERE track = "I Kissed a Girl"
|
Who is the arranger for "I KIssed a Girl"?
|
CREATE TABLE table_28715942_6 (arranger_s_ VARCHAR, track VARCHAR)
|
SELECT team FROM table_name_15 WHERE co_drivers = "david brabham mario andretti"
|
Name the team for co-drivers of david brabham mario andretti
|
CREATE TABLE table_name_15 (team VARCHAR, co_drivers VARCHAR)
|
SELECT nationality FROM table_1013129_3 WHERE nhl_team = "Vancouver Canucks"
|
What is the nationality of the player from Vancouver Canucks?
|
CREATE TABLE table_1013129_3 (nationality VARCHAR, nhl_team VARCHAR)
|
SELECT declination___j2000__ FROM table_name_89 WHERE object_type = "spiral galaxy" AND constellation = "pegasus" AND ngc_number = "7337"
|
What is the declination of the spiral galaxy Pegasus with 7337 NGC
|
CREATE TABLE table_name_89 (declination___j2000__ VARCHAR, ngc_number VARCHAR, object_type VARCHAR, constellation VARCHAR)
|
SELECT away_team AS score FROM table_name_64 WHERE venue = "victoria park"
|
What did the Away team score in their game at Victoria Park?
|
CREATE TABLE table_name_64 (away_team VARCHAR, venue VARCHAR)
|
SELECT country FROM table_name_57 WHERE place = "t6" AND player = "ben crenshaw"
|
What is the Country of T6 Place Player Ben Crenshaw?
|
CREATE TABLE table_name_57 (country VARCHAR, place VARCHAR, player VARCHAR)
|
SELECT MIN(attendance) FROM table_name_25 WHERE record = "3-5"
|
What is the least attendance that has 3-5 as a record?
|
CREATE TABLE table_name_25 (attendance INTEGER, record VARCHAR)
|
SELECT region_1 FROM table_name_83 WHERE no_of_episodes = 12 AND region_2 = "18 august 2008"
|
Which region 1 has 12 Episodes and a Region 2 of 18 August 2008?
|
CREATE TABLE table_name_83 (region_1 VARCHAR, no_of_episodes VARCHAR, region_2 VARCHAR)
|
SELECT championship FROM table_name_72 WHERE session = "race" AND event = "indianapolis sweepstakes"
|
In the Indianapolis Sweepstakes race session, what is the championship?
|
CREATE TABLE table_name_72 (championship VARCHAR, session VARCHAR, event VARCHAR)
|
SELECT release_date FROM table_18590048_1 WHERE units_sold__in_millions_ = "9.87"
|
What day did the platform sell 9.87 million units?
|
CREATE TABLE table_18590048_1 (release_date VARCHAR, units_sold__in_millions_ VARCHAR)
|
SELECT inhabitants FROM table_name_42 WHERE election = 2009 AND municipality = "cremona"
|
Which inhabitants have 2009 as the election, with cremona as the municipality?
|
CREATE TABLE table_name_42 (inhabitants VARCHAR, election VARCHAR, municipality VARCHAR)
|
SELECT score FROM table_name_31 WHERE decision = "lundqvist" AND november < 28 AND opponent = "boston bruins"
|
What is the Score of the game with a decision of Lundqvist, the November less than 28, and opponent was Boston Bruins?
|
CREATE TABLE table_name_31 (score VARCHAR, opponent VARCHAR, decision VARCHAR, november VARCHAR)
|
SELECT mayor FROM table_name_97 WHERE party = "krf"
|
What Mayor is from the KRF Party?
|
CREATE TABLE table_name_97 (mayor VARCHAR, party VARCHAR)
|
SELECT MIN(took_office) FROM table_name_70 WHERE name = "yvette alexander" AND up_for_reelection > 2016
|
What was the earliest year that Yvette Alexander took office and was up for reelection after 2016?
|
CREATE TABLE table_name_70 (took_office INTEGER, name VARCHAR, up_for_reelection VARCHAR)
|
SELECT director FROM table_name_65 WHERE country = "poland"
|
What director is from Poland?
|
CREATE TABLE table_name_65 (director VARCHAR, country VARCHAR)
|
SELECT T2.name, COUNT(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id GROUP BY T1.stadium_id
|
Show the stadium name and the number of concerts in each stadium.
|
CREATE TABLE stadium (name VARCHAR, stadium_id VARCHAR); CREATE TABLE concert (stadium_id VARCHAR)
|
SELECT november FROM table_name_55 WHERE game < 12
|
What day in November has the game less than 12?
|
CREATE TABLE table_name_55 (november VARCHAR, game INTEGER)
|
SELECT gdp__ppp__per_capita___intl_$___2011 FROM table_26313243_1 WHERE country = "Haiti"
|
Name the gdp per capita for haiti
|
CREATE TABLE table_26313243_1 (gdp__ppp__per_capita___intl_$___2011 VARCHAR, country VARCHAR)
|
SELECT opponent FROM table_23466021_4 WHERE attendance = 32194
|
Which opponent has 32194 as the attendance?
|
CREATE TABLE table_23466021_4 (opponent VARCHAR, attendance VARCHAR)
|
SELECT year FROM table_name_80 WHERE chassis = "surtees ts19"
|
What's the year of the Chassis surtees ts19?
|
CREATE TABLE table_name_80 (year VARCHAR, chassis VARCHAR)
|
SELECT location FROM table_name_76 WHERE event = "kage kombat 16"
|
Where was the event Kage Kombat 16?
|
CREATE TABLE table_name_76 (location VARCHAR, event VARCHAR)
|
SELECT position FROM table_name_72 WHERE pick = 14
|
What position did pick 14 play?
|
CREATE TABLE table_name_72 (position VARCHAR, pick VARCHAR)
|
SELECT district FROM table_name_2 WHERE first_elected = 1858 AND result = "retired republican gain" AND incumbent = "william millward"
|
Which District has a First elected of 1858, and a Result of retired republican gain, and an Incumbent of william millward?
|
CREATE TABLE table_name_2 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR)
|
SELECT COUNT(party) FROM table_1342249_11 WHERE incumbent = "Carl Vinson"
|
How many parties does incumbent carl vinson represent?
|
CREATE TABLE table_1342249_11 (party VARCHAR, incumbent VARCHAR)
|
SELECT aggregate FROM table_name_65 WHERE opponents = "tauras"
|
Name the aggregate with opponents of tauras
|
CREATE TABLE table_name_65 (aggregate VARCHAR, opponents VARCHAR)
|
SELECT role FROM table_name_41 WHERE origin = "european union"
|
What is the role of the aircraft that originates from the European Union?
|
CREATE TABLE table_name_41 (role VARCHAR, origin VARCHAR)
|
SELECT tries_against FROM table_13940275_5 WHERE try_bonus = "10"
|
what's the tries against with try bonus being 10
|
CREATE TABLE table_13940275_5 (tries_against VARCHAR, try_bonus VARCHAR)
|
SELECT nation FROM table_name_74 WHERE second = "glenys bakker"
|
Glenys Bakker was second for which nation?
|
CREATE TABLE table_name_74 (nation VARCHAR, second VARCHAR)
|
SELECT acronym FROM table_1160660_1 WHERE website = "ul.edu.lb"
|
What is the acronym for the school whose website is ul.edu.lb
|
CREATE TABLE table_1160660_1 (acronym VARCHAR, website VARCHAR)
|
SELECT score FROM table_name_62 WHERE date = "april 9"
|
What's the score on April 9?
|
CREATE TABLE table_name_62 (score VARCHAR, date VARCHAR)
|
SELECT location FROM table_name_84 WHERE time = 10.82
|
Time of 10.82 has what location?
|
CREATE TABLE table_name_84 (location VARCHAR, time VARCHAR)
|
SELECT segment_c FROM table_15187735_3 WHERE segment_b = "Couscous"
|
Name the segment c for couscous
|
CREATE TABLE table_15187735_3 (segment_c VARCHAR, segment_b VARCHAR)
|
SELECT silver FROM table_name_11 WHERE gold = 2 AND bronze > 2
|
How many silver medals were there with 2 gold medals and more than 2 bronze medals?
|
CREATE TABLE table_name_11 (silver VARCHAR, gold VARCHAR, bronze VARCHAR)
|
SELECT college_junior_club_team FROM table_1965650_7 WHERE player = "Dan Follet"
|
Who did Dan Follet play for before the draft?
|
CREATE TABLE table_1965650_7 (college_junior_club_team VARCHAR, player VARCHAR)
|
SELECT tournament FROM table_name_67 WHERE opponent = "vladimir zednik"
|
What is the Tournament against Vladimir Zednik?
|
CREATE TABLE table_name_67 (tournament VARCHAR, opponent VARCHAR)
|
SELECT opponents FROM table_name_49 WHERE team = "arsenal" AND year = "1963–64"
|
Which Opponents have a Team of arsenal, and a Year of 1963–64?
|
CREATE TABLE table_name_49 (opponents VARCHAR, team VARCHAR, year VARCHAR)
|
SELECT MIN(population) FROM table_name_50 WHERE official_name = "big hole tract 8 (south)" AND area_km_2 > 27.82
|
What is the lowest population that has Big Hole Tract 8 (south) as the official name, with an area km 2 greater than 27.82?
|
CREATE TABLE table_name_50 (population INTEGER, official_name VARCHAR, area_km_2 VARCHAR)
|
SELECT original_title FROM table_name_35 WHERE director = "veljko bulajić category:articles with hcards" AND film_title_used_in_nomination = "train without a timetable"
|
What is Original title, when Director is Veljko Bulajić category:articles with hcards, and when Film title used in nomination is Train Without A Timetable?
|
CREATE TABLE table_name_35 (original_title VARCHAR, director VARCHAR, film_title_used_in_nomination VARCHAR)
|
SELECT MIN(attendance) FROM table_name_85 WHERE opponent = "@ nashville predators"
|
What was the lowest attendance for a game played @ Nashville Predators?
|
CREATE TABLE table_name_85 (attendance INTEGER, opponent VARCHAR)
|
SELECT COUNT(goal) FROM table_name_81 WHERE date = "15 november 1989"
|
How many total goals were made at the game on 15 November 1989?
|
CREATE TABLE table_name_81 (goal VARCHAR, date VARCHAR)
|
SELECT appearance FROM table_name_80 WHERE polyphenyl_ether = "3- and 4-ring oxythio"
|
What does Polyphenyl Ether of 3- and 4-ring oxythio look like?
|
CREATE TABLE table_name_80 (appearance VARCHAR, polyphenyl_ether VARCHAR)
|
SELECT skip FROM table_name_68 WHERE country = "canada"
|
What was Canada's skip?
|
CREATE TABLE table_name_68 (skip VARCHAR, country VARCHAR)
|
SELECT MAX(no_in_series) FROM table_22078972_2 WHERE written_by = "David North"
|
What's the series number of the episode whose writer is David North?
|
CREATE TABLE table_22078972_2 (no_in_series INTEGER, written_by VARCHAR)
|
SELECT record FROM table_name_77 WHERE game = 70
|
What's the record of Game 70?
|
CREATE TABLE table_name_77 (record VARCHAR, game VARCHAR)
|
SELECT COUNT(time) FROM table_name_90 WHERE heat_rank = 1
|
Tell me the total number of time for heat rank of 1
|
CREATE TABLE table_name_90 (time VARCHAR, heat_rank VARCHAR)
|
SELECT Market_Rate, name FROM furniture WHERE NOT Furniture_ID IN (SELECT Furniture_ID FROM furniture_manufacte)
|
Find the market shares and names of furnitures which no any company is producing in our records.
|
CREATE TABLE furniture (Market_Rate VARCHAR, name VARCHAR, Furniture_ID VARCHAR); CREATE TABLE furniture_manufacte (Market_Rate VARCHAR, name VARCHAR, Furniture_ID VARCHAR)
|
SELECT Leading AS scorer FROM table_name_70 WHERE record = "3-3"
|
Which Leading Scorer has a Record of 3-3?
|
CREATE TABLE table_name_70 (Leading VARCHAR, record VARCHAR)
|
SELECT format FROM table_name_96 WHERE owner = "laval university"
|
What is the Format of the Frequency owned by Laval University?
|
CREATE TABLE table_name_96 (format VARCHAR, owner VARCHAR)
|
SELECT MIN(round) FROM table_name_20 WHERE school_club_team = "virginia"
|
Which Round is the lowest one that has a School/Club Team of virginia?
|
CREATE TABLE table_name_20 (round INTEGER, school_club_team VARCHAR)
|
SELECT SUM(attempts) FROM table_name_66 WHERE start > 1997 AND yds_att = 5 AND rank > 1
|
How many attempts did the player ranking with a number higher than 1, who started after 1997 and had yds/att of 5 have?
|
CREATE TABLE table_name_66 (attempts INTEGER, rank VARCHAR, start VARCHAR, yds_att VARCHAR)
|
SELECT week_2 FROM table_name_63 WHERE week_4 = "piret aava"
|
What Week 2 has a Week 4 of piret aava?
|
CREATE TABLE table_name_63 (week_2 VARCHAR, week_4 VARCHAR)
|
SELECT MAX(annual_co2_emissions__in_thousands_of_metric_tons_) FROM table_2508175_1 WHERE gdp_per_emissions__in_us_dollars_per_ton_ = 3903
|
when the gdp per emissions (in us dollars per ton) is 3903, what is the maximum annual co2 emissions (in thousands of metric tons)?
|
CREATE TABLE table_2508175_1 (annual_co2_emissions__in_thousands_of_metric_tons_ INTEGER, gdp_per_emissions__in_us_dollars_per_ton_ VARCHAR)
|
SELECT result FROM table_name_24 WHERE home_captain = "graham gooch" AND date = "3,4,5,6,7 june 1993"
|
For the matches with home captain Graham Gooch played on the dates 3,4,5,6,7 June 1993, what was the result?
|
CREATE TABLE table_name_24 (result VARCHAR, home_captain VARCHAR, date VARCHAR)
|
SELECT 2007 FROM table_name_5 WHERE tournament = "madrid masters"
|
WHAT IS THE 2007 AT MADRID MASTERS?
|
CREATE TABLE table_name_5 (tournament VARCHAR)
|
SELECT country FROM table_name_33 WHERE airline = "gol"
|
Name the country for airline of gol
|
CREATE TABLE table_name_33 (country VARCHAR, airline VARCHAR)
|
SELECT MIN(goals_scored) FROM table_name_36 WHERE place > 8 AND lost < 8
|
Name the least goals scored with place more than 8 and lost less than 8
|
CREATE TABLE table_name_36 (goals_scored INTEGER, place VARCHAR, lost VARCHAR)
|
SELECT model FROM table_name_7 WHERE digital = "dvb-t (cx22702)" AND tuner = "thomson dtt75105"
|
I want the model for digital of dvb-t (cx22702) and tuner of thomson dtt75105
|
CREATE TABLE table_name_7 (model VARCHAR, digital VARCHAR, tuner VARCHAR)
|
SELECT tournament FROM table_name_81 WHERE 1983 = "3r"
|
What tournament has a 3r in 1983?
|
CREATE TABLE table_name_81 (tournament VARCHAR)
|
SELECT name, total_passengers FROM station WHERE LOCATION <> 'London'
|
Show the names and total passengers for all train stations not in London.
|
CREATE TABLE station (name VARCHAR, total_passengers VARCHAR, LOCATION VARCHAR)
|
SELECT surface FROM table_name_41 WHERE date = "10 november 2006"
|
What was the Surface on during 10 November 2006?
|
CREATE TABLE table_name_41 (surface VARCHAR, date VARCHAR)
|
SELECT away_team AS score FROM table_name_49 WHERE away_team = "south melbourne"
|
When South Melbourne was the Away Team, what was their score?
|
CREATE TABLE table_name_49 (away_team VARCHAR)
|
SELECT AVG(pick) FROM table_name_7 WHERE player = "jay bruchak" AND round < 6
|
How many picks on average did Jay Bruchak have before round 6?
|
CREATE TABLE table_name_7 (pick INTEGER, player VARCHAR, round VARCHAR)
|
SELECT gold FROM table_name_15 WHERE silver = "3" AND total = "5"
|
Which gold has 3 silver and a Total of 5?
|
CREATE TABLE table_name_15 (gold VARCHAR, silver VARCHAR, total VARCHAR)
|
SELECT win_lose_percentage FROM table_name_92 WHERE champs > 0 AND draw > 3
|
Which Win/Lose Percentage has Champs larger than 0, and a Draw larger than 3?
|
CREATE TABLE table_name_92 (win_lose_percentage VARCHAR, champs VARCHAR, draw VARCHAR)
|
SELECT name FROM table_name_34 WHERE public = "yes" AND personal_sites = "no" AND team_sites = "no"
|
What is the name for the entry that has a public of Yes, a personal sites of No, and a team sites of No?
|
CREATE TABLE table_name_34 (name VARCHAR, team_sites VARCHAR, public VARCHAR, personal_sites VARCHAR)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.