answer
stringlengths 18
557
| question
stringlengths 12
244
| context
stringlengths 27
489
|
|---|---|---|
SELECT airport FROM table_name_45 WHERE province = "xinjiang" AND city = "kuqa"
|
Which airport is in Xinjiang province in the city Kuqa?
|
CREATE TABLE table_name_45 (airport VARCHAR, province VARCHAR, city VARCHAR)
|
SELECT engine FROM table_name_17 WHERE tyre = "d" AND constructor = "era" AND driver = "bob gerard"
|
what is the engine when the tyre is d, the constructor is era and the driver is bob gerard?
|
CREATE TABLE table_name_17 (engine VARCHAR, driver VARCHAR, tyre VARCHAR, constructor VARCHAR)
|
SELECT T2.address_id, T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1
|
Find the id and city of the student address with the highest average monthly rental.
|
CREATE TABLE Student_Addresses (address_id VARCHAR); CREATE TABLE Addresses (city VARCHAR, address_id VARCHAR)
|
SELECT year FROM table_12032893_1 WHERE weight = 170
|
In which year was the Weight 170?
|
CREATE TABLE table_12032893_1 (year VARCHAR, weight VARCHAR)
|
SELECT venue FROM table_name_11 WHERE round = 20
|
What venue was round 20 held at?
|
CREATE TABLE table_name_11 (venue VARCHAR, round VARCHAR)
|
SELECT pick__number FROM table_name_31 WHERE round = "round 8"
|
What is the pick number for the player(s) drafted in round 8?
|
CREATE TABLE table_name_31 (pick__number VARCHAR, round VARCHAR)
|
SELECT catalogue FROM table_name_59 WHERE song_title = "harbor lights"
|
What is the catalogue for Harbor Lights as a title?
|
CREATE TABLE table_name_59 (catalogue VARCHAR, song_title VARCHAR)
|
SELECT tournament FROM table_name_1 WHERE score = "2-6, 4-6"
|
what is the tournament when the score is 2-6, 4-6?
|
CREATE TABLE table_name_1 (tournament VARCHAR, score VARCHAR)
|
SELECT image_quality FROM table_name_32 WHERE multiple_sessions = "x" AND authentication = "✓" AND date = "may 15, 2007"
|
what is the image quality when the multiple sessions is x, the authentication is ✓ and the date is may 15, 2007?
|
CREATE TABLE table_name_32 (image_quality VARCHAR, date VARCHAR, multiple_sessions VARCHAR, authentication VARCHAR)
|
SELECT date FROM table_name_46 WHERE against = "morocco" AND surface = "hard"
|
What's the date that Morocco has an Against along with a surface of hard?
|
CREATE TABLE table_name_46 (date VARCHAR, against VARCHAR, surface VARCHAR)
|
SELECT result FROM table_name_84 WHERE week__number = "top 11"
|
What was the result after the week # top 11?
|
CREATE TABLE table_name_84 (result VARCHAR, week__number VARCHAR)
|
SELECT position FROM table_name_97 WHERE college = "houston"
|
What is Position, when College is "Houston"?
|
CREATE TABLE table_name_97 (position VARCHAR, college VARCHAR)
|
SELECT club FROM table_name_34 WHERE fa_trophy > 2 AND fa_cup > 2
|
Which club had more than 2 FA trophies and more than 2 FA cups?
|
CREATE TABLE table_name_34 (club VARCHAR, fa_trophy VARCHAR, fa_cup VARCHAR)
|
SELECT country FROM table_name_19 WHERE language = "french" AND director = "jean-luc godard"
|
What country is the film directed by Jean-Luc Godard in French from?
|
CREATE TABLE table_name_19 (country VARCHAR, language VARCHAR, director VARCHAR)
|
SELECT venue FROM table_name_22 WHERE away_team = "footscray"
|
Which venue hosted an away team of Footscray?
|
CREATE TABLE table_name_22 (venue VARCHAR, away_team VARCHAR)
|
SELECT name_and_flag FROM table_name_40 WHERE water_area__km_2__ = 0
|
Which province and flag has a water area (km 2) of 0?
|
CREATE TABLE table_name_40 (name_and_flag VARCHAR, water_area__km_2__ VARCHAR)
|
SELECT Employees.employee_name, COUNT(*) FROM Employees JOIN Circulation_History ON Circulation_History.employee_id = Employees.employee_id GROUP BY Circulation_History.document_id, Circulation_History.draft_number, Circulation_History.copy_number ORDER BY COUNT(*) DESC LIMIT 1
|
Which employee has showed up in most circulation history documents. List the employee's name and the number of drafts and copies.
|
CREATE TABLE Circulation_History (Id VARCHAR); CREATE TABLE Employees (Id VARCHAR)
|
SELECT score FROM table_name_95 WHERE to_par = "e" AND player = "fred funk"
|
When Fred Funk had a to par of E, what was the score?
|
CREATE TABLE table_name_95 (score VARCHAR, to_par VARCHAR, player VARCHAR)
|
SELECT attendance FROM table_name_84 WHERE series = "western conference finals"
|
What is the attendance of the western conference finals series?
|
CREATE TABLE table_name_84 (attendance VARCHAR, series VARCHAR)
|
SELECT COUNT(no) FROM table_19630743_2 WHERE runner_s__up = "John Merrick"
|
What is the total number of John Merrick as a runner up?
|
CREATE TABLE table_19630743_2 (no VARCHAR, runner_s__up VARCHAR)
|
SELECT others_percentage FROM table_1733457_1 WHERE county = "Cleveland"
|
Name the others % for cleveland
|
CREATE TABLE table_1733457_1 (others_percentage VARCHAR, county VARCHAR)
|
SELECT date FROM table_name_47 WHERE opponent_in_the_final = "adam thompson"
|
When did Adam Thompson play in the final?
|
CREATE TABLE table_name_47 (date VARCHAR, opponent_in_the_final VARCHAR)
|
SELECT rank_on_channel FROM table_24222929_4 WHERE title = "Pilot"
|
Name the rank on channel for pilot
|
CREATE TABLE table_24222929_4 (rank_on_channel VARCHAR, title VARCHAR)
|
SELECT centerfold_model FROM table_1566852_8 WHERE pictorials = "Amanda Beard, Reby Sky , Girls of Montauk"
|
Who was the centerfold model when the issue's pictorial was amanda beard, reby sky , girls of montauk ?
|
CREATE TABLE table_1566852_8 (centerfold_model VARCHAR, pictorials VARCHAR)
|
SELECT d_44_√ FROM table_name_32 WHERE d_46_√ = "r 26"
|
What is the D 44 √ when the D 46 √ is r 26?
|
CREATE TABLE table_name_32 (d_44_√ VARCHAR, d_46_√ VARCHAR)
|
SELECT home FROM table_name_30 WHERE date = "21.10.07" AND geust = "bsc young boys (asl)"
|
Who was the home team of the match on 21.10.07, which had bsc young boys (asl) as the geust?
|
CREATE TABLE table_name_30 (home VARCHAR, date VARCHAR, geust VARCHAR)
|
SELECT tries_for FROM table_name_35 WHERE tries_against = "38"
|
Name the tries with tries against of 38
|
CREATE TABLE table_name_35 (tries_for VARCHAR, tries_against VARCHAR)
|
SELECT laps FROM table_name_60 WHERE grid > 15 AND driver = "innes ireland"
|
How many laps did Innes Ireland make when he had a grid more than 15?
|
CREATE TABLE table_name_60 (laps VARCHAR, grid VARCHAR, driver VARCHAR)
|
SELECT winning_score FROM table_name_81 WHERE margin_of_victory = "2 strokes"
|
What was the winning score with a margin victory of 2 strokes?
|
CREATE TABLE table_name_81 (winning_score VARCHAR, margin_of_victory VARCHAR)
|
SELECT score FROM table_name_18 WHERE february = 21
|
what score was on february 21
|
CREATE TABLE table_name_18 (score VARCHAR, february VARCHAR)
|
SELECT SUM(game) FROM table_name_96 WHERE opponent = "new york knickerbockers"
|
what is the game when the opponent is new york knickerbockers?
|
CREATE TABLE table_name_96 (game INTEGER, opponent VARCHAR)
|
SELECT award FROM table_name_54 WHERE actor = "forest whitaker" AND year = 1989
|
What award did Forest Whitaker win in 1989?
|
CREATE TABLE table_name_54 (award VARCHAR, actor VARCHAR, year VARCHAR)
|
SELECT origin, destination FROM Flight WHERE price > 300
|
Show origin and destination for flights with price higher than 300.
|
CREATE TABLE Flight (origin VARCHAR, destination VARCHAR, price INTEGER)
|
SELECT MIN(total) FROM table_name_2 WHERE second = 55
|
What is the lowest Total, when Second is "55"?
|
CREATE TABLE table_name_2 (total INTEGER, second VARCHAR)
|
SELECT COUNT(2005) FROM table_name_1 WHERE 2010 < 43.8 AND 2007 < 29.5 AND 2009 > 4.9 AND 2006 > 10.2
|
What's the total in 2005 if there's more than 10.2 in 2006, less than 29.5 in 2007, more than 4.9 in 2009 and less than 43.8 in 2010?
|
CREATE TABLE table_name_1 (Id VARCHAR)
|
SELECT release_date FROM table_27932399_1 WHERE release_title = "New Worlds For Old"
|
What is the release date of "New Worlds for Old"?
|
CREATE TABLE table_27932399_1 (release_date VARCHAR, release_title VARCHAR)
|
SELECT constituency_number FROM table_name_73 WHERE name = "total:"
|
What is the Constituency Number of Total:?
|
CREATE TABLE table_name_73 (constituency_number VARCHAR, name VARCHAR)
|
SELECT COUNT(rr1_pts) FROM table_21515673_2 WHERE team_name = "Swedish America's Cup Challenge"
|
How many points does Swedish America's Cup Challenge have for rr1?
|
CREATE TABLE table_21515673_2 (rr1_pts VARCHAR, team_name VARCHAR)
|
SELECT MIN(green__sw_) FROM table_2066296_5 WHERE interior_roof = "Charcoal/white"
|
What's the green (SW) of the model with charcoal/white interior/roof?
|
CREATE TABLE table_2066296_5 (green__sw_ INTEGER, interior_roof VARCHAR)
|
SELECT 2 AS nd_leg FROM table_name_73 WHERE team__number1 = "chemie halle"
|
What was the 2nd leg score for Chemie Halle?
|
CREATE TABLE table_name_73 (team__number1 VARCHAR)
|
SELECT years FROM table_name_74 WHERE total = "101 (16)"
|
What years have 101 (16) as the total?
|
CREATE TABLE table_name_74 (years VARCHAR, total VARCHAR)
|
SELECT MIN(crowd) FROM table_name_74 WHERE away_team = "melbourne"
|
What was the smallest crowd when Melbourne was the away team?
|
CREATE TABLE table_name_74 (crowd INTEGER, away_team VARCHAR)
|
SELECT T2.name FROM Office_locations AS T1 JOIN buildings AS T2 ON T1.building_id = T2.id JOIN Companies AS T3 ON T1.company_id = T3.id GROUP BY T1.building_id ORDER BY COUNT(*) DESC LIMIT 1
|
Show the name of the building that has the most company offices.
|
CREATE TABLE buildings (name VARCHAR, id VARCHAR); CREATE TABLE Companies (id VARCHAR); CREATE TABLE Office_locations (building_id VARCHAR, company_id VARCHAR)
|
SELECT T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T1.name IN (SELECT T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid WHERE T2.balance > (SELECT AVG(balance) FROM savings))
|
Find the checking balance of the accounts whose savings balance is higher than the average savings balance.
|
CREATE TABLE accounts (custid VARCHAR, name VARCHAR); CREATE TABLE checking (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER)
|
SELECT round FROM table_name_37 WHERE venue = "st. mirren park" AND attendance > 4 OFFSET 555
|
What is the round at St. Mirren Park with more than 4,555 people attending?
|
CREATE TABLE table_name_37 (round VARCHAR, venue VARCHAR, attendance VARCHAR)
|
SELECT loss FROM table_name_79 WHERE date = "june 2"
|
What was the loss for June 2?
|
CREATE TABLE table_name_79 (loss VARCHAR, date VARCHAR)
|
SELECT surname FROM table_name_64 WHERE throws = "r" AND position = "p" AND dob = "26 april 1989"
|
Which Surname has Throws of r, and a Position of p, and a DOB of 26 april 1989?
|
CREATE TABLE table_name_64 (surname VARCHAR, dob VARCHAR, throws VARCHAR, position VARCHAR)
|
SELECT MAX(pick__number) FROM table_name_52 WHERE overall = 204
|
Name the most pick # for overall of 204
|
CREATE TABLE table_name_52 (pick__number INTEGER, overall VARCHAR)
|
SELECT golden_point_s__scorer FROM table_name_14 WHERE away = "brisbane broncos" AND home = "south sydney rabbitohs"
|
What Golden point(s) scorer has the Away Brisbane Broncos and Home South Sydney Rabbitohs?
|
CREATE TABLE table_name_14 (golden_point_s__scorer VARCHAR, away VARCHAR, home VARCHAR)
|
SELECT institutional_authority FROM table_name_47 WHERE launch_date = "october 12, 2004"
|
Name the institutional authority for launch date of october 12, 2004
|
CREATE TABLE table_name_47 (institutional_authority VARCHAR, launch_date VARCHAR)
|
SELECT fcc_info FROM table_name_51 WHERE city_of_license = "irmo, south carolina"
|
What is the FCC info of the translator with an Irmo, South Carolina city license?
|
CREATE TABLE table_name_51 (fcc_info VARCHAR, city_of_license VARCHAR)
|
SELECT player FROM table_name_51 WHERE overall < 22
|
Who had the smallest overall under 22?
|
CREATE TABLE table_name_51 (player VARCHAR, overall INTEGER)
|
SELECT record FROM table_name_32 WHERE method = "submission (heel hook)" AND round > 1 AND time = "2:28"
|
Which Record has a Method of submission (heel hook), a Round larger than 1, and a Time of 2:28?
|
CREATE TABLE table_name_32 (record VARCHAR, time VARCHAR, method VARCHAR, round VARCHAR)
|
SELECT MIN(games) AS ↑ FROM table_name_88 WHERE number = 98
|
Which Games↑ is the lowest one that has a Number of 98?
|
CREATE TABLE table_name_88 (games INTEGER, number VARCHAR)
|
SELECT player FROM table_name_70 WHERE to_par = "+1" AND score = 72 - 70 - 72 = 214
|
What is Player, when To Par is +1, and when Score is 72-70-72=214?
|
CREATE TABLE table_name_70 (player VARCHAR, to_par VARCHAR, score VARCHAR)
|
SELECT office FROM table_20246201_9 WHERE states___third_place = "1 New Hampshire"
|
Which office has 1 New Hampshire as a third place state?
|
CREATE TABLE table_20246201_9 (office VARCHAR, states___third_place VARCHAR)
|
SELECT country FROM table_name_21 WHERE year_s__won = "1988"
|
Can you tell me the Country that has the Year(s) Won of 1988?
|
CREATE TABLE table_name_21 (country VARCHAR, year_s__won VARCHAR)
|
SELECT 1 AS st_leg FROM table_name_13 WHERE agg = "2-1"
|
What is the 1st leg of the team with a 2-1 agg.?
|
CREATE TABLE table_name_13 (agg VARCHAR)
|
SELECT AVG(grid) FROM table_name_52 WHERE time_retired = "+1 lap" AND laps > 27
|
What is the grid average with a +1 lap time and more than 27 laps?
|
CREATE TABLE table_name_52 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
|
SELECT name FROM table_name_87 WHERE rank = "lieutenant colonel" AND begin_date = "1904-02-22 22 february 1904"
|
what name has a Rank of lieutenant colonel, and a Begin Date of 1904-02-22 22 february 1904?
|
CREATE TABLE table_name_87 (name VARCHAR, rank VARCHAR, begin_date VARCHAR)
|
SELECT date FROM table_21197135_1 WHERE record = "6-0"
|
How many opponents were there when the record was 6-0?
|
CREATE TABLE table_21197135_1 (date VARCHAR, record VARCHAR)
|
SELECT COUNT(pick) FROM table_name_32 WHERE college = "boston college"
|
WHAT IS THE TOTAL PICK FOR BOSTON COLLEGE?
|
CREATE TABLE table_name_32 (pick VARCHAR, college VARCHAR)
|
SELECT DISTINCT Hometown FROM people EXCEPT SELECT DISTINCT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID
|
List the distinct hometowns that are not associated with any gymnast.
|
CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR, People_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR)
|
SELECT MIN(total_attendance) FROM table_28884858_2 WHERE team = "New York Giants"
|
What was the total attendance of the New York Giants?
|
CREATE TABLE table_28884858_2 (total_attendance INTEGER, team VARCHAR)
|
SELECT block FROM table_name_25 WHERE area = "northamptonshire"
|
Which Block does Northamptonshire Area have?
|
CREATE TABLE table_name_25 (block VARCHAR, area VARCHAR)
|
SELECT money___$__ FROM table_name_17 WHERE score = 74 - 76 - 71 - 71 = 292
|
How much money was won for the game with a score of 74-76-71-71=292?
|
CREATE TABLE table_name_17 (money___$__ VARCHAR, score VARCHAR)
|
SELECT AVG(rank) FROM table_name_36 WHERE tally = "4-0"
|
Which Rank has a Tally of 4-0?
|
CREATE TABLE table_name_36 (rank INTEGER, tally VARCHAR)
|
SELECT COUNT(gdp_millions_of_usd__2009_) FROM table_1496582_1 WHERE country___territory = "Indonesia"
|
What was the GDP (in millions USD) of Indonesia in 2009?
|
CREATE TABLE table_1496582_1 (gdp_millions_of_usd__2009_ VARCHAR, country___territory VARCHAR)
|
SELECT match_points FROM table_27986200_3 WHERE eliminated_from_competition = "Bordeaux-Bègles"
|
What were the match points when Bordeaux-Bègles was eliminated from competition?
|
CREATE TABLE table_27986200_3 (match_points VARCHAR, eliminated_from_competition VARCHAR)
|
SELECT record FROM table_name_19 WHERE round = 3 AND event = "fight festival 27"
|
Which record's round was 3 when the event was fight festival 27?
|
CREATE TABLE table_name_19 (record VARCHAR, round VARCHAR, event VARCHAR)
|
SELECT elector FROM table_name_5 WHERE nationality = "roman" AND elevator = "urban iv" AND elevated = "1261, december 17"
|
What is the Elector with a Nationality with roman, and an Elevator of urban iv, and an Elevated with 1261, december 17?
|
CREATE TABLE table_name_5 (elector VARCHAR, elevated VARCHAR, nationality VARCHAR, elevator VARCHAR)
|
SELECT status FROM table_name_73 WHERE style = "ballet/ gymnastics"
|
what's the status in the style of ballet/ gymnastics?
|
CREATE TABLE table_name_73 (status VARCHAR, style VARCHAR)
|
SELECT team__number1 FROM table_name_20 WHERE team__number2 = "galatasaray cc i̇stanbul"
|
Who was Team #1 when Team #2 was galatasaray cc i̇stanbul?
|
CREATE TABLE table_name_20 (team__number1 VARCHAR, team__number2 VARCHAR)
|
SELECT MIN(total_goals) FROM table_name_3 WHERE league_apps < 171 AND total_apps = 151 AND position = "df"
|
What is the fewest total goals scored for players with under 171 league appearances, 151 total appearances, and the DF position?
|
CREATE TABLE table_name_3 (total_goals INTEGER, position VARCHAR, league_apps VARCHAR, total_apps VARCHAR)
|
SELECT denominations__gold_weight_ FROM table_2592308_1 WHERE country = "China"
|
What are all the denominations for China?
|
CREATE TABLE table_2592308_1 (denominations__gold_weight_ VARCHAR, country VARCHAR)
|
SELECT COUNT(overall) FROM table_name_59 WHERE position = "ot" AND pick > 5
|
What is the total overall number of the ot position player with a pick greater than 5?
|
CREATE TABLE table_name_59 (overall VARCHAR, position VARCHAR, pick VARCHAR)
|
SELECT opponent FROM table_name_53 WHERE date = "august 30"
|
Who did the Jays play on August 30?
|
CREATE TABLE table_name_53 (opponent VARCHAR, date VARCHAR)
|
SELECT COUNT(stage_wins) FROM table_name_41 WHERE finishes > 1 AND podiums < 1 AND driver = "federico villagra" AND starts < 8
|
What's the number of stage wins for Federico Villagra having more than 1 finish, less than 8 starts and less than 1 podium?
|
CREATE TABLE table_name_41 (stage_wins VARCHAR, starts VARCHAR, driver VARCHAR, finishes VARCHAR, podiums VARCHAR)
|
SELECT train_number, TIME FROM train WHERE origin = 'Chennai' AND destination = 'Guruvayur'
|
Find the number and time of the train that goes from Chennai to Guruvayur.
|
CREATE TABLE train (train_number VARCHAR, TIME VARCHAR, origin VARCHAR, destination VARCHAR)
|
SELECT opponent FROM table_name_4 WHERE save = "ni fu-deh"
|
Who played against Save Of Ni Fu-Deh?
|
CREATE TABLE table_name_4 (opponent VARCHAR, save VARCHAR)
|
SELECT AVG(round) FROM table_name_90 WHERE college = "notre dame" AND pick__number = "49"
|
What is the average round for draft pick #49 from Notre Dame?
|
CREATE TABLE table_name_90 (round INTEGER, college VARCHAR, pick__number VARCHAR)
|
SELECT COUNT(traditional_chinese) FROM table_1805919_1 WHERE english_translation = "Crossing the River"
|
How many traditional Chinese for the translation of "Crossing the River"?
|
CREATE TABLE table_1805919_1 (traditional_chinese VARCHAR, english_translation VARCHAR)
|
SELECT recorded FROM table_name_16 WHERE translation = "sleep my love, good night"
|
Name the recorded for translation of sleep my love, good night
|
CREATE TABLE table_name_16 (recorded VARCHAR, translation VARCHAR)
|
SELECT opponent FROM table_name_79 WHERE outcome = "runner-up" AND score = "5-7, 1-6"
|
Who was the opponent for the match were the outcome was runner-up and the score was 5-7, 1-6?
|
CREATE TABLE table_name_79 (opponent VARCHAR, outcome VARCHAR, score VARCHAR)
|
SELECT home_team FROM table_name_34 WHERE away_team = "south melbourne"
|
In the match where south melbourne was the away team, who was the home team?
|
CREATE TABLE table_name_34 (home_team VARCHAR, away_team VARCHAR)
|
SELECT nat FROM table_name_53 WHERE name = "diogo"
|
What nationality is Diogo?
|
CREATE TABLE table_name_53 (nat VARCHAR, name VARCHAR)
|
SELECT away_team AS score FROM table_name_63 WHERE venue = "mcg"
|
What was the away score at the game at MCG?
|
CREATE TABLE table_name_63 (away_team VARCHAR, venue VARCHAR)
|
SELECT season FROM table_name_25 WHERE runs = "310/9"
|
What season were the runs 310/9?
|
CREATE TABLE table_name_25 (season VARCHAR, runs VARCHAR)
|
SELECT 1978 FROM table_name_99 WHERE 1976 = "62%"
|
What 1978 has a 1976 of 62%?
|
CREATE TABLE table_name_99 (Id VARCHAR)
|
SELECT to_par FROM table_name_25 WHERE winning_score = 69 - 67 - 72 - 64 = 272
|
What is the to par of the match with a winning score 69-67-72-64=272?
|
CREATE TABLE table_name_25 (to_par VARCHAR, winning_score VARCHAR)
|
SELECT release_date FROM table_name_95 WHERE title = "i wanna play house"
|
What is the release date of I Wanna Play House?
|
CREATE TABLE table_name_95 (release_date VARCHAR, title VARCHAR)
|
SELECT height_ft___m FROM table_name_44 WHERE year_completed < 1990 AND name = "florida life building"
|
How tall is the florida life building, completed before 1990?
|
CREATE TABLE table_name_44 (height_ft___m VARCHAR, year_completed VARCHAR, name VARCHAR)
|
SELECT COUNT(lane) FROM table_name_28 WHERE nationality = "united states" AND name = "aaron peirsol"
|
How many lanes have a Nationality of united states, and a Name of aaron peirsol?
|
CREATE TABLE table_name_28 (lane VARCHAR, nationality VARCHAR, name VARCHAR)
|
SELECT COUNT(party) FROM table_1342370_10 WHERE incumbent = "Charles R. Crisp"
|
How many parties were represented for Charles R. Crisp?
|
CREATE TABLE table_1342370_10 (party VARCHAR, incumbent VARCHAR)
|
SELECT title FROM table_2818164_2 WHERE production_code = 104
|
What's the title of the episode with production code 104?
|
CREATE TABLE table_2818164_2 (title VARCHAR, production_code VARCHAR)
|
SELECT AVG(other_apps) FROM table_name_76 WHERE division = "one" AND league_goals < 1
|
What is Division One's average Other Apps, with a League Goal less than 1?
|
CREATE TABLE table_name_76 (other_apps INTEGER, division VARCHAR, league_goals VARCHAR)
|
SELECT venue FROM table_name_45 WHERE date = "5 april 2000"
|
What is the venue of the match on 5 April 2000?
|
CREATE TABLE table_name_45 (venue VARCHAR, date VARCHAR)
|
SELECT date_in_service FROM table_24837750_1 WHERE county = "Musselshell"
|
When did the wind farm in Musselshell started service?
|
CREATE TABLE table_24837750_1 (date_in_service VARCHAR, county VARCHAR)
|
SELECT position FROM table_name_38 WHERE level = "tier 3" AND season < 1999
|
Which Position has a Level of tier 3 and a Season smaller than 1999?
|
CREATE TABLE table_name_38 (position VARCHAR, level VARCHAR, season VARCHAR)
|
SELECT opposition FROM table_name_64 WHERE competition = "division 1" AND venue = "stamford bridge"
|
Who is the opposition on the division 1 game at Stamford Bridge?
|
CREATE TABLE table_name_64 (opposition VARCHAR, competition VARCHAR, venue VARCHAR)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.