instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What award did Charlie Productions Ltd receive? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (award VARCHAR, recipient VARCHAR) | SELECT award FROM table_name_14 WHERE recipient = "charlie productions ltd" |
Write a SQL query that answers the following question: What film had Bub Ltd as the recipient? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (film VARCHAR, recipient VARCHAR) | SELECT film FROM table_name_75 WHERE recipient = "bub ltd" |
Write a SQL query that answers the following question: What film was awarded on 22/3/06? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (film VARCHAR, date VARCHAR) | SELECT film FROM table_name_2 WHERE date = "22/3/06" |
Write a SQL query that answers the following question: What score resulted in a winner after 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (score VARCHAR, outcome VARCHAR, year VARCHAR) | SELECT score FROM table_name_18 WHERE outcome = "winner" AND year > 2008 |
Write a SQL query that answers the following question: What score has an opponent gan teik chai lin woon fui? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_6 WHERE opponent = "gan teik chai lin woon fui" |
Write a SQL query that answers the following question: What tournament has an opponent gan teik chai lin woon fui? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (tournament VARCHAR, opponent VARCHAR) | SELECT tournament FROM table_name_77 WHERE opponent = "gan teik chai lin woon fui" |
Write a SQL query that answers the following question: What tournament has an opponent jung jae-sung lee yong-dae? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (tournament VARCHAR, opponent VARCHAR) | SELECT tournament FROM table_name_59 WHERE opponent = "jung jae-sung lee yong-dae" |
Write a SQL query that answers the following question: What is the record of the team that lost to Alexander (5-2)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (record VARCHAR, loss VARCHAR) | SELECT record FROM table_name_12 WHERE loss = "alexander (5-2)" |
Write a SQL query that answers the following question: Which opponent has a record of 17-11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_86 WHERE record = "17-11" |
Write a SQL query that answers the following question: What is the score of the game that resulted in a 15-9 record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_46 WHERE record = "15-9" |
Write a SQL query that answers the following question: What was the attendance on May 26? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_86 WHERE date = "may 26" |
Write a SQL query that answers the following question: What is the score of the game that was a loss to Dotson (2-3)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (score VARCHAR, loss VARCHAR) | SELECT score FROM table_name_34 WHERE loss = "dotson (2-3)" |
Write a SQL query that answers the following question: On what date was the record 19-11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_58 WHERE record = "19-11" |
Write a SQL query that answers the following question: What were the highest points before the year 1974? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (points INTEGER, year INTEGER) | SELECT MAX(points) FROM table_name_61 WHERE year < 1974 |
Write a SQL query that answers the following question: What was the chassis when the entrant was Lavazza March, and the points were 0.5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (chassis VARCHAR, entrant VARCHAR, points VARCHAR) | SELECT chassis FROM table_name_75 WHERE entrant = "lavazza march" AND points = 0.5 |
Write a SQL query that answers the following question: What was the chassis when the entrant was Lavazza March, and the year was 1975? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (chassis VARCHAR, entrant VARCHAR, year VARCHAR) | SELECT chassis FROM table_name_38 WHERE entrant = "lavazza march" AND year = 1975 |
Write a SQL query that answers the following question: What was the chassis when the points were greater than 0 and the entrant was March Engineering? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (chassis VARCHAR, points VARCHAR, entrant VARCHAR) | SELECT chassis FROM table_name_74 WHERE points > 0 AND entrant = "march engineering" |
Write a SQL query that answers the following question: Who had a time of 56.07? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (name VARCHAR, time VARCHAR) | SELECT name FROM table_name_21 WHERE time = 56.07 |
Write a SQL query that answers the following question: What is the original title of Madame Rosa? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (original_title VARCHAR, english_title VARCHAR) | SELECT original_title FROM table_name_83 WHERE english_title = "madame rosa" |
Write a SQL query that answers the following question: What is the original title where Paul Verhoeven is the director? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (original_title VARCHAR, director VARCHAR) | SELECT original_title FROM table_name_42 WHERE director = "paul verhoeven" |
Write a SQL query that answers the following question: What original title has a year of 1978? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (original_title VARCHAR, year VARCHAR) | SELECT original_title FROM table_name_18 WHERE year = "1978" |
Write a SQL query that answers the following question: Who is the director of the best foreign film? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (director VARCHAR, original_title VARCHAR) | SELECT director FROM table_name_14 WHERE original_title = "best foreign film" |
Write a SQL query that answers the following question: What is the English title for Ansikte Mot Ansikte? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (english_title VARCHAR, original_title VARCHAR) | SELECT english_title FROM table_name_90 WHERE original_title = "ansikte mot ansikte" |
Write a SQL query that answers the following question: What happened on 2009-09-05? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (circumstances VARCHAR, date VARCHAR) | SELECT circumstances FROM table_name_93 WHERE date = "2009-09-05" |
Write a SQL query that answers the following question: Where was the combat of 2009-09-16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (location VARCHAR, circumstances VARCHAR, date VARCHAR) | SELECT location FROM table_name_80 WHERE circumstances = "combat" AND date = "2009-09-16" |
Write a SQL query that answers the following question: What happened on 2009-03-14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (circumstances VARCHAR, date VARCHAR) | SELECT circumstances FROM table_name_25 WHERE date = "2009-03-14" |
Write a SQL query that answers the following question: How many casualties from the combat in the Fayzabad area? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (casualties VARCHAR, circumstances VARCHAR, location VARCHAR) | SELECT casualties FROM table_name_71 WHERE circumstances = "combat" AND location = "fayzabad area" |
Write a SQL query that answers the following question: Where was the incident of 2009-09-05? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (location VARCHAR, date VARCHAR) | SELECT location FROM table_name_28 WHERE date = "2009-09-05" |
Write a SQL query that answers the following question: What is the home team of the game on January 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (home VARCHAR, date VARCHAR) | SELECT home FROM table_name_67 WHERE date = "january 22" |
Write a SQL query that answers the following question: What is the score of the game on February 26 with the Chicago black hawks as the home team and the New York Rangers as the visitor team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (score VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR) | SELECT score FROM table_name_59 WHERE home = "chicago black hawks" AND visitor = "new york rangers" AND date = "february 26" |
Write a SQL query that answers the following question: What is the home team of the game on February 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (home VARCHAR, date VARCHAR) | SELECT home FROM table_name_74 WHERE date = "february 4" |
Write a SQL query that answers the following question: What Team had less than 1 point with a Zakspeed 871 chassis? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (team VARCHAR, points VARCHAR, chassis VARCHAR) | SELECT team FROM table_name_44 WHERE points < 1 AND chassis = "zakspeed 871" |
Write a SQL query that answers the following question: What is the lowest amount of points for a Ford Cosworth DFR (Mader) 3.5 V8 engine? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (points INTEGER, engine VARCHAR) | SELECT MIN(points) FROM table_name_35 WHERE engine = "ford cosworth dfr (mader) 3.5 v8" |
Write a SQL query that answers the following question: What year was a Rial Arc2 chassis used? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (year INTEGER, chassis VARCHAR) | SELECT SUM(year) FROM table_name_55 WHERE chassis = "rial arc2" |
Write a SQL query that answers the following question: Name the bronze when silver is 1 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (bronze VARCHAR, silver VARCHAR) | SELECT bronze FROM table_name_25 WHERE silver = 1 |
Write a SQL query that answers the following question: Name the least silver when gold is less than 0 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (silver INTEGER, gold INTEGER) | SELECT MIN(silver) FROM table_name_41 WHERE gold < 0 |
Write a SQL query that answers the following question: Name the least silver for nation of total when bronze is more than 24 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (silver INTEGER, nation VARCHAR, bronze VARCHAR) | SELECT MIN(silver) FROM table_name_40 WHERE nation = "total" AND bronze > 24 |
Write a SQL query that answers the following question: Name the year with finish of 12th and record of 23-36 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (year VARCHAR, finish VARCHAR, record VARCHAR) | SELECT year FROM table_name_14 WHERE finish = "12th" AND record = "23-36" |
Write a SQL query that answers the following question: Name the record for 1997 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (record VARCHAR, year VARCHAR) | SELECT record FROM table_name_78 WHERE year = "1997" |
Write a SQL query that answers the following question: Name the year for jesus alfaro and finish of 6th | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (year VARCHAR, manager VARCHAR, finish VARCHAR) | SELECT year FROM table_name_65 WHERE manager = "jesus alfaro" AND finish = "6th" |
Write a SQL query that answers the following question: Name the manager for playoffs of missed for 1999 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (manager VARCHAR, playoffs VARCHAR, year VARCHAR) | SELECT manager FROM table_name_45 WHERE playoffs = "missed" AND year = "1999" |
Write a SQL query that answers the following question: What was the average attendance when the record was 17-18? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (attendance INTEGER, record VARCHAR) | SELECT AVG(attendance) FROM table_name_45 WHERE record = "17-18" |
Write a SQL query that answers the following question: What was marlboro brm's lowest points by using brm p160b? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (points INTEGER, entrant VARCHAR, chassis VARCHAR) | SELECT MIN(points) FROM table_name_60 WHERE entrant = "marlboro brm" AND chassis = "brm p160b" |
Write a SQL query that answers the following question: What is the total points in 1974? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (points VARCHAR, year VARCHAR) | SELECT COUNT(points) FROM table_name_47 WHERE year = 1974 |
Write a SQL query that answers the following question: Who has 0 points in 1974? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (entrant VARCHAR, points VARCHAR, year VARCHAR) | SELECT entrant FROM table_name_3 WHERE points = 0 AND year = 1974 |
Write a SQL query that answers the following question: What is the lowest points of using mclaren m14a as chassis? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (points INTEGER, chassis VARCHAR) | SELECT MIN(points) FROM table_name_37 WHERE chassis = "mclaren m14a" |
Write a SQL query that answers the following question: Location of saint paul, and a Final-Score larger than 14.35, and a Event of all around is what sum of year? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (year INTEGER, event VARCHAR, location VARCHAR, final_score VARCHAR) | SELECT SUM(year) FROM table_name_39 WHERE location = "saint paul" AND final_score > 14.35 AND event = "all around" |
Write a SQL query that answers the following question: Competition of u.s championships, and a Event of all around has what average year? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (year INTEGER, competition VARCHAR, event VARCHAR) | SELECT AVG(year) FROM table_name_61 WHERE competition = "u.s championships" AND event = "all around" |
Write a SQL query that answers the following question: What film was in 1970? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (film VARCHAR, year VARCHAR) | SELECT film FROM table_name_55 WHERE year = 1970 |
Write a SQL query that answers the following question: Who wrote the lyrics for Mukti? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (lyricist VARCHAR, film VARCHAR) | SELECT lyricist FROM table_name_14 WHERE film = "mukti" |
Write a SQL query that answers the following question: What song was directed by Shankar Jaikishan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (song VARCHAR, music_director_s_ VARCHAR) | SELECT song FROM table_name_13 WHERE music_director_s_ = "shankar jaikishan" |
Write a SQL query that answers the following question: What song was written after 1976 and directed by Rahul Dev Burman? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (song VARCHAR, year VARCHAR, music_director_s_ VARCHAR) | SELECT song FROM table_name_23 WHERE year > 1976 AND music_director_s_ = "rahul dev burman" |
Write a SQL query that answers the following question: What car does Scott Deware own that has rounds under 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (car_s_ VARCHAR, rounds VARCHAR, owner_s_ VARCHAR) | SELECT car_s_ FROM table_name_24 WHERE rounds < 12 AND owner_s_ = "scott deware" |
Write a SQL query that answers the following question: Which City or town has a Top division titles of 17 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (city_or_town VARCHAR, top_division_titles VARCHAR) | SELECT city_or_town FROM table_name_92 WHERE top_division_titles = "17" |
Write a SQL query that answers the following question: Which City or town has top division smaller than 40 and Gaziantepspor Club ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (city_or_town VARCHAR, number_of_seasons_in_top_division VARCHAR, club VARCHAR) | SELECT city_or_town FROM table_name_70 WHERE number_of_seasons_in_top_division < 40 AND club = "gaziantepspor" |
Write a SQL query that answers the following question: What is the 2003 value with 2r in 2008 and 1r in 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (Id VARCHAR) | SELECT 2003 FROM table_name_59 WHERE 2008 = "2r" AND 2011 = "1r" |
Write a SQL query that answers the following question: What is the 2007 value with 2r in 2011 and 2r in 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (Id VARCHAR) | SELECT 2007 FROM table_name_67 WHERE 2011 = "2r" AND 2008 = "2r" |
Write a SQL query that answers the following question: What is the 2007 value with 1r in 2009 and 2r in 2011 at the Tournament of Wimbledon? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (tournament VARCHAR) | SELECT 2007 FROM table_name_36 WHERE 2009 = "1r" AND 2011 = "2r" AND tournament = "wimbledon" |
Write a SQL query that answers the following question: What is the 2003 value with 1r in 2009 at the Australian Open? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (tournament VARCHAR) | SELECT 2003 FROM table_name_16 WHERE 2009 = "1r" AND tournament = "australian open" |
Write a SQL query that answers the following question: How many wins did they have at Richmond Cricket Ground Stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (wins VARCHAR, stadium VARCHAR) | SELECT wins FROM table_name_20 WHERE stadium = "richmond cricket ground" |
Write a SQL query that answers the following question: How many games did they play in 1905? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (played INTEGER, years VARCHAR) | SELECT AVG(played) FROM table_name_83 WHERE years = "1905" |
Write a SQL query that answers the following question: Which term in office has a qld state, a Party of labor, and an Electorate of fisher? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (term_in_office VARCHAR, electorate VARCHAR, state VARCHAR, party VARCHAR) | SELECT term_in_office FROM table_name_76 WHERE state = "qld" AND party = "labor" AND electorate = "fisher" |
Write a SQL query that answers the following question: Which member has an Electorate of kennedy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (member VARCHAR, electorate VARCHAR) | SELECT member FROM table_name_50 WHERE electorate = "kennedy" |
Write a SQL query that answers the following question: Which Party has a Member of david jull? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (party VARCHAR, member VARCHAR) | SELECT party FROM table_name_75 WHERE member = "david jull" |
Write a SQL query that answers the following question: Which term in office has an Electorate of hinkler? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (term_in_office VARCHAR, electorate VARCHAR) | SELECT term_in_office FROM table_name_65 WHERE electorate = "hinkler" |
Write a SQL query that answers the following question: Which Electorate has a State of qld, a Party of national, and a Member of hon evan adermann? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (electorate VARCHAR, member VARCHAR, state VARCHAR, party VARCHAR) | SELECT electorate FROM table_name_31 WHERE state = "qld" AND party = "national" AND member = "hon evan adermann" |
Write a SQL query that answers the following question: Which state has a Term in office of 1984–1996, a Party of labor, and a Member of robert tickner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (state VARCHAR, member VARCHAR, term_in_office VARCHAR, party VARCHAR) | SELECT state FROM table_name_48 WHERE term_in_office = "1984–1996" AND party = "labor" AND member = "robert tickner" |
Write a SQL query that answers the following question: What is the total amount of decile with the authority of state around the Pokuru School and a roll smaller than 109? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (decile INTEGER, roll VARCHAR, authority VARCHAR, name VARCHAR) | SELECT SUM(decile) FROM table_name_44 WHERE authority = "state" AND name = "pokuru school" AND roll < 109 |
Write a SQL query that answers the following question: Name the most laps for corvette racing in 2004 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (laps INTEGER, team VARCHAR, year VARCHAR) | SELECT MAX(laps) FROM table_name_11 WHERE team = "corvette racing" AND year = 2004 |
Write a SQL query that answers the following question: Name the class for 4th position with year before 2006 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (class VARCHAR, pos VARCHAR, year VARCHAR) | SELECT class FROM table_name_67 WHERE pos = "4th" AND year < 2006 |
Write a SQL query that answers the following question: Name the total number of laps for 23rd position | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (laps VARCHAR, pos VARCHAR) | SELECT COUNT(laps) FROM table_name_17 WHERE pos = "23rd" |
Write a SQL query that answers the following question: Name the team with laps less than 315 and co-drivers of david brabham franck lagorce? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (team VARCHAR, laps VARCHAR, co_drivers VARCHAR) | SELECT team FROM table_name_83 WHERE laps < 315 AND co_drivers = "david brabham franck lagorce" |
Write a SQL query that answers the following question: Name the team for co-drivers of david brabham mario andretti | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (team VARCHAR, co_drivers VARCHAR) | SELECT team FROM table_name_15 WHERE co_drivers = "david brabham mario andretti" |
Write a SQL query that answers the following question: Name the highest year with points more than 0 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (year INTEGER, points INTEGER) | SELECT MAX(year) FROM table_name_90 WHERE points > 0 |
Write a SQL query that answers the following question: Name the highest points when year is more than 1953 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (points INTEGER, year INTEGER) | SELECT MAX(points) FROM table_name_8 WHERE year > 1953 |
Write a SQL query that answers the following question: Name the engine when points are 0 and chassis is kuzma indy roadster for 1954 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (engine VARCHAR, year VARCHAR, points VARCHAR, chassis VARCHAR) | SELECT engine FROM table_name_38 WHERE points = 0 AND chassis = "kuzma indy roadster" AND year = 1954 |
Write a SQL query that answers the following question: Name the least points with chassis of kurtis kraft 3000 and year before 1951 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (points INTEGER, chassis VARCHAR, year VARCHAR) | SELECT MIN(points) FROM table_name_92 WHERE chassis = "kurtis kraft 3000" AND year < 1951 |
Write a SQL query that answers the following question: What is the lowest Pioneer population in 1966 with a Sarina population greater than 4,611? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (pioneer INTEGER, year VARCHAR, sarina VARCHAR) | SELECT MIN(pioneer) FROM table_name_31 WHERE year = 1966 AND sarina > 4 OFFSET 611 |
Write a SQL query that answers the following question: What is the year of the TV series directed by Soroush Sehat? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (year VARCHAR, director VARCHAR) | SELECT year FROM table_name_1 WHERE director = "soroush sehat" |
Write a SQL query that answers the following question: What is the title of the TV series with a character of Sheyda/Ashraf? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (title VARCHAR, character VARCHAR) | SELECT title FROM table_name_54 WHERE character = "sheyda/ashraf" |
Write a SQL query that answers the following question: What is the year of the TV series that has a character of Leiloon Bala Barareh? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (year VARCHAR, character VARCHAR) | SELECT year FROM table_name_88 WHERE character = "leiloon bala barareh" |
Write a SQL query that answers the following question: What is the title of the TV series in 2012? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (title VARCHAR, year VARCHAR) | SELECT title FROM table_name_70 WHERE year = "2012" |
Write a SQL query that answers the following question: Who published Star Citizen in 2014? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (publisher VARCHAR, year VARCHAR, title VARCHAR) | SELECT publisher FROM table_name_17 WHERE year = "2014" AND title = "star citizen" |
Write a SQL query that answers the following question: Which title was developed by Battlecry Studios? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (title VARCHAR, developer VARCHAR) | SELECT title FROM table_name_96 WHERE developer = "battlecry studios" |
Write a SQL query that answers the following question: How many people were at the match on July 13/ | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_66 WHERE date = "july 13" |
Write a SQL query that answers the following question: Who was the opponent on July 27? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_44 WHERE date = "july 27" |
Write a SQL query that answers the following question: For Ynysybwl RFC, what was the losing bonus for 416 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (losing_bonus VARCHAR, points_for VARCHAR, club VARCHAR) | SELECT losing_bonus FROM table_name_48 WHERE points_for = "416" AND club = "ynysybwl rfc" |
Write a SQL query that answers the following question: For the club that had 453 points against, losing bonus of 5 and played of 22, what is the drawn? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (drawn VARCHAR, losing_bonus VARCHAR, played VARCHAR, points_against VARCHAR) | SELECT drawn FROM table_name_94 WHERE played = "22" AND points_against = "453" AND losing_bonus = "5" |
Write a SQL query that answers the following question: For the club that had tries of 50 and drawn of 0, what were the points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (points_against VARCHAR, drawn VARCHAR, tries_for VARCHAR) | SELECT points_against FROM table_name_51 WHERE drawn = "0" AND tries_for = "50" |
Write a SQL query that answers the following question: The club that had 546 points against, what was the losing bonus? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (losing_bonus VARCHAR, points_against VARCHAR) | SELECT losing_bonus FROM table_name_71 WHERE points_against = "546" |
Write a SQL query that answers the following question: What is the lost of Ynysybwl RFC? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (lost VARCHAR, club VARCHAR) | SELECT lost FROM table_name_47 WHERE club = "ynysybwl rfc" |
Write a SQL query that answers the following question: How many points does Club have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (points VARCHAR) | SELECT points FROM table_name_41 WHERE "club" = "club" |
Write a SQL query that answers the following question: When is Part 6, when Part 4 is on March 2, 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (part_6 VARCHAR, part_4 VARCHAR) | SELECT part_6 FROM table_name_89 WHERE part_4 = "march 2, 2008" |
Write a SQL query that answers the following question: What is the Title, when the Episode # is after 2, and when Part 6 is on January 6, 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (title VARCHAR, episode__number VARCHAR, part_6 VARCHAR) | SELECT title FROM table_name_98 WHERE episode__number > 2 AND part_6 = "january 6, 2008" |
Write a SQL query that answers the following question: When is Part 2, when Part 4 is on December 9, 2007? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (part_2 VARCHAR, part_4 VARCHAR) | SELECT part_2 FROM table_name_44 WHERE part_4 = "december 9, 2007" |
Write a SQL query that answers the following question: When is Part 1, when Part 4 is on February 10, 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (part_1 VARCHAR, part_4 VARCHAR) | SELECT part_1 FROM table_name_88 WHERE part_4 = "february 10, 2008" |
Write a SQL query that answers the following question: When is Part 2, when Part 5 is on January 24, 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (part_2 VARCHAR, part_5 VARCHAR) | SELECT part_2 FROM table_name_42 WHERE part_5 = "january 24, 2008" |
Write a SQL query that answers the following question: Who was the finals opponent on the hard surface tournament? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (opponent_in_the_final VARCHAR, surface VARCHAR) | SELECT opponent_in_the_final FROM table_name_11 WHERE surface = "hard" |
Write a SQL query that answers the following question: Which surface was played during Curitiba tournament? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (surface VARCHAR, tournament VARCHAR) | SELECT surface FROM table_name_46 WHERE tournament = "curitiba" |
Write a SQL query that answers the following question: What is the highest round for UFC 109? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (round INTEGER, event VARCHAR) | SELECT MAX(round) FROM table_name_92 WHERE event = "ufc 109" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.