text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (player VARCHAR, country VARCHAR, score VARCHAR)
<</SYS>>
SELECT player FROM table_name_72 WHERE score = 69 - 73 - 68 = 210 AND country = "united states"[/INST] What United States player has a score of 69-73-68=210?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341568_14 (party VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT party FROM table_1341568_14 WHERE incumbent = "Lane Evans"[/INST] What party was Lane Evans?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE railway (Builder VARCHAR)
<</SYS>>
SELECT Builder FROM railway GROUP BY Builder ORDER BY COUNT(*) DESC LIMIT 1[/INST] Show the most common builder of railways.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (color_commentator_s_ VARCHAR, play_by_play VARCHAR, flagship_station VARCHAR)
<</SYS>>
SELECT color_commentator_s_ FROM table_name_99 WHERE play_by_play = "sean grande" AND flagship_station = "wrko"[/INST] Play-by-play of sean grande, and a Flagship Station of wrko involved what color commentator?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (intercontinental_cup_1999 VARCHAR, copa_conmebol_1999 VARCHAR)
<</SYS>>
SELECT intercontinental_cup_1999 FROM table_name_63 WHERE copa_conmebol_1999 = "runner-up"[/INST] What is the Intercontinental Cup 1999 result for the team with a Copa Conmebol 1999 result of runner-up?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (player VARCHAR, place VARCHAR)
<</SYS>>
SELECT player FROM table_name_33 WHERE place = "t2"[/INST] Who are the players that placed t2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE party (YEAR VARCHAR, Governor VARCHAR)
<</SYS>>
SELECT DISTINCT YEAR FROM party WHERE Governor = "Eliot Spitzer"[/INST] In which distinct years was the governor "Eliot Spitzer"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (opponent VARCHAR, record VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_31 WHERE record = "4-5"[/INST] Which opponent has a Record of 4-5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (females VARCHAR, language VARCHAR)
<</SYS>>
SELECT females FROM table_name_71 WHERE language = "romanian"[/INST] What females speak Romanian?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (crowd INTEGER, home_team VARCHAR)
<</SYS>>
SELECT MAX(crowd) FROM table_name_49 WHERE home_team = "richmond"[/INST] When the home team was Richmond, what was the largest crowd?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table (h VARCHAR, c__max_ VARCHAR)
<</SYS>>
SELECT h FROM table WHERE c__max_ = 99[/INST] Name the h when c max is 99</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (exit_date VARCHAR, to_club VARCHAR)
<</SYS>>
SELECT exit_date FROM table_name_14 WHERE to_club = "doncaster rovers"[/INST] What was the date that a player went to the club Doncaster Rovers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (jump_2 VARCHAR, jump_3 VARCHAR)
<</SYS>>
SELECT jump_2 FROM table_name_62 WHERE jump_3 = "7.77"[/INST] What is the Jump 2 of the person that has a Jump 3 of 7.77?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (driver VARCHAR, team VARCHAR, chassis VARCHAR, engine VARCHAR, class VARCHAR)
<</SYS>>
SELECT driver FROM table_name_32 WHERE engine = "rotax max" AND class = "rotax heavy" AND chassis = "arrow" AND team = "twr raceline seating"[/INST] What is the name of the driver with a rotax max engine, in the rotax heavy class, with arrow as chassis and on the TWR Raceline Seating team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26375386_18 (public INTEGER, couple VARCHAR)
<</SYS>>
SELECT MAX(public) FROM table_26375386_18 WHERE couple = "Danniella and Matthew"[/INST] WHat was the max public with danniella and matthew?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (gold INTEGER, total VARCHAR, silver VARCHAR)
<</SYS>>
SELECT MAX(gold) FROM table_name_87 WHERE total > 9 AND silver > 10[/INST] What is the highest gold number count where a county had over 9 golds and 10 silvers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (location VARCHAR, competition VARCHAR)
<</SYS>>
SELECT location FROM table_name_30 WHERE competition = "gold medal match"[/INST] What is the location of the gold medal match?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (commissioned_or_completed_ VARCHAR, _ VARCHAR, ship VARCHAR)
<</SYS>>
SELECT commissioned_or_completed_ * _ FROM table_name_60 WHERE ship = "manhattan"[/INST] What date was the ship named Manhattan completed?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (game VARCHAR, result VARCHAR)
<</SYS>>
SELECT game FROM table_name_88 WHERE result = "126-95"[/INST] Which game had a result of 126-95?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)
<</SYS>>
SELECT constructor FROM table_name_24 WHERE laps < 31 AND driver = "michael schumacher"[/INST] Who built michael schumacher's car that went under 31 laps?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27721131_11 (high_assists VARCHAR, game VARCHAR)
<</SYS>>
SELECT high_assists FROM table_27721131_11 WHERE game = 78[/INST] Who had the highest assists during game 78?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (production_code VARCHAR, original_air_date VARCHAR, season__number VARCHAR, series__number VARCHAR)
<</SYS>>
SELECT production_code FROM table_name_1 WHERE season__number < 8 AND series__number < 31 AND original_air_date = "september 21, 1995"[/INST] What is the production code of the episode before season 8, with a series number less than 31, and aired on September 21, 1995?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (constructor VARCHAR, race_name VARCHAR)
<</SYS>>
SELECT constructor FROM table_name_34 WHERE race_name = "vii race of champions"[/INST] What is the constructor for the VII Race of Champions?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27268238_4 (highest_score VARCHAR, matches VARCHAR, team VARCHAR)
<</SYS>>
SELECT highest_score FROM table_27268238_4 WHERE matches = 5 AND team = "Worcestershire"[/INST] If the team is Worcestershire and the Matched had were 5, what is the highest score?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (bulletins_to_all_contacts VARCHAR, creator VARCHAR, transport_layer_security VARCHAR, license VARCHAR)
<</SYS>>
SELECT bulletins_to_all_contacts FROM table_name_43 WHERE transport_layer_security = "no" AND license = "proprietary" AND creator = "microsoft"[/INST] Were there Bulletins to all contacts of the proprietary license created by Microsoft with no transport layer of security?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_256862_1 (winning_yacht VARCHAR, entries VARCHAR)
<</SYS>>
SELECT winning_yacht FROM table_256862_1 WHERE entries = "14"[/INST] Name the wininng yacht for 14 entries</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (arranger_s_ VARCHAR, lyricist_s_ VARCHAR)
<</SYS>>
SELECT arranger_s_ FROM table_name_8 WHERE lyricist_s_ = "sirapatara kalayapanid"[/INST] Who was the arranger for the song that had a lyricist of Sirapatara Kalayapanid?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1198175_1 (weight_lbs_ VARCHAR, born VARCHAR)
<</SYS>>
SELECT weight_lbs_ FROM table_1198175_1 WHERE born = "April 6, 1954 Detroit, MI"[/INST] What is the weight(lbs) when born is april 6, 1954 detroit, mi?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (result VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT result FROM table_name_53 WHERE attendance = "78,793"[/INST] What was the result when the attendance was 78,793?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (title VARCHAR, director VARCHAR)
<</SYS>>
SELECT title FROM table_name_76 WHERE director = "joyce bernal"[/INST] Which title was directed by Joyce Bernal?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14962287_1 (years VARCHAR, other_a VARCHAR)
<</SYS>>
SELECT years FROM table_14962287_1 WHERE other_a = "8 (1)"[/INST] which years had other a of 8 (1)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (week INTEGER, date VARCHAR)
<</SYS>>
SELECT AVG(week) FROM table_name_5 WHERE date = "july 25"[/INST] WHAT IS THE AVERAGE WEEK WITH A DATE OF JULY 25?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (year_built VARCHAR, length VARCHAR)
<</SYS>>
SELECT year_built FROM table_name_38 WHERE length = "91'"[/INST] Where the length is 91', what is the year built?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE captain (rank VARCHAR, CLASS VARCHAR)
<</SYS>>
SELECT rank FROM captain WHERE CLASS = 'Cutter' INTERSECT SELECT rank FROM captain WHERE CLASS = 'Armed schooner'[/INST] Find the captain rank that has some captains in both Cutter and Armed schooner classes.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29612224_1 (institution VARCHAR, school_website VARCHAR)
<</SYS>>
SELECT institution FROM table_29612224_1 WHERE school_website = "http://www.mfschools.org/high/"[/INST] What's the name of the city or town of the school that operates the http://www.mfschools.org/high/ website?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (opponent VARCHAR, loss VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_7 WHERE loss = "saarloos (7-7)"[/INST] Who was the opponent at the game that had a loss of Saarloos (7-7)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_178242_7 (season VARCHAR, the_mole VARCHAR)
<</SYS>>
SELECT season FROM table_178242_7 WHERE the_mole = "Milouska"[/INST] Which season is it when Milouska was the show's mole ?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18303274_1 (grand_prix VARCHAR, pole_position VARCHAR, round VARCHAR)
<</SYS>>
SELECT grand_prix FROM table_18303274_1 WHERE pole_position = "Daijiro Hiura" AND round = 5[/INST] Which round 5 Grand Prix had Daijiro Hiura at pole position? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (record VARCHAR, date VARCHAR)
<</SYS>>
SELECT record FROM table_name_18 WHERE date = "january 31"[/INST] Which Record has a Date of january 31?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (week VARCHAR, date VARCHAR)
<</SYS>>
SELECT COUNT(week) FROM table_name_25 WHERE date = "december 31, 1993"[/INST] What week shows for december 31, 1993?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (score_in_the_final VARCHAR, partner VARCHAR)
<</SYS>>
SELECT score_in_the_final FROM table_name_90 WHERE partner = "lindsay lee-waters"[/INST] With Lindsay Lee-Waters as a partner, what was the final score?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (distance VARCHAR, speed VARCHAR)
<</SYS>>
SELECT distance FROM table_name_44 WHERE speed = "124.1km/h"[/INST] How far did the pilot go when averaging 124.1km/h?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27961684_1 (team_name VARCHAR, city VARCHAR)
<</SYS>>
SELECT team_name FROM table_27961684_1 WHERE city = "Rock Island"[/INST] What team is in the city of Rock Island?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (type VARCHAR, block VARCHAR, year VARCHAR)
<</SYS>>
SELECT type FROM table_name_50 WHERE block = "105/107e" AND year < 1960[/INST] What type is the 105/107e Block from a year prior to 1960?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13642023_2 (circuit VARCHAR, rnd VARCHAR, gtu_winning_team VARCHAR)
<</SYS>>
SELECT circuit FROM table_13642023_2 WHERE rnd = 5 AND gtu_winning_team = "#59 Brumos Porsche - Audi"[/INST] On what circuit was the GTU winning team #59 Brumos Porsche - Audi in round 5? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_201400_2 (telugu_name_తెలుగు VARCHAR, kannada_name_ಕನ್ನಡ VARCHAR)
<</SYS>>
SELECT telugu_name_తెలుగు FROM table_201400_2 WHERE kannada_name_ಕನ್ನಡ = "Utthara ಉತ್ತರ"[/INST] what is the telugu name తెలుగు of kannada name ಕನ್ನಡ utthara ಉತ್ತರ</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (points INTEGER, year VARCHAR, entrant VARCHAR, chassis VARCHAR)
<</SYS>>
SELECT AVG(points) FROM table_name_16 WHERE entrant = "scuderia scribante" AND chassis = "brabham bt11" AND year < 1968[/INST] What are the average points of Scuderia Scribante with a Brabham bt11 chassis before 1968?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (venue VARCHAR, race VARCHAR)
<</SYS>>
SELECT venue FROM table_name_62 WHERE race = "carfax 250"[/INST] What is the venue of teh carfax 250 race?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2215159_2 (outcome VARCHAR, year VARCHAR, surface VARCHAR, partner VARCHAR)
<</SYS>>
SELECT COUNT(outcome) FROM table_2215159_2 WHERE surface = "Grass" AND partner = "Chuck McKinley" AND year = 1962[/INST] How many outcomes were there for matches played with Chuck McKinley on grass in 1962?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE EVENTS (event_id VARCHAR, event_details VARCHAR, Event_ID VARCHAR); CREATE TABLE Participants_in_Events (Event_ID VARCHAR)
<</SYS>>
SELECT T1.event_id, T1.event_details FROM EVENTS AS T1 JOIN Participants_in_Events AS T2 ON T1.Event_ID = T2.Event_ID GROUP BY T1.Event_ID HAVING COUNT(*) > 1[/INST] What are the ids and details of events that have more than one participants?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR)
<</SYS>>
SELECT home_team FROM table_name_65 WHERE date = "28 january 1984" AND tie_no = "4"[/INST] What is Home Team, when Date is "28 January 1984", and when Tie No is "4"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (ryuji_hijikata VARCHAR, block_a VARCHAR)
<</SYS>>
SELECT ryuji_hijikata FROM table_name_72 WHERE block_a = "ryuji hijikata"[/INST] Tell me the Ryuji Hijikata for Block A of Ryuji Hijikata</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (laps INTEGER, team VARCHAR, time_retired VARCHAR)
<</SYS>>
SELECT SUM(laps) FROM table_name_21 WHERE team = "mi-jack conquest racing" AND time_retired = "off course"[/INST] How many laps for mi-jack conquest racing when they went off course?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2679061_12 (player VARCHAR, college_junior_club_team VARCHAR)
<</SYS>>
SELECT player FROM table_2679061_12 WHERE college_junior_club_team = "Litvinov (Czechoslovakia)"[/INST] Who was drafted to litvinov (czechoslovakia)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17964087_2 (foreign_nationality VARCHAR, romanised_name VARCHAR)
<</SYS>>
SELECT foreign_nationality FROM table_17964087_2 WHERE romanised_name = "Cheung, Raymond Man-to"[/INST] The name cheung, raymond man-to is listed as a romanised name is cheung, raymond man-to?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (route INTEGER, rank VARCHAR, elevation VARCHAR)
<</SYS>>
SELECT MAX(route) FROM table_name_60 WHERE rank < 33 AND elevation = "11,312 feet 3448 m"[/INST] On what Route is the mountain with a Rank less than 33 and an Elevation of 11,312 feet 3448 m?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1817879_2 (length__miles_ VARCHAR, endpoints VARCHAR)
<</SYS>>
SELECT length__miles_ FROM table_1817879_2 WHERE endpoints = "Westlake/MacArthur Park to Wilshire/Western"[/INST] What is the lenth (miles) of endpoints westlake/macarthur park to wilshire/western?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (loses VARCHAR, position VARCHAR, goals_conceded VARCHAR)
<</SYS>>
SELECT COUNT(loses) FROM table_name_96 WHERE position = 4 AND goals_conceded < 23[/INST] What is the total number of loses of the club with a 4 position and less than 23 goals conceded?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (week INTEGER, result VARCHAR)
<</SYS>>
SELECT MAX(week) FROM table_name_69 WHERE result = "t 35-35"[/INST] What is the largest week that has t 35-35 as the result?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (losses INTEGER, team VARCHAR, draws VARCHAR)
<</SYS>>
SELECT MAX(losses) FROM table_name_61 WHERE team = "presidente hayes" AND draws > 4[/INST] What is the highest number of losses for Presidente Hayes, when the draws were more than 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26609958_1 (groundwater_discharge__million_m_3__ INTEGER, hydrographic_basin VARCHAR)
<</SYS>>
SELECT MIN(groundwater_discharge__million_m_3__) FROM table_26609958_1 WHERE hydrographic_basin = "Cabarita River"[/INST] When cabarita river is the hydrographic basin what is the lowest groundwater discharge (million m 3)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_3 (tournament VARCHAR, score VARCHAR)
<</SYS>>
SELECT tournament FROM table_name_3 WHERE score = "6–7 (0–7) , 6–2, 4–6"[/INST] Which tournament had a score of 6–7 (0–7) , 6–2, 4–6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (transfer_window VARCHAR, ends VARCHAR, country VARCHAR, type VARCHAR)
<</SYS>>
SELECT transfer_window FROM table_name_85 WHERE country = "esp" AND type = "promoted" AND ends > 2010[/INST] What is the transfer window in esp with promoted type and more than 2010 ends?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19396259_1 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR)
<</SYS>>
SELECT title FROM table_19396259_1 WHERE directed_by = "Charles Beeson" AND written_by = "Jeremy Carver"[/INST] Name the title directed by charles beeson by jeremy carver</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (score VARCHAR, surface VARCHAR, tournament VARCHAR)
<</SYS>>
SELECT score FROM table_name_26 WHERE surface = "hard (i)" AND tournament = "columbus, ohio"[/INST] What score has hard (i) as the surface, and Columbus, Ohio as the tournament?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11147852_1 (city_of_license_market VARCHAR, station VARCHAR)
<</SYS>>
SELECT city_of_license_market FROM table_11147852_1 WHERE station = "KTFK-DT"[/INST] What market is KTFK-DT in?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (playoffs VARCHAR, year VARCHAR)
<</SYS>>
SELECT playoffs FROM table_name_88 WHERE year = "2011"[/INST] which playoffs took place during 2011?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (total INTEGER, place VARCHAR, draw VARCHAR)
<</SYS>>
SELECT AVG(total) FROM table_name_99 WHERE place < 2 AND draw < 5[/INST] Which average Total has a Place smaller than 2, and a Draw smaller than 5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1359212_2 (location VARCHAR, winner VARCHAR)
<</SYS>>
SELECT COUNT(location) FROM table_1359212_2 WHERE winner = "Spain"[/INST] how many locations has spain as the winner?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (grid VARCHAR, driver VARCHAR)
<</SYS>>
SELECT grid FROM table_name_84 WHERE driver = "jacques villeneuve"[/INST] Jacques Villeneuve was on what grid?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (year VARCHAR, chassis VARCHAR)
<</SYS>>
SELECT COUNT(year) FROM table_name_51 WHERE chassis = "coloni c3"[/INST] How many years was the chassis a Coloni C3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (csa_cma_2009_population INTEGER, state__province VARCHAR)
<</SYS>>
SELECT MAX(csa_cma_2009_population) FROM table_name_89 WHERE state__province = "ia-il"[/INST] What's the CSA/CMA Population in IA-IL?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (network VARCHAR, rank VARCHAR, show VARCHAR)
<</SYS>>
SELECT network FROM table_name_34 WHERE rank > 5 AND show = "2012 summer olympics closing ceremony in london"[/INST] Which Network has a Rank larger than 5, a Show of 2012 summer olympics closing ceremony in london?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12193259_1 (mens_doubles VARCHAR, season VARCHAR)
<</SYS>>
SELECT COUNT(mens_doubles) FROM table_12193259_1 WHERE season = "2004/2005"[/INST] Name the number of mens doubles for 2004/2005</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (location_attendance VARCHAR, series VARCHAR)
<</SYS>>
SELECT location_attendance FROM table_name_38 WHERE series = "4-3"[/INST] what is the location attendance when the series is 4-3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_15412381_5 (date VARCHAR, wheels VARCHAR)
<</SYS>>
SELECT date FROM table_15412381_5 WHERE wheels = 279[/INST] What is the date of the 279 wheels?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20174050_7 (release_date VARCHAR, title VARCHAR)
<</SYS>>
SELECT release_date FROM table_20174050_7 WHERE title = "The Way Through the Woods"[/INST] If the title is The Way Through The Woods, what is the release date?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (ebit__us_ VARCHAR, revenue__us_$million_ VARCHAR, net_profit__us_$m_ VARCHAR)
<</SYS>>
SELECT COUNT(ebit__us_) AS $m_ FROM table_name_35 WHERE revenue__us_$million_ > 434.8 AND net_profit__us_$m_ > 96.4[/INST] COunt the EBIT (US $m) which has a Revenue (US $million) larger than 434.8 and a Net profit (US $m) larger than 96.4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1805191_34 (candidates VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT COUNT(candidates) FROM table_1805191_34 WHERE incumbent = "Robin Hayes"[/INST] How many times did Robin Hayes run?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13857700_1 (mens_doubles VARCHAR, year VARCHAR)
<</SYS>>
SELECT mens_doubles FROM table_13857700_1 WHERE year = 1978[/INST] who is the the mens doubles with year being 1978</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (total INTEGER, nation VARCHAR, gold VARCHAR)
<</SYS>>
SELECT AVG(total) FROM table_name_70 WHERE nation = "denmark" AND gold > 0[/INST] The nation of denmark has what average total nad more than 0 gold?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (height__ft_ VARCHAR, country VARCHAR)
<</SYS>>
SELECT height__ft_ FROM table_name_53 WHERE country = "macedonia"[/INST] How high is Macedonia's highest point?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341690_43 (candidates VARCHAR, district VARCHAR)
<</SYS>>
SELECT candidates FROM table_1341690_43 WHERE district = "Texas 1"[/INST] Name the candidates for texas 1</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (country VARCHAR, player VARCHAR)
<</SYS>>
SELECT country FROM table_name_21 WHERE player = "charles coody"[/INST] What country does charles coody play for?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19810459_1 (result VARCHAR, background VARCHAR)
<</SYS>>
SELECT result FROM table_19810459_1 WHERE background = "Business major"[/INST] What was the result for the contestant whose background was as a business major?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE students (cell_mobile_number VARCHAR, first_name VARCHAR, last_name VARCHAR)
<</SYS>>
SELECT cell_mobile_number FROM students WHERE first_name = 'timmothy' AND last_name = 'ward'[/INST] What is the mobile phone number of the student named Timmothy Ward ?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (cuts_made INTEGER, top_25 VARCHAR, top_5 VARCHAR)
<</SYS>>
SELECT SUM(cuts_made) FROM table_name_90 WHERE top_25 < 6 AND top_5 > 0[/INST] What is the total of cuts made where the top 25 is less than 6 and the top-5 is more than 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (in_office VARCHAR, member VARCHAR)
<</SYS>>
SELECT in_office FROM table_name_58 WHERE member = "mark coulton"[/INST] What is the office held by member Mark Coulton?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE genres (id VARCHAR, name VARCHAR); CREATE TABLE tracks (name VARCHAR, genre_id VARCHAR)
<</SYS>>
SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.name = "Rock"[/INST] What is the name of tracks whose genre is Rock?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (episode VARCHAR)
<</SYS>>
SELECT 1 AS st_edition FROM table_name_77 WHERE episode = "4"[/INST] What is the 1st Edition for the Episode 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_36 (date_of_designation VARCHAR, name VARCHAR)
<</SYS>>
SELECT date_of_designation FROM table_name_36 WHERE name = "kurume"[/INST] Which Date of designation has a Name of kurume?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (to_par VARCHAR, year_s__won VARCHAR)
<</SYS>>
SELECT to_par FROM table_name_4 WHERE year_s__won = "1993"[/INST] What was the winning to par score of the 1993 PGA Championship?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20174050_23 (reader VARCHAR, format VARCHAR, author VARCHAR)
<</SYS>>
SELECT reader FROM table_20174050_23 WHERE format = "Download/CD" AND author = "Lidster, Joseph Joseph Lidster"[/INST] who is the reader on the download/cd format of the title written by author lidster, joseph joseph lidster? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24565004_21 (appearances¹ INTEGER, name VARCHAR)
<</SYS>>
SELECT MIN(appearances¹) FROM table_24565004_21 WHERE name = "Sammy Traoré"[/INST] List the minimum impressions for sammy traoré</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1342256_32 (incumbent VARCHAR, district VARCHAR)
<</SYS>>
SELECT incumbent FROM table_1342256_32 WHERE district = "New York 10"[/INST] Who is the sitting Representative In the New York 10 polling area race?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (epicenter VARCHAR, intensity VARCHAR, date VARCHAR)
<</SYS>>
SELECT epicenter FROM table_name_10 WHERE intensity = "unknown" AND date = "march 2, 1825"[/INST] What is the epicenter of the earthquake on March 2, 1825 with an unknown intensity?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (category VARCHAR)
<</SYS>>
SELECT 2001 FROM table_name_17 WHERE category = "1.4litre to 1.8litre"[/INST] Which car won the 1.4litre to 1.8litre award in 2001?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (finals INTEGER, a_league VARCHAR, pre_season VARCHAR)
<</SYS>>
SELECT AVG(finals) FROM table_name_12 WHERE a_league = "0 6" AND pre_season > 0[/INST] Which Finals has a A-League of 0 6, and a Pre-Season larger than 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (grid INTEGER, driver VARCHAR)
<</SYS>>
SELECT MIN(grid) FROM table_name_29 WHERE driver = "prince bira"[/INST] What was the smallest grid for Prince bira?</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 = "2"[/INST] What is the away team with a 2 tie no.?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.