answer
stringlengths 18
557
| question
stringlengths 12
244
| context
stringlengths 27
489
|
|---|---|---|
SELECT AVG(pct) FROM table_name_45 WHERE pts < 9 AND wins > 1
|
What is the average PCT when it has a PTS smaller than 9 a wins larger than 1?
|
CREATE TABLE table_name_45 (pct INTEGER, pts VARCHAR, wins VARCHAR)
|
SELECT COUNT(title) FROM table_15431251_1 WHERE no_in_season = 7
|
What is the title for episode number 7 in the season?
|
CREATE TABLE table_15431251_1 (title VARCHAR, no_in_season VARCHAR)
|
SELECT points_for FROM table_name_28 WHERE lost = "15"
|
How many points were there for 15 losses?
|
CREATE TABLE table_name_28 (points_for VARCHAR, lost VARCHAR)
|
SELECT T2.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID GROUP BY T1.Musical_ID HAVING COUNT(*) >= 3
|
Show names of musicals which have at least three actors.
|
CREATE TABLE actor (Musical_ID VARCHAR); CREATE TABLE musical (Name VARCHAR, Musical_ID VARCHAR)
|
SELECT SUM(enrollment) FROM table_name_38 WHERE location = "platteville, wi"
|
How many people are enrolled in platteville, wi?
|
CREATE TABLE table_name_38 (enrollment INTEGER, location VARCHAR)
|
SELECT AVG(year) FROM table_name_33 WHERE movie = "rangam"
|
What's the average year a Rangam movie came out?
|
CREATE TABLE table_name_33 (year INTEGER, movie VARCHAR)
|
SELECT organized FROM table_name_67 WHERE occupation = "senior buyer for wal-mart"
|
What is the organized date of the stake with an occupation of senior buyer for Wal-mart?
|
CREATE TABLE table_name_67 (organized VARCHAR, occupation VARCHAR)
|
SELECT MIN(wins) FROM table_name_95 WHERE top_25 = 3 AND cuts_made < 9
|
What is his low win total when he has over 3 top 25s and under 9 cuts made?
|
CREATE TABLE table_name_95 (wins INTEGER, top_25 VARCHAR, cuts_made VARCHAR)
|
SELECT opposition FROM table_name_53 WHERE year < 1977 AND city = "manchester"
|
Which Opposition has a Year smaller than 1977, and a City of manchester?
|
CREATE TABLE table_name_53 (opposition VARCHAR, year VARCHAR, city VARCHAR)
|
SELECT fastest_lap FROM table_30134667_2 WHERE date = "September 4"
|
Who had the fastest lap on september 4?
|
CREATE TABLE table_30134667_2 (fastest_lap VARCHAR, date VARCHAR)
|
SELECT first_elected FROM table_1341884_45 WHERE district = "Texas 6"
|
how many voted in the texas 6 section
|
CREATE TABLE table_1341884_45 (first_elected VARCHAR, district VARCHAR)
|
SELECT car_no FROM table_name_46 WHERE team = "rahal letterman" AND driver = "jeff simmons"
|
What is the car number for Jeff Simmons on the Rahal Letterman team?
|
CREATE TABLE table_name_46 (car_no VARCHAR, team VARCHAR, driver VARCHAR)
|
SELECT result FROM table_name_33 WHERE category = "best actress in a musical" AND award = "laurence olivier award" AND year = 2009
|
What is the result for the nomination at the Laurence Olivier award in 2009 for best actress in a musical?
|
CREATE TABLE table_name_33 (result VARCHAR, year VARCHAR, category VARCHAR, award VARCHAR)
|
SELECT MAX(attendance) FROM table_name_99 WHERE venue = "home" AND result = "w 3-1"
|
what was the attendance at the home venue with result w 3-1?
|
CREATE TABLE table_name_99 (attendance INTEGER, venue VARCHAR, result VARCHAR)
|
SELECT date FROM table_name_11 WHERE home_team = "carlton"
|
What date did the home team from Carlton play on?
|
CREATE TABLE table_name_11 (date VARCHAR, home_team VARCHAR)
|
SELECT episode FROM table_2114308_1 WHERE run_time = "22:50"
|
Name the episode for run time of 22:50
|
CREATE TABLE table_2114308_1 (episode VARCHAR, run_time VARCHAR)
|
SELECT date FROM table_1140116_5 WHERE race_name = "V Madgwick Cup"
|
When does V Madgwick Cup take place?
|
CREATE TABLE table_1140116_5 (date VARCHAR, race_name VARCHAR)
|
SELECT length FROM table_13050822_2 WHERE stage = "SS22"
|
Name the length for stage ss22
|
CREATE TABLE table_13050822_2 (length VARCHAR, stage VARCHAR)
|
SELECT city FROM table_name_70 WHERE year < 2009 AND conference = "lcc2"
|
Which city has a conference of LCC2 and a year earlier than 2009?
|
CREATE TABLE table_name_70 (city VARCHAR, year VARCHAR, conference VARCHAR)
|
SELECT team FROM table_name_49 WHERE coach = "yuriy hruznov"
|
Which team has Yuriy Hruznov as coach?
|
CREATE TABLE table_name_49 (team VARCHAR, coach VARCHAR)
|
SELECT term_end FROM table_name_6 WHERE party = "kadima" AND term_start = "18 january 2006"
|
What is the end of the term for Kadima that started on 18 January 2006?
|
CREATE TABLE table_name_6 (term_end VARCHAR, party VARCHAR, term_start VARCHAR)
|
SELECT league FROM table_name_65 WHERE year = 2011
|
What league played in 2011?
|
CREATE TABLE table_name_65 (league VARCHAR, year VARCHAR)
|
SELECT name FROM table_name_5 WHERE number = "8"
|
What name has 8 as the number?
|
CREATE TABLE table_name_5 (name VARCHAR, number VARCHAR)
|
SELECT COUNT(attendance) FROM table_name_59 WHERE record = "43-34"
|
How many attended the game with a record of 43-34?
|
CREATE TABLE table_name_59 (attendance VARCHAR, record VARCHAR)
|
SELECT MAX(no_in_season) FROM table_27491610_2 WHERE no_in_series = 141
|
What number in season is number 141 in series?
|
CREATE TABLE table_27491610_2 (no_in_season INTEGER, no_in_series VARCHAR)
|
SELECT SUM(year) FROM table_name_95 WHERE state = "orissa" AND name = "prof. priyambada mohanty hejmadi"
|
What is the sum of the years when the winner was prof. priyambada mohanty hejmadi from orissa?
|
CREATE TABLE table_name_95 (year INTEGER, state VARCHAR, name VARCHAR)
|
SELECT fall_05 FROM table_15055594_6 WHERE states = "Maryland"
|
How man students were from Maryland in Fall 05?
|
CREATE TABLE table_15055594_6 (fall_05 VARCHAR, states VARCHAR)
|
SELECT MAX(opponents) FROM table_name_85 WHERE game = 9 AND attendance < 60 OFFSET 091
|
What was the highest number of oppenents points recorded for game 9 when the attendance was less than 60,091?
|
CREATE TABLE table_name_85 (opponents INTEGER, game VARCHAR, attendance VARCHAR)
|
SELECT final_score FROM table_23612439_2 WHERE attendance = 22210
|
What is the final score when 22210 is the attendance?
|
CREATE TABLE table_23612439_2 (final_score VARCHAR, attendance VARCHAR)
|
SELECT AVG(grid) FROM table_name_16 WHERE constructor = "brm" AND driver = "tony maggs" AND laps > 102
|
What is the average grid that has a Constructor of brm, tony maggs, and a Laps larger than 102?
|
CREATE TABLE table_name_16 (grid INTEGER, laps VARCHAR, constructor VARCHAR, driver VARCHAR)
|
SELECT city FROM table_name_99 WHERE founded = 1857
|
What city was founded in 1857?
|
CREATE TABLE table_name_99 (city VARCHAR, founded VARCHAR)
|
SELECT percentage_of_votes FROM table_13746866_2 WHERE number_of_deputies = 112
|
what's the percentage of votes with number of deputies being 112
|
CREATE TABLE table_13746866_2 (percentage_of_votes VARCHAR, number_of_deputies VARCHAR)
|
SELECT team FROM table_27713030_3 WHERE game = 6
|
Who was the opposing team in game 6?
|
CREATE TABLE table_27713030_3 (team VARCHAR, game VARCHAR)
|
SELECT loss FROM table_name_60 WHERE date = "april 15"
|
what team lost on april 15
|
CREATE TABLE table_name_60 (loss VARCHAR, date VARCHAR)
|
SELECT gold FROM table_name_19 WHERE rank = "6"
|
How many gold medals for the nation ranked 6?
|
CREATE TABLE table_name_19 (gold VARCHAR, rank VARCHAR)
|
SELECT play FROM table_name_98 WHERE country = "cyprus" AND company = "magdalena zira theatre"
|
Which Play is from Cyprus, from the Company Magdalena Zira Theatre?
|
CREATE TABLE table_name_98 (play VARCHAR, country VARCHAR, company VARCHAR)
|
SELECT MAX(pick) FROM table_name_33 WHERE college = "arkansas" AND overall > 316
|
what is the pick when the college is arkansas and the overall is more than 316?
|
CREATE TABLE table_name_33 (pick INTEGER, college VARCHAR, overall VARCHAR)
|
SELECT entrant FROM table_name_63 WHERE pts < 12 AND engine = "climax" AND chassis = "lotus 24"
|
Which entrant has fewer than 12 points, a Climax engine, and a Lotus 24 chassis?
|
CREATE TABLE table_name_63 (entrant VARCHAR, chassis VARCHAR, pts VARCHAR, engine VARCHAR)
|
SELECT directed_by FROM table_20360535_2 WHERE television_order = "S01E13"
|
who directed s01e13
|
CREATE TABLE table_20360535_2 (directed_by VARCHAR, television_order VARCHAR)
|
SELECT COUNT(country) FROM table_29302711_12 WHERE points = 21
|
how many countries had 21 points
|
CREATE TABLE table_29302711_12 (country VARCHAR, points VARCHAR)
|
SELECT COUNT(games_played) FROM table_name_6 WHERE wins = 4 AND position < 9
|
What is the total number of games played of the team with 4 wins and a position less than 9?
|
CREATE TABLE table_name_6 (games_played VARCHAR, wins VARCHAR, position VARCHAR)
|
SELECT COUNT(founded) FROM table_22043925_1 WHERE enrolment = 850
|
How many values for founded when enrollment is 850?
|
CREATE TABLE table_22043925_1 (founded VARCHAR, enrolment VARCHAR)
|
SELECT outcome FROM table_name_7 WHERE partner = "andoni vivanco"
|
What is the Outcome of the match with Partner Andoni Vivanco?
|
CREATE TABLE table_name_7 (outcome VARCHAR, partner VARCHAR)
|
SELECT location FROM table_11621915_1 WHERE tournament = "Quicksilver Classic"
|
what's the location with tournament value of quicksilver classic
|
CREATE TABLE table_11621915_1 (location VARCHAR, tournament VARCHAR)
|
SELECT result FROM table_name_95 WHERE score = "4–0" AND venue = "mbpj stadium"
|
What is the Result of the Competition at MBPJ Stadium with a Score of 4–0?
|
CREATE TABLE table_name_95 (result VARCHAR, score VARCHAR, venue VARCHAR)
|
SELECT crew_chief FROM table_2182170_1 WHERE listed_owner_s_ = "Wayne Day"
|
Who is Wayne Day's crew chief?
|
CREATE TABLE table_2182170_1 (crew_chief VARCHAR, listed_owner_s_ VARCHAR)
|
SELECT product FROM product WHERE product LIKE "%Scanner%"
|
Find all the product whose name contains the word "Scanner".
|
CREATE TABLE product (product VARCHAR)
|
SELECT largest_ethnic_group__2002_ FROM table_2562572_20 WHERE settlement = "Kosančić"
|
Name the largest ethnic group for kosančić
|
CREATE TABLE table_2562572_20 (largest_ethnic_group__2002_ VARCHAR, settlement VARCHAR)
|
SELECT category FROM table_name_55 WHERE result = "nominated" AND nominee = "william ivey long"
|
Which category was william ivey long a nominee and nominated in?
|
CREATE TABLE table_name_55 (category VARCHAR, result VARCHAR, nominee VARCHAR)
|
SELECT school FROM table_name_71 WHERE round > 3 AND player = "jason odom"
|
Which school has more than 3 rounds with jason odom?
|
CREATE TABLE table_name_71 (school VARCHAR, round VARCHAR, player VARCHAR)
|
SELECT 2010 FROM table_name_80 WHERE tournament = "australian open"
|
Which 2010 has a Tournament of australian open?
|
CREATE TABLE table_name_80 (tournament VARCHAR)
|
SELECT AVG(wins) FROM table_name_61 WHERE points > 32 AND goal_difference < 23 AND goals_against = 36 AND played < 30
|
What is the average number of wins for entries with more than 32 points, a goal difference smaller than 23, and a Goals against of 36, and a Played smaller than 30?
|
CREATE TABLE table_name_61 (wins INTEGER, played VARCHAR, goals_against VARCHAR, points VARCHAR, goal_difference VARCHAR)
|
SELECT venue FROM table_name_91 WHERE away_team = "footscray"
|
What is the name of the venue that away team footscray played at?
|
CREATE TABLE table_name_91 (venue VARCHAR, away_team VARCHAR)
|
SELECT score FROM table_name_81 WHERE date = "june 28"
|
What was the score of the game on June 28?
|
CREATE TABLE table_name_81 (score VARCHAR, date VARCHAR)
|
SELECT COUNT(location) FROM table_1359212_2 WHERE winner = "Spain"
|
how many locations has spain as the winner?
|
CREATE TABLE table_1359212_2 (location VARCHAR, winner VARCHAR)
|
SELECT time FROM table_name_98 WHERE year > 2011 AND event = "800 freestyle relay"
|
What is Time, when Year is greater than 2011, and when Event is "800 Freestyle Relay"?
|
CREATE TABLE table_name_98 (time VARCHAR, year VARCHAR, event VARCHAR)
|
SELECT SUM(viewers) FROM table_name_91 WHERE rating > 7.8 AND airdate = "october 26, 2006" AND share > 14
|
Of all shows who have a rating larger than 7.8, aired on October 26, 2006, and has a share of over 14, what is the sum of the viewers?
|
CREATE TABLE table_name_91 (viewers INTEGER, share VARCHAR, rating VARCHAR, airdate VARCHAR)
|
SELECT village FROM table_2588674_1 WHERE area_km² = "27.19"
|
What village has an area of 27.19 km2?
|
CREATE TABLE table_2588674_1 (village VARCHAR, area_km² VARCHAR)
|
SELECT cfl_team FROM table_25017530_6 WHERE college = "Saskatchewan"
|
Name the cfl team for saskatchewan
|
CREATE TABLE table_25017530_6 (cfl_team VARCHAR, college VARCHAR)
|
SELECT 2007 AS _estimate FROM table_12720275_1 WHERE rank__csa_ = "4"
|
What is the 2007 estimate when the rank (csa) is 4
|
CREATE TABLE table_12720275_1 (rank__csa_ VARCHAR)
|
SELECT score FROM table_name_52 WHERE home = "detroit" AND decision = "legace" AND date = "december 3"
|
What was the score on December 3 when Detroit was the home team and Legace took the decision?
|
CREATE TABLE table_name_52 (score VARCHAR, date VARCHAR, home VARCHAR, decision VARCHAR)
|
SELECT firefox FROM table_name_22 WHERE opera = "1.8%" AND date = "30 july 2007"
|
What is the firefox value with a 1.8% opera on 30 July 2007?
|
CREATE TABLE table_name_22 (firefox VARCHAR, opera VARCHAR, date VARCHAR)
|
SELECT playoffs FROM table_1046170_5 WHERE us_open_cup = "1st Round"
|
what are all the playoffs for u.s. open cup in 1st round
|
CREATE TABLE table_1046170_5 (playoffs VARCHAR, us_open_cup VARCHAR)
|
SELECT AVG(year) FROM table_name_14 WHERE chinese_title = "敗犬女王"
|
I want the average year of 敗犬女王
|
CREATE TABLE table_name_14 (year INTEGER, chinese_title VARCHAR)
|
SELECT T2.balance, T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid WHERE T1.name = 'Brown'
|
Find the checking balance and saving balance in the Brown’s account.
|
CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (custid VARCHAR, name VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR)
|
SELECT fastest_lap FROM table_1137718_2 WHERE grand_prix = "Mexican grand_prix"
|
What was the fastest lap at the Mexican Grand Prix?
|
CREATE TABLE table_1137718_2 (fastest_lap VARCHAR, grand_prix VARCHAR)
|
SELECT state FROM table_20803065_1 WHERE senator = "Jim DeMint"
|
Which state does congressman jim demint represent?
|
CREATE TABLE table_20803065_1 (state VARCHAR, senator VARCHAR)
|
SELECT pole_position FROM table_29686983_1 WHERE country = "France"
|
what is the pole position for france?
|
CREATE TABLE table_29686983_1 (pole_position VARCHAR, country VARCHAR)
|
SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id GROUP BY T1.cust_name HAVING COUNT(*) > 1
|
Find the name of customers who have more than one loan.
|
CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR); CREATE TABLE loan (cust_id VARCHAR)
|
SELECT winning_jockey FROM table_name_86 WHERE track = "tampa bay downs" AND winning_horse = "barkley sound"
|
What Winning Jockey ran in the Tampa Bay Downs Track on Winning Horse Barkley Sound?
|
CREATE TABLE table_name_86 (winning_jockey VARCHAR, track VARCHAR, winning_horse VARCHAR)
|
SELECT COUNT(rank) FROM table_name_63 WHERE bronze < 0
|
what is the rank when the bronze is less than 0?
|
CREATE TABLE table_name_63 (rank VARCHAR, bronze INTEGER)
|
SELECT document_type_code FROM documents GROUP BY document_type_code HAVING COUNT(*) > 4
|
Find the types of documents with more than 4 documents.
|
CREATE TABLE documents (document_type_code VARCHAR)
|
SELECT SUM(total) FROM table_name_32 WHERE silver > 1
|
How many total medals does a country with more than 1 silver medals have?
|
CREATE TABLE table_name_32 (total INTEGER, silver INTEGER)
|
SELECT COUNT(points) FROM table_name_49 WHERE team = "ajs" AND wins < 0
|
For Team AJS, what is the total number of points for drivers with 0 wins?
|
CREATE TABLE table_name_49 (points VARCHAR, team VARCHAR, wins VARCHAR)
|
SELECT T1.City_Town FROM Addresses AS T1 JOIN Stores AS T2 ON T1.Address_ID = T2.Address_ID WHERE T2.Store_Name = "FJA Filming"
|
Which city is the address of the store named "FJA Filming" located in?
|
CREATE TABLE Addresses (City_Town VARCHAR, Address_ID VARCHAR); CREATE TABLE Stores (Address_ID VARCHAR, Store_Name VARCHAR)
|
SELECT MAX(placings) FROM table_name_82 WHERE name = "marie mcneil / robert mccall" AND points < 168.58
|
What is the highest placing for marie mcneil / robert mccall, with less than 168.58?
|
CREATE TABLE table_name_82 (placings INTEGER, name VARCHAR, points VARCHAR)
|
SELECT date FROM table_name_65 WHERE attendance = "40,000"
|
What date was the game when 40,000 attended?
|
CREATE TABLE table_name_65 (date VARCHAR, attendance VARCHAR)
|
SELECT MIN(col__m_) FROM table_name_69 WHERE peak = "gerlachovský štít" AND elevation__m_ > 2 OFFSET 655
|
Whta is the lowest col in m of gerlachovský štít peak, which has an elevation greater than 2,655 m?
|
CREATE TABLE table_name_69 (col__m_ INTEGER, peak VARCHAR, elevation__m_ VARCHAR)
|
SELECT MAX(year) FROM table_name_72 WHERE round_1 = "70" AND money__$_ > 500 OFFSET 000
|
Round 1 of 70, and a Money ($) larger than 500,000 has the highest year?
|
CREATE TABLE table_name_72 (year INTEGER, round_1 VARCHAR, money__$_ VARCHAR)
|
SELECT result FROM table_name_65 WHERE competition = "friendly match" AND score = "1 – 1"
|
What is the result of the game when the competition was a friendly match, and the Score was 1 – 1?
|
CREATE TABLE table_name_65 (result VARCHAR, competition VARCHAR, score VARCHAR)
|
SELECT new_entries_this_round FROM table_name_18 WHERE round = "semi-finals"
|
What is the New entries this round when the round is the semi-finals?
|
CREATE TABLE table_name_18 (new_entries_this_round VARCHAR, round VARCHAR)
|
SELECT links FROM table_name_81 WHERE flight_day = "day 16"
|
What links were used on flight day 16?
|
CREATE TABLE table_name_81 (links VARCHAR, flight_day VARCHAR)
|
SELECT actor_required FROM table_name_29 WHERE actor_in_original_production = "robert austin"
|
Who is the required actor when Robert Austin was the actor in the original production?
|
CREATE TABLE table_name_29 (actor_required VARCHAR, actor_in_original_production VARCHAR)
|
SELECT ResTypeName FROM Restaurant_Type
|
List all restaurant types.
|
CREATE TABLE Restaurant_Type (ResTypeName VARCHAR)
|
SELECT location FROM table_name_89 WHERE "time" = "time"
|
Which Location has a Time of time?
|
CREATE TABLE table_name_89 (location VARCHAR)
|
SELECT winning_pilot FROM table_20036882_2 WHERE country = "Hungary"
|
Name the winning pilot for hungary
|
CREATE TABLE table_20036882_2 (winning_pilot VARCHAR, country VARCHAR)
|
SELECT years_in_toronto FROM table_10015132_3 WHERE school_club_team = "Hawaii"
|
When did the player from Hawaii play for Toronto?
|
CREATE TABLE table_10015132_3 (years_in_toronto VARCHAR, school_club_team VARCHAR)
|
SELECT casualties FROM table_name_24 WHERE location = "kunduz" AND circumstances = "suicide"
|
Which Casualties have a Location of kunduz, and Circumstances of suicide?
|
CREATE TABLE table_name_24 (casualties VARCHAR, location VARCHAR, circumstances VARCHAR)
|
SELECT wins FROM table_name_98 WHERE second = "1" AND races > 12
|
How many wins did the driver with 1 second and more than 12 races have?
|
CREATE TABLE table_name_98 (wins VARCHAR, second VARCHAR, races VARCHAR)
|
SELECT event FROM table_name_61 WHERE tournament = "european championships" AND year = 2006
|
What event has european championships as the tournament, with 2006 as the year?
|
CREATE TABLE table_name_61 (event VARCHAR, tournament VARCHAR, year VARCHAR)
|
SELECT winning_team FROM table_name_91 WHERE sport = "volleyball"
|
What winning team has volleyball as the sport?
|
CREATE TABLE table_name_91 (winning_team VARCHAR, sport VARCHAR)
|
SELECT broadcast_date FROM table_29135051_3 WHERE guest_s_ = "Barbara Windsor and Heston Blumenthal"
|
when was the episode on which barbara windsor and heston blumenthal guest starred broadcasted
|
CREATE TABLE table_29135051_3 (broadcast_date VARCHAR, guest_s_ VARCHAR)
|
SELECT player FROM table_11677691_9 WHERE college = "Ohio State"
|
What player is from Ohio State college?
|
CREATE TABLE table_11677691_9 (player VARCHAR, college VARCHAR)
|
SELECT COUNT(year) FROM table_name_90 WHERE bronze = "jamie stevenson"
|
What is the total number of Year, when Bronze is "Jamie Stevenson"?
|
CREATE TABLE table_name_90 (year VARCHAR, bronze VARCHAR)
|
SELECT MAX(kuala_lumpur) FROM table_name_82 WHERE durban < 1 AND mar_del_plata > 0
|
What is the highest Kuala Lumpur value with a Durban value less than 1 and a Mar Del Plata value greater than 0?
|
CREATE TABLE table_name_82 (kuala_lumpur INTEGER, durban VARCHAR, mar_del_plata VARCHAR)
|
SELECT AVG(events) FROM table_name_98 WHERE top_10 = 1 AND wins > 0 AND cuts_made < 4
|
What is the average number of events having 1 top-10, fewer than 4 cuts made, and 0 wins?
|
CREATE TABLE table_name_98 (events INTEGER, cuts_made VARCHAR, top_10 VARCHAR, wins VARCHAR)
|
SELECT AVG(position) FROM table_name_4 WHERE goals_against > 42 AND goals_for = 44 AND draws < 16
|
Name the average position when the goals against are more than 42 and draws less than 16 with goals of 44
|
CREATE TABLE table_name_4 (position INTEGER, draws VARCHAR, goals_against VARCHAR, goals_for VARCHAR)
|
SELECT time FROM table_name_79 WHERE arranger_s_ = "roz"
|
What are the lengths of the tracks arranged by ROZ?
|
CREATE TABLE table_name_79 (time VARCHAR, arranger_s_ VARCHAR)
|
SELECT SUM(round) FROM table_name_74 WHERE selection = 165
|
How many rounds had a selection of 165?
|
CREATE TABLE table_name_74 (round INTEGER, selection VARCHAR)
|
SELECT MAX(performances) FROM table_name_43 WHERE role = "geoffrey fitton"
|
Name the most performances for geoffrey fitton
|
CREATE TABLE table_name_43 (performances INTEGER, role VARCHAR)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.