answer
stringlengths 18
557
| question
stringlengths 12
244
| context
stringlengths 27
489
|
|---|---|---|
SELECT SUM(touchdowns) FROM table_name_53 WHERE extra_points = 0 AND field_goals < 0
|
How many touchdowns are there that has field goals less than 0 and 0 extra points?
|
CREATE TABLE table_name_53 (touchdowns INTEGER, extra_points VARCHAR, field_goals VARCHAR)
|
SELECT song FROM table_name_86 WHERE picturization = "vijay"
|
Which song has a Picturization of Vijay?
|
CREATE TABLE table_name_86 (song VARCHAR, picturization VARCHAR)
|
SELECT title FROM table_name_87 WHERE doctor = "06 sixth doctor" AND company = "big finish"
|
What is Title, when Doctor is 06 Sixth Doctor, and when Company is Big Finish?
|
CREATE TABLE table_name_87 (title VARCHAR, doctor VARCHAR, company VARCHAR)
|
SELECT opponent_team FROM table_name_31 WHERE match < 3
|
Who was the opponent at the match smaller than 3?
|
CREATE TABLE table_name_31 (opponent_team VARCHAR, match INTEGER)
|
SELECT current_club FROM table_name_9 WHERE player = "sam magri"
|
What is the club for Sam Magri?
|
CREATE TABLE table_name_9 (current_club VARCHAR, player VARCHAR)
|
SELECT winner FROM table_28898948_3 WHERE electorate = "Rangitikei"
|
When rangitikei is the electorate who is the winner?
|
CREATE TABLE table_28898948_3 (winner VARCHAR, electorate VARCHAR)
|
SELECT result FROM table_name_54 WHERE attendance = "67,715"
|
What is the result of the game with 67,715 fans attending?
|
CREATE TABLE table_name_54 (result VARCHAR, attendance VARCHAR)
|
SELECT high_points FROM table_27700375_10 WHERE date = "March 14"
|
who had high points on march 14?
|
CREATE TABLE table_27700375_10 (high_points VARCHAR, date VARCHAR)
|
SELECT COUNT(result) FROM table_21091127_1 WHERE game = 5
|
How many results have a game of 5?
|
CREATE TABLE table_21091127_1 (result VARCHAR, game VARCHAR)
|
SELECT promotion FROM table_name_4 WHERE venue = "the arena" AND event = "legends of the arena"
|
What is the promotion when the arena was the venue and the event of legends of the arena?
|
CREATE TABLE table_name_4 (promotion VARCHAR, venue VARCHAR, event VARCHAR)
|
SELECT opponent FROM table_name_52 WHERE record = "55-14"
|
Who was the opponent when the record was 55-14?
|
CREATE TABLE table_name_52 (opponent VARCHAR, record VARCHAR)
|
SELECT original_title FROM table_name_91 WHERE title_in_english = "the last metro"
|
The Last Metro refers to which Original Title?
|
CREATE TABLE table_name_91 (original_title VARCHAR, title_in_english VARCHAR)
|
SELECT T2.investor_id, T1.Investor_details FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id WHERE T2.transaction_type_code = "SALE" GROUP BY T2.investor_id HAVING COUNT(*) >= 2
|
Show the ids and details of the investors who have at least two transactions with type code "SALE".
|
CREATE TABLE TRANSACTIONS (investor_id VARCHAR, transaction_type_code VARCHAR); CREATE TABLE INVESTORS (Investor_details VARCHAR, investor_id VARCHAR)
|
SELECT COUNT(appearances) FROM table_name_84 WHERE team = "shakhtar donetsk"
|
How many apperances for shakhtar donetsk?
|
CREATE TABLE table_name_84 (appearances VARCHAR, team VARCHAR)
|
SELECT fielding_team FROM table_name_81 WHERE wicket = "8th"
|
Who fielded against the 8th wicket?
|
CREATE TABLE table_name_81 (fielding_team VARCHAR, wicket VARCHAR)
|
SELECT AVG(gdp_per_capita__us) AS $___2004_ FROM table_name_53 WHERE literacy__2003_ = "90%" AND area__km²_ = 1247689.5
|
Which GDP per capita (US$) (2004) has a Literacy (2003) of 90%, and an Area (km²) of 1247689.5?
|
CREATE TABLE table_name_53 (gdp_per_capita__us INTEGER, literacy__2003_ VARCHAR, area__km²_ VARCHAR)
|
SELECT MIN(win__percentage) FROM table_name_66 WHERE season = "1999-2013"
|
What is the lowest win% in the 1999-2013 season?
|
CREATE TABLE table_name_66 (win__percentage INTEGER, season VARCHAR)
|
SELECT romanian FROM table_25401_2 WHERE nuorese_sardinian = "[ˈkantata]"
|
what is romanian when nuorese sardinian is [ˈkantata]?
|
CREATE TABLE table_25401_2 (romanian VARCHAR, nuorese_sardinian VARCHAR)
|
SELECT MIN(population) FROM table_name_85 WHERE area_km_2 = 236.76
|
What is the Population of the Parish with an Area km 2 of 236.76?
|
CREATE TABLE table_name_85 (population INTEGER, area_km_2 VARCHAR)
|
SELECT SUM(week) FROM table_name_34 WHERE result_score = "w 51-29"
|
How many weeks have w 51-29 as the result/score?
|
CREATE TABLE table_name_34 (week INTEGER, result_score VARCHAR)
|
SELECT candidates FROM table_2668199_2 WHERE result = "Re-elected" AND first_elected = "1832" AND party = "Jacksonian"
|
Who were all the candidates when the results were re-elected, first elected was 1832 and the party was jacksonian?
|
CREATE TABLE table_2668199_2 (candidates VARCHAR, party VARCHAR, result VARCHAR, first_elected VARCHAR)
|
SELECT average_ratings FROM table_name_92 WHERE episodes = 11 AND japanese_title = "サプリ"
|
For the Japanese title サプリ that had 11 episodes, what is the average ratings?
|
CREATE TABLE table_name_92 (average_ratings VARCHAR, episodes VARCHAR, japanese_title VARCHAR)
|
SELECT year FROM table_name_15 WHERE party = "liberal" AND constituency = "hazel grove"
|
What year was Hazel Grove the constituent for the liberal party?
|
CREATE TABLE table_name_15 (year VARCHAR, party VARCHAR, constituency VARCHAR)
|
SELECT COUNT(no) FROM table_12962773_13 WHERE height = "2.06"
|
What is the total number that has a height of 2.06?
|
CREATE TABLE table_12962773_13 (no VARCHAR, height VARCHAR)
|
SELECT date FROM table_28298589_4 WHERE visiting_team = "Texas Southern"
|
What date was the game where Texas Southern was the visiting team?
|
CREATE TABLE table_28298589_4 (date VARCHAR, visiting_team VARCHAR)
|
SELECT nfl_team FROM table_2508633_6 WHERE pick__number = 151
|
Name the nfl team for pick number 151
|
CREATE TABLE table_2508633_6 (nfl_team VARCHAR, pick__number VARCHAR)
|
SELECT catalog_number FROM table_11222744_3 WHERE title = "Callanetics: 10 years Younger In 10 Hours"
|
What is the catalog number named callanetics: 10 years younger in 10 hours
|
CREATE TABLE table_11222744_3 (catalog_number VARCHAR, title VARCHAR)
|
SELECT f_laps FROM table_name_97 WHERE wins = "0" AND position = "4th"
|
What was the F/Laps when the Wins were 0 and the Position was 4th?
|
CREATE TABLE table_name_97 (f_laps VARCHAR, wins VARCHAR, position VARCHAR)
|
SELECT AVG(grid) FROM table_name_26 WHERE driver = "johnny dumfries" AND laps < 8
|
What is the average grid for johnny dumfries with less than 8 laps?
|
CREATE TABLE table_name_26 (grid INTEGER, driver VARCHAR, laps VARCHAR)
|
SELECT the_prize FROM table_name_19 WHERE tv_channel = "ant1" AND the_presenter = "andreas mikroutsikos" AND launch_date = "march 10, 2003"
|
What was the prize when the show was aired on Ant1, was presented by Andreas Mikroutsikos, and was launched on March 10, 2003?
|
CREATE TABLE table_name_19 (the_prize VARCHAR, launch_date VARCHAR, tv_channel VARCHAR, the_presenter VARCHAR)
|
SELECT college FROM table_name_32 WHERE player = "paul davis"
|
Tell me the college that paul davis went to
|
CREATE TABLE table_name_32 (college VARCHAR, player VARCHAR)
|
SELECT COUNT(week) FROM table_name_81 WHERE opponent = "at chicago bears" AND attendance > 49 OFFSET 070
|
What is the total number of Week, when Opponent is At Chicago Bears, and when Attendance is greater than 49,070?
|
CREATE TABLE table_name_81 (week VARCHAR, opponent VARCHAR, attendance VARCHAR)
|
SELECT points FROM table_15418319_1 WHERE team = "Paulistano"
|
Name the points for paulistano
|
CREATE TABLE table_15418319_1 (points VARCHAR, team VARCHAR)
|
SELECT MAX(points) FROM table_name_56 WHERE team = "tacuary" AND losses < 4
|
What's the highest Points with the Team of Tacuary, and has Losses that's smaller than 4?
|
CREATE TABLE table_name_56 (points INTEGER, team VARCHAR, losses VARCHAR)
|
SELECT couple FROM table_name_20 WHERE rank_by_average > 3 AND average > 16.5 AND total < 195 AND number_of_dances > 3
|
Which Couple has a Rank by average larger than 3, and an Average larger than 16.5, and a Total smaller than 195, and a Number of dances larger than 3?
|
CREATE TABLE table_name_20 (couple VARCHAR, number_of_dances VARCHAR, total VARCHAR, rank_by_average VARCHAR, average VARCHAR)
|
SELECT incumbent FROM table_1342359_17 WHERE first_elected = 1927
|
Who won in 1927
|
CREATE TABLE table_1342359_17 (incumbent VARCHAR, first_elected VARCHAR)
|
SELECT date FROM table_name_95 WHERE high_assists = "mike taylor (5)"
|
What day was the high assist Mike Taylor (5)?
|
CREATE TABLE table_name_95 (date VARCHAR, high_assists VARCHAR)
|
SELECT MAX(1985) FROM table_name_27 WHERE 1990 = 93
|
What is the highest 1985 value that has a 1990 value of 93?
|
CREATE TABLE table_name_27 (Id VARCHAR)
|
SELECT launch_date FROM table_name_22 WHERE designation = "atv-002"
|
When did the atv-002 launch?
|
CREATE TABLE table_name_22 (launch_date VARCHAR, designation VARCHAR)
|
SELECT dates_of_australian_involvement FROM table_10121127_1 WHERE number_of_australians_involved = "65"
|
When was it where 65 Australians were involved in the UN?
|
CREATE TABLE table_10121127_1 (dates_of_australian_involvement VARCHAR, number_of_australians_involved VARCHAR)
|
SELECT MAX(points) FROM table_17289224_1 WHERE final_placing = "9th"
|
What was the max points you when when you place 9th?
|
CREATE TABLE table_17289224_1 (points INTEGER, final_placing VARCHAR)
|
SELECT points FROM table_20855452_4 WHERE player = "Agnieszka Radwańska"
|
How many points did agnieszka radwańska score?
|
CREATE TABLE table_20855452_4 (points VARCHAR, player VARCHAR)
|
SELECT finish FROM table_name_85 WHERE laps < 200 AND year = "1953"
|
What was the finish with less than 200 laps in 1953?
|
CREATE TABLE table_name_85 (finish VARCHAR, laps VARCHAR, year VARCHAR)
|
SELECT series FROM table_name_88 WHERE game = 4
|
what is the series for game 4?
|
CREATE TABLE table_name_88 (series VARCHAR, game VARCHAR)
|
SELECT opponent FROM table_23486853_8 WHERE date = "March 16"
|
Who is every opponent on the date of March 16?
|
CREATE TABLE table_23486853_8 (opponent VARCHAR, date VARCHAR)
|
SELECT venue FROM table_name_28 WHERE opponent = "woking" AND round < 29
|
What is the venue when Woking was the opponent, and the round was less than 29?
|
CREATE TABLE table_name_28 (venue VARCHAR, opponent VARCHAR, round VARCHAR)
|
SELECT date FROM table_name_54 WHERE result = "w 26–20"
|
On what date was the result w 26–20?
|
CREATE TABLE table_name_54 (date VARCHAR, result VARCHAR)
|
SELECT bowling_style FROM table_11950720_4 WHERE player = "Chris Harris"
|
What is the bowling style of chris harris?
|
CREATE TABLE table_11950720_4 (bowling_style VARCHAR, player VARCHAR)
|
SELECT january_15_16 FROM table_25284864_3 WHERE november_3 = "november_3, 2013"
|
What January 15-16 is is that corresponds to November 3, 2013?
|
CREATE TABLE table_25284864_3 (january_15_16 VARCHAR, november_3 VARCHAR)
|
SELECT COUNT(player) FROM table_27552095_27 WHERE date = "October 3, 2010"
|
How many times was the date october 3, 2010?
|
CREATE TABLE table_27552095_27 (player VARCHAR, date VARCHAR)
|
SELECT home_team AS score FROM table_name_24 WHERE home_team = "hawthorn"
|
What was Hawthorn's score when they were the home team?
|
CREATE TABLE table_name_24 (home_team VARCHAR)
|
SELECT country FROM table_name_95 WHERE television_service = "italia 1"
|
What is the name of the country when the television service is italia 1?
|
CREATE TABLE table_name_95 (country VARCHAR, television_service VARCHAR)
|
SELECT COUNT(*) FROM building
|
How many buildings are there?
|
CREATE TABLE building (Id VARCHAR)
|
SELECT MAX(keynote_version) FROM table_name_18 WHERE numbers_version = "2.3" AND pages_version > 4.3
|
What's the latest keynote version of version 2.3 of numbers with pages greater than 4.3?
|
CREATE TABLE table_name_18 (keynote_version INTEGER, numbers_version VARCHAR, pages_version VARCHAR)
|
SELECT year FROM table_name_36 WHERE runner_up = "wisconsin"
|
In what year was Wisconsin the runner-up?
|
CREATE TABLE table_name_36 (year VARCHAR, runner_up VARCHAR)
|
SELECT championship FROM table_22597626_6 WHERE year = 1980 AND surface = "Hard"
|
Name the championship for 1980 hard surface
|
CREATE TABLE table_22597626_6 (championship VARCHAR, year VARCHAR, surface VARCHAR)
|
SELECT won FROM table_1143966_1 WHERE standing = "2nd OHA" AND games = 62
|
How many games were won with 2nd oha was standing and there were 62 games?
|
CREATE TABLE table_1143966_1 (won VARCHAR, standing VARCHAR, games VARCHAR)
|
SELECT attendance FROM table_name_72 WHERE week < 3 AND date = "september 18, 1965"
|
What was the attendance of the game on September 18, 1965 before week 3?
|
CREATE TABLE table_name_72 (attendance VARCHAR, week VARCHAR, date VARCHAR)
|
SELECT country FROM table_name_64 WHERE lane < 2 AND name = "anselmo da silva"
|
Which country has Anselmo Da Silva in lane 2?
|
CREATE TABLE table_name_64 (country VARCHAR, lane VARCHAR, name VARCHAR)
|
SELECT payload_to_gto FROM table_name_95 WHERE ccbs > 1 AND payload_to_leo = "29,400kg"
|
What Payload to GTO has CCBs larger than 1, and a Payload to LEO of 29,400kg?
|
CREATE TABLE table_name_95 (payload_to_gto VARCHAR, ccbs VARCHAR, payload_to_leo VARCHAR)
|
SELECT issue_date_s_ FROM table_name_97 WHERE artist = "paul mccartney and michael jackson"
|
What was the issue date for the song by Paul Mccartney and Michael Jackson?
|
CREATE TABLE table_name_97 (issue_date_s_ VARCHAR, artist VARCHAR)
|
SELECT name FROM table_name_57 WHERE goals = 6 AND nationality = "morocco"
|
Who was from Morocco and scored 6 goals?
|
CREATE TABLE table_name_57 (name VARCHAR, goals VARCHAR, nationality VARCHAR)
|
SELECT state FROM table_name_48 WHERE term_in_office = "1984–1996" AND party = "labor" AND member = "robert tickner"
|
Which state has a Term in office of 1984–1996, a Party of labor, and a Member of robert tickner?
|
CREATE TABLE table_name_48 (state VARCHAR, member VARCHAR, term_in_office VARCHAR, party VARCHAR)
|
SELECT record FROM table_name_83 WHERE time = "3:00" AND venue = "michael's eighth avenue" AND opponent = "tim coleman"
|
The match of at Michael's Eighth Avenue venue against Tim Coleman that went 3:00 has what record?
|
CREATE TABLE table_name_83 (record VARCHAR, opponent VARCHAR, time VARCHAR, venue VARCHAR)
|
SELECT COUNT(mixed_doubles) FROM table_12164707_1 WHERE mens_singles = "Oliver Pongratz"
|
How many Mixed Doubles won when Oliver Pongratz won the Men's Singles?
|
CREATE TABLE table_12164707_1 (mixed_doubles VARCHAR, mens_singles VARCHAR)
|
SELECT tournament FROM table_name_71 WHERE career_sr = "0 / 5" AND 1983 = "a"
|
What tournament has 0 / 5 as career SR and A as 1983?
|
CREATE TABLE table_name_71 (tournament VARCHAR, career_sr VARCHAR)
|
SELECT binibining_pilipinas_international FROM table_1825751_4 WHERE miss_universe_philippines = "Gionna Cabrera"
|
Who was the winner of binibining pilipinas-International wheh Gionna Cabrera won Miss Universe Philippines?
|
CREATE TABLE table_1825751_4 (binibining_pilipinas_international VARCHAR, miss_universe_philippines VARCHAR)
|
SELECT COUNT(season) FROM table_12444503_1 WHERE lost_to_eventual_runner_up = "USC Bassam"
|
What's the number of seasons i which USC Bassam lost to eventual runner-up?
|
CREATE TABLE table_12444503_1 (season VARCHAR, lost_to_eventual_runner_up VARCHAR)
|
SELECT MAX(round) FROM table_name_53 WHERE position = "back" AND player = "ed cody"
|
What is the highest round where a back named Ed Cody can be found?
|
CREATE TABLE table_name_53 (round INTEGER, position VARCHAR, player VARCHAR)
|
SELECT attendance FROM table_name_28 WHERE week = 5
|
what is the attendance when the week is 5?
|
CREATE TABLE table_name_28 (attendance VARCHAR, week VARCHAR)
|
SELECT max_aperture FROM table_name_77 WHERE focal_length = "20mm"
|
What is the maximum aperture of the lens(es) with a focal length of 20mm?
|
CREATE TABLE table_name_77 (max_aperture VARCHAR, focal_length VARCHAR)
|
SELECT MIN(towns) FROM table_23685890_2 WHERE land_area__km²_ = "110"
|
How many towns exist on the government area with a surface of 110 square kilometers?
|
CREATE TABLE table_23685890_2 (towns INTEGER, land_area__km²_ VARCHAR)
|
SELECT launch_pad FROM table_name_16 WHERE launch_date_time__utc_ = "25 december 2010 10:34"
|
Tell me the launch pad for 25 december 2010 10:34
|
CREATE TABLE table_name_16 (launch_pad VARCHAR, launch_date_time__utc_ VARCHAR)
|
SELECT score FROM table_name_73 WHERE game = 2
|
What's the score of Game 2?
|
CREATE TABLE table_name_73 (score VARCHAR, game VARCHAR)
|
SELECT MIN(agricultural_panel) FROM table_name_29 WHERE industrial_and_commercial_panel = 9 AND national_university_of_ireland > 3
|
What was the lowest number of members on the Agricultural Panel, when the Industrial and Commercial Panel had 9 members, and when the National University of Ireland had more than 3 members?
|
CREATE TABLE table_name_29 (agricultural_panel INTEGER, industrial_and_commercial_panel VARCHAR, national_university_of_ireland VARCHAR)
|
SELECT opponent FROM table_name_75 WHERE round = "q2" AND season = "2005–06"
|
What is the Opponent with a Round of q2, in the 2005–06 season?
|
CREATE TABLE table_name_75 (opponent VARCHAR, round VARCHAR, season VARCHAR)
|
SELECT DISTINCT T1.type FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id WHERE T2.velocity < 200
|
What are the distinct types of the companies that have operated any flights with velocity less than 200?
|
CREATE TABLE flight (Id VARCHAR); CREATE TABLE operate_company (type VARCHAR, id VARCHAR)
|
SELECT high_rebounds FROM table_22879323_9 WHERE location_attendance = "American Airlines Center"
|
Name the high rebounds for american airlines center
|
CREATE TABLE table_22879323_9 (high_rebounds VARCHAR, location_attendance VARCHAR)
|
SELECT wheel_arrangement FROM table_name_9 WHERE specification = "dl-700"
|
Which wheel arrangement had a Specification of dl-700?
|
CREATE TABLE table_name_9 (wheel_arrangement VARCHAR, specification VARCHAR)
|
SELECT date FROM table_name_8 WHERE opponent = "houston"
|
What was the game date when the opponent was Houston?
|
CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR)
|
SELECT college_junior_club_team FROM table_name_5 WHERE pick = "16"
|
Tell me the college/junior club team for pick of 16
|
CREATE TABLE table_name_5 (college_junior_club_team VARCHAR, pick VARCHAR)
|
SELECT COUNT(byes) FROM table_name_41 WHERE losses = 13 AND wins < 5
|
What is the total number of byes that has 13 losses and wins less than 5?
|
CREATE TABLE table_name_41 (byes VARCHAR, losses VARCHAR, wins VARCHAR)
|
SELECT COUNT(poles) FROM table_name_43 WHERE wins < 0
|
What is the total number of poles with less than 0 wins?
|
CREATE TABLE table_name_43 (poles VARCHAR, wins INTEGER)
|
SELECT AVG(total_medals) FROM table_name_99 WHERE gold_medals = 0 AND ensemble = "roland hayes school"
|
What was the average total medals received by Roland Hayes School when there were 0 gold medals?
|
CREATE TABLE table_name_99 (total_medals INTEGER, gold_medals VARCHAR, ensemble VARCHAR)
|
SELECT constructor FROM table_name_84 WHERE driver = "alexander wurz"
|
What is the constructor of driver Alexander Wurz?
|
CREATE TABLE table_name_84 (constructor VARCHAR, driver VARCHAR)
|
SELECT safari FROM table_name_96 WHERE firefox = "30.82%"
|
What percentage of users were using Safari during the period in which 30.82% were using Firefox?
|
CREATE TABLE table_name_96 (safari VARCHAR, firefox VARCHAR)
|
SELECT COUNT(played) FROM table_name_67 WHERE points = "31-7" AND position = 16 AND goals_for < 35
|
Name the total number of played when points of is 31-7, position is 16 and goals for is less than 35
|
CREATE TABLE table_name_67 (played VARCHAR, goals_for VARCHAR, points VARCHAR, position VARCHAR)
|
SELECT MIN(year_s_) FROM table_1368649_9 WHERE spokesperson = "Thierry Beccaro"
|
What year was Thierry Beccaro the spokesperson?
|
CREATE TABLE table_1368649_9 (year_s_ INTEGER, spokesperson VARCHAR)
|
SELECT record FROM table_name_22 WHERE date = "december 30"
|
What is Record, when Date is "December 30"?
|
CREATE TABLE table_name_22 (record VARCHAR, date VARCHAR)
|
SELECT replication_site FROM table_name_58 WHERE envelopment = "enveloped" AND family = "bunyaviridae"
|
What is the replication site when the species is enveloped and is of the bunyaviridae family?
|
CREATE TABLE table_name_58 (replication_site VARCHAR, envelopment VARCHAR, family VARCHAR)
|
SELECT loss FROM table_name_52 WHERE date = "september 8"
|
Who did the team lose to on September 8?
|
CREATE TABLE table_name_52 (loss VARCHAR, date VARCHAR)
|
SELECT frequency FROM table_24418525_1 WHERE coverage = "Mega Manila"
|
What frequency is mega manila set to?
|
CREATE TABLE table_24418525_1 (frequency VARCHAR, coverage VARCHAR)
|
SELECT record FROM table_name_97 WHERE location_attendance = "pepsi center 19,749"
|
What is Record, when Location Attendance is "Pepsi Center 19,749"?
|
CREATE TABLE table_name_97 (record VARCHAR, location_attendance VARCHAR)
|
SELECT T3.name, T2.title, T1.date, T1.price FROM schedule AS T1 JOIN film AS T2 ON T1.film_id = T2.film_id JOIN cinema AS T3 ON T1.cinema_id = T3.cinema_id
|
Show cinema name, film title, date, and price for each record in schedule.
|
CREATE TABLE schedule (date VARCHAR, price VARCHAR, film_id VARCHAR, cinema_id VARCHAR); CREATE TABLE cinema (name VARCHAR, cinema_id VARCHAR); CREATE TABLE film (title VARCHAR, film_id VARCHAR)
|
SELECT Name FROM country ORDER BY Population LIMIT 3
|
What are the names of the nations with the 3 lowest populations?
|
CREATE TABLE country (Name VARCHAR, Population VARCHAR)
|
SELECT score FROM table_23486853_3 WHERE game = 4
|
What was the score for game 4?
|
CREATE TABLE table_23486853_3 (score VARCHAR, game VARCHAR)
|
SELECT mens_singles FROM table_14903881_1 WHERE mens_doubles = "George Georgoudis Gerostergiou"
|
Name the mens singles when mens doubles is george georgoudis gerostergiou
|
CREATE TABLE table_14903881_1 (mens_singles VARCHAR, mens_doubles VARCHAR)
|
SELECT date FROM table_name_59 WHERE venue = "punt road oval"
|
What day did the VFL play Punt Road Oval?
|
CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR)
|
SELECT builder FROM table_19872699_1 WHERE design_firm = "Botin Carkeek"
|
Who were the builders of the boat designed by Botin Carkeek?
|
CREATE TABLE table_19872699_1 (builder VARCHAR, design_firm VARCHAR)
|
SELECT T1.Market_Details FROM Street_Markets AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Market_ID = T2.Tourist_Attraction_ID WHERE T2.How_to_Get_There = "walk" OR T2.How_to_Get_There = "bus"
|
What are the details of the markets that can be accessed by walk or bus?
|
CREATE TABLE Street_Markets (Market_Details VARCHAR, Market_ID VARCHAR); CREATE TABLE TOURIST_ATTRACTIONS (Tourist_Attraction_ID VARCHAR, How_to_Get_There VARCHAR)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.