instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the 2007 value with 1r in 2011 and 1r in 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (Id VARCHAR) | SELECT 2007 FROM table_name_84 WHERE 2011 = "1r" AND 2010 = "1r" |
Write a SQL query that answers the following question: What is the 2012 value with 1r in 2010 and 2r in 2006? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (Id VARCHAR) | SELECT 2012 FROM table_name_13 WHERE 2010 = "1r" AND 2006 = "2r" |
Write a SQL query that answers the following question: What is the 2010 value for the Australian Open? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (tournament VARCHAR) | SELECT 2010 FROM table_name_28 WHERE tournament = "australian open" |
Write a SQL query that answers the following question: What is the 2006 value of the 2009 A value, 2011 A value, and A as the 2007 value? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (Id VARCHAR) | SELECT 2006 FROM table_name_68 WHERE 2009 = "a" AND 2011 = "a" AND 2007 = "a" |
Write a SQL query that answers the following question: What is the 2006 value with 3r in 2007? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (Id VARCHAR) | SELECT 2006 FROM table_name_8 WHERE 2007 = "3r" |
Write a SQL query that answers the following question: What is the 2012 value with 479 in 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (Id VARCHAR) | SELECT 2012 FROM table_name_22 WHERE 2008 = "479" |
Write a SQL query that answers the following question: What is the building for the r90 pennant? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (builder VARCHAR, pennant VARCHAR) | SELECT builder FROM table_name_16 WHERE pennant = "r90" |
Write a SQL query that answers the following question: What is the pennant with Denny, Dumbarton as the builder? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (pennant VARCHAR, builder VARCHAR) | SELECT pennant FROM table_name_8 WHERE builder = "denny, dumbarton" |
Write a SQL query that answers the following question: What is the laid down date of the destroyer with a r29 pennant? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (laid_down VARCHAR, pennant VARCHAR) | SELECT laid_down FROM table_name_37 WHERE pennant = "r29" |
Write a SQL query that answers the following question: What is the location/state of the race on 16 Jun? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (location___state VARCHAR, date VARCHAR) | SELECT location___state FROM table_name_92 WHERE date = "16 jun" |
Write a SQL query that answers the following question: What is the lowest heat of the Lakeside race? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (heat INTEGER, race_title VARCHAR) | SELECT MIN(heat) FROM table_name_65 WHERE race_title = "lakeside" |
Write a SQL query that answers the following question: When the Away team is footscray, what is the Home team playing? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_42 WHERE away_team = "footscray" |
Write a SQL query that answers the following question: Which Away team plays at the Venue vfl park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_91 WHERE venue = "vfl park" |
Write a SQL query that answers the following question: Name the least week for opponent of washington redskins | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (week INTEGER, opponent VARCHAR) | SELECT MIN(week) FROM table_name_87 WHERE opponent = "washington redskins" |
Write a SQL query that answers the following question: Name the tv time for week 10 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (tv_time VARCHAR, week VARCHAR) | SELECT tv_time FROM table_name_49 WHERE week = 10 |
Write a SQL query that answers the following question: What is the Time/Retired for a Grid larger than 6, and 57 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (time_retired VARCHAR, grid VARCHAR, laps VARCHAR) | SELECT time_retired FROM table_name_51 WHERE grid > 6 AND laps = 57 |
Write a SQL query that answers the following question: What grid for denny hulme? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (grid VARCHAR, driver VARCHAR) | SELECT grid FROM table_name_12 WHERE driver = "denny hulme" |
Write a SQL query that answers the following question: How many laps for a Time/Retired of tyre, and a Grid larger than 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (laps VARCHAR, time_retired VARCHAR, grid VARCHAR) | SELECT COUNT(laps) FROM table_name_66 WHERE time_retired = "tyre" AND grid > 10 |
Write a SQL query that answers the following question: What Outcome has a Rocket launch of rehnuma-11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (outcomes VARCHAR, rocket_launch VARCHAR) | SELECT outcomes FROM table_name_93 WHERE rocket_launch = "rehnuma-11" |
Write a SQL query that answers the following question: Which Institutional authority has a Rocket launch of rehnuma-10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (institutional_authority VARCHAR, rocket_launch VARCHAR) | SELECT institutional_authority FROM table_name_67 WHERE rocket_launch = "rehnuma-10" |
Write a SQL query that answers the following question: Which Derivative has a Launch Date of july 15, 1970; 15:05 gmt? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (derivatives VARCHAR, launch_date VARCHAR) | SELECT derivatives FROM table_name_57 WHERE launch_date = "july 15, 1970; 15:05 gmt" |
Write a SQL query that answers the following question: Which Outcome has a Launch Date of march 18, 1964; 14:50 gmt? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (outcomes VARCHAR, launch_date VARCHAR) | SELECT outcomes FROM table_name_32 WHERE launch_date = "march 18, 1964; 14:50 gmt" |
Write a SQL query that answers the following question: Which Mission has a Launch Date of december 30, 1970; 14:50 gmt? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (mission VARCHAR, launch_date VARCHAR) | SELECT mission FROM table_name_47 WHERE launch_date = "december 30, 1970; 14:50 gmt" |
Write a SQL query that answers the following question: What team was the visitor on 3/2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_72 WHERE date = "3/2" |
Write a SQL query that answers the following question: What is the home team score for kardinia park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_56 WHERE venue = "kardinia park" |
Write a SQL query that answers the following question: Name the realization for phoneme of /i/ and example of /idːa/ | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (realization VARCHAR, phoneme VARCHAR, example VARCHAR) | SELECT realization FROM table_name_5 WHERE phoneme = "/i/" AND example = "/idːa/" |
Write a SQL query that answers the following question: Name the phoneme for realizaiton of [ɪj] | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (phoneme VARCHAR, realization VARCHAR) | SELECT phoneme FROM table_name_13 WHERE realization = "[ɪj]" |
Write a SQL query that answers the following question: Name the example when the environment is #_x | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (example VARCHAR, environment VARCHAR) | SELECT example FROM table_name_46 WHERE environment = "#_x" |
Write a SQL query that answers the following question: Name the example when the realization is [ɐ] | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (example VARCHAR, realization VARCHAR) | SELECT example FROM table_name_36 WHERE realization = "[ɐ]" |
Write a SQL query that answers the following question: Name the phoneme when the example is /umsʁ/ | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (phoneme VARCHAR, example VARCHAR) | SELECT phoneme FROM table_name_78 WHERE example = "/umsʁ/" |
Write a SQL query that answers the following question: Name the phoneme when the realizationis [ɑ] | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (phoneme VARCHAR, realization VARCHAR) | SELECT phoneme FROM table_name_16 WHERE realization = "[ɑ]" |
Write a SQL query that answers the following question: What is the power of the engine with an engine code m44b19? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (power VARCHAR, engine_code VARCHAR) | SELECT power FROM table_name_84 WHERE engine_code = "m44b19" |
Write a SQL query that answers the following question: What is the highest numbered grid for piercarlo ghinzani with over 3 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (grid INTEGER, driver VARCHAR, laps VARCHAR) | SELECT MAX(grid) FROM table_name_80 WHERE driver = "piercarlo ghinzani" AND laps > 3 |
Write a SQL query that answers the following question: How many laps for a grid of over 18 and retired due to electrical failure? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (laps INTEGER, grid VARCHAR, time_retired VARCHAR) | SELECT SUM(laps) FROM table_name_31 WHERE grid > 18 AND time_retired = "electrical" |
Write a SQL query that answers the following question: What was the average crowd attendance for the Junction Oval venue? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (crowd INTEGER, venue VARCHAR) | SELECT AVG(crowd) FROM table_name_36 WHERE venue = "junction oval" |
Write a SQL query that answers the following question: What is the home team for the Princes Park venue? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_87 WHERE venue = "princes park" |
Write a SQL query that answers the following question: What is the average home team score for Footscray? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_36 WHERE home_team = "footscray" |
Write a SQL query that answers the following question: Which home teams had Geelong as the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_19 WHERE away_team = "geelong" |
Write a SQL query that answers the following question: When did the Rockies play the Giants with an attendance over 24,100? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (date VARCHAR, opponent VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_35 WHERE opponent = "giants" AND attendance > 24 OFFSET 100 |
Write a SQL query that answers the following question: What is the date of the game when the Rockies had a record of 61–66? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_91 WHERE record = "61–66" |
Write a SQL query that answers the following question: How many seasons has John Mcfadden coached? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (seasons VARCHAR, coach VARCHAR) | SELECT COUNT(seasons) FROM table_name_71 WHERE coach = "john mcfadden" |
Write a SQL query that answers the following question: What is the number of annual ridership with a station that has more than 13 stations and larger than 4 lines? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (annual_ridership__2012_ INTEGER, stations VARCHAR, lines VARCHAR) | SELECT SUM(annual_ridership__2012_) FROM table_name_52 WHERE stations = 13 AND lines > 4 |
Write a SQL query that answers the following question: How many lines have fewer than 44 stations and fewer than 881 riders per mile? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (lines VARCHAR, stations VARCHAR, rider_per_mile VARCHAR) | SELECT COUNT(lines) FROM table_name_44 WHERE stations < 44 AND rider_per_mile < 881 |
Write a SQL query that answers the following question: What is the highest season for the 7th position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (season INTEGER, position VARCHAR) | SELECT MAX(season) FROM table_name_61 WHERE position = "7th" |
Write a SQL query that answers the following question: Who is the opponent in the final of the Tournament of Blenheim? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (opponent_in_the_final VARCHAR, tournament VARCHAR) | SELECT opponent_in_the_final FROM table_name_42 WHERE tournament = "blenheim" |
Write a SQL query that answers the following question: Who is the opponent in the final on August 14, 2006? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (opponent_in_the_final VARCHAR, date VARCHAR) | SELECT opponent_in_the_final FROM table_name_3 WHERE date = "august 14, 2006" |
Write a SQL query that answers the following question: Who is the opponent in the final with a clay surface at the Tournament of Lyneham? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (opponent_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR) | SELECT opponent_in_the_final FROM table_name_20 WHERE surface = "clay" AND tournament = "lyneham" |
Write a SQL query that answers the following question: On what surface was the score 6–2, 6–1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (surface VARCHAR, score VARCHAR) | SELECT surface FROM table_name_46 WHERE score = "6–2, 6–1" |
Write a SQL query that answers the following question: What is the score for the Tournament of Cordenons? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (score VARCHAR, tournament VARCHAR) | SELECT score FROM table_name_12 WHERE tournament = "cordenons" |
Write a SQL query that answers the following question: On what date was the surface clay with Cyril Saulnier as the opponent in the final? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) | SELECT date FROM table_name_28 WHERE surface = "clay" AND opponent_in_the_final = "cyril saulnier" |
Write a SQL query that answers the following question: Which artist has a Mintage of 500? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (artist VARCHAR, mintage VARCHAR) | SELECT artist FROM table_name_9 WHERE mintage = 500 |
Write a SQL query that answers the following question: Which Artist has an Issue Price of $1,541.95? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (artist VARCHAR, issue_price VARCHAR) | SELECT artist FROM table_name_20 WHERE issue_price = "$1,541.95" |
Write a SQL query that answers the following question: Who is the opponent in the final on a hard surface with a score of 6–3 7–6(5)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (opponent_in_the_final VARCHAR, surface VARCHAR, score VARCHAR) | SELECT opponent_in_the_final FROM table_name_69 WHERE surface = "hard" AND score = "6–3 7–6(5)" |
Write a SQL query that answers the following question: Who is the opponent in the Tournament of Lahore final? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (opponent_in_the_final VARCHAR, tournament VARCHAR) | SELECT opponent_in_the_final FROM table_name_90 WHERE tournament = "lahore" |
Write a SQL query that answers the following question: On what date did the opponent in the Toshiaki Sakai final play on a grass surface? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (date VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR) | SELECT date FROM table_name_99 WHERE opponent_in_the_final = "toshiaki sakai" AND surface = "grass" |
Write a SQL query that answers the following question: On what surface did a score of 4–6 6–3 6–4 occur at the Tournament of Lahore? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (surface VARCHAR, tournament VARCHAR, score VARCHAR) | SELECT surface FROM table_name_78 WHERE tournament = "lahore" AND score = "4–6 6–3 6–4" |
Write a SQL query that answers the following question: Which tournament had Toshiaki Sakai as an opponent in the final on a grass surface? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (tournament VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR) | SELECT tournament FROM table_name_73 WHERE opponent_in_the_final = "toshiaki sakai" AND surface = "grass" |
Write a SQL query that answers the following question: what was the score on the game that happened on May 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_49 WHERE date = "may 15" |
Write a SQL query that answers the following question: What is the status of bel with a Transfer window of winter? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (status VARCHAR, country VARCHAR, transfer_window VARCHAR) | SELECT status FROM table_name_8 WHERE country = "bel" AND transfer_window = "winter" |
Write a SQL query that answers the following question: What is the union moving name and is from cmr? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (name VARCHAR, moving_to VARCHAR, country VARCHAR) | SELECT name FROM table_name_92 WHERE moving_to = "union" AND country = "cmr" |
Write a SQL query that answers the following question: What is the transfer window for bel? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (transfer_window VARCHAR, country VARCHAR) | SELECT transfer_window FROM table_name_78 WHERE country = "bel" |
Write a SQL query that answers the following question: What is the transfer period for habarugira? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (transfer_window VARCHAR, name VARCHAR) | SELECT transfer_window FROM table_name_16 WHERE name = "habarugira" |
Write a SQL query that answers the following question: How big was the crowd in game that featured the visiting team of north melbourne? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (crowd VARCHAR, away_team VARCHAR) | SELECT crowd FROM table_name_76 WHERE away_team = "north melbourne" |
Write a SQL query that answers the following question: How many bronze medals for the nation with less than 1 total? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (bronze INTEGER, total INTEGER) | SELECT MAX(bronze) FROM table_name_79 WHERE total < 1 |
Write a SQL query that answers the following question: How many bronze medals for the nation ranked above 2, and under 0 golds? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (bronze VARCHAR, rank VARCHAR, gold VARCHAR) | SELECT COUNT(bronze) FROM table_name_36 WHERE rank < 2 AND gold < 0 |
Write a SQL query that answers the following question: How many silvers for japan (1 gold)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (silver INTEGER, nation VARCHAR, gold VARCHAR) | SELECT SUM(silver) FROM table_name_30 WHERE nation = "japan" AND gold > 1 |
Write a SQL query that answers the following question: Which authority had a role of 651? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (authority VARCHAR, roll VARCHAR) | SELECT authority FROM table_name_18 WHERE roll = 651 |
Write a SQL query that answers the following question: For the roll of 651, what was the lowest Decile? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (decile INTEGER, roll VARCHAR) | SELECT MIN(decile) FROM table_name_79 WHERE roll = 651 |
Write a SQL query that answers the following question: What were the years for Redhill school, authority of state? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (years VARCHAR, authority VARCHAR, name VARCHAR) | SELECT years FROM table_name_1 WHERE authority = "state" AND name = "redhill school" |
Write a SQL query that answers the following question: What was the sum roll of Karaka area? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (roll INTEGER, area VARCHAR) | SELECT SUM(roll) FROM table_name_53 WHERE area = "karaka" |
Write a SQL query that answers the following question: What home team played North Melbourne? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_50 WHERE away_team = "north melbourne" |
Write a SQL query that answers the following question: What is the nationality of the player with a round after 4 and plays right wing? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (nationality VARCHAR, round VARCHAR, position VARCHAR) | SELECT nationality FROM table_name_41 WHERE round > 4 AND position = "right wing" |
Write a SQL query that answers the following question: What is the college/junior/club team (league) of left wing Ondrej Roman? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_62 WHERE position = "left wing" AND player = "ondrej roman" |
Write a SQL query that answers the following question: Who played in lake oval while away? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_69 WHERE venue = "lake oval" |
Write a SQL query that answers the following question: What week number saw a w 31-16 result? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (week INTEGER, result VARCHAR) | SELECT MIN(week) FROM table_name_21 WHERE result = "w 31-16" |
Write a SQL query that answers the following question: When was the game before week 8 with a result of bye? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (date VARCHAR, week VARCHAR, result VARCHAR) | SELECT date FROM table_name_44 WHERE week < 8 AND result = "bye" |
Write a SQL query that answers the following question: What week number had the New York Giants as opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (week VARCHAR, opponent VARCHAR) | SELECT COUNT(week) FROM table_name_21 WHERE opponent = "new york giants" |
Write a SQL query that answers the following question: Who built the under grid 6 car with under 49 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (constructor VARCHAR, grid VARCHAR, laps VARCHAR) | SELECT constructor FROM table_name_94 WHERE grid < 6 AND laps < 49 |
Write a SQL query that answers the following question: Who built the grid 2 car? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (constructor VARCHAR, grid VARCHAR) | SELECT constructor FROM table_name_40 WHERE grid = 2 |
Write a SQL query that answers the following question: Who built the car that retired due to suspension before 65 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (constructor VARCHAR, laps VARCHAR, time_retired VARCHAR) | SELECT constructor FROM table_name_7 WHERE laps < 65 AND time_retired = "suspension" |
Write a SQL query that answers the following question: What Valley Vista has a Dysart of 1668? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (valley_vista VARCHAR, dysart VARCHAR) | SELECT valley_vista FROM table_name_39 WHERE dysart = "1668" |
Write a SQL query that answers the following question: What Valley Vista has a Willow Canyon of 2169? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (valley_vista VARCHAR, willow_canyon VARCHAR) | SELECT valley_vista FROM table_name_47 WHERE willow_canyon = "2169" |
Write a SQL query that answers the following question: How many people were in the crowd at Lake Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (crowd VARCHAR, venue VARCHAR) | SELECT crowd FROM table_name_2 WHERE venue = "lake oval" |
Write a SQL query that answers the following question: What team was the home team on 27 june 1981, at vfl park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (home_team VARCHAR, date VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_88 WHERE date = "27 june 1981" AND venue = "vfl park" |
Write a SQL query that answers the following question: What is the tyre with a 56 chassis? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (tyre VARCHAR, chassis VARCHAR) | SELECT tyre FROM table_name_99 WHERE chassis = "56" |
Write a SQL query that answers the following question: Which country has a GDP (nominal) of $29.9 billion? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (country VARCHAR, gdp__nominal_ VARCHAR) | SELECT country FROM table_name_20 WHERE gdp__nominal_ = "$29.9 billion" |
Write a SQL query that answers the following question: Which country has a GDP (nominal) of $29.9 billion? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (country VARCHAR, gdp__nominal_ VARCHAR) | SELECT country FROM table_name_46 WHERE gdp__nominal_ = "$29.9 billion" |
Write a SQL query that answers the following question: Which GDP (nominal) has a Population of 5,550,239? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (gdp__nominal_ VARCHAR, population VARCHAR) | SELECT gdp__nominal_ FROM table_name_98 WHERE population = "5,550,239" |
Write a SQL query that answers the following question: Which population has a GDP (nominal) of $6.4 billion? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (population VARCHAR, gdp__nominal_ VARCHAR) | SELECT population FROM table_name_63 WHERE gdp__nominal_ = "$6.4 billion" |
Write a SQL query that answers the following question: Which country has a GDP (nominal) of $29.9 billion? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (country VARCHAR, gdp__nominal_ VARCHAR) | SELECT country FROM table_name_30 WHERE gdp__nominal_ = "$29.9 billion" |
Write a SQL query that answers the following question: What is the GDP (nominal) with Population of 5,125,693? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (gdp_per_capita__nominal_ VARCHAR, population VARCHAR) | SELECT gdp_per_capita__nominal_ FROM table_name_16 WHERE population = "5,125,693" |
Write a SQL query that answers the following question: What is the earliest year for 9 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (year INTEGER, points VARCHAR) | SELECT MIN(year) FROM table_name_79 WHERE points = 9 |
Write a SQL query that answers the following question: What is the low score for the jaguar r3 chasis? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (points INTEGER, chassis VARCHAR) | SELECT MIN(points) FROM table_name_90 WHERE chassis = "jaguar r3" |
Write a SQL query that answers the following question: What is the notes when the displacement is 220cid (3,604cc)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (notes VARCHAR, displacement VARCHAR) | SELECT notes FROM table_name_78 WHERE displacement = "220cid (3,604cc)" |
Write a SQL query that answers the following question: What is then engine when the notes state srt8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (engine VARCHAR, notes VARCHAR) | SELECT engine FROM table_name_91 WHERE notes = "srt8" |
Write a SQL query that answers the following question: What is the power when the displacement is 182cid (2,988cc) and the notes are eu spec? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (power VARCHAR, displacement VARCHAR, notes VARCHAR) | SELECT power FROM table_name_43 WHERE displacement = "182cid (2,988cc)" AND notes = "eu spec" |
Write a SQL query that answers the following question: What is the engine for year 2012-? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (engine VARCHAR, years VARCHAR) | SELECT engine FROM table_name_52 WHERE years = "2012-" |
Write a SQL query that answers the following question: What is the record of the match with Columbus as the home team on March 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (record VARCHAR, home VARCHAR, date VARCHAR) | SELECT record FROM table_name_96 WHERE home = "columbus" AND date = "march 7" |
Write a SQL query that answers the following question: What is the record of the game on March 18? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_20 WHERE date = "march 18" |
Write a SQL query that answers the following question: Which height has a College of wyoming, and a Name of guy frazier? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (height VARCHAR, college VARCHAR, name VARCHAR) | SELECT height FROM table_name_72 WHERE college = "wyoming" AND name = "guy frazier" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.