answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT round FROM table_name_73 WHERE nationality = "united states" AND position = "g" AND pick = "13" AND draft = "1971-1 1971"
In which round was Position G from the United States drafted as Pick 13 in 1971-1 1971?
CREATE TABLE table_name_73 (round VARCHAR, draft VARCHAR, pick VARCHAR, nationality VARCHAR, position VARCHAR)
SELECT term_of_office FROM table_name_1 WHERE electorate = "warringah"
What was the term of office for the electorate warringah?
CREATE TABLE table_name_1 (term_of_office VARCHAR, electorate VARCHAR)
SELECT COUNT(no_of_clubs) FROM table_name_10 WHERE team = "shenyang ginde" AND games > 182
What is the number of clubs for Shenyang Ginde when there were more than 182 games?
CREATE TABLE table_name_10 (no_of_clubs VARCHAR, team VARCHAR, games VARCHAR)
SELECT tickets_available_since FROM table_name_75 WHERE venue = "halle tony garnier" AND date = "june 15, 2009"
How many tickets were available at Halle Tony Garnier on June 15, 2009?
CREATE TABLE table_name_75 (tickets_available_since VARCHAR, venue VARCHAR, date VARCHAR)
SELECT incumbent FROM table_2668336_19 WHERE candidates = "John Murray (DR) 50.4% George Denison (DR) 49.6%" AND result = "Retired Democratic-Republican hold"
Who were the incumbent(s) in the election featuring john murray (dr) 50.4% george denison (dr) 49.6% with a result of a retired democratic-republican hold?
CREATE TABLE table_2668336_19 (incumbent VARCHAR, candidates VARCHAR, result VARCHAR)
SELECT score FROM table_name_16 WHERE decision = "legace" AND home = "dallas"
What was the score of the home Dallas game that had a decision of Legace?
CREATE TABLE table_name_16 (score VARCHAR, decision VARCHAR, home VARCHAR)
SELECT score FROM table_23248967_10 WHERE date = "April 9"
What is the final score of the game on April 9?
CREATE TABLE table_23248967_10 (score VARCHAR, date VARCHAR)
SELECT COUNT(crowd) FROM table_name_78 WHERE home_team = "essendon"
How many people were in the crowd when Essendon was the home team?
CREATE TABLE table_name_78 (crowd VARCHAR, home_team VARCHAR)
SELECT carrier FROM table_name_37 WHERE package_version = "5.0.0.742"
WHAT IS THE CARRIER WITH 5.0.0.742 VERSION?
CREATE TABLE table_name_37 (carrier VARCHAR, package_version VARCHAR)
SELECT directed_by FROM table_11820086_1 WHERE us_viewers__millions_ = "2.57"
Who directed the episode that was viewed by 2.57 million people in the U.S.?
CREATE TABLE table_11820086_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT number_of_believers FROM table_24613895_1 WHERE name_of_village = "Khosrowa"
Name the number of believers for khosrowa
CREATE TABLE table_24613895_1 (number_of_believers VARCHAR, name_of_village VARCHAR)
SELECT MAX(super_g) FROM table_name_43 WHERE slalom = "58" AND overall > 2
What was her highest Super G score with a Slalom score of 58 and an Overall larger than 2?
CREATE TABLE table_name_43 (super_g INTEGER, slalom VARCHAR, overall VARCHAR)
SELECT high_rebounds FROM table_name_55 WHERE score = "l 85–102 (ot)"
Who had the high rebounds when the score was l 85–102 (ot)?
CREATE TABLE table_name_55 (high_rebounds VARCHAR, score VARCHAR)
SELECT event FROM table_name_31 WHERE opponent = "son hai suk"
What event did Soa Palelei fight against son hai suk?
CREATE TABLE table_name_31 (event VARCHAR, opponent VARCHAR)
SELECT AVG(membership) FROM table_name_15 WHERE _percentage_lds = "3.33%" AND branches < 47
What is the average membership with 3.33% LDS and less than 47 branches?
CREATE TABLE table_name_15 (membership INTEGER, _percentage_lds VARCHAR, branches VARCHAR)
SELECT SUM(altitude__mslm_) FROM table_name_85 WHERE density__inhabitants_km_2__ < 1233 AND rank = "9th"
Which Altitude (mslm) has a Density (inhabitants/km 2) smaller than 1233, and a Rank of 9th?
CREATE TABLE table_name_85 (altitude__mslm_ INTEGER, density__inhabitants_km_2__ VARCHAR, rank VARCHAR)
SELECT event FROM table_name_56 WHERE res = "loss" AND record = "12–2"
Which Event has a Resolution of loss, and a Record of 12–2?
CREATE TABLE table_name_56 (event VARCHAR, res VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_34 WHERE location = "boston garden" AND record = "58-23"
Location of boston garden, and a Record of 58-23 involved what opponent?
CREATE TABLE table_name_34 (opponent VARCHAR, location VARCHAR, record VARCHAR)
SELECT rank FROM table_name_42 WHERE nation = "austria"
Which rank is Austria?
CREATE TABLE table_name_42 (rank VARCHAR, nation VARCHAR)
SELECT AVG(wins) FROM table_name_14 WHERE rank < 1
On average, how many wins have a rank lower than 1?
CREATE TABLE table_name_14 (wins INTEGER, rank INTEGER)
SELECT score FROM table_name_8 WHERE opponent = "boston red sox" AND save = "sager"
Which Score has a Opponent of Boston red sox and a Save of sager?
CREATE TABLE table_name_8 (score VARCHAR, opponent VARCHAR, save VARCHAR)
SELECT player FROM table_name_48 WHERE pick = 160
Which player's pick is 160?
CREATE TABLE table_name_48 (player VARCHAR, pick VARCHAR)
SELECT COUNT(no_in_series) FROM table_2468961_2 WHERE written_by = "Ross Brown"
How many episodes were written by Ross brown?
CREATE TABLE table_2468961_2 (no_in_series VARCHAR, written_by VARCHAR)
SELECT COUNT(laps) FROM table_name_18 WHERE driver = "robin montgomerie-charrington" AND grid < 15
How many laps for robin montgomerie-charrington, and a Grid smaller than 15?
CREATE TABLE table_name_18 (laps VARCHAR, driver VARCHAR, grid VARCHAR)
SELECT competition FROM table_name_91 WHERE result = "win" AND score = "1-0"
What is the Competition with a Result of win with a Score that is 1-0?
CREATE TABLE table_name_91 (competition VARCHAR, result VARCHAR, score VARCHAR)
SELECT 123 AS kg FROM table_name_41 WHERE world_record = "total"
What's the 123kg of the Total world record?
CREATE TABLE table_name_41 (world_record VARCHAR)
SELECT average_attendance FROM table_28884858_2 WHERE total_attendance = 541380
What was average attendance when total attendance was 541380?
CREATE TABLE table_28884858_2 (average_attendance VARCHAR, total_attendance VARCHAR)
SELECT book_title, author_or_editor FROM book_club WHERE YEAR > 1989
show the titles, and authors or editors for all books made after the year 1989.
CREATE TABLE book_club (book_title VARCHAR, author_or_editor VARCHAR, YEAR INTEGER)
SELECT result FROM table_name_49 WHERE competition = "2011 concacaf gold cup"
What is the result of the 2011 Concacaf Gold Cup competition?
CREATE TABLE table_name_49 (result VARCHAR, competition VARCHAR)
SELECT score FROM table_name_72 WHERE visitor = "atlanta"
Which Score has a Visitor of atlanta?
CREATE TABLE table_name_72 (score VARCHAR, visitor VARCHAR)
SELECT player FROM table_name_50 WHERE to_par = "+7" AND country = "scotland"
Which player from Scotland has a To Par score of +7?
CREATE TABLE table_name_50 (player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT COUNT(year) FROM table_name_97 WHERE chassis = "lotus 18"
What is the year of the Lotus 18 chassis?
CREATE TABLE table_name_97 (year VARCHAR, chassis VARCHAR)
SELECT MAX(total) FROM table_name_32 WHERE gold = 1 AND nation = "hungary" AND bronze < 0
What is the highest Total, when Gold is 1, when Nation is Hungary, and when Bronze is less than 0?
CREATE TABLE table_name_32 (total INTEGER, bronze VARCHAR, gold VARCHAR, nation VARCHAR)
SELECT points_against FROM table_name_97 WHERE tries_against = "29"
tries against is 29, what is the points against?
CREATE TABLE table_name_97 (points_against VARCHAR, tries_against VARCHAR)
SELECT position FROM table_name_40 WHERE pick__number < 40 AND college = "western"
What is Position, when Pick # is less than 40, and when College is Western?
CREATE TABLE table_name_40 (position VARCHAR, pick__number VARCHAR, college VARCHAR)
SELECT team FROM table_name_17 WHERE city_area = "birmingham & telford"
Which team is from Birmingham & Telford?
CREATE TABLE table_name_17 (team VARCHAR, city_area VARCHAR)
SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID
What are the names of entrepreneurs?
CREATE TABLE people (Name VARCHAR, People_ID VARCHAR); CREATE TABLE entrepreneur (People_ID VARCHAR)
SELECT margin_of_victory FROM table_name_44 WHERE tournament = "texas international open"
What was the margin of victory at the Texas International Open?
CREATE TABLE table_name_44 (margin_of_victory VARCHAR, tournament VARCHAR)
SELECT netflix FROM table_name_2 WHERE segment_d = "ned can corn"
What is the Netflix number having a segment D, of NED can corn?
CREATE TABLE table_name_2 (netflix VARCHAR, segment_d VARCHAR)
SELECT edition_publisher FROM table_name_9 WHERE author = "xavier herbert"
Who is the edition/publisher for Xavier Herbert?
CREATE TABLE table_name_9 (edition_publisher VARCHAR, author VARCHAR)
SELECT pinyin FROM table_2135222_2 WHERE simplified = "虞城县"
What is the Pinyin for the simplified 虞城县?
CREATE TABLE table_2135222_2 (pinyin VARCHAR, simplified VARCHAR)
SELECT title FROM table_name_75 WHERE production_code = "k1504"
What is the title of the episode with a production code of K1504?
CREATE TABLE table_name_75 (title VARCHAR, production_code VARCHAR)
SELECT department FROM table_17384764_1 WHERE qualification = "M.Phil(Maths)"
Which departments have M.Phil(Maths)?
CREATE TABLE table_17384764_1 (department VARCHAR, qualification VARCHAR)
SELECT import FROM table_12077540_1 WHERE product = "Plywood"
There are 5 imports of plywood.
CREATE TABLE table_12077540_1 (import VARCHAR, product VARCHAR)
SELECT playoffs FROM table_1046170_5 WHERE regular_season = "1st, Atlantic division"
what are all the playoffs for regular season is 1st, atlantic division
CREATE TABLE table_1046170_5 (playoffs VARCHAR, regular_season VARCHAR)
SELECT team FROM table_name_2 WHERE grid = "11"
What team started in grid 11?
CREATE TABLE table_name_2 (team VARCHAR, grid VARCHAR)
SELECT MAX(gold) FROM table_name_80 WHERE rank > 5 AND bronze < 1
How many golds for the nation ranked below 5 and over 1 bronze medals?
CREATE TABLE table_name_80 (gold INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT tournament FROM table_29127804_3 WHERE outcome = "Runner-up"
what is the name of the tournament where outcome is runner-up
CREATE TABLE table_29127804_3 (tournament VARCHAR, outcome VARCHAR)
SELECT res FROM table_2015453_1 WHERE team__number2 = "Payam"
What was the res for the game against Payam?
CREATE TABLE table_2015453_1 (res VARCHAR, team__number2 VARCHAR)
SELECT lifetime_achievement FROM table_name_39 WHERE year = 1998
who won the lifetime achievement in the year 1998?
CREATE TABLE table_name_39 (lifetime_achievement VARCHAR, year VARCHAR)
SELECT location FROM table_name_57 WHERE method = "submission (rear naked choke)" AND round = 1 AND event = "ufc 127"
Which Location has a Method of submission (rear naked choke), a Round of 1, and an Event of ufc 127?
CREATE TABLE table_name_57 (location VARCHAR, event VARCHAR, method VARCHAR, round VARCHAR)
SELECT attendance FROM table_name_75 WHERE venue = "mandalay bay resort"
Which Attendance has Mandalay Bay Resort
CREATE TABLE table_name_75 (attendance VARCHAR, venue VARCHAR)
SELECT MIN(wins) FROM table_name_58 WHERE south_west_dfl = "cavendish" AND byes < 0
What is the lowest value for Wins, when South West DFL is "Cavendish", and when Byes is less than 0?
CREATE TABLE table_name_58 (wins INTEGER, south_west_dfl VARCHAR, byes VARCHAR)
SELECT date FROM table_name_43 WHERE venue = "pro player stadium" AND score = "4-1"
What is the date of the game at the Pro Player Stadium that had a score of 4-1?
CREATE TABLE table_name_43 (date VARCHAR, venue VARCHAR, score VARCHAR)
SELECT total FROM table_name_41 WHERE set_1 = "24:26"
What is the Total of the 24:26 Set 1?
CREATE TABLE table_name_41 (total VARCHAR, set_1 VARCHAR)
SELECT MIN(wins) FROM table_name_74 WHERE finish = "7th" AND win_percentage > 0.429 AND reds_season < 1915
What was the lowest wins in a season less than 1915 with a 7th finish and 0.429 win %?
CREATE TABLE table_name_74 (wins INTEGER, reds_season VARCHAR, finish VARCHAR, win_percentage VARCHAR)
SELECT MAX(draws) FROM table_name_98 WHERE against > 2161
What is the highest draw against 2161?
CREATE TABLE table_name_98 (draws INTEGER, against INTEGER)
SELECT division FROM table_name_23 WHERE team_season = "1987"
Which division were the Brewers a part of in the 1987 season?
CREATE TABLE table_name_23 (division VARCHAR, team_season VARCHAR)
SELECT AVG(price) FROM Flight WHERE origin = "Los Angeles" AND destination = "Honolulu"
What is the average price for flights from Los Angeles to Honolulu.
CREATE TABLE Flight (price INTEGER, origin VARCHAR, destination VARCHAR)
SELECT MAX(avg_emission_per_km_2_of_its_land__tons_) FROM table_11251601_2 WHERE country = "India"
WHAT WAS THE AVERAGE EMISSION PER KM 2 IN INDIA?
CREATE TABLE table_11251601_2 (avg_emission_per_km_2_of_its_land__tons_ INTEGER, country VARCHAR)
SELECT date FROM table_name_37 WHERE location = "hermanos rodríguez"
Which date was hermanos rodríguez the location?
CREATE TABLE table_name_37 (date VARCHAR, location VARCHAR)
SELECT bse_code FROM table_20667854_1 WHERE free_float = "0.2726"
What is every BSE code for a free float of 0.2726?
CREATE TABLE table_20667854_1 (bse_code VARCHAR, free_float VARCHAR)
SELECT AVG(laps) FROM table_name_79 WHERE driver = "teo fabi" AND grid < 9
Whats teo fabi average lap time while having less than 9 grids?
CREATE TABLE table_name_79 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT born_died FROM table_name_52 WHERE term_start = "4 november 1943"
Which Born-Died has a Term start of 4 november 1943?
CREATE TABLE table_name_52 (born_died VARCHAR, term_start VARCHAR)
SELECT COUNT(*) FROM employee AS T1 JOIN CLASS AS T2 ON T1.EMP_NUM = T2.PROF_NUM WHERE T1.EMP_LNAME = 'Graztevski'
How many classes are professor whose last name is Graztevski has?
CREATE TABLE CLASS (PROF_NUM VARCHAR); CREATE TABLE employee (EMP_NUM VARCHAR, EMP_LNAME VARCHAR)
SELECT visitor FROM table_name_41 WHERE home = "philadelphia" AND date = "march 6"
Who is the visitor in Philadelphia on March 6?
CREATE TABLE table_name_41 (visitor VARCHAR, home VARCHAR, date VARCHAR)
SELECT goals_l_c_e_ FROM table_name_18 WHERE nat = "arg" AND name = "pelletieri"
What are the goals for Pelletieri in ARG?
CREATE TABLE table_name_18 (goals_l_c_e_ VARCHAR, nat VARCHAR, name VARCHAR)
SELECT score FROM table_name_73 WHERE visitor = "atlanta" AND date = "november 9"
What was the score of the game on November 9 when Atlanta was the visiting team?
CREATE TABLE table_name_73 (score VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT year FROM table_name_83 WHERE tournament = "1st division el salvador" AND finish = "champion" AND team = "fas"
In what Year was 1st Division El Salvador with a Finish of Champion and a Team of Fas?
CREATE TABLE table_name_83 (year VARCHAR, team VARCHAR, tournament VARCHAR, finish VARCHAR)
SELECT capital FROM table_26769_1 WHERE population_density_per_km² = "15.6/km² (/sqmi)"
What is the capital of the country with a population density per km² of 15.6/km² (/sqmi)?
CREATE TABLE table_26769_1 (capital VARCHAR, population_density_per_km² VARCHAR)
SELECT joined FROM table_name_74 WHERE mascot = "blue devils"
When doeas Mascot of blue devils in Gary Froebel School?
CREATE TABLE table_name_74 (joined VARCHAR, mascot VARCHAR)
SELECT club FROM table_name_87 WHERE score = "18.1"
What club had a score of 18.1?
CREATE TABLE table_name_87 (club VARCHAR, score VARCHAR)
SELECT SUM(against) FROM table_name_64 WHERE date = "08/06/1985"
How many against on the date of 08/06/1985?
CREATE TABLE table_name_64 (against INTEGER, date VARCHAR)
SELECT gross_capacity FROM table_name_17 WHERE commercial_operation = "august 28, 1987"
What is the gross capacity of the unit that started commercial operation on August 28, 1987?
CREATE TABLE table_name_17 (gross_capacity VARCHAR, commercial_operation VARCHAR)
SELECT surface FROM table_name_76 WHERE outcome = "winner" AND score = "7–5, 7–5"
What is the Surface of the match with winner as outcome and a score of 7–5, 7–5?
CREATE TABLE table_name_76 (surface VARCHAR, outcome VARCHAR, score VARCHAR)
SELECT MIN(goals_against) FROM table_name_38 WHERE played > 34
What is the lowest Goals Agains, when Played is greater than 34?
CREATE TABLE table_name_38 (goals_against INTEGER, played INTEGER)
SELECT away_team AS score FROM table_name_32 WHERE away_team = "south melbourne"
What is south melbourne's scores when they are the away team?
CREATE TABLE table_name_32 (away_team VARCHAR)
SELECT vacator FROM table_15572443_1 WHERE took_seat = "January 29, 1813"
Name the vacator for took seat being january 29, 1813
CREATE TABLE table_15572443_1 (vacator VARCHAR, took_seat VARCHAR)
SELECT COUNT(mountains_classification) FROM table_23157997_13 WHERE youth_classification = "Mike Northey"
How many Mountains Classifications were in the race with Mike Northey as Youth Classification?
CREATE TABLE table_23157997_13 (mountains_classification VARCHAR, youth_classification VARCHAR)
SELECT date FROM table_name_47 WHERE results¹ = "4:0"
On what Date were the Results¹ 4:0?
CREATE TABLE table_name_47 (date VARCHAR, results¹ VARCHAR)
SELECT president FROM table_name_57 WHERE c_span_2009 = "21"
Who is the president when c-span 2009 is 21?
CREATE TABLE table_name_57 (president VARCHAR, c_span_2009 VARCHAR)
SELECT operator FROM table_18333678_2 WHERE arrival = "13.39"
what is the operator of trains arriving at 13.39
CREATE TABLE table_18333678_2 (operator VARCHAR, arrival VARCHAR)
SELECT away_team AS score FROM table_name_64 WHERE away_team = "melbourne"
How much did the away team Melbourne score?
CREATE TABLE table_name_64 (away_team VARCHAR)
SELECT MIN(fin_pos) FROM table_17330069_1 WHERE grid = 2
If grid is 2, what is the minimum fin. pos number?
CREATE TABLE table_17330069_1 (fin_pos INTEGER, grid VARCHAR)
SELECT T2.name FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid = T2.aid GROUP BY T1.aid HAVING COUNT(*) >= 2
Show names for all aircraft with at least two flights.
CREATE TABLE Aircraft (name VARCHAR, aid VARCHAR); CREATE TABLE Flight (aid VARCHAR)
SELECT MAX(round) FROM table_name_28 WHERE opponent = "junior pitbull"
What is the highest Round, when the Opponent is Junior Pitbull?
CREATE TABLE table_name_28 (round INTEGER, opponent VARCHAR)
SELECT productions FROM table_name_53 WHERE rose = "angela lansbury" AND herbie = "barrie ingham"
What production had Angela Lansbury as Rose and Barrie Ingham as Herbie?
CREATE TABLE table_name_53 (productions VARCHAR, rose VARCHAR, herbie VARCHAR)
SELECT score FROM table_name_17 WHERE game > 47 AND location_attendance = "rose garden 20,250"
WHAT IS THE SCORE OF THE GAME LARGER THAN 47, AT THE ROSE GARDEN 20,250 IN ATTENDANCE?
CREATE TABLE table_name_17 (score VARCHAR, game VARCHAR, location_attendance VARCHAR)
SELECT runner_s__up FROM table_name_52 WHERE date = "2 aug 2009"
On the Date of 2 Aug 2009, who was the Runner(s)-up?
CREATE TABLE table_name_52 (runner_s__up VARCHAR, date VARCHAR)
SELECT SUM(matches) FROM table_name_13 WHERE wins < 1 AND pos > 8
How many total matches with less than 1 win and a position higher than 8?
CREATE TABLE table_name_13 (matches INTEGER, wins VARCHAR, pos VARCHAR)
SELECT round FROM table_name_92 WHERE year = 1987
What is Round when Year is 1987?
CREATE TABLE table_name_92 (round VARCHAR, year VARCHAR)
SELECT pos FROM table_name_52 WHERE date_of_birth = "1976-09-20"
What is the position played by the man born on 1976-09-20?
CREATE TABLE table_name_52 (pos VARCHAR, date_of_birth VARCHAR)
SELECT country FROM table_name_93 WHERE score = "274" AND runner_s__up = "virginie lagoutte-clément"
I want the country for score of 274 and runner-up of virginie lagoutte-clément
CREATE TABLE table_name_93 (country VARCHAR, score VARCHAR, runner_s__up VARCHAR)
SELECT country FROM table_name_97 WHERE format = "2lp" AND label = "hydra head records"
Which country has Hydra Head Records with a 2lp format?
CREATE TABLE table_name_97 (country VARCHAR, format VARCHAR, label VARCHAR)
SELECT court_rank FROM table_name_70 WHERE courtesy_title = "nagato-no-kami"
What is the court rank of the person with a courtesy title of nagato-no-kami?
CREATE TABLE table_name_70 (court_rank VARCHAR, courtesy_title VARCHAR)
SELECT gdp__ppp__per_capita_2012_euro FROM table_name_49 WHERE population_in_millions > 10.8 AND gdp__nominal__per_capita_2012_euro = "25,600"
What is GDP (PPP) Per Capita 2012 Euro, when Population In Millions is greater than 10.8, and when GDP (Nominal) Per Capita 2012 Euro is 25,600?
CREATE TABLE table_name_49 (gdp__ppp__per_capita_2012_euro VARCHAR, population_in_millions VARCHAR, gdp__nominal__per_capita_2012_euro VARCHAR)
SELECT date FROM table_name_8 WHERE against = 42
What is the date of the 42 Against?
CREATE TABLE table_name_8 (date VARCHAR, against VARCHAR)
SELECT COUNT(domestic_mail) FROM table_1754531_4 WHERE total_freight_and_mail = 7853
Name the total number of domestic mail for 7853 for total frieght and mail
CREATE TABLE table_1754531_4 (domestic_mail VARCHAR, total_freight_and_mail VARCHAR)
SELECT 2002 AS _2005 FROM table_25282151_1 WHERE supply_sector___percentage_of_gdp_in_current_prices_ = "Construction"
What was the GDP for 2002-2005 for the construction center?
CREATE TABLE table_25282151_1 (supply_sector___percentage_of_gdp_in_current_prices_ VARCHAR)
SELECT name FROM procedures WHERE cost > 1000 EXCEPT SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment WHERE T1.name = "John Wen"
Find the names of all procedures which cost more than 1000 but which physician John Wen was not trained in?
CREATE TABLE trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE procedures (name VARCHAR, cost INTEGER); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR); CREATE TABLE procedures (name VARCHAR, code VARCHAR)