instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Name the least pa for w being 2 | The relevant table was constructed using the following SQL : CREATE TABLE table_29546142_2 (pa INTEGER, w VARCHAR) | SELECT MIN(pa) FROM table_29546142_2 WHERE w = 2 |
Write a SQL query that answers the following question: Which skip (club) had 28 PA? | The relevant table was constructed using the following SQL : CREATE TABLE table_29546030_2 (skip__club_ VARCHAR, pa VARCHAR) | SELECT skip__club_ FROM table_29546030_2 WHERE pa = 28 |
Write a SQL query that answers the following question: What is the most amount of stolen ends for a skip with 1 W? | The relevant table was constructed using the following SQL : CREATE TABLE table_29546030_2 (stolen_ends INTEGER, w VARCHAR) | SELECT MAX(stolen_ends) FROM table_29546030_2 WHERE w = 1 |
Write a SQL query that answers the following question: Which skip (club) had 31 PA and 9 blank ends? | The relevant table was constructed using the following SQL : CREATE TABLE table_29546030_2 (skip__club_ VARCHAR, pa VARCHAR, blank_ends VARCHAR) | SELECT skip__club_ FROM table_29546030_2 WHERE pa = 31 AND blank_ends = 9 |
Write a SQL query that answers the following question: What is the least amount of blank ends for a skip who has 44 PF? | The relevant table was constructed using the following SQL : CREATE TABLE table_29546030_2 (blank_ends INTEGER, pf VARCHAR) | SELECT MIN(blank_ends) FROM table_29546030_2 WHERE pf = 44 |
Write a SQL query that answers the following question: How many high points occur with the team Umass? | The relevant table was constructed using the following SQL : CREATE TABLE table_29556461_9 (high_points VARCHAR, team VARCHAR) | SELECT COUNT(high_points) FROM table_29556461_9 WHERE team = "UMass" |
Write a SQL query that answers the following question: When la salle is the team who has the highest amount of points? | The relevant table was constructed using the following SQL : CREATE TABLE table_29556461_8 (high_points VARCHAR, team VARCHAR) | SELECT high_points FROM table_29556461_8 WHERE team = "La Salle" |
Write a SQL query that answers the following question: When allen/moore/wyatt – 4 have the highest amount of assists what is the highest game? | The relevant table was constructed using the following SQL : CREATE TABLE table_29556461_8 (game INTEGER, high_assists VARCHAR) | SELECT MAX(game) FROM table_29556461_8 WHERE high_assists = "Allen/Moore/Wyatt – 4" |
Write a SQL query that answers the following question: When dayton is the team what is the record? | The relevant table was constructed using the following SQL : CREATE TABLE table_29556461_8 (record VARCHAR, team VARCHAR) | SELECT record FROM table_29556461_8 WHERE team = "Dayton" |
Write a SQL query that answers the following question: What the title of the song when the result is to the live shows? | The relevant table was constructed using the following SQL : CREATE TABLE table_29547777_1 (song_title VARCHAR, result__placement_ VARCHAR) | SELECT song_title FROM table_29547777_1 WHERE result__placement_ = "to the Live Shows" |
Write a SQL query that answers the following question: What is the episode when the original performaer is diana ross? | The relevant table was constructed using the following SQL : CREATE TABLE table_29547777_1 (episode VARCHAR, original_performer VARCHAR) | SELECT episode FROM table_29547777_1 WHERE original_performer = "Diana Ross" |
Write a SQL query that answers the following question: Who is the original performer when the episode is casting? | The relevant table was constructed using the following SQL : CREATE TABLE table_29547777_1 (original_performer VARCHAR, episode VARCHAR) | SELECT original_performer FROM table_29547777_1 WHERE episode = "Casting" |
Write a SQL query that answers the following question: What is the total mumber of skip (club) entries when the pf is 40? | The relevant table was constructed using the following SQL : CREATE TABLE table_29546218_3 (skip__club_ VARCHAR, pf VARCHAR) | SELECT COUNT(skip__club_) FROM table_29546218_3 WHERE pf = 40 |
Write a SQL query that answers the following question: What horse had a starting price of 66/1? | The relevant table was constructed using the following SQL : CREATE TABLE table_29562161_1 (name VARCHAR, starting_price VARCHAR) | SELECT name FROM table_29562161_1 WHERE starting_price = "66/1" |
Write a SQL query that answers the following question: What is the L when the W is 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_29565120_2 (l INTEGER, w VARCHAR) | SELECT MIN(l) FROM table_29565120_2 WHERE w = 4 |
Write a SQL query that answers the following question: What is the largest number in L? | The relevant table was constructed using the following SQL : CREATE TABLE table_29565601_2 (l INTEGER) | SELECT MAX(l) FROM table_29565601_2 |
Write a SQL query that answers the following question: What is the PA when the PF is 73? | The relevant table was constructed using the following SQL : CREATE TABLE table_29565601_2 (pa INTEGER, pf VARCHAR) | SELECT MIN(pa) FROM table_29565601_2 WHERE pf = 73 |
Write a SQL query that answers the following question: What is the blank ends record when the win record is higher than 6.0? | The relevant table was constructed using the following SQL : CREATE TABLE table_29565673_2 (blank_ends VARCHAR, w INTEGER) | SELECT blank_ends FROM table_29565673_2 WHERE w > 6.0 |
Write a SQL query that answers the following question: What is the win record where the pa record is 62? | The relevant table was constructed using the following SQL : CREATE TABLE table_29565673_2 (w VARCHAR, pa VARCHAR) | SELECT w FROM table_29565673_2 WHERE pa = 62 |
Write a SQL query that answers the following question: What is listed under L when the stolen ends is 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_29565858_2 (l VARCHAR, stolen_ends VARCHAR) | SELECT l FROM table_29565858_2 WHERE stolen_ends = 1 |
Write a SQL query that answers the following question: How many rank entries are there when new points are 1155? | The relevant table was constructed using the following SQL : CREATE TABLE table_29572583_19 (rank VARCHAR, new_points VARCHAR) | SELECT COUNT(rank) FROM table_29572583_19 WHERE new_points = 1155 |
Write a SQL query that answers the following question: What is listed in new points when status is second round lost to xavier malisse? | The relevant table was constructed using the following SQL : CREATE TABLE table_29572583_19 (new_points INTEGER, status VARCHAR) | SELECT MIN(new_points) FROM table_29572583_19 WHERE status = "Second round lost to Xavier Malisse" |
Write a SQL query that answers the following question: What is the status when points is 4595? | The relevant table was constructed using the following SQL : CREATE TABLE table_29572583_19 (status VARCHAR, points VARCHAR) | SELECT status FROM table_29572583_19 WHERE points = 4595 |
Write a SQL query that answers the following question: What is the status when the rank is 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_29572583_19 (status VARCHAR, rank VARCHAR) | SELECT status FROM table_29572583_19 WHERE rank = 2 |
Write a SQL query that answers the following question: How many points are listed when the rank is 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_29572583_19 (points INTEGER, rank VARCHAR) | SELECT MAX(points) FROM table_29572583_19 WHERE rank = 17 |
Write a SQL query that answers the following question: How many seed entries are there when points are 2175? | The relevant table was constructed using the following SQL : CREATE TABLE table_29572583_19 (seed VARCHAR, points VARCHAR) | SELECT COUNT(seed) FROM table_29572583_19 WHERE points = 2175 |
Write a SQL query that answers the following question: How many clubs remained when there were 4 winners from the previous round? | The relevant table was constructed using the following SQL : CREATE TABLE table_29566686_1 (clubs_remaining VARCHAR, winners_from_previous_round VARCHAR) | SELECT clubs_remaining FROM table_29566686_1 WHERE winners_from_previous_round = 4 |
Write a SQL query that answers the following question: What is the maximum number of clubs remaining when the league entering at this round was allsvenskan? | The relevant table was constructed using the following SQL : CREATE TABLE table_29566686_1 (clubs_remaining INTEGER, leagues_entering_at_this_round VARCHAR) | SELECT MIN(clubs_remaining) FROM table_29566686_1 WHERE leagues_entering_at_this_round = "Allsvenskan" |
Write a SQL query that answers the following question: How many different values of clubs involved were there when the league entering at this round was allsvenskan? | The relevant table was constructed using the following SQL : CREATE TABLE table_29566686_1 (clubs_involved VARCHAR, leagues_entering_at_this_round VARCHAR) | SELECT COUNT(clubs_involved) FROM table_29566686_1 WHERE leagues_entering_at_this_round = "Allsvenskan" |
Write a SQL query that answers the following question: Which programs were originally broadcast on CITV? | The relevant table was constructed using the following SQL : CREATE TABLE table_29566606_11 (programme VARCHAR, original_channel_s_ VARCHAR) | SELECT programme FROM table_29566606_11 WHERE original_channel_s_ = "CITV" |
Write a SQL query that answers the following question: What is the date of return for the program for the program "Big Brother"? | The relevant table was constructed using the following SQL : CREATE TABLE table_29566606_11 (date_of_return VARCHAR, programme VARCHAR) | SELECT date_of_return FROM table_29566606_11 WHERE programme = "Big Brother" |
Write a SQL query that answers the following question: How many episodes are directed by Jamie Payne? | The relevant table was constructed using the following SQL : CREATE TABLE table_29574579_1 (episode VARCHAR, directed_by VARCHAR) | SELECT COUNT(episode) FROM table_29574579_1 WHERE directed_by = "Jamie Payne" |
Write a SQL query that answers the following question: How many millions of viewers are listed when the share is 10.8? | The relevant table was constructed using the following SQL : CREATE TABLE table_29574579_1 (uk_viewers__million_ VARCHAR, share___percentage_ VARCHAR) | SELECT uk_viewers__million_ FROM table_29574579_1 WHERE share___percentage_ = "10.8" |
Write a SQL query that answers the following question: Who is the director when there are 2.70 million viewers? | The relevant table was constructed using the following SQL : CREATE TABLE table_29574579_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR) | SELECT directed_by FROM table_29574579_1 WHERE uk_viewers__million_ = "2.70" |
Write a SQL query that answers the following question: How many episodes hve 4.50 million viewers? | The relevant table was constructed using the following SQL : CREATE TABLE table_29574579_1 (episode VARCHAR, uk_viewers__million_ VARCHAR) | SELECT episode FROM table_29574579_1 WHERE uk_viewers__million_ = "4.50" |
Write a SQL query that answers the following question: Who is the director when the share is 11.8? | The relevant table was constructed using the following SQL : CREATE TABLE table_29574579_1 (directed_by VARCHAR, share___percentage_ VARCHAR) | SELECT directed_by FROM table_29574579_1 WHERE share___percentage_ = "11.8" |
Write a SQL query that answers the following question: Who wrote the episode with production code 57376? | The relevant table was constructed using the following SQL : CREATE TABLE table_29583441_1 (written_by VARCHAR, production_code VARCHAR) | SELECT written_by FROM table_29583441_1 WHERE production_code = 57376 |
Write a SQL query that answers the following question: What is the smallest numbered production code listed? | The relevant table was constructed using the following SQL : CREATE TABLE table_29583441_1 (production_code INTEGER) | SELECT MIN(production_code) FROM table_29583441_1 |
Write a SQL query that answers the following question: What date did the episode that was directed by Christian i. nyby ii originally air on? | The relevant table was constructed using the following SQL : CREATE TABLE table_29583441_1 (original_air_date VARCHAR, directed_by VARCHAR) | SELECT original_air_date FROM table_29583441_1 WHERE directed_by = "Christian I. Nyby II" |
Write a SQL query that answers the following question: What is the original air date of the episode that was number 31 in the series? | The relevant table was constructed using the following SQL : CREATE TABLE table_29584044_1 (original_air_date VARCHAR, no_in_series VARCHAR) | SELECT original_air_date FROM table_29584044_1 WHERE no_in_series = 31 |
Write a SQL query that answers the following question: What is the original air date of the episode that was directed by Bruce Seth Green? | The relevant table was constructed using the following SQL : CREATE TABLE table_29584044_1 (original_air_date VARCHAR, directed_by VARCHAR) | SELECT original_air_date FROM table_29584044_1 WHERE directed_by = "Bruce Seth Green" |
Write a SQL query that answers the following question: How many times is the couple kerry & daniel? | The relevant table was constructed using the following SQL : CREATE TABLE table_29583818_3 (place VARCHAR, couple VARCHAR) | SELECT COUNT(place) FROM table_29583818_3 WHERE couple = "Kerry & Daniel" |
Write a SQL query that answers the following question: how many times is the total points 128.0? | The relevant table was constructed using the following SQL : CREATE TABLE table_29583818_3 (couple VARCHAR, total_points VARCHAR) | SELECT COUNT(couple) FROM table_29583818_3 WHERE total_points = "128.0" |
Write a SQL query that answers the following question: How many times is the couple laura and colin? | The relevant table was constructed using the following SQL : CREATE TABLE table_29583818_3 (place VARCHAR, couple VARCHAR) | SELECT COUNT(place) FROM table_29583818_3 WHERE couple = "Laura and Colin" |
Write a SQL query that answers the following question: what is the average when the place is 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_29583818_3 (average VARCHAR, place VARCHAR) | SELECT average FROM table_29583818_3 WHERE place = 16 |
Write a SQL query that answers the following question: How many times is the rank by average 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_29583818_3 (place VARCHAR, rank_by_average VARCHAR) | SELECT COUNT(place) FROM table_29583818_3 WHERE rank_by_average = 4 |
Write a SQL query that answers the following question: How many different pairs of writers wrote the episode with series number 56? | The relevant table was constructed using the following SQL : CREATE TABLE table_29584601_1 (written_by VARCHAR, no_in_series VARCHAR) | SELECT COUNT(written_by) FROM table_29584601_1 WHERE no_in_series = 56 |
Write a SQL query that answers the following question: what is the school for chris mcnamara? | The relevant table was constructed using the following SQL : CREATE TABLE table_29598261_1 (last_school_college VARCHAR, name VARCHAR) | SELECT last_school_college FROM table_29598261_1 WHERE name = "Chris McNamara" |
Write a SQL query that answers the following question: how many hometowns for faisal aden? | The relevant table was constructed using the following SQL : CREATE TABLE table_29598261_1 (hometown VARCHAR, name VARCHAR) | SELECT COUNT(hometown) FROM table_29598261_1 WHERE name = "Faisal Aden" |
Write a SQL query that answers the following question: what year is chris mcnamara? | The relevant table was constructed using the following SQL : CREATE TABLE table_29598261_1 (year VARCHAR, name VARCHAR) | SELECT year FROM table_29598261_1 WHERE name = "Chris McNamara" |
Write a SQL query that answers the following question: what is the height of columbia river hs? | The relevant table was constructed using the following SQL : CREATE TABLE table_29598261_1 (height VARCHAR, last_school_college VARCHAR) | SELECT height FROM table_29598261_1 WHERE last_school_college = "Columbia River HS" |
Write a SQL query that answers the following question: what is the hometown for mike ladd? | The relevant table was constructed using the following SQL : CREATE TABLE table_29598261_1 (hometown VARCHAR, name VARCHAR) | SELECT hometown FROM table_29598261_1 WHERE name = "Mike Ladd" |
Write a SQL query that answers the following question: How many seasons did Apocalypstix place 2nd? | The relevant table was constructed using the following SQL : CREATE TABLE table_29619494_2 (season VARCHAR, apocalypstix VARCHAR) | SELECT COUNT(season) FROM table_29619494_2 WHERE apocalypstix = "2nd" |
Write a SQL query that answers the following question: What season did the Sake Tuyas come in 1st place? | The relevant table was constructed using the following SQL : CREATE TABLE table_29619494_2 (season VARCHAR, sake_tuyas VARCHAR) | SELECT season FROM table_29619494_2 WHERE sake_tuyas = "1st" |
Write a SQL query that answers the following question: What is the most recent season where the Denim Demons placed 3rd? | The relevant table was constructed using the following SQL : CREATE TABLE table_29619494_2 (season INTEGER, denim_demons VARCHAR) | SELECT MAX(season) FROM table_29619494_2 WHERE denim_demons = "3rd" |
Write a SQL query that answers the following question: What place did the Sake Tuyas come in when the Denim Demons were 4th? | The relevant table was constructed using the following SQL : CREATE TABLE table_29619494_2 (sake_tuyas VARCHAR, denim_demons VARCHAR) | SELECT sake_tuyas FROM table_29619494_2 WHERE denim_demons = "4th" |
Write a SQL query that answers the following question: List all the places that the Apocalypstix occupied when the Denim Demons were 2nd. | The relevant table was constructed using the following SQL : CREATE TABLE table_29619494_2 (apocalypstix VARCHAR, denim_demons VARCHAR) | SELECT apocalypstix FROM table_29619494_2 WHERE denim_demons = "2nd" |
Write a SQL query that answers the following question: Which team has a midfielder of konrad warzycha? | The relevant table was constructed using the following SQL : CREATE TABLE table_29626583_3 (mls_team VARCHAR, position VARCHAR, player VARCHAR) | SELECT mls_team FROM table_29626583_3 WHERE position = "Midfielder" AND player = "Konrad Warzycha" |
Write a SQL query that answers the following question: What is the pick number for the team toronto fc and affiliation is ldu quito? | The relevant table was constructed using the following SQL : CREATE TABLE table_29626583_3 (pick__number INTEGER, mls_team VARCHAR, affiliation VARCHAR) | SELECT MAX(pick__number) FROM table_29626583_3 WHERE mls_team = "Toronto FC" AND affiliation = "LDU Quito" |
Write a SQL query that answers the following question: Which MLS team picked player Jason Herrick? | The relevant table was constructed using the following SQL : CREATE TABLE table_29626583_3 (mls_team VARCHAR, player VARCHAR) | SELECT mls_team FROM table_29626583_3 WHERE player = "Jason Herrick" |
Write a SQL query that answers the following question: What position did the team new york red bulls pick? | The relevant table was constructed using the following SQL : CREATE TABLE table_29626583_3 (position VARCHAR, mls_team VARCHAR) | SELECT position FROM table_29626583_3 WHERE mls_team = "New York Red Bulls" |
Write a SQL query that answers the following question: What was the position when the affiliation is ldu quito? | The relevant table was constructed using the following SQL : CREATE TABLE table_29626583_3 (position VARCHAR, affiliation VARCHAR) | SELECT position FROM table_29626583_3 WHERE affiliation = "LDU Quito" |
Write a SQL query that answers the following question: how many peaks where for the chinese episode named 萬凰之王 | The relevant table was constructed using the following SQL : CREATE TABLE table_29633639_1 (peak VARCHAR, chinese_title VARCHAR) | SELECT COUNT(peak) FROM table_29633639_1 WHERE chinese_title = "萬凰之王" |
Write a SQL query that answers the following question: what is the number of the average of the drama titled 魚躍在花見 | The relevant table was constructed using the following SQL : CREATE TABLE table_29633639_1 (average INTEGER, chinese_title VARCHAR) | SELECT MAX(average) FROM table_29633639_1 WHERE chinese_title = "魚躍在花見" |
Write a SQL query that answers the following question: how many milion of viewers where in the episode called in english "is a great way to care" | The relevant table was constructed using the following SQL : CREATE TABLE table_29633639_1 (hk_viewers VARCHAR, english_title VARCHAR) | SELECT hk_viewers FROM table_29633639_1 WHERE english_title = "A Great Way to Care" |
Write a SQL query that answers the following question: what is the number of the premiere for the 34 peak | The relevant table was constructed using the following SQL : CREATE TABLE table_29633639_1 (premiere VARCHAR, peak VARCHAR) | SELECT premiere FROM table_29633639_1 WHERE peak = 34 |
Write a SQL query that answers the following question: In what week was the first game played? | The relevant table was constructed using the following SQL : CREATE TABLE table_29679510_2 (week INTEGER) | SELECT MIN(week) FROM table_29679510_2 |
Write a SQL query that answers the following question: How many object dates have origin in Samoa? | The relevant table was constructed using the following SQL : CREATE TABLE table_29635868_1 (object_date VARCHAR, origin VARCHAR) | SELECT COUNT(object_date) FROM table_29635868_1 WHERE origin = "Samoa" |
Write a SQL query that answers the following question: How many origins have titles of Samoan cricket bats? | The relevant table was constructed using the following SQL : CREATE TABLE table_29635868_1 (origin VARCHAR, title_ VARCHAR, _link_to_episode_on_youtube VARCHAR) | SELECT COUNT(origin) FROM table_29635868_1 WHERE title_ & _link_to_episode_on_youtube = "Samoan Cricket Bats" |
Write a SQL query that answers the following question: How many object dates does episode #16 have? | The relevant table was constructed using the following SQL : CREATE TABLE table_29635868_1 (object_date VARCHAR, episode_number VARCHAR) | SELECT COUNT(object_date) FROM table_29635868_1 WHERE episode_number = 16 |
Write a SQL query that answers the following question: Which films participated in the 61st Berlin international film festival? | The relevant table was constructed using the following SQL : CREATE TABLE table_29644931_1 (participants_recipients VARCHAR, film_festival VARCHAR) | SELECT participants_recipients FROM table_29644931_1 WHERE film_festival = "61st Berlin International film_festival" |
Write a SQL query that answers the following question: What was the result when competing in the Opening NIght Film category? | The relevant table was constructed using the following SQL : CREATE TABLE table_29644931_1 (result VARCHAR, category VARCHAR) | SELECT result FROM table_29644931_1 WHERE category = "Opening Night Film" |
Write a SQL query that answers the following question: Which films participated in the 30th Hawaii International Film Festival? | The relevant table was constructed using the following SQL : CREATE TABLE table_29644931_1 (participants_recipients VARCHAR, film_festival VARCHAR) | SELECT participants_recipients FROM table_29644931_1 WHERE film_festival = "30th Hawaii International film_festival" |
Write a SQL query that answers the following question: Which films participated when the category was Best Newcomer? | The relevant table was constructed using the following SQL : CREATE TABLE table_29644931_1 (participants_recipients VARCHAR, category VARCHAR) | SELECT participants_recipients FROM table_29644931_1 WHERE category = "Best Newcomer" |
Write a SQL query that answers the following question: in which year the season was in 5th position | The relevant table was constructed using the following SQL : CREATE TABLE table_29697744_1 (season VARCHAR, position VARCHAR) | SELECT season FROM table_29697744_1 WHERE position = "5th" |
Write a SQL query that answers the following question: what is the name of the movement in the 7th position | The relevant table was constructed using the following SQL : CREATE TABLE table_29697744_1 (movements VARCHAR, position VARCHAR) | SELECT movements FROM table_29697744_1 WHERE position = "7th" |
Write a SQL query that answers the following question: what is the name of the level for the 7th position | The relevant table was constructed using the following SQL : CREATE TABLE table_29697744_1 (level VARCHAR, position VARCHAR) | SELECT level FROM table_29697744_1 WHERE position = "7th" |
Write a SQL query that answers the following question: how many sections are for the season of 2008 | The relevant table was constructed using the following SQL : CREATE TABLE table_29697744_1 (section VARCHAR, season VARCHAR) | SELECT COUNT(section) FROM table_29697744_1 WHERE season = "2008" |
Write a SQL query that answers the following question: in what year the position was the 9th | The relevant table was constructed using the following SQL : CREATE TABLE table_29697744_1 (season VARCHAR, position VARCHAR) | SELECT season FROM table_29697744_1 WHERE position = "9th" |
Write a SQL query that answers the following question: Who was eliminated a person at 18:48? | The relevant table was constructed using the following SQL : CREATE TABLE table_29692554_2 (eliminated VARCHAR, time VARCHAR) | SELECT eliminated AS by FROM table_29692554_2 WHERE time = "18:48" |
Write a SQL query that answers the following question: How many entries are shown for entered at 21:09? | The relevant table was constructed using the following SQL : CREATE TABLE table_29692554_2 (entered VARCHAR, time VARCHAR) | SELECT COUNT(entered) FROM table_29692554_2 WHERE time = "21:09" |
Write a SQL query that answers the following question: Who was eliminated by being pinned after a spear at 22:50? | The relevant table was constructed using the following SQL : CREATE TABLE table_29692554_2 (wrestler VARCHAR, method_of_elimination VARCHAR, time VARCHAR) | SELECT wrestler FROM table_29692554_2 WHERE method_of_elimination = "Pinned after a spear" AND time = "22:50" |
Write a SQL query that answers the following question: What number was the person eliminated at 22:50? | The relevant table was constructed using the following SQL : CREATE TABLE table_29692554_2 (eliminated VARCHAR, time VARCHAR) | SELECT eliminated FROM table_29692554_2 WHERE time = "22:50" |
Write a SQL query that answers the following question: what is the circuit where the fastest lap is sam lowes and the winning rider is luca scassa? | The relevant table was constructed using the following SQL : CREATE TABLE table_29686983_1 (circuit VARCHAR, fastest_lap VARCHAR, winning_rider VARCHAR) | SELECT circuit FROM table_29686983_1 WHERE fastest_lap = "Sam Lowes" AND winning_rider = "Luca Scassa" |
Write a SQL query that answers the following question: what is the round wher the fabien foret had the fastest lap and david salom was the pole position? | The relevant table was constructed using the following SQL : CREATE TABLE table_29686983_1 (round VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) | SELECT round FROM table_29686983_1 WHERE fastest_lap = "Fabien Foret" AND pole_position = "David Salom" |
Write a SQL query that answers the following question: who had the fastest lap for round 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_29686983_1 (fastest_lap VARCHAR, round VARCHAR) | SELECT fastest_lap FROM table_29686983_1 WHERE round = 1 |
Write a SQL query that answers the following question: what is the pole position for france? | The relevant table was constructed using the following SQL : CREATE TABLE table_29686983_1 (pole_position VARCHAR, country VARCHAR) | SELECT pole_position FROM table_29686983_1 WHERE country = "France" |
Write a SQL query that answers the following question: what is the maximum round and fabien foret had the pole position? | The relevant table was constructed using the following SQL : CREATE TABLE table_29686983_1 (round INTEGER, pole_position VARCHAR) | SELECT MAX(round) FROM table_29686983_1 WHERE pole_position = "Fabien Foret" |
Write a SQL query that answers the following question: How many values of attendance occur when ave. on previous season is +645? | The relevant table was constructed using the following SQL : CREATE TABLE table_2970978_1 (ave_attendance VARCHAR, ___ave_on_prev_season VARCHAR) | SELECT COUNT(ave_attendance) FROM table_2970978_1 WHERE ___ave_on_prev_season = "+645" |
Write a SQL query that answers the following question: What is the lowest value of average attendance when average on previous season is -459? | The relevant table was constructed using the following SQL : CREATE TABLE table_2970978_1 (ave_attendance INTEGER, ___ave_on_prev_season VARCHAR) | SELECT MIN(ave_attendance) FROM table_2970978_1 WHERE ___ave_on_prev_season = "-459" |
Write a SQL query that answers the following question: What is the least value for average attendance when average on previous season is +644? | The relevant table was constructed using the following SQL : CREATE TABLE table_2970978_1 (ave_attendance INTEGER, ___ave_on_prev_season VARCHAR) | SELECT MIN(ave_attendance) FROM table_2970978_1 WHERE ___ave_on_prev_season = "+644" |
Write a SQL query that answers the following question: What is every value for average on previous season if the competition is league two? | The relevant table was constructed using the following SQL : CREATE TABLE table_2970978_1 (___ave_on_prev_season VARCHAR, competition VARCHAR) | SELECT ___ave_on_prev_season FROM table_2970978_1 WHERE competition = "League Two" |
Write a SQL query that answers the following question: What is the least w? | The relevant table was constructed using the following SQL : CREATE TABLE table_29704430_1 (w INTEGER) | SELECT MIN(w) FROM table_29704430_1 |
Write a SQL query that answers the following question: What is the most stolen ends? | The relevant table was constructed using the following SQL : CREATE TABLE table_29704430_1 (stolen_ends INTEGER) | SELECT MAX(stolen_ends) FROM table_29704430_1 |
Write a SQL query that answers the following question: What is the total appearances when the total goals is 289? | The relevant table was constructed using the following SQL : CREATE TABLE table_29701419_2 (total_appearances INTEGER, total_goals VARCHAR) | SELECT MIN(total_appearances) FROM table_29701419_2 WHERE total_goals = 289 |
Write a SQL query that answers the following question: What is the league goals when the total goals is 179? | The relevant table was constructed using the following SQL : CREATE TABLE table_29701419_2 (league_goals INTEGER, total_goals VARCHAR) | SELECT MAX(league_goals) FROM table_29701419_2 WHERE total_goals = 179 |
Write a SQL query that answers the following question: How many total appearances are there when the league appearances is 192? | The relevant table was constructed using the following SQL : CREATE TABLE table_29701419_2 (total_appearances VARCHAR, league_appearances VARCHAR) | SELECT COUNT(total_appearances) FROM table_29701419_2 WHERE league_appearances = 192 |
Write a SQL query that answers the following question: Who were the away teams when the competition was the 1st ``republic of srpska football day`` and the home team was u 14 republic of srpska? | The relevant table was constructed using the following SQL : CREATE TABLE table_29728596_2 (away_team VARCHAR, competition VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_29728596_2 WHERE competition = "1st ``Republic of Srpska Football Day``" AND home_team = "U 14 Republic of Srpska" |
Write a SQL query that answers the following question: What were the competitions when the away team was fk kozara gradiska? | The relevant table was constructed using the following SQL : CREATE TABLE table_29728596_2 (competition VARCHAR, away_team VARCHAR) | SELECT competition FROM table_29728596_2 WHERE away_team = "FK Kozara Gradiska" |
Write a SQL query that answers the following question: What are the names of players from the dr congo? | The relevant table was constructed using the following SQL : CREATE TABLE table_29743928_3 (name VARCHAR, country VARCHAR) | SELECT name FROM table_29743928_3 WHERE country = "DR Congo" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.