instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Which Overall has a Round smaller than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (overall VARCHAR, round INTEGER) | SELECT overall FROM table_name_65 WHERE round < 2 |
Write a SQL query that answers the following question: Which Name has a Round larger than 4, an Overall smaller than 338, a Pick smaller than 11, and a College of virginia tech? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (name VARCHAR, college VARCHAR, pick VARCHAR, round VARCHAR, overall VARCHAR) | SELECT name FROM table_name_39 WHERE round > 4 AND overall < 338 AND pick < 11 AND college = "virginia tech" |
Write a SQL query that answers the following question: Who has the event of 36 arrow finals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (name VARCHAR, event VARCHAR) | SELECT name FROM table_name_81 WHERE event = "36 arrow finals" |
Write a SQL query that answers the following question: What is the total score for the 36 arrow finals event? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (score VARCHAR, event VARCHAR) | SELECT COUNT(score) FROM table_name_72 WHERE event = "36 arrow finals" |
Write a SQL query that answers the following question: Who is moving with the nationality of Tri? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (moving_to VARCHAR, nat VARCHAR) | SELECT moving_to FROM table_name_78 WHERE nat = "tri" |
Write a SQL query that answers the following question: What is the sSpec Number of the model with a 1ghz frequency? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (sspec_number VARCHAR, frequency VARCHAR) | SELECT sspec_number FROM table_name_52 WHERE frequency = "1ghz" |
Write a SQL query that answers the following question: What is the part number of the model that has a frequency of 933mhz? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (part_number_s_ VARCHAR, frequency VARCHAR) | SELECT part_number_s_ FROM table_name_32 WHERE frequency = "933mhz" |
Write a SQL query that answers the following question: What date was part number rk80533pz933256 released? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (release_date VARCHAR, part_number_s_ VARCHAR) | SELECT release_date FROM table_name_89 WHERE part_number_s_ = "rk80533pz933256" |
Write a SQL query that answers the following question: What is the frequency of the model with sSpec number sl5qj? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (frequency VARCHAR, sspec_number VARCHAR) | SELECT frequency FROM table_name_72 WHERE sspec_number = "sl5qj" |
Write a SQL query that answers the following question: How many years does coach Jim Berryman have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (years VARCHAR, coach VARCHAR) | SELECT years FROM table_name_69 WHERE coach = "jim berryman" |
Write a SQL query that answers the following question: Which Location has a Method of submission (rear naked choke), a Round of 1, and an Event of ufc 127? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (location VARCHAR, event VARCHAR, method VARCHAR, round VARCHAR) | SELECT location FROM table_name_57 WHERE method = "submission (rear naked choke)" AND round = 1 AND event = "ufc 127" |
Write a SQL query that answers the following question: Which Record has a Time of n/a? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (record VARCHAR, time VARCHAR) | SELECT record FROM table_name_23 WHERE time = "n/a" |
Write a SQL query that answers the following question: Which Opponent has a Location of gold coast , australia, and a Method of submission (punches)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (opponent VARCHAR, location VARCHAR, method VARCHAR) | SELECT opponent FROM table_name_26 WHERE location = "gold coast , australia" AND method = "submission (punches)" |
Write a SQL query that answers the following question: what is the location when the circuit is lowood circuit and the race is lowood trophy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (location VARCHAR, circuit VARCHAR, race VARCHAR) | SELECT location FROM table_name_47 WHERE circuit = "lowood circuit" AND race = "lowood trophy" |
Write a SQL query that answers the following question: what is the race on 23 october? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (race VARCHAR, date VARCHAR) | SELECT race FROM table_name_81 WHERE date = "23 october" |
Write a SQL query that answers the following question: what is the circuit when the winner is stan jones and the race is phillip island trophy race? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (circuit VARCHAR, winner VARCHAR, race VARCHAR) | SELECT circuit FROM table_name_3 WHERE winner = "stan jones" AND race = "phillip island trophy race" |
Write a SQL query that answers the following question: What is the displacement and configuration with a max speed of km/h (mph) and the car model Panamera 4s? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (displacement_ VARCHAR, _configuration VARCHAR, max_speed VARCHAR, car_model VARCHAR) | SELECT displacement_ & _configuration FROM table_name_36 WHERE max_speed = "km/h (mph)" AND car_model = "panamera 4s" |
Write a SQL query that answers the following question: What is the displacement & configuration with CO2 of 204 g/km emissions? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (displacement_ VARCHAR, _configuration VARCHAR, emissions_co2 VARCHAR) | SELECT displacement_ & _configuration FROM table_name_18 WHERE emissions_co2 = "204 g/km" |
Write a SQL query that answers the following question: What displacement & configuration does the car model Panamera 4s have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (displacement_ VARCHAR, _configuration VARCHAR, car_model VARCHAR) | SELECT displacement_ & _configuration FROM table_name_68 WHERE car_model = "panamera 4s" |
Write a SQL query that answers the following question: What is the emissions CO2 with a max speed of km/h (mph) of the car model Panamera 4s? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (emissions_co2 VARCHAR, max_speed VARCHAR, car_model VARCHAR) | SELECT emissions_co2 FROM table_name_76 WHERE max_speed = "km/h (mph)" AND car_model = "panamera 4s" |
Write a SQL query that answers the following question: How many tickets were available at Halle Tony Garnier on June 15, 2009? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (tickets_available_since VARCHAR, venue VARCHAR, date VARCHAR) | SELECT tickets_available_since FROM table_name_75 WHERE venue = "halle tony garnier" AND date = "june 15, 2009" |
Write a SQL query that answers the following question: What city had tickets available since March 28, 2008 and went on sale on September 4, 2009? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (city VARCHAR, tickets_available_since VARCHAR, date VARCHAR) | SELECT city FROM table_name_23 WHERE tickets_available_since = "march 28, 2008" AND date = "september 4, 2009" |
Write a SQL query that answers the following question: WHAT IS THE PICK FOR JOE DAY, ROUND LARGER THAN 1, AND OVERALL SMALLER THAN 150? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (pick INTEGER, overall VARCHAR, round VARCHAR, name VARCHAR) | SELECT MIN(pick) FROM table_name_57 WHERE round > 1 AND name = "joe day" AND overall < 150 |
Write a SQL query that answers the following question: WHAT IS THE SUM OF PICK WITH AN OVERALL LARGER THAN 250, AND FOR FLORIDA COLLEGE? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (pick INTEGER, overall VARCHAR, college VARCHAR) | SELECT SUM(pick) FROM table_name_62 WHERE overall > 250 AND college = "florida" |
Write a SQL query that answers the following question: What is the loan club with bbc sport as the start source and ended in 3 February? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (loan_club VARCHAR, start_source VARCHAR, ended VARCHAR) | SELECT loan_club FROM table_name_41 WHERE start_source = "bbc sport" AND ended = "3 february" |
Write a SQL query that answers the following question: When did the enews start source start? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (started VARCHAR, start_source VARCHAR) | SELECT started FROM table_name_99 WHERE start_source = "enews" |
Write a SQL query that answers the following question: What is the start source of the irl country, which ended on 13 April? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (start_source VARCHAR, country VARCHAR, ended VARCHAR) | SELECT start_source FROM table_name_7 WHERE country = "irl" AND ended = "13 april" |
Write a SQL query that answers the following question: What is the country named feeney with a bbc sport start source? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (country VARCHAR, start_source VARCHAR, name VARCHAR) | SELECT country FROM table_name_16 WHERE start_source = "bbc sport" AND name = "feeney" |
Write a SQL query that answers the following question: What is the loan club named dennehy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (loan_club VARCHAR, name VARCHAR) | SELECT loan_club FROM table_name_61 WHERE name = "dennehy" |
Write a SQL query that answers the following question: What's the most races with less than 10 podiums and 1st position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (races INTEGER, position VARCHAR, podiums VARCHAR) | SELECT MAX(races) FROM table_name_27 WHERE position = "1st" AND podiums < 10 |
Write a SQL query that answers the following question: How many runs did mahela jayawardene and thilan samaraweera have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (runs INTEGER, batting_partners VARCHAR) | SELECT SUM(runs) FROM table_name_82 WHERE batting_partners = "mahela jayawardene and thilan samaraweera" |
Write a SQL query that answers the following question: What venue did mahela jayawardene and thilan samaraweera play at? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (venue VARCHAR, batting_partners VARCHAR) | SELECT venue FROM table_name_42 WHERE batting_partners = "mahela jayawardene and thilan samaraweera" |
Write a SQL query that answers the following question: Who were the batting partners that played for India in 1997? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (batting_partners VARCHAR, fielding_team VARCHAR, season VARCHAR) | SELECT batting_partners FROM table_name_96 WHERE fielding_team = "india" AND season = "1997" |
Write a SQL query that answers the following question: What is the defending forces when Al-Murassas shows for name? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (defending_forces VARCHAR, name VARCHAR) | SELECT defending_forces FROM table_name_21 WHERE name = "al-murassas" |
Write a SQL query that answers the following question: What is the brigade Tall Al-Shawk shows for the name? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (brigade VARCHAR, name VARCHAR) | SELECT brigade FROM table_name_68 WHERE name = "tall al-shawk" |
Write a SQL query that answers the following question: What is the brigade when Al-Bira is the name? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (brigade VARCHAR, name VARCHAR) | SELECT brigade FROM table_name_7 WHERE name = "al-bira" |
Write a SQL query that answers the following question: What is the brigade when Al-Hamra ('arab al-hamra) shows for name? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (brigade VARCHAR, name VARCHAR) | SELECT brigade FROM table_name_63 WHERE name = "al-hamra ('arab al-hamra)" |
Write a SQL query that answers the following question: What is the Defending forces when the population was 120? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (defending_forces VARCHAR, population VARCHAR) | SELECT defending_forces FROM table_name_41 WHERE population = "120" |
Write a SQL query that answers the following question: What was the rank of the park that had a value of 5,040,000 in 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (rank VARCHAR) | SELECT rank FROM table_name_30 WHERE 2010 = "5,040,000" |
Write a SQL query that answers the following question: What was the overall pick number of the player selected before round 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (overall_pick VARCHAR, round INTEGER) | SELECT COUNT(overall_pick) FROM table_name_40 WHERE round < 3 |
Write a SQL query that answers the following question: Which College/Junior/Club Team (League) did the player julien cayer who was selected before round 3 play for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (college_junior_club_team__league_ VARCHAR, round VARCHAR, player VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_87 WHERE round > 3 AND player = "julien cayer" |
Write a SQL query that answers the following question: what is the least bronze when the rank is 3 and silver is less than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (bronze INTEGER, rank VARCHAR, silver VARCHAR) | SELECT MIN(bronze) FROM table_name_3 WHERE rank = "3" AND silver < 2 |
Write a SQL query that answers the following question: what is the total when bronze is 0 and the nation is hungary? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (total INTEGER, bronze VARCHAR, nation VARCHAR) | SELECT MAX(total) FROM table_name_58 WHERE bronze = 0 AND nation = "hungary" |
Write a SQL query that answers the following question: what is the total when the rank is 7 and gold is more than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (total INTEGER, rank VARCHAR, gold VARCHAR) | SELECT AVG(total) FROM table_name_41 WHERE rank = "7" AND gold > 0 |
Write a SQL query that answers the following question: what is the highest gold when the nation is total and the total is less than 24? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (gold INTEGER, nation VARCHAR) | SELECT MAX(gold) FROM table_name_8 WHERE nation = "total" AND "total" < 24 |
Write a SQL query that answers the following question: Looking only at matches occurring after Game 51, who was the opponent for the game that ended with a score of 99-129? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (opponent VARCHAR, game VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_61 WHERE game > 51 AND score = "99-129" |
Write a SQL query that answers the following question: For the game against the Washington Bullets, what was the final score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_97 WHERE opponent = "washington bullets" |
Write a SQL query that answers the following question: For the game where the opponent is listed as @ Indiana Pacers, what was the end record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_31 WHERE opponent = "@ indiana pacers" |
Write a SQL query that answers the following question: Which game number was played at Chicago Stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (game VARCHAR, location VARCHAR) | SELECT game FROM table_name_63 WHERE location = "chicago stadium" |
Write a SQL query that answers the following question: What was the attendance of the match with motagua as the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (attendance INTEGER, home VARCHAR) | SELECT AVG(attendance) FROM table_name_51 WHERE home = "motagua" |
Write a SQL query that answers the following question: What is the score of the game where real espana was the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_90 WHERE home = "real espana" |
Write a SQL query that answers the following question: What team was the away team for the game with 916 in attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (away VARCHAR, attendance VARCHAR) | SELECT away FROM table_name_45 WHERE attendance = 916 |
Write a SQL query that answers the following question: What was the score of the game wehre the deportes savio were the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_78 WHERE home = "deportes savio" |
Write a SQL query that answers the following question: In which championship did the winner have a score of −9 (66-69-73-71=279)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (championship VARCHAR, winning_score VARCHAR) | SELECT championship FROM table_name_83 WHERE winning_score = −9(66 - 69 - 73 - 71 = 279) |
Write a SQL query that answers the following question: During the championship where the winning score was −9 (66-69-73-71=279)?, who was the runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (runner_s__up VARCHAR, winning_score VARCHAR) | SELECT runner_s__up FROM table_name_32 WHERE winning_score = −9(66 - 69 - 73 - 71 = 279) |
Write a SQL query that answers the following question: What was the winning score in the year 2002? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (winning_score VARCHAR, year VARCHAR) | SELECT winning_score FROM table_name_28 WHERE year = 2002 |
Write a SQL query that answers the following question: What is the fewest goals of CD Alcoyano with more than 25 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (goals_against INTEGER, club VARCHAR, points VARCHAR) | SELECT MIN(goals_against) FROM table_name_57 WHERE club = "cd alcoyano" AND points > 25 |
Write a SQL query that answers the following question: What is the fewest number of wins that had fewer than 7 draws and more than 30 played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (wins INTEGER, draws VARCHAR, played VARCHAR) | SELECT MIN(wins) FROM table_name_26 WHERE draws < 7 AND played > 30 |
Write a SQL query that answers the following question: What is the fewest points that has more than 29 goals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (points INTEGER, goal_difference INTEGER) | SELECT MIN(points) FROM table_name_42 WHERE goal_difference > 29 |
Write a SQL query that answers the following question: What date have highest 0-4-4 forney locomotive with number larger than 20 and works number larger than 23754? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (date INTEGER, works_number VARCHAR, type VARCHAR, number VARCHAR) | SELECT MAX(date) FROM table_name_90 WHERE type = "0-4-4 forney locomotive" AND number > 20 AND works_number > 23754 |
Write a SQL query that answers the following question: What is the sum of number with type 0-4-4 forney locomotive, number smaller than 20 and works number of 1251? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (date VARCHAR, works_number VARCHAR, type VARCHAR, number VARCHAR) | SELECT COUNT(date) FROM table_name_37 WHERE type = "0-4-4 forney locomotive" AND number < 20 AND works_number = 1251 |
Write a SQL query that answers the following question: What was the lowest attendance for the game that had a time of 3:31 and was before game 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (attendance INTEGER, time VARCHAR, game VARCHAR) | SELECT MIN(attendance) FROM table_name_58 WHERE time = "3:31" AND game < 7 |
Write a SQL query that answers the following question: What was the sum of attendance for games with a time of 3:23? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (attendance INTEGER, time VARCHAR) | SELECT SUM(attendance) FROM table_name_53 WHERE time = "3:23" |
Write a SQL query that answers the following question: WHat is the lowest amount of bronze medals for teams with 9 silvers and less than 27 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (bronze INTEGER, silver VARCHAR, total VARCHAR) | SELECT MIN(bronze) FROM table_name_56 WHERE silver = 9 AND total < 27 |
Write a SQL query that answers the following question: What is the To par of the New Zealand Player? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (to_par VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_79 WHERE country = "new zealand" |
Write a SQL query that answers the following question: What Player had a Score of 70-71=141? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_80 WHERE score = 70 - 71 = 141 |
Write a SQL query that answers the following question: What is Ernie Els' Score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_43 WHERE player = "ernie els" |
Write a SQL query that answers the following question: What was the attendance when Bournemouth was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (attendance VARCHAR, away_team VARCHAR) | SELECT attendance FROM table_name_25 WHERE away_team = "bournemouth" |
Write a SQL query that answers the following question: Who was the away team when Lincoln City was the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_19 WHERE home_team = "lincoln city" |
Write a SQL query that answers the following question: What was the score when Walsall was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_91 WHERE away_team = "walsall" |
Write a SQL query that answers the following question: Which wheels were built 1920? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (wheels VARCHAR, built VARCHAR) | SELECT wheels FROM table_name_33 WHERE built = 1920 |
Write a SQL query that answers the following question: Which builder has a Built smaller than 1880? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (builder VARCHAR, built INTEGER) | SELECT builder FROM table_name_8 WHERE built < 1880 |
Write a SQL query that answers the following question: What is Place, when Player is "Mike Souchak"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_68 WHERE player = "mike souchak" |
Write a SQL query that answers the following question: What is Country, when Place is "T9", and when Player is "Jay Hebert"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (country VARCHAR, place VARCHAR, player VARCHAR) | SELECT country FROM table_name_93 WHERE place = "t9" AND player = "jay hebert" |
Write a SQL query that answers the following question: What is Player, when Place is "T9", and when Score is "73-70=143"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (player VARCHAR, place VARCHAR, score VARCHAR) | SELECT player FROM table_name_90 WHERE place = "t9" AND score = 73 - 70 = 143 |
Write a SQL query that answers the following question: What is Country, when Player is "Dow Finsterwald"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_54 WHERE player = "dow finsterwald" |
Write a SQL query that answers the following question: What is Score, when Country is "United States", when Place is "T9", and when Player is "Jay Hebert"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) | SELECT score FROM table_name_28 WHERE country = "united states" AND place = "t9" AND player = "jay hebert" |
Write a SQL query that answers the following question: What is Score, when To Par is "+1", and when Player is "Mike Souchak"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (score VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT score FROM table_name_7 WHERE to_par = "+1" AND player = "mike souchak" |
Write a SQL query that answers the following question: What is the Score when the Home team is Chicago Black Hawks and the Record is 3-3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (score VARCHAR, home VARCHAR, record VARCHAR) | SELECT score FROM table_name_8 WHERE home = "chicago black hawks" AND record = "3-3" |
Write a SQL query that answers the following question: Which Visitor has a Score of 0-4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (visitor VARCHAR, score VARCHAR) | SELECT visitor FROM table_name_78 WHERE score = "0-4" |
Write a SQL query that answers the following question: What is the Record for April 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_54 WHERE date = "april 22" |
Write a SQL query that answers the following question: Which Date has a Record of 3-4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_54 WHERE record = "3-4" |
Write a SQL query that answers the following question: Which Date has a Record of 3-4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_30 WHERE record = "3-4" |
Write a SQL query that answers the following question: What is the record for opponent Anna Barone? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_24 WHERE opponent = "anna barone" |
Write a SQL query that answers the following question: What is the record for the Ko (head kick) method? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (record VARCHAR, method VARCHAR) | SELECT record FROM table_name_24 WHERE method = "ko (head kick)" |
Write a SQL query that answers the following question: What is the time before round 2, and the ko (knee to the body) method? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (time VARCHAR, round VARCHAR, method VARCHAR) | SELECT time FROM table_name_57 WHERE round < 2 AND method = "ko (knee to the body)" |
Write a SQL query that answers the following question: What is the average round for the TKO (punches and elbows) method? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (round INTEGER, method VARCHAR) | SELECT AVG(round) FROM table_name_89 WHERE method = "tko (punches and elbows)" |
Write a SQL query that answers the following question: Who was the opponent in UFC 19? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (opponent VARCHAR, event VARCHAR) | SELECT opponent FROM table_name_93 WHERE event = "ufc 19" |
Write a SQL query that answers the following question: Who was the opponent in UFC 66 who lasted for more than 1 round? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (opponent VARCHAR, round VARCHAR, event VARCHAR) | SELECT opponent FROM table_name_75 WHERE round > 1 AND event = "ufc 66" |
Write a SQL query that answers the following question: What was the 1989 result for the tournament with 1984 of a, 1985 of a, and 1990 of a? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (Id VARCHAR) | SELECT 1989 FROM table_name_56 WHERE 1984 = "a" AND 1985 = "a" AND 1990 = "a" |
Write a SQL query that answers the following question: What was the 1987 result for the tournament with 1986 result of 3R and 1989 of A? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (Id VARCHAR) | SELECT 1987 FROM table_name_81 WHERE 1989 = "a" AND 1986 = "3r" |
Write a SQL query that answers the following question: What is the 1989 result of the tournament that had a 1987 result of 1R? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (Id VARCHAR) | SELECT 1989 FROM table_name_71 WHERE 1987 = "1r" |
Write a SQL query that answers the following question: What is the 1989 result for the tournament that had a 1983 and 1987 result of A? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (Id VARCHAR) | SELECT 1989 FROM table_name_95 WHERE 1983 = "a" AND 1987 = "a" |
Write a SQL query that answers the following question: What was the result fot the UFC 85 event? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (res VARCHAR, event VARCHAR) | SELECT res FROM table_name_69 WHERE event = "ufc 85" |
Write a SQL query that answers the following question: In which location did the Meca World Vale Tudo 6 event happen? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (location VARCHAR, event VARCHAR) | SELECT location FROM table_name_84 WHERE event = "meca world vale tudo 6" |
Write a SQL query that answers the following question: What was his record at the AFC: Brazil 1 event that went 3 rounds? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (record VARCHAR, round VARCHAR, event VARCHAR) | SELECT record FROM table_name_59 WHERE round = "3" AND event = "afc: brazil 1" |
Write a SQL query that answers the following question: Which country has Anselmo Da Silva in lane 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (country VARCHAR, lane VARCHAR, name VARCHAR) | SELECT country FROM table_name_64 WHERE lane < 2 AND name = "anselmo da silva" |
Write a SQL query that answers the following question: What is the heat number at 7.63, and a reaction less than 0.229? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (heat VARCHAR, mark VARCHAR, react VARCHAR) | SELECT COUNT(heat) FROM table_name_4 WHERE mark = "7.63" AND react < 0.229 |
Write a SQL query that answers the following question: What is the verb meaning when part 2 is band? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (verb_meaning VARCHAR, part_2 VARCHAR) | SELECT verb_meaning FROM table_name_36 WHERE part_2 = "band" |
Write a SQL query that answers the following question: What is the verb meaning when the part 2 is blēot? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (verb_meaning VARCHAR, part_2 VARCHAR) | SELECT verb_meaning FROM table_name_5 WHERE part_2 = "blēot" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.