instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is Position, when Weight is greater than 200, when Number is less than 44, when Years Exp is 9, and when College is "University of New Mexico"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (position VARCHAR, college VARCHAR, years_exp VARCHAR, weight VARCHAR, number VARCHAR) | SELECT position FROM table_name_68 WHERE weight > 200 AND number < 44 AND years_exp = "9" AND college = "university of new mexico" |
Write a SQL query that answers the following question: What was the release price of the Atom Z510PT processor? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (release_price___usd__ VARCHAR, model_number VARCHAR) | SELECT release_price___usd__ FROM table_name_53 WHERE model_number = "atom z510pt" |
Write a SQL query that answers the following question: Which part number was used for the Atom Z500 processor? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (part_number_s_ VARCHAR, model_number VARCHAR) | SELECT part_number_s_ FROM table_name_51 WHERE model_number = "atom z500" |
Write a SQL query that answers the following question: What was the multiplier of the processor with sSpec number of SLGPR(C0) and a release price of N/A? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (mult VARCHAR, release_price___usd__ VARCHAR, sspec_number VARCHAR) | SELECT mult FROM table_name_35 WHERE release_price___usd__ = "n/a" AND sspec_number = "slgpr(c0)" |
Write a SQL query that answers the following question: Who is the runner-up at the Chicago challenge? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (runner_s__up VARCHAR, tournament VARCHAR) | SELECT runner_s__up FROM table_name_68 WHERE tournament = "chicago challenge" |
Write a SQL query that answers the following question: Who is the runner-up of Atlantic city classic? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (runner_s__up VARCHAR, tournament VARCHAR) | SELECT runner_s__up FROM table_name_42 WHERE tournament = "atlantic city classic" |
Write a SQL query that answers the following question: What is the date of the U.S. Women's open? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (date VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_61 WHERE tournament = "u.s. women's open" |
Write a SQL query that answers the following question: What is the margin of victory of the gna/glendale federal classic? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (margin_of_victory VARCHAR, tournament VARCHAR) | SELECT margin_of_victory FROM table_name_8 WHERE tournament = "gna/glendale federal classic" |
Write a SQL query that answers the following question: Which class has *buranaz as Part 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (class VARCHAR, part_4 VARCHAR) | SELECT class FROM table_name_34 WHERE part_4 = "*buranaz" |
Write a SQL query that answers the following question: What is the verb meaning for *bar as Part 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (verb_meaning VARCHAR, part_2 VARCHAR) | SELECT verb_meaning FROM table_name_88 WHERE part_2 = "*bar" |
Write a SQL query that answers the following question: Which class has *alanaz as Part 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (class VARCHAR, part_4 VARCHAR) | SELECT class FROM table_name_62 WHERE part_4 = "*alanaz" |
Write a SQL query that answers the following question: Which class has *fraus as Part 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (class VARCHAR, part_2 VARCHAR) | SELECT class FROM table_name_59 WHERE part_2 = "*fraus" |
Write a SQL query that answers the following question: what is the transfer fee for evilasio? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (transfer_fee VARCHAR, name VARCHAR) | SELECT transfer_fee FROM table_name_60 WHERE name = "evilasio" |
Write a SQL query that answers the following question: What team did James Vanderberg belong to when the Completions had a status of redshirt? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (team VARCHAR, completions VARCHAR) | SELECT team FROM table_name_21 WHERE completions = "redshirt" |
Write a SQL query that answers the following question: What were the number of completions for James Vanderberg on Iowa when his yards were 45? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (completions VARCHAR, team VARCHAR, yards VARCHAR) | SELECT completions FROM table_name_72 WHERE team = "iowa" AND yards = "45" |
Write a SQL query that answers the following question: What was the team Vanderberg belonged to when there was 42 completions? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (team VARCHAR, completions VARCHAR) | SELECT team FROM table_name_19 WHERE completions = "42" |
Write a SQL query that answers the following question: What number of attempts were recorded when the completions were 223? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (attempts VARCHAR, completions VARCHAR) | SELECT attempts FROM table_name_17 WHERE completions = "223" |
Write a SQL query that answers the following question: In what year was the number of attempts 888? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (year VARCHAR, attempts VARCHAR) | SELECT year FROM table_name_96 WHERE attempts = "888" |
Write a SQL query that answers the following question: What was the number of attempts for Vanderberg on Iowa when the recorded yards were 2,249? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (attempts VARCHAR, team VARCHAR, yards VARCHAR) | SELECT attempts FROM table_name_42 WHERE team = "iowa" AND yards = "2,249" |
Write a SQL query that answers the following question: Which Leading Scorer has an Opponent of @ indiana? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (Leading VARCHAR, opponent VARCHAR) | SELECT Leading AS scorer FROM table_name_10 WHERE opponent = "@ indiana" |
Write a SQL query that answers the following question: Which Leading Scorer has a Record of 3-3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (Leading VARCHAR, record VARCHAR) | SELECT Leading AS scorer FROM table_name_70 WHERE record = "3-3" |
Write a SQL query that answers the following question: What is the date when tie number is 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (date VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_98 WHERE tie_no = "6" |
Write a SQL query that answers the following question: Who is the home team with tie number 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_93 WHERE tie_no = "9" |
Write a SQL query that answers the following question: Who is the home team when Sheffield United is the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_38 WHERE away_team = "sheffield united" |
Write a SQL query that answers the following question: What is the date when Aston Villa is the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_98 WHERE away_team = "aston villa" |
Write a SQL query that answers the following question: Who is the home team on 31 January 1951 when away team was Sheffield United? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (home_team VARCHAR, date VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_75 WHERE date = "31 january 1951" AND away_team = "sheffield united" |
Write a SQL query that answers the following question: What was the attendance during the match that took place after week 11 against the washington redskins? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (attendance INTEGER, week VARCHAR, opponent VARCHAR) | SELECT MAX(attendance) FROM table_name_62 WHERE week > 11 AND opponent = "washington redskins" |
Write a SQL query that answers the following question: WHAT IS THE TO PAR FOR GEOFF OGILVY WITH A PLACE OF T3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (to_par VARCHAR, place VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_94 WHERE place = "t3" AND player = "geoff ogilvy" |
Write a SQL query that answers the following question: What year has the ride flight deck and a rating of less than 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (year_opened VARCHAR, ride VARCHAR, rating VARCHAR) | SELECT COUNT(year_opened) FROM table_name_47 WHERE ride = "flight deck" AND rating < 5 |
Write a SQL query that answers the following question: what is other names when death is may 23, 1821? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (other_names VARCHAR, death VARCHAR) | SELECT other_names FROM table_name_36 WHERE death = "may 23, 1821" |
Write a SQL query that answers the following question: what is the name when death is november 10, 1842? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (name VARCHAR, death VARCHAR) | SELECT name FROM table_name_80 WHERE death = "november 10, 1842" |
Write a SQL query that answers the following question: What is Internet Plan, when Price is "22 EUR"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (internet_plan VARCHAR, price VARCHAR) | SELECT internet_plan FROM table_name_48 WHERE price = "22 eur" |
Write a SQL query that answers the following question: What is Downstream, when Upstream is "384 kbit"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (downstream VARCHAR, upstream VARCHAR) | SELECT downstream FROM table_name_88 WHERE upstream = "384 kbit" |
Write a SQL query that answers the following question: What is Bandwidth Included, when Price is "50 EUR"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (bandwidth_included VARCHAR, price VARCHAR) | SELECT bandwidth_included FROM table_name_45 WHERE price = "50 eur" |
Write a SQL query that answers the following question: What is Upstream, when Price is "14 EUR"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (upstream VARCHAR, price VARCHAR) | SELECT upstream FROM table_name_25 WHERE price = "14 eur" |
Write a SQL query that answers the following question: What is Bandwidth Included, when Internet Plan is "8mb"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (bandwidth_included VARCHAR, internet_plan VARCHAR) | SELECT bandwidth_included FROM table_name_85 WHERE internet_plan = "8mb" |
Write a SQL query that answers the following question: What is the Price, when Upstream is "256 kbit"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (price VARCHAR, upstream VARCHAR) | SELECT price FROM table_name_64 WHERE upstream = "256 kbit" |
Write a SQL query that answers the following question: Which Semifinalists has a Finalist of andre agassi? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (semifinalists VARCHAR, finalist VARCHAR) | SELECT semifinalists FROM table_name_23 WHERE finalist = "andre agassi" |
Write a SQL query that answers the following question: WHich Tournament has a Finalist of gustavo kuerten (4)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (tournament VARCHAR, finalist VARCHAR) | SELECT tournament FROM table_name_31 WHERE finalist = "gustavo kuerten (4)" |
Write a SQL query that answers the following question: Which finalist has Semifinalists of andre agassi (1) lleyton hewitt (14)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (finalist VARCHAR, semifinalists VARCHAR) | SELECT finalist FROM table_name_3 WHERE semifinalists = "andre agassi (1) lleyton hewitt (14)" |
Write a SQL query that answers the following question: Which Finalist has a Tournament of monte carlo? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (finalist VARCHAR, tournament VARCHAR) | SELECT finalist FROM table_name_20 WHERE tournament = "monte carlo" |
Write a SQL query that answers the following question: WHo is the Winner of andre agassi Finalist? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (winner VARCHAR, finalist VARCHAR) | SELECT winner FROM table_name_97 WHERE finalist = "andre agassi" |
Write a SQL query that answers the following question: WHich Tournament has a Finalist of marat safin (12)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (tournament VARCHAR, finalist VARCHAR) | SELECT tournament FROM table_name_47 WHERE finalist = "marat safin (12)" |
Write a SQL query that answers the following question: What was the date for the Sepang International circuit, round 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (date VARCHAR, circuit VARCHAR, round VARCHAR) | SELECT date FROM table_name_40 WHERE circuit = "sepang international circuit" AND round = "3" |
Write a SQL query that answers the following question: Which round had a winning driver of Uwe Alzen, at the Sepang International circuit? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (round VARCHAR, winning_driver VARCHAR, circuit VARCHAR) | SELECT round FROM table_name_80 WHERE winning_driver = "uwe alzen" AND circuit = "sepang international circuit" |
Write a SQL query that answers the following question: What was the round number for March 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (round VARCHAR, date VARCHAR) | SELECT round FROM table_name_92 WHERE date = "march 22" |
Write a SQL query that answers the following question: Who had the high points in the game @ Charlotte? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (high_points VARCHAR, team VARCHAR) | SELECT high_points FROM table_name_98 WHERE team = "@ charlotte" |
Write a SQL query that answers the following question: What's the record of Game 70? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_77 WHERE game = 70 |
Write a SQL query that answers the following question: Who had the high points when they played in Philips Arena 14,413? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (high_points VARCHAR, location_attendance VARCHAR) | SELECT high_points FROM table_name_48 WHERE location_attendance = "philips arena 14,413" |
Write a SQL query that answers the following question: What is the date of the game that took place at the Resch Center? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (date VARCHAR, game_site VARCHAR) | SELECT date FROM table_name_41 WHERE game_site = "resch center" |
Write a SQL query that answers the following question: Which network returns april 3, and a Show of shop 'til you drop? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (new_returning_same_network VARCHAR, returning VARCHAR, show VARCHAR) | SELECT new_returning_same_network FROM table_name_35 WHERE returning = "april 3" AND show = "shop 'til you drop" |
Write a SQL query that answers the following question: Which retitled network has a Show of supermarket sweep? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (retitled_as_same VARCHAR, show VARCHAR) | SELECT retitled_as_same FROM table_name_92 WHERE show = "supermarket sweep" |
Write a SQL query that answers the following question: Which show returns april 3 with a Previous Network of lifetime? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (retitled_as_same VARCHAR, returning VARCHAR, previous_network VARCHAR) | SELECT retitled_as_same FROM table_name_44 WHERE returning = "april 3" AND previous_network = "lifetime" |
Write a SQL query that answers the following question: What is the lowest grid number for Yamaha? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (grid INTEGER, manufacturer VARCHAR) | SELECT MIN(grid) FROM table_name_3 WHERE manufacturer = "yamaha" |
Write a SQL query that answers the following question: How many laps had a grid over 16 and a Time of +1:35.890? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (laps VARCHAR, grid VARCHAR, time VARCHAR) | SELECT laps FROM table_name_79 WHERE grid > 16 AND time = "+1:35.890" |
Write a SQL query that answers the following question: What was the lowest lab for Gilera with a grid less than 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR) | SELECT MIN(laps) FROM table_name_81 WHERE manufacturer = "gilera" AND grid < 12 |
Write a SQL query that answers the following question: What is the highest Grid with a time of +1:19.905, and less than 20 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (grid INTEGER, time VARCHAR, laps VARCHAR) | SELECT MAX(grid) FROM table_name_22 WHERE time = "+1:19.905" AND laps < 20 |
Write a SQL query that answers the following question: What Rider has a Grid of 21? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (rider VARCHAR, grid VARCHAR) | SELECT rider FROM table_name_91 WHERE grid = 21 |
Write a SQL query that answers the following question: Who is the away captain when the game resulted in [[|]] by 7 wickets? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (away_captain VARCHAR, result VARCHAR) | SELECT away_captain FROM table_name_68 WHERE result = "[[|]] by 7 wickets" |
Write a SQL query that answers the following question: Who is the home captain of the match that resulted [[|]] by 151 runs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (home_captain VARCHAR, result VARCHAR) | SELECT home_captain FROM table_name_70 WHERE result = "[[|]] by 151 runs" |
Write a SQL query that answers the following question: How many totals have a To par of –1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (total INTEGER, to_par VARCHAR) | SELECT SUM(total) FROM table_name_98 WHERE to_par = "–1" |
Write a SQL query that answers the following question: Which Year(s) won has a Total smaller than 285, and a Player of tom watson? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (year_s__won VARCHAR, total VARCHAR, player VARCHAR) | SELECT year_s__won FROM table_name_51 WHERE total < 285 AND player = "tom watson" |
Write a SQL query that answers the following question: Which Finish has a Total of 288? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (finish VARCHAR, total VARCHAR) | SELECT finish FROM table_name_12 WHERE total = 288 |
Write a SQL query that answers the following question: Who won in 1991? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (player VARCHAR, year_s__won VARCHAR) | SELECT player FROM table_name_89 WHERE year_s__won = "1991" |
Write a SQL query that answers the following question: Who was picked before 149 in round 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (player VARCHAR, pick VARCHAR, round VARCHAR) | SELECT player FROM table_name_64 WHERE pick < 149 AND round = 9 |
Write a SQL query that answers the following question: Who was pick 16 and before round 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (player VARCHAR, round VARCHAR, pick VARCHAR) | SELECT player FROM table_name_30 WHERE round < 10 AND pick = 16 |
Write a SQL query that answers the following question: What is Affiliation, when Nickname is Bulldogs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (affiliation VARCHAR, nickname VARCHAR) | SELECT affiliation FROM table_name_4 WHERE nickname = "bulldogs" |
Write a SQL query that answers the following question: What is the average Founded, when Enrollment is 4,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (founded INTEGER, enrollment VARCHAR) | SELECT AVG(founded) FROM table_name_68 WHERE enrollment = 4 OFFSET 000 |
Write a SQL query that answers the following question: Which team raced at Amaroo Park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (team VARCHAR, circuit VARCHAR) | SELECT team FROM table_name_65 WHERE circuit = "amaroo park" |
Write a SQL query that answers the following question: On what date did Dick Johnson with at Calder? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (date VARCHAR, winner VARCHAR, race_title VARCHAR) | SELECT date FROM table_name_10 WHERE winner = "dick johnson" AND race_title = "calder" |
Write a SQL query that answers the following question: On what date was the race in Melbourne, Victoria? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (date VARCHAR, city___state VARCHAR) | SELECT date FROM table_name_42 WHERE city___state = "melbourne, victoria" |
Write a SQL query that answers the following question: Which city or state contains Calder Park Raceway? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (city___state VARCHAR, circuit VARCHAR) | SELECT city___state FROM table_name_80 WHERE circuit = "calder park raceway" |
Write a SQL query that answers the following question: What is the most reduced Margin that has a St Kilda Saints of 11.13 (79)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (margin INTEGER, st_kilda_saints VARCHAR) | SELECT MIN(margin) FROM table_name_79 WHERE st_kilda_saints = "11.13 (79)" |
Write a SQL query that answers the following question: What is the average Margin that has a Round of 13. (h)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (margin INTEGER, round VARCHAR) | SELECT AVG(margin) FROM table_name_3 WHERE round = "13. (h)" |
Write a SQL query that answers the following question: What is the location of South Adelaide? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (location VARCHAR, team VARCHAR) | SELECT location FROM table_name_46 WHERE team = "south adelaide" |
Write a SQL query that answers the following question: Which team has an unknown coach and location of Athelstone? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (team VARCHAR, coach VARCHAR, location VARCHAR) | SELECT team FROM table_name_98 WHERE coach = "unknown" AND location = "athelstone" |
Write a SQL query that answers the following question: When was the team that plays at Athelstone founded? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (founded VARCHAR, location VARCHAR) | SELECT founded FROM table_name_59 WHERE location = "athelstone" |
Write a SQL query that answers the following question: Who is the coach of the team from Port Pirie? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (coach VARCHAR, location VARCHAR) | SELECT coach FROM table_name_6 WHERE location = "port pirie" |
Write a SQL query that answers the following question: Who is the coach of the team with home ground at Club Cove? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (coach VARCHAR, home_ground VARCHAR) | SELECT coach FROM table_name_25 WHERE home_ground = "club cove" |
Write a SQL query that answers the following question: Which team was founded in 1970? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (team VARCHAR, founded VARCHAR) | SELECT team FROM table_name_48 WHERE founded = "1970" |
Write a SQL query that answers the following question: When did acharya shree koshalendraprasadji maharaj become acharya? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (became_acharya_on VARCHAR, name_of_acharya VARCHAR) | SELECT became_acharya_on FROM table_name_12 WHERE name_of_acharya = "acharya shree koshalendraprasadji maharaj" |
Write a SQL query that answers the following question: What is the term of acharya shree vasudevprasadji maharaj? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (term VARCHAR, name_of_acharya VARCHAR) | SELECT term FROM table_name_5 WHERE name_of_acharya = "acharya shree vasudevprasadji maharaj" |
Write a SQL query that answers the following question: What was the event where justin robbins had a record of 9-4-1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (event VARCHAR, record VARCHAR) | SELECT event FROM table_name_54 WHERE record = "9-4-1" |
Write a SQL query that answers the following question: Where was the location where justin robbins fought against billy kidd? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_1 WHERE opponent = "billy kidd" |
Write a SQL query that answers the following question: What was the method of resolution for the fight at cage warriors 39? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (method VARCHAR, event VARCHAR) | SELECT method FROM table_name_87 WHERE event = "cage warriors 39" |
Write a SQL query that answers the following question: A total larger than 302 and playoffs of 35 also list the total of regular seasons as what? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (regular_season INTEGER, playoffs VARCHAR, total VARCHAR) | SELECT SUM(regular_season) FROM table_name_41 WHERE playoffs = 35 AND total > 302 |
Write a SQL query that answers the following question: What is the college/junior/club team (league) of lw position player mark miller, from a round greater than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_7 WHERE round > 4 AND position = "lw" AND player = "mark miller" |
Write a SQL query that answers the following question: Who is the lw position player from a round greater than 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (player VARCHAR, position VARCHAR, round VARCHAR) | SELECT player FROM table_name_76 WHERE position = "lw" AND round > 10 |
Write a SQL query that answers the following question: Who is the player from round 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (player VARCHAR, round VARCHAR) | SELECT player FROM table_name_20 WHERE round = 8 |
Write a SQL query that answers the following question: What is the nationality of the player from round 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (nationality VARCHAR, round VARCHAR) | SELECT nationality FROM table_name_14 WHERE round = 7 |
Write a SQL query that answers the following question: What is the nationality of the player from round 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (nationality VARCHAR, round VARCHAR) | SELECT nationality FROM table_name_31 WHERE round = 5 |
Write a SQL query that answers the following question: What state had an elected/assumed office in 2013? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (state VARCHAR, elected_assumed_office VARCHAR) | SELECT state FROM table_name_98 WHERE elected_assumed_office = 2013 |
Write a SQL query that answers the following question: What was the air date of 'Gary tries to do it all'? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (air_date VARCHAR, episode VARCHAR) | SELECT air_date FROM table_name_95 WHERE episode = "gary tries to do it all" |
Write a SQL query that answers the following question: What is the location of the university that was established in 2000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (location VARCHAR, established VARCHAR) | SELECT location FROM table_name_44 WHERE established = 2000 |
Write a SQL query that answers the following question: What year was the team with the nickname pride established? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (established VARCHAR, nickname VARCHAR) | SELECT COUNT(established) FROM table_name_14 WHERE nickname = "pride" |
Write a SQL query that answers the following question: What is the enrollment of the university established in or after 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (enrollment VARCHAR, established INTEGER) | SELECT enrollment FROM table_name_68 WHERE established > 2011 |
Write a SQL query that answers the following question: What country was ole ellefsæter from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (country VARCHAR, winner VARCHAR) | SELECT country FROM table_name_34 WHERE winner = "ole ellefsæter" |
Write a SQL query that answers the following question: Who won the FIS Nordic World Ski Championships in 1972? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (winner VARCHAR, fis_nordic_world_ski_championships VARCHAR) | SELECT winner FROM table_name_4 WHERE fis_nordic_world_ski_championships = "1972" |
Write a SQL query that answers the following question: For a country of Spain, place of t6, what is the Money ($)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (money___$__ VARCHAR, place VARCHAR, country VARCHAR) | SELECT money___$__ FROM table_name_44 WHERE place = "t6" AND country = "spain" |
Write a SQL query that answers the following question: Which country has a to par of e? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (country VARCHAR, to_par VARCHAR) | SELECT country FROM table_name_20 WHERE to_par = "e" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.