answer
stringlengths 18
557
| question
stringlengths 12
244
| context
stringlengths 27
489
|
|---|---|---|
SELECT county FROM table_name_71 WHERE mascot = "pioneers"
|
What county has a school mascot of the Pioneers?
|
CREATE TABLE table_name_71 (county VARCHAR, mascot VARCHAR)
|
SELECT 2 AS nd_party FROM table_name_11 WHERE election = "1885"
|
What is 2nd Party, when Election is "1885"?
|
CREATE TABLE table_name_11 (election VARCHAR)
|
SELECT COUNT(losses) FROM table_name_51 WHERE goal_difference = 5 AND draws > 10 AND goals_against = 43
|
How many losses are there with 5 goal differences, drew more than 10 times, and 43 goals against?
|
CREATE TABLE table_name_51 (losses VARCHAR, goals_against VARCHAR, goal_difference VARCHAR, draws VARCHAR)
|
SELECT commune FROM table_1828368_1 WHERE area__km_2__ = "12.4"
|
What commune has an area of 12.4 sq.km.?
|
CREATE TABLE table_1828368_1 (commune VARCHAR, area__km_2__ VARCHAR)
|
SELECT SUM(year) FROM table_name_12 WHERE points = 4 AND chassis = "ensign n180b"
|
How many years was ensign n180b a Chassis with 4 points?
|
CREATE TABLE table_name_12 (year INTEGER, points VARCHAR, chassis VARCHAR)
|
SELECT conference FROM table_name_29 WHERE awards = "vancouver grizzlies"
|
Where the Vancouver Grizzlies is the awards, what is the conference?
|
CREATE TABLE table_name_29 (conference VARCHAR, awards VARCHAR)
|
SELECT SUM(average) FROM table_name_96 WHERE swimsuit = 8.42 AND evening_gown < 8.71
|
How many averages had a swimsuit number of 8.42 and an evening gown number that was less than 8.71?
|
CREATE TABLE table_name_96 (average INTEGER, swimsuit VARCHAR, evening_gown VARCHAR)
|
SELECT COUNT(*) FROM city WHERE county_ID IN (SELECT county_ID FROM county_public_safety WHERE population > 20000)
|
Show the number of cities in counties that have a population more than 20000.
|
CREATE TABLE county_public_safety (county_ID VARCHAR, population INTEGER); CREATE TABLE city (county_ID VARCHAR, population INTEGER)
|
SELECT 2000 FROM table_name_13 WHERE 2001 = "ferrari f133 5.5l v12 456 / 550"
|
Which car won the same award in 2000 that the ferrari f133 5.5l v12 456 / 550 won in 2001?
|
CREATE TABLE table_name_13 (Id VARCHAR)
|
SELECT round FROM table_name_76 WHERE team__number2 = "gomel"
|
What round has Team #2 Gomel?
|
CREATE TABLE table_name_76 (round VARCHAR, team__number2 VARCHAR)
|
SELECT notes FROM table_name_82 WHERE vehicle = "scout x-4" AND ceased_operation = "june 1971"
|
What are the notes regarding the scout x-4 vehicle which ceased operation in June 1971?
|
CREATE TABLE table_name_82 (notes VARCHAR, vehicle VARCHAR, ceased_operation VARCHAR)
|
SELECT SUM(spartak) FROM table_name_54 WHERE played = 102 AND draw < 19
|
what is the sum of spartak when played is 102 and draw is less than 19?
|
CREATE TABLE table_name_54 (spartak INTEGER, played VARCHAR, draw VARCHAR)
|
SELECT position FROM table_25794532_1 WHERE team = "Eifelland Racing"
|
Name the position for eifelland racing
|
CREATE TABLE table_25794532_1 (position VARCHAR, team VARCHAR)
|
SELECT MAX(wins) FROM table_name_73 WHERE goals_against = 37 AND ties > 0
|
For teams with more than 0 ties and goals against of 37, how many wins were tallied?
|
CREATE TABLE table_name_73 (wins INTEGER, goals_against VARCHAR, ties VARCHAR)
|
SELECT term_start FROM table_name_53 WHERE born_died = "prime ministers 1939 - 1943"
|
What is Term Start, when Born-Died is Prime Ministers 1939 - 1943?
|
CREATE TABLE table_name_53 (term_start VARCHAR, born_died VARCHAR)
|
SELECT DISTINCT T1.model FROM MODEL_LIST AS T1 JOIN CAR_NAMES AS T2 ON T1.model = T2.model JOIN CARS_DATA AS T3 ON T2.MakeId = T3.id WHERE T3.year > 1980
|
Which distinct car models are the produced after 1980?
|
CREATE TABLE CARS_DATA (id VARCHAR, year INTEGER); CREATE TABLE MODEL_LIST (model VARCHAR); CREATE TABLE CAR_NAMES (model VARCHAR, MakeId VARCHAR)
|
SELECT MIN(third_place) FROM table_2146364_2
|
What is the smallest third place finish?
|
CREATE TABLE table_2146364_2 (third_place INTEGER)
|
SELECT COUNT(party) FROM table_1342149_42 WHERE candidates = "Howard Baker, Sr. (R) 68.9% Boyd W. Cox (D) 31.1%"
|
How many parties match the canididates listed as howard baker, sr. (r) 68.9% boyd w. cox (d) 31.1%?
|
CREATE TABLE table_1342149_42 (party VARCHAR, candidates VARCHAR)
|
SELECT venue FROM table_name_78 WHERE date = "15 november 2010"
|
At which venue did the event held on 15 November 2010 occur?
|
CREATE TABLE table_name_78 (venue VARCHAR, date VARCHAR)
|
SELECT COUNT(total) FROM table_name_97 WHERE nation = "poland" AND e_score > 7.725
|
What is the total of Poland, which has an E score greater than 7.725?
|
CREATE TABLE table_name_97 (total VARCHAR, nation VARCHAR, e_score VARCHAR)
|
SELECT MIN(area__km²_) FROM table_2168295_1 WHERE population__2011_ = 3067549
|
What is the minimum area id the 2011 population is 3067549?
|
CREATE TABLE table_2168295_1 (area__km²_ INTEGER, population__2011_ VARCHAR)
|
SELECT COUNT(overall) FROM table_name_93 WHERE pick__number > 2 AND name = "claude humphrey"
|
How much Overall has a Pick # larger than 2, and a Name of claude humphrey?
|
CREATE TABLE table_name_93 (overall VARCHAR, pick__number VARCHAR, name VARCHAR)
|
SELECT MAX(meas_num) FROM table_256286_55
|
What is the highest measure number?
|
CREATE TABLE table_256286_55 (meas_num INTEGER)
|
SELECT sunday FROM table_name_79 WHERE friday = "emma willis jamie east"
|
On the series in which Emma Willis Jamie East presented on Friday, who was the presenter on Sunday?
|
CREATE TABLE table_name_79 (sunday VARCHAR, friday VARCHAR)
|
SELECT winning_driver FROM table_name_1 WHERE pole_position = "jim clark" AND fastest_lap = "jim clark"
|
Tell me the winning driver for jim clark as pole position and fastest lap
|
CREATE TABLE table_name_1 (winning_driver VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
|
SELECT AVG(area__km_2__) FROM table_name_81 WHERE location = "rhode island" AND area__sq_mi_ > 38
|
What is the area located in Rhode Island with more than 38 sq mi area?
|
CREATE TABLE table_name_81 (area__km_2__ INTEGER, location VARCHAR, area__sq_mi_ VARCHAR)
|
SELECT years_for_grizzlies FROM table_16494599_5 WHERE no = 32
|
when did no. 32 play for grizzles
|
CREATE TABLE table_16494599_5 (years_for_grizzlies VARCHAR, no VARCHAR)
|
SELECT story_timeline FROM table_name_67 WHERE published < 1984 AND in_order_of_publication = "first"
|
What is the story timeline that was published first prior to 1984?
|
CREATE TABLE table_name_67 (story_timeline VARCHAR, published VARCHAR, in_order_of_publication VARCHAR)
|
SELECT T1.customer_details, T1.customer_id FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.Customer_id = T2.customer_id GROUP BY T1.customer_id HAVING COUNT(*) >= 2 EXCEPT SELECT T1.customer_details, T1.customer_id FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.Customer_id = T2.customer_id JOIN Claims AS T3 ON T2.policy_id = T3.policy_id
|
Which customer had at least 2 policies but did not file any claims? List the customer details and id.
|
CREATE TABLE Customers (customer_details VARCHAR, customer_id VARCHAR, Customer_id VARCHAR); CREATE TABLE Customer_Policies (customer_id VARCHAR, policy_id VARCHAR); CREATE TABLE Claims (policy_id VARCHAR)
|
SELECT opponent FROM table_name_82 WHERE score = "102-125"
|
What was the Opponent in the game with a Score of 102-125?
|
CREATE TABLE table_name_82 (opponent VARCHAR, score VARCHAR)
|
SELECT firstname FROM list WHERE classroom = 108
|
Find the first names of students studying in room 108.
|
CREATE TABLE list (firstname VARCHAR, classroom VARCHAR)
|
SELECT COUNT(episode_number) FROM table_25751274_2 WHERE rating / SHARE(18 - 49) = 0.7 / 2 AND rating = "2.1"
|
How many episodes had rating/share (18-49) of 0.7/2 and a rating of 2.1?
|
CREATE TABLE table_25751274_2 (episode_number VARCHAR, rating VARCHAR)
|
SELECT _percentage_change FROM table_1425958_1 WHERE population_rank = 34
|
When the population rank is 34, what the is % change?
|
CREATE TABLE table_1425958_1 (_percentage_change VARCHAR, population_rank VARCHAR)
|
SELECT record FROM table_name_96 WHERE points > 0 AND score = "7–3"
|
Which Record has Points larger than 0, and a Score of 7–3?
|
CREATE TABLE table_name_96 (record VARCHAR, points VARCHAR, score VARCHAR)
|
SELECT MAX(no_in_season) FROM table_10718984_2 WHERE written_by = "Marlene Meyer" AND us_viewers__millions_ = "20.49"
|
What is the number in the season that Marlene Meyer wrote and 20.49 million people watched?
|
CREATE TABLE table_10718984_2 (no_in_season INTEGER, written_by VARCHAR, us_viewers__millions_ VARCHAR)
|
SELECT co_driver FROM table_name_46 WHERE year = 1970 AND race = "targa florio"
|
Who was the co-driver in 1970 for the race of Targa Florio?
|
CREATE TABLE table_name_46 (co_driver VARCHAR, year VARCHAR, race VARCHAR)
|
SELECT model FROM table_name_72 WHERE years = "2001–2004" AND torque = "n·m (lb·ft) @ 3750" AND engine_code = "n42b18 / n46b18"
|
Which model was made from 2001–2004, with a Torque of n·m (lb·ft) @ 3750, and an Engine code of n42b18 / n46b18?
|
CREATE TABLE table_name_72 (model VARCHAR, engine_code VARCHAR, years VARCHAR, torque VARCHAR)
|
SELECT SUM(crowd) FROM table_name_33 WHERE home_team = "essendon"
|
What is the sum of Crowd when Essendon was the home team?
|
CREATE TABLE table_name_33 (crowd INTEGER, home_team VARCHAR)
|
SELECT MAX(scored) FROM table_name_66 WHERE competition = "2010 east asian football championship"
|
What is the highest scored in the 2010 east asian football championship?
|
CREATE TABLE table_name_66 (scored INTEGER, competition VARCHAR)
|
SELECT MIN(round) FROM table_name_60 WHERE opponent = "paul cahoon" AND location = "amsterdam, netherlands"
|
Which is the lowest Round with the Opponent, Paul Cahoon and Location, Amsterdam, Netherlands?
|
CREATE TABLE table_name_60 (round INTEGER, opponent VARCHAR, location VARCHAR)
|
SELECT MAX(week) FROM table_name_47 WHERE attendance = "72,855"
|
Which Week has an Attendance of 72,855?
|
CREATE TABLE table_name_47 (week INTEGER, attendance VARCHAR)
|
SELECT T2.account_name, T1.account_id, COUNT(*) FROM Financial_transactions AS T1 JOIN Accounts AS T2 ON T1.account_id = T2.account_id GROUP BY T1.account_id
|
Show the account name, id and the number of transactions for each account.
|
CREATE TABLE Financial_transactions (account_id VARCHAR); CREATE TABLE Accounts (account_name VARCHAR, account_id VARCHAR)
|
SELECT capital FROM table_name_89 WHERE sno < 7 AND name_of_janapada = "punia"
|
What capital has an S.Number under 7, and a Name of janapada of Punia?
|
CREATE TABLE table_name_89 (capital VARCHAR, sno VARCHAR, name_of_janapada VARCHAR)
|
SELECT count FROM table_name_5 WHERE flight_hours = "2:00"
|
What is the count for the Zero Fighter with hours of 2:00?
|
CREATE TABLE table_name_5 (count VARCHAR, flight_hours VARCHAR)
|
SELECT player FROM table_name_4 WHERE rank = "t12" AND country = "taiwan" AND lifespan = "1963–"
|
Which Player has a Rank of t12, and a Country of taiwan, and a Lifespan of 1963–?
|
CREATE TABLE table_name_4 (player VARCHAR, lifespan VARCHAR, rank VARCHAR, country VARCHAR)
|
SELECT record FROM table_name_21 WHERE week > 6 AND attendance > 52 OFFSET 560
|
What was the record of the game after Week 6 with an attendance larger than 52,560?
|
CREATE TABLE table_name_21 (record VARCHAR, week VARCHAR, attendance VARCHAR)
|
SELECT college FROM table_name_54 WHERE pick = 136
|
Which college did the player picked number 136 go to?
|
CREATE TABLE table_name_54 (college VARCHAR, pick VARCHAR)
|
SELECT party FROM table_name_22 WHERE district < 10 AND took_office < 1991 AND home_town = "mount pleasant"
|
What is Party, when District is less than 10, when Took Office is less than 1991, and when Home Town is Mount Pleasant?
|
CREATE TABLE table_name_22 (party VARCHAR, home_town VARCHAR, district VARCHAR, took_office VARCHAR)
|
SELECT played FROM table_name_37 WHERE losing_bonus = "3" AND points_against = "426"
|
Name the played with losing bonus of 3 and points against of 426
|
CREATE TABLE table_name_37 (played VARCHAR, losing_bonus VARCHAR, points_against VARCHAR)
|
SELECT AVG(silver) FROM table_name_2 WHERE gold = 1 AND bronze > 5
|
What is the average silver medals a team that has 1 gold and more than 5 bronze has?
|
CREATE TABLE table_name_2 (silver INTEGER, gold VARCHAR, bronze VARCHAR)
|
SELECT opponent FROM table_23612439_2 WHERE date = "July 22"
|
Which opponents are on the date July 22?
|
CREATE TABLE table_23612439_2 (opponent VARCHAR, date VARCHAR)
|
SELECT COUNT(winner) FROM table_28211103_1 WHERE st_kilda_score = "14.11.95"
|
How many winners have st kilda score at 14.11.95?
|
CREATE TABLE table_28211103_1 (winner VARCHAR, st_kilda_score VARCHAR)
|
SELECT took_office FROM table_name_17 WHERE senator = "ken armbrister"
|
What year did Senator Ken Armbrister take office?
|
CREATE TABLE table_name_17 (took_office VARCHAR, senator VARCHAR)
|
SELECT processor FROM table_24100843_1 WHERE model__list_ = "P9xxx"
|
Whats the processor for p9xxx?
|
CREATE TABLE table_24100843_1 (processor VARCHAR, model__list_ VARCHAR)
|
SELECT school AS Colors FROM table_name_70 WHERE enrolment > 1000 AND school = "the friends' school"
|
What school colors for the friends' school with over 1000 enrolled?
|
CREATE TABLE table_name_70 (school VARCHAR, enrolment VARCHAR)
|
SELECT AVG(byes) FROM table_name_45 WHERE against < 1297 AND club = "avoca" AND wins > 12
|
Which Byes has an Against smaller than 1297, and a Club of avoca, and Wins larger than 12?
|
CREATE TABLE table_name_45 (byes INTEGER, wins VARCHAR, against VARCHAR, club VARCHAR)
|
SELECT song_sung FROM table_name_14 WHERE status = "eliminated"
|
Which Song Sung has a Status of Eliminated?
|
CREATE TABLE table_name_14 (song_sung VARCHAR, status VARCHAR)
|
SELECT date FROM table_name_24 WHERE location_attendance = "at&t center 18,797" AND game < 57
|
What date was the location attendance at&t center 18,797, and a game earlier than 57?
|
CREATE TABLE table_name_24 (date VARCHAR, location_attendance VARCHAR, game VARCHAR)
|
SELECT score FROM table_name_7 WHERE visitor = "pittsburgh" AND points > 18
|
What is Score, when Visitor is "Pittsburgh", and when Points is greater than 18?
|
CREATE TABLE table_name_7 (score VARCHAR, visitor VARCHAR, points VARCHAR)
|
SELECT production_code FROM table_27776266_1 WHERE no_in_series = 55
|
What was the production code of the episode no. 55 in the series?
|
CREATE TABLE table_27776266_1 (production_code VARCHAR, no_in_series VARCHAR)
|
SELECT MAX(rank) FROM table_name_39 WHERE gold = 26 AND silver > 17
|
What is the highest rank for a nation with 26 golds and over 17 silvers?
|
CREATE TABLE table_name_39 (rank INTEGER, gold VARCHAR, silver VARCHAR)
|
SELECT saturated_fat FROM table_name_6 WHERE polyunsaturated_fat = "28g"
|
What is the saturated fat with 28g of polyunsaturated fat?
|
CREATE TABLE table_name_6 (saturated_fat VARCHAR, polyunsaturated_fat VARCHAR)
|
SELECT actor_actress FROM table_25831483_1 WHERE first_appearance = "3 June 2007"
|
Who was the actor/actress with a first appearance is 3 june 2007?
|
CREATE TABLE table_25831483_1 (actor_actress VARCHAR, first_appearance VARCHAR)
|
SELECT MAX(laps) FROM table_name_56 WHERE constructor = "toyota" AND grid = 13
|
Tell me the highest laps for toyota and grid of 13
|
CREATE TABLE table_name_56 (laps INTEGER, constructor VARCHAR, grid VARCHAR)
|
SELECT COUNT(original_airdate) FROM table_16581695_3 WHERE production_code = 210
|
How many days are associated with production code 210?
|
CREATE TABLE table_16581695_3 (original_airdate VARCHAR, production_code VARCHAR)
|
SELECT date FROM table_name_3 WHERE home_team = "south melbourne"
|
When did South Melbourne play at home?
|
CREATE TABLE table_name_3 (date VARCHAR, home_team VARCHAR)
|
SELECT original_title FROM table_name_88 WHERE language = "hindi"
|
What was the original title of the Hindi film?
|
CREATE TABLE table_name_88 (original_title VARCHAR, language VARCHAR)
|
SELECT area__km²__2011 * * FROM table_24027047_1 WHERE administrative_division = "Narsingdi District"
|
What was the area in km2 in 2011 for the Narsingdi District?
|
CREATE TABLE table_24027047_1 (area__km²__2011 VARCHAR, administrative_division VARCHAR)
|
SELECT first_broadcast FROM table_19930660_3 WHERE episode = "3x10"
|
What is the first broadcast date for episode 3x10?
|
CREATE TABLE table_19930660_3 (first_broadcast VARCHAR, episode VARCHAR)
|
SELECT date FROM table_name_22 WHERE opponents_in_the_final = "gastón etlis martín rodríguez"
|
What is the date when the opponent in the final is gastón etlis martín rodríguez?
|
CREATE TABLE table_name_22 (date VARCHAR, opponents_in_the_final VARCHAR)
|
SELECT crowd FROM table_name_99 WHERE venue = "victoria park"
|
What is the crowd size for Victoria park?
|
CREATE TABLE table_name_99 (crowd VARCHAR, venue VARCHAR)
|
SELECT married_filing_jointly_or_qualified_widow_er_ FROM table_11647327_2 WHERE married_filing_separately = "$33,951–$68,525"
|
What is the range of married filing jointly or qualified widower in which married filing separately is $33,951–$68,525?
|
CREATE TABLE table_11647327_2 (married_filing_jointly_or_qualified_widow_er_ VARCHAR, married_filing_separately VARCHAR)
|
SELECT 2003 AS rank FROM table_name_17 WHERE airport = "los angeles international airport"
|
What is the 2003 rank for Los Angeles International airport?
|
CREATE TABLE table_name_17 (airport VARCHAR)
|
SELECT name FROM table_name_29 WHERE round = "e"
|
Tell me the name for round of e
|
CREATE TABLE table_name_29 (name VARCHAR, round VARCHAR)
|
SELECT COUNT(round) FROM table_name_18 WHERE method = "submission (punches)"
|
What round was the method submission (punches)?
|
CREATE TABLE table_name_18 (round VARCHAR, method VARCHAR)
|
SELECT 1991 FROM table_name_34 WHERE 1996 = "2r"
|
What is the 1991 with a 2r 1996?
|
CREATE TABLE table_name_34 (Id VARCHAR)
|
SELECT MAX(horizontal_bar) FROM table_name_4 WHERE country = "france" AND rings < 58.975
|
Name the highest Horizontal Bar which is in france and Rings smaller than 58.975?
|
CREATE TABLE table_name_4 (horizontal_bar INTEGER, country VARCHAR, rings VARCHAR)
|
SELECT variant FROM table_name_68 WHERE launch_site = "white sands"
|
What Variant has a Launch site that is white sands?
|
CREATE TABLE table_name_68 (variant VARCHAR, launch_site VARCHAR)
|
SELECT result FROM table_name_36 WHERE opponent = "miami dolphins"
|
What result has miami dolphins as the opponent?
|
CREATE TABLE table_name_36 (result VARCHAR, opponent VARCHAR)
|
SELECT wins FROM table_name_42 WHERE last_win = "2000"
|
How many wins did the club have with the last win in 2000?
|
CREATE TABLE table_name_42 (wins VARCHAR, last_win VARCHAR)
|
SELECT COUNT(round) FROM table_1137694_3 WHERE winning_driver = "Damon Hill"
|
How many total rounds did Damon Hill come in First Place?
|
CREATE TABLE table_1137694_3 (round VARCHAR, winning_driver VARCHAR)
|
SELECT most_recent_cap FROM table_name_64 WHERE goals > 17 AND name = "brian turner"
|
What is the newest Cap with a Goals stat larger than 17 and which was done by Brian Turner?
|
CREATE TABLE table_name_64 (most_recent_cap VARCHAR, goals VARCHAR, name VARCHAR)
|
SELECT country FROM table_name_96 WHERE fis_nordic_world_ski_championships = "1948, 1950"
|
Which Country has a FIS Nordic World Ski Championships of 1948, 1950?
|
CREATE TABLE table_name_96 (country VARCHAR, fis_nordic_world_ski_championships VARCHAR)
|
SELECT COUNT(no_in_season) FROM table_2182654_3 WHERE directed_by = "Jeremy Podeswa"
|
How many episodes in the season were directed by Jeremy Podeswa?
|
CREATE TABLE table_2182654_3 (no_in_season VARCHAR, directed_by VARCHAR)
|
SELECT centerfold_model FROM table_name_60 WHERE interview_subject = "bruce willis"
|
Who was the Centerfild model that used Bruce Willis as her Interview subject?
|
CREATE TABLE table_name_60 (centerfold_model VARCHAR, interview_subject VARCHAR)
|
SELECT quantity FROM table_name_20 WHERE year_s__of_manufacture = "1900" AND class = "mc"
|
what is the quantity when the year of manufacture is 1900 and the class is mc?
|
CREATE TABLE table_name_20 (quantity VARCHAR, year_s__of_manufacture VARCHAR, class VARCHAR)
|
SELECT T1.cmi_cross_ref_id, T1.source_system_code FROM CMI_Cross_References AS T1 JOIN Council_Tax AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id GROUP BY T1.cmi_cross_ref_id HAVING COUNT(*) >= 1
|
What is the cmi cross reference id that is related to at least one council tax entry? List the cross reference id and source system code.
|
CREATE TABLE Council_Tax (cmi_cross_ref_id VARCHAR); CREATE TABLE CMI_Cross_References (cmi_cross_ref_id VARCHAR, source_system_code VARCHAR)
|
SELECT amiga_demo FROM table_2490289_1 WHERE pc_demo = "Tribes ( Pulse & Melon Dezign)"
|
Who won best amiga demo when tribes ( pulse & melon dezign) won best pc demo?
|
CREATE TABLE table_2490289_1 (amiga_demo VARCHAR, pc_demo VARCHAR)
|
SELECT silver FROM table_name_65 WHERE bronze < 618 AND country = "laos"
|
Which Silver has a Bronze smaller than 618, and a Country of laos?
|
CREATE TABLE table_name_65 (silver VARCHAR, bronze VARCHAR, country 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 position FROM table_name_18 WHERE pick__number = "108"
|
What is the position of the player with a Pick # of 108?
|
CREATE TABLE table_name_18 (position VARCHAR, pick__number VARCHAR)
|
SELECT COUNT(record) FROM table_17190012_7 WHERE score = "W 121–119 (OT)"
|
how many records were made on the game that ended with score w 121–119 (ot)
|
CREATE TABLE table_17190012_7 (record VARCHAR, score VARCHAR)
|
SELECT date FROM table_name_10 WHERE series = "0–1"
|
What was the date of the game when the record of the series was 0–1?
|
CREATE TABLE table_name_10 (date VARCHAR, series VARCHAR)
|
SELECT location FROM table_name_80 WHERE record = "8-8"
|
Where was the game played when the Buffalo Bills had a record of 8-8?
|
CREATE TABLE table_name_80 (location VARCHAR, record VARCHAR)
|
SELECT barrel_length FROM table_12834315_2 WHERE name = "AR-15A3 Competition HBAR"
|
what are all the barrel lengths whith the name ar-15a3 competition hbar
|
CREATE TABLE table_12834315_2 (barrel_length VARCHAR, name VARCHAR)
|
SELECT MIN(silver) FROM table_name_1 WHERE bronze = 19 AND total > 58
|
Name the Silver which has a Bronze of 19, and a Total larger than 58?
|
CREATE TABLE table_name_1 (silver INTEGER, bronze VARCHAR, total VARCHAR)
|
SELECT week FROM table_name_20 WHERE attendance = "bye"
|
What week was the Bye attendance week?
|
CREATE TABLE table_name_20 (week VARCHAR, attendance VARCHAR)
|
SELECT COUNT(original_dance__od_) FROM table_22644589_4 WHERE compulsory_dance__cd_ = "20.03"
|
How many original dance scores are listed in the event where the compulsory dance was 20.03?
|
CREATE TABLE table_22644589_4 (original_dance__od_ VARCHAR, compulsory_dance__cd_ VARCHAR)
|
SELECT MAX(tie_no) FROM table_17736890_5 WHERE away_team = "Leeds United"
|
In what tie were Leeds United the away team?
|
CREATE TABLE table_17736890_5 (tie_no INTEGER, away_team VARCHAR)
|
SELECT COUNT(first_elected) FROM table_2668387_18 WHERE incumbent = "John Smith"
|
Name the number of first elected for john smith
|
CREATE TABLE table_2668387_18 (first_elected VARCHAR, incumbent VARCHAR)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.