text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (championship INTEGER, league_cup INTEGER)
<</SYS>>
SELECT AVG(championship) FROM table_name_14 WHERE league_cup < 0[/INST] Which Championship has a League Cup smaller than 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (build_date VARCHAR, prr_class VARCHAR)
<</SYS>>
SELECT build_date FROM table_name_61 WHERE prr_class = "brs24"[/INST] What is the build date of the model with a PRR Class of brs24?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (high_assists VARCHAR, date VARCHAR)
<</SYS>>
SELECT high_assists FROM table_name_21 WHERE date = "november 24"[/INST] WHAT IS THE HIGH ASSISTS ON NOVEMBER 24?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2570269_3 (cast VARCHAR, episode__number VARCHAR)
<</SYS>>
SELECT cast FROM table_2570269_3 WHERE episode__number = "3-04"[/INST] Who are the cast members of episode 3-04?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27003186_3 (no_party_preference VARCHAR, republican VARCHAR)
<</SYS>>
SELECT no_party_preference FROM table_27003186_3 WHERE republican = "45.3%"[/INST] What is the no party preference when republican is 45.3%?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (total_congregations VARCHAR, _percentage_lds VARCHAR, population VARCHAR)
<</SYS>>
SELECT COUNT(total_congregations) FROM table_name_85 WHERE _percentage_lds = "0.54%" AND population > 105 OFFSET 275[/INST] What is the total number of Total Congregations, when % LDS is 0.54%, and when Population is greater than 105,275?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (country_territory VARCHAR, imed_avicenna_listed VARCHAR, established VARCHAR)
<</SYS>>
SELECT country_territory FROM table_name_15 WHERE imed_avicenna_listed = "both" AND established = 1969[/INST] What country has a medical school established in 1969 with both an IMED and avicenna?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR)
<</SYS>>
SELECT record FROM table_name_44 WHERE date = "april 1"[/INST] What was the record on April 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (visiting_team VARCHAR, date VARCHAR)
<</SYS>>
SELECT visiting_team FROM table_name_41 WHERE date = "september 15"[/INST] Who was the visiting team that played on September 15?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25386974_1 (f_laps VARCHAR, series VARCHAR)
<</SYS>>
SELECT f_laps FROM table_25386974_1 WHERE series = "GP3 series"[/INST] How many f/laps did Pedro Nunes have when he was at the gp3 series?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (away_team VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT away_team AS score FROM table_name_62 WHERE home_team = "fitzroy"[/INST] What did the away team score when playing against fitzroy?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (start_date VARCHAR, party VARCHAR)
<</SYS>>
SELECT start_date FROM table_name_28 WHERE party = "pd"[/INST] Name the start date with party of pd</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (captain VARCHAR, alternate__1_ VARCHAR)
<</SYS>>
SELECT captain FROM table_name_33 WHERE alternate__1_ = "gintare karpaviciute"[/INST] Which captain has Gintare Karpaviciute as an alternate?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (date VARCHAR, description VARCHAR)
<</SYS>>
SELECT date FROM table_name_40 WHERE description = "british rail class 111 tslrb"[/INST] What is the date of the British Rail class 111 tslrb description?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (overall INTEGER, school_club_team VARCHAR, round VARCHAR)
<</SYS>>
SELECT MIN(overall) FROM table_name_48 WHERE school_club_team = "tennessee state" AND round < 10[/INST] What is the highest overall rank of any Tennessee State player drafted before round 10?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (call_sign VARCHAR, erp_w INTEGER)
<</SYS>>
SELECT call_sign FROM table_name_38 WHERE erp_w > 10[/INST] What is the call sign for the translator with an ERP W larger than 10?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (date VARCHAR, against VARCHAR, surface VARCHAR)
<</SYS>>
SELECT date FROM table_name_46 WHERE against = "morocco" AND surface = "hard"[/INST] What's the date that Morocco has an Against along with a surface of hard?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (nomination VARCHAR, film_name VARCHAR)
<</SYS>>
SELECT nomination FROM table_name_41 WHERE film_name = "peresohla zemlia"[/INST] Tell me the nomination for peresohla zemlia</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25604014_9 (directed_by VARCHAR, production_code VARCHAR)
<</SYS>>
SELECT directed_by FROM table_25604014_9 WHERE production_code = "1L10"[/INST] Name who directed the production code 1l10</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_6 (away_team VARCHAR, tie_no VARCHAR)
<</SYS>>
SELECT away_team FROM table_name_6 WHERE tie_no = "9"[/INST] Who was the away team for tie number 9?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (home VARCHAR, visitor VARCHAR)
<</SYS>>
SELECT home FROM table_name_35 WHERE visitor = "warriors"[/INST] What is the home team of the game with Warriors as the visitor team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11111116_6 (original_air_date VARCHAR, no_in_series VARCHAR)
<</SYS>>
SELECT COUNT(original_air_date) FROM table_11111116_6 WHERE no_in_series = 79[/INST] How many times did episode 79 originally air? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (country VARCHAR, athlete VARCHAR, notes VARCHAR, rank VARCHAR)
<</SYS>>
SELECT country FROM table_name_55 WHERE notes = "sa/b" AND rank > 1 AND athlete = "zhang xiuyun"[/INST] what is the country when the nots is sa/b, the rank is more than 1 and the athlete is zhang xiuyun?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (episodes VARCHAR, japanese_title VARCHAR)
<</SYS>>
SELECT COUNT(episodes) FROM table_name_13 WHERE japanese_title = "クãƒã‚µã‚®"[/INST] What is the total number of episodes for クãƒã‚µã‚®?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2071644_1 (moment_of_inertia_in_torsion__j___cm_4__ VARCHAR, beam_height__mm_ VARCHAR)
<</SYS>>
SELECT COUNT(moment_of_inertia_in_torsion__j___cm_4__) FROM table_2071644_1 WHERE beam_height__mm_ = 120[/INST] What is the moment of intertia in torsion (j) Cm4) for the beam height (mm) 120??=</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (wheel_arrangement VARCHAR, specification VARCHAR)
<</SYS>>
SELECT wheel_arrangement FROM table_name_9 WHERE specification = "dl-700"[/INST] Which wheel arrangement had a Specification of dl-700?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR, nationality VARCHAR)
<</SYS>>
SELECT college_junior_club_team__league_ FROM table_name_18 WHERE position = "defence" AND nationality = "canada" AND round < 5 AND player = "josiah didier"[/INST] What is College/Junior/Club Team (League), when Position is "Defence", when Nationality is "Canada", when Round is less than 5, and when Player is "Josiah Didier"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (result VARCHAR, venue VARCHAR)
<</SYS>>
SELECT result FROM table_name_14 WHERE venue = "rotterdam, netherlands"[/INST] Which result's venue was in Rotterdam, Netherlands?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (year INTEGER, best_finish VARCHAR, scoring_average VARCHAR)
<</SYS>>
SELECT MAX(year) FROM table_name_51 WHERE best_finish = "2" AND scoring_average < 71.24[/INST] What is the latest year when the best finish is 2 and the scoring average is less than 71.24?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (nation VARCHAR, silver VARCHAR, total VARCHAR, bronze VARCHAR, gold VARCHAR)
<</SYS>>
SELECT nation FROM table_name_96 WHERE bronze < 7 AND gold > 0 AND total > 7 AND silver < 3[/INST] What is the nation when bronze is less than 7, gold is larger than 0, total is larger than 7, and silver is smaller than 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (visitor VARCHAR, home VARCHAR, date VARCHAR)
<</SYS>>
SELECT visitor FROM table_name_72 WHERE home = "calgary" AND date = "april 17"[/INST] Which Visitor has a Home of calgary, and a Date of april 17?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (artist_s_ VARCHAR, book_title VARCHAR)
<</SYS>>
SELECT artist_s_ FROM table_name_80 WHERE book_title = "cyberella"[/INST] what artist has a book called cyberella</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (december INTEGER, game VARCHAR)
<</SYS>>
SELECT AVG(december) FROM table_name_39 WHERE game = 36[/INST] What is the average December, when Game is "36"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_36 (date VARCHAR, points VARCHAR, game__number VARCHAR)
<</SYS>>
SELECT date FROM table_name_36 WHERE points < 85 AND game__number = 74[/INST] Which Date has Points smaller than 85 and a Game # of 74?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (model_name VARCHAR, displacement__cm³_ VARCHAR, engine_code VARCHAR)
<</SYS>>
SELECT model_name FROM table_name_45 WHERE displacement__cm³_ = 2521 AND engine_code = "b5254 t2"[/INST] Which model has a 2521 cm displacement and b5254 t2 engine?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (home_team VARCHAR)
<</SYS>>
SELECT home_team AS score FROM table_name_49 WHERE home_team = "fitzroy"[/INST] What is fitzroy's score as the home team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_6 (attendance INTEGER, date VARCHAR)
<</SYS>>
SELECT AVG(attendance) FROM table_name_6 WHERE date = "april 28"[/INST] On April 28, what was the average number of people attending?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11336756_6 (junctions VARCHAR, remarks VARCHAR)
<</SYS>>
SELECT junctions FROM table_11336756_6 WHERE remarks = "Replaced by BSI-35"[/INST] Which junctions have "replaced by bsi-35" listed in their remarks section?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (district VARCHAR, name VARCHAR)
<</SYS>>
SELECT district FROM table_name_41 WHERE name = "abhayapuri south"[/INST] What district has abhayapuri south as the name?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (state VARCHAR, peak_population__year_ VARCHAR)
<</SYS>>
SELECT state FROM table_name_33 WHERE peak_population__year_ = "134995 (1950)"[/INST] what is the state when the peak population (year) is 134995 (1950)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (yards INTEGER, rating VARCHAR, games VARCHAR)
<</SYS>>
SELECT MAX(yards) FROM table_name_47 WHERE rating > 52.8 AND games > 13[/INST] What is the highest yards for a rating larger than 52.8 and more than 13 games?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (area_km_2 INTEGER, population VARCHAR, official_name VARCHAR)
<</SYS>>
SELECT MAX(area_km_2) FROM table_name_84 WHERE population > 532 AND official_name = "centreville"[/INST] What is the highest area for locations named Centreville having populations over 532?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28697228_4 (player VARCHAR, passing_yards VARCHAR)
<</SYS>>
SELECT COUNT(player) FROM table_28697228_4 WHERE passing_yards = 208[/INST] How may players have a passing yard score of 208?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (round VARCHAR, clubs_involved VARCHAR)
<</SYS>>
SELECT round FROM table_name_51 WHERE clubs_involved = 4[/INST] Which round has 4 clubs involved?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14903081_1 (country VARCHAR, location VARCHAR)
<</SYS>>
SELECT country FROM table_14903081_1 WHERE location = "Rome"[/INST] Rome is in which country?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (date VARCHAR, score VARCHAR)
<</SYS>>
SELECT date FROM table_name_55 WHERE score = "6–3, 3–6, 6–0"[/INST] What date was the score 6–3, 3–6, 6–0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (season VARCHAR, goals VARCHAR, team VARCHAR)
<</SYS>>
SELECT season FROM table_name_42 WHERE goals < 6 AND team = "tarbiat yazd"[/INST] What is Season, when Goals is less than 6, and when Team is "Tarbiat Yazd"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (third_vice_skip VARCHAR, second VARCHAR)
<</SYS>>
SELECT third_vice_skip FROM table_name_13 WHERE second = "éric sylvain"[/INST] Which Third/Vice skip has a Second of éric sylvain?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (party VARCHAR, end_date VARCHAR)
<</SYS>>
SELECT party FROM table_name_2 WHERE end_date = "22 november 1980"[/INST] Name the party with end date of 22 november 1980</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (date VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT date FROM table_name_16 WHERE away_team = "workington"[/INST] WHAT IS THE DATE WITH AN AWAY TEAM OF WORKINGTON?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20325360_2 (Id VARCHAR)
<</SYS>>
SELECT MAX(3 AS rd_runner_up) FROM table_20325360_2[/INST] What is the highest number of third place runners up held by any of the countries competing in the Mr. International competition?. </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (gfr_2006 INTEGER, whites_as__percentage_of_pop VARCHAR, tfr_2006 VARCHAR)
<</SYS>>
SELECT MIN(gfr_2006) FROM table_name_64 WHERE whites_as__percentage_of_pop = "95.80%" AND tfr_2006 > 2.14[/INST] What is the lowest total GFR that has 95.80% of the population as Whites, and a TFR total larger than 2.14, in 2006?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_3 (quantity_made VARCHAR, inchicore_class VARCHAR)
<</SYS>>
SELECT quantity_made FROM table_name_3 WHERE inchicore_class = "j7"[/INST] What was the quantity for Inchicore of J7?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (area__km_2__ INTEGER, rank VARCHAR, location VARCHAR, population__2000_ VARCHAR)
<</SYS>>
SELECT MAX(area__km_2__) FROM table_name_41 WHERE location = "alaska" AND population__2000_ = "39" AND rank > 19[/INST] What is the largest area in Alaska with a population of 39 and rank over 19?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (award_show VARCHAR, category VARCHAR, year VARCHAR)
<</SYS>>
SELECT award_show FROM table_name_53 WHERE category = "best loved drama" AND year = 2002[/INST] In what award show was Bad Girls nominated for Best Loved Drama in 2002?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (best_score VARCHAR, worst_dancer_s_ VARCHAR)
<</SYS>>
SELECT best_score FROM table_name_19 WHERE worst_dancer_s_ = "gethin jones/kenny logan"[/INST] What's the best score, with the worst dancer(s) gethin jones/kenny logan?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (air_date VARCHAR, order VARCHAR)
<</SYS>>
SELECT SUM(18 AS _49) FROM table_name_51 WHERE air_date = "june 25, 2009" AND order > 29[/INST] What is the sum of numbers listed in 18-49 for the episode that aired on June 25, 2009 with an order larger than 29?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (year INTEGER, time VARCHAR)
<</SYS>>
SELECT MIN(year) FROM table_name_7 WHERE time = "12:49:08"[/INST] When was the time of 12:49:08 first set?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (part_2 VARCHAR, part_4 VARCHAR)
<</SYS>>
SELECT part_2 FROM table_name_44 WHERE part_4 = "december 9, 2007"[/INST] When is Part 2, when Part 4 is on December 9, 2007?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (gold INTEGER, sport VARCHAR, silver VARCHAR)
<</SYS>>
SELECT AVG(gold) FROM table_name_66 WHERE sport = "athletics" AND silver > 42[/INST] What is the average number of golds in athletics associated with over 42 silvers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (runner_up VARCHAR, city VARCHAR)
<</SYS>>
SELECT runner_up FROM table_name_27 WHERE city = "milwaukee"[/INST] Who is the runner-up from Milwaukee?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (lost INTEGER, points VARCHAR, drawn VARCHAR)
<</SYS>>
SELECT SUM(lost) FROM table_name_18 WHERE points > 16 AND drawn < 1[/INST] What's the lost when there were more than 16 points and had a drawn less than 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (opponent VARCHAR, score VARCHAR, location VARCHAR, game VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_91 WHERE location = "boston garden" AND game > 1 AND score = "115-105"[/INST] What is Opponent, when Location is "Boston Garden", when Game is greater than 1, and when Score is "115-105"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20361783_1 (womens_doubles VARCHAR, year VARCHAR)
<</SYS>>
SELECT womens_doubles FROM table_20361783_1 WHERE year = 2010[/INST] who won womens doubles in 2010</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (name VARCHAR, year VARCHAR)
<</SYS>>
SELECT name FROM table_name_32 WHERE year = "2001"[/INST] Which Name was in the Year 2001?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (name VARCHAR, dcsf_number VARCHAR)
<</SYS>>
SELECT name FROM table_name_19 WHERE dcsf_number = 3373[/INST] Who has a DCSF number of 3373?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11240028_1 (episodes VARCHAR, portrayed_by VARCHAR)
<</SYS>>
SELECT episodes FROM table_11240028_1 WHERE portrayed_by = "Vanessa Ferlito"[/INST] How many episodes did actress Vanessa Ferlito appear in?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (country VARCHAR, swimsuit VARCHAR, average VARCHAR, interview VARCHAR)
<</SYS>>
SELECT country FROM table_name_22 WHERE average < 9.6 AND interview > 9.22 AND swimsuit > 9.46[/INST] Which country has swimsuit more than 9.46 and interview more than 9.22 with average less than 9.6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (name VARCHAR, venue VARCHAR)
<</SYS>>
SELECT name FROM table_name_71 WHERE venue = "motherwell"[/INST] What is Name, when Venue is "Motherwell"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_6 (goals VARCHAR, country VARCHAR)
<</SYS>>
SELECT goals FROM table_name_6 WHERE country = "france"[/INST] How many goals did a player from France have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_59 (event VARCHAR, date VARCHAR)
<</SYS>>
SELECT event FROM table_name_59 WHERE date = "18 december 2009"[/INST] What event is on 18 December 2009?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (to_par VARCHAR, player VARCHAR)
<</SYS>>
SELECT to_par FROM table_name_9 WHERE player = "bart bryant"[/INST] What is the to par for Bart Bryant?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (school VARCHAR, player VARCHAR)
<</SYS>>
SELECT school FROM table_name_14 WHERE player = "jason fraser"[/INST] Tell me the school that jason fraser went to</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (military_deaths VARCHAR, total_casualties VARCHAR)
<</SYS>>
SELECT military_deaths FROM table_name_38 WHERE total_casualties = "531"[/INST] How many members of the military died in the conflict that had a total of 531 casualties?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE orders (customer_id VARCHAR, order_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE order_items (product_id VARCHAR, order_item_status VARCHAR, order_id VARCHAR)
<</SYS>>
SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 JOIN order_items AS T3 JOIN products AS T4 ON T1.customer_id = T2.customer_id AND T2.order_id = T3.order_id AND T3.product_id = T4.product_id WHERE T3.order_item_status = "Cancel" AND T4.product_name = "food" GROUP BY T1.customer_id HAVING COUNT(*) >= 1[/INST] List the names of customers who have once canceled the purchase of the product "food" (the item status is "Cancel").</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (round INTEGER, method VARCHAR, date VARCHAR)
<</SYS>>
SELECT MIN(round) FROM table_name_46 WHERE method = "ko" AND date = "1958"[/INST] Which Round has a Method of ko, and a Date of 1958?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (lane VARCHAR, heat VARCHAR, name VARCHAR)
<</SYS>>
SELECT COUNT(lane) FROM table_name_29 WHERE heat = 3 AND name = "cxhristy ekpukhon ihunaegbo"[/INST] what is the number of times that the heat is 3 and the name is cxhristy ekpukhon ihunaegbo?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (director_s_ VARCHAR, recipient VARCHAR)
<</SYS>>
SELECT director_s_ FROM table_name_54 WHERE recipient = "redbag pictures ltd"[/INST] Who was the director that had a recipient of Redbag Pictures Ltd?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (time VARCHAR, grid VARCHAR, rider VARCHAR)
<</SYS>>
SELECT time FROM table_name_55 WHERE grid < 6 AND rider = "noriyuki haga"[/INST] What was the time for a grid less than 6 for Noriyuki Haga?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (prime_mover VARCHAR, model VARCHAR)
<</SYS>>
SELECT prime_mover FROM table_name_61 WHERE model = "rs-18"[/INST] Which prime mover had a Model of rs-18?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (visitor VARCHAR, record VARCHAR)
<</SYS>>
SELECT visitor FROM table_name_49 WHERE record = "7–5–3"[/INST] Which visitor had a record of 7–5–3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (wins INTEGER, rank VARCHAR, events VARCHAR)
<</SYS>>
SELECT MIN(wins) FROM table_name_5 WHERE rank < 3 AND events > 10[/INST] Who has the least wins when ranked above 3 with over 10 events?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (number_of_electorates__2009_ INTEGER, district VARCHAR, name VARCHAR)
<</SYS>>
SELECT MIN(number_of_electorates__2009_) FROM table_name_56 WHERE district = "mathura" AND name = "mant"[/INST] What Number of electorates (2009) has a District of mathura, and a Name of mant?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (country VARCHAR, player VARCHAR)
<</SYS>>
SELECT country FROM table_name_39 WHERE player = "adam scott"[/INST] Which country does Adam Scott play for?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_3 (career_win_loss VARCHAR)
<</SYS>>
SELECT career_win_loss FROM table_name_3 WHERE 1995 = "atp masters series"[/INST] What is the career win-loss for the ATP Masters Series?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (opponent VARCHAR, game_site VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_57 WHERE game_site = "candlestick park"[/INST] Game site of candlestick park had what opponent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_36 (player VARCHAR, to_par VARCHAR)
<</SYS>>
SELECT player FROM table_name_36 WHERE to_par = "+21"[/INST] What player has +21 as the to par?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_21132404_1 (seats_2001 INTEGER, seats_2006 VARCHAR)
<</SYS>>
SELECT MIN(seats_2001) FROM table_21132404_1 WHERE seats_2006 = 11[/INST] How many seats were there in 2001 when there were 11 seats in 2006?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (opponent VARCHAR, series VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_86 WHERE series = "1-3"[/INST] Who was the opponent when the series was at 1-3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (rounds VARCHAR, motorcycle VARCHAR)
<</SYS>>
SELECT rounds FROM table_name_75 WHERE motorcycle = "mv agusta f4 1000 mt"[/INST] Which round has the mv agusta f4 1000 mt?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (birthplace VARCHAR)
<</SYS>>
SELECT 1990 AS _1991_team FROM table_name_23 WHERE birthplace = "new york"[/INST] What is the 1990–1991 Team when the Birthplace shows as new york?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17510803_2 (bonus_points VARCHAR, won VARCHAR)
<</SYS>>
SELECT bonus_points FROM table_17510803_2 WHERE won = "5"[/INST] How many bonus points were won by 5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10416547_1 (music_genre_style VARCHAR, lyrics_theme_style VARCHAR)
<</SYS>>
SELECT COUNT(music_genre_style) FROM table_10416547_1 WHERE lyrics_theme_style = "Detective story"[/INST] What is the total number of music genre/style in which the lyrics are a detective story?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (venue VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT venue FROM table_name_32 WHERE home_team = "melbourne"[/INST] What is Melbourne's home venue?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (high_points VARCHAR, score VARCHAR)
<</SYS>>
SELECT high_points FROM table_name_73 WHERE score = "l 64–94 (ot)"[/INST] What is the High points with a Score that is l 64–94 (ot)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (location VARCHAR, runner_s__up VARCHAR)
<</SYS>>
SELECT location FROM table_name_76 WHERE runner_s__up = "betsy rawls"[/INST] Where is runner-up Betsy Rawls from?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26202847_6 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
<</SYS>>
SELECT opponent_in_the_final FROM table_26202847_6 WHERE score_in_the_final = "3–6, 6–4, 3–6, 4–6"[/INST] When the score in the final is 3–6, 6–4, 3–6, 4–6, who are all the opponents in the final?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (game INTEGER, record VARCHAR, points VARCHAR)
<</SYS>>
SELECT SUM(game) FROM table_name_19 WHERE record = "4–2–1" AND points > 9[/INST] Which Game has a Record of 4–2–1, and Points larger than 9?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (gross_revenue__1979_ VARCHAR, venue VARCHAR)
<</SYS>>
SELECT gross_revenue__1979_ FROM table_name_83 WHERE venue = "lyceum theatre"[/INST] What is the Gross Revenue (1979) of the Venue, lyceum theatre?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (score VARCHAR, record VARCHAR)
<</SYS>>
SELECT score FROM table_name_84 WHERE record = "38-18"[/INST] What is the Score for the game with a record of 38-18?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.