text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (method VARCHAR, round VARCHAR, record VARCHAR)
<</SYS>>
SELECT method FROM table_name_37 WHERE round = 1 AND record = "4–2"[/INST] Which Method has a Round of 1, and a Record of 4–2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2231241_1 (seat_no_6 VARCHAR, seat_no_1 VARCHAR, seat_no_5 VARCHAR)
<</SYS>>
SELECT seat_no_6 FROM table_2231241_1 WHERE seat_no_1 = "Jacques Lachapelle" AND seat_no_5 = "Donald S. Dutton"[/INST] Who was seat no 6 when seat no 1 and seat no 5 were jacques lachapelle and donald s. dutton</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1590652_4 (no INTEGER, tournament VARCHAR)
<</SYS>>
SELECT MAX(no) FROM table_1590652_4 WHERE tournament = "Madrid Masters"[/INST] Name the most number when tournament is madrid masters</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (position VARCHAR, player VARCHAR)
<</SYS>>
SELECT position FROM table_name_89 WHERE player = "jason fitzgerald"[/INST] What position Jason Fitzgerald played?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (label VARCHAR, Nr VARCHAR, from_album VARCHAR, year VARCHAR)
<</SYS>>
SELECT label - Nr FROM table_name_78 WHERE year < 1968 AND label = "world pacific" AND from_album = "chile con soul"[/INST] Which Label-Nr has a Year smaller than 1968, and a Label of world pacific, and an album of chile con soul?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22883210_11 (high_points VARCHAR, game VARCHAR)
<</SYS>>
SELECT high_points FROM table_22883210_11 WHERE game = 5[/INST] When 5 is the game who has the highest amount of points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (airport VARCHAR, icao VARCHAR)
<</SYS>>
SELECT airport FROM table_name_23 WHERE icao = "ento"[/INST] What Airport's ICAO is ENTO?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10015132_21 (school_club_team VARCHAR, years_in_toronto VARCHAR)
<</SYS>>
SELECT school_club_team FROM table_10015132_21 WHERE years_in_toronto = "2004-05"[/INST] Which school did the player that played 2004-05 attend?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (score VARCHAR, date VARCHAR)
<</SYS>>
SELECT score FROM table_name_68 WHERE date = "april 11, 2007"[/INST] What was the final score for the match held on April 11, 2007?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (games VARCHAR, marks VARCHAR)
<</SYS>>
SELECT games FROM table_name_71 WHERE marks = "21"[/INST] Name the games with marks of 21</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_67 (team_2 VARCHAR)
<</SYS>>
SELECT 1 AS st_round FROM table_name_67 WHERE team_2 = "olympique lyonnais (d2)"[/INST] what is the 1st round when team 2 is olympique lyonnais (d2)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (rank VARCHAR, nation VARCHAR, total VARCHAR)
<</SYS>>
SELECT COUNT(rank) FROM table_name_39 WHERE nation = "switzerland" AND total > 2[/INST] How many ranks are for Switzerland with more than 2 total medals?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (points VARCHAR, january VARCHAR)
<</SYS>>
SELECT COUNT(points) FROM table_name_88 WHERE january = 18[/INST] How many Points have a January of 18?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (points INTEGER, drawn VARCHAR, played VARCHAR)
<</SYS>>
SELECT MAX(points) FROM table_name_95 WHERE drawn = 1 AND played > 14[/INST] Which Points have Drawn of 1, and a Played larger than 14?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (original_airdate VARCHAR, nightly_rank VARCHAR, viewers__millions_ VARCHAR)
<</SYS>>
SELECT original_airdate FROM table_name_73 WHERE nightly_rank = "#6" AND viewers__millions_ = 1.246[/INST] Original airdate for #6 with 1.246 viewers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1670921_1 (fielding_team VARCHAR, wicket VARCHAR)
<</SYS>>
SELECT fielding_team FROM table_1670921_1 WHERE wicket = "9th"[/INST] Which team is 9th in wickets?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE suppliers (customer_phone VARCHAR, supplier_phone VARCHAR); CREATE TABLE customers (customer_phone VARCHAR, supplier_phone VARCHAR)
<</SYS>>
SELECT customer_phone FROM customers UNION SELECT supplier_phone FROM suppliers[/INST] What are the phone numbers of all customers and suppliers.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17941032_1 (club VARCHAR, points VARCHAR)
<</SYS>>
SELECT club FROM table_17941032_1 WHERE points = "98"[/INST] When 98 is the points what is the club?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23995075_2 (qualifying_end_date VARCHAR)
<</SYS>>
SELECT qualifying_end_date FROM table_23995075_2 WHERE "qualifying_start_date" = "qualifying_start_date"[/INST] What is the qualifying end date when the qualifying start date is qualifying start date?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_97 (name VARCHAR, qual_2 VARCHAR)
<</SYS>>
SELECT name FROM table_name_97 WHERE qual_2 = "1:43.374"[/INST] What name has a qual 2 of 1:43.374?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (year INTEGER, engine VARCHAR, points VARCHAR)
<</SYS>>
SELECT MIN(year) FROM table_name_39 WHERE engine = "cosworth v8" AND points = 12[/INST] what's the earliest year that there was a cosworth v8 engine and 12 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (nationality VARCHAR, ranking VARCHAR, name VARCHAR)
<</SYS>>
SELECT nationality FROM table_name_13 WHERE ranking < 7 AND name = "tony stenson"[/INST] What nationality has a ranking less than 7 with tony stenson as the name?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11964047_10 (_number INTEGER)
<</SYS>>
SELECT MIN(_number) FROM table_11964047_10[/INST] What is the lowest #?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (date VARCHAR, home VARCHAR, visitor VARCHAR)
<</SYS>>
SELECT date FROM table_name_82 WHERE home = "detroit" AND visitor = "chicago"[/INST] What is the date for the home detroit and visitor was chicago?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (external_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR)
<</SYS>>
SELECT external_affairs FROM table_name_81 WHERE human_resources_ & _operations = "jakki doyle"[/INST] Who was in external affairs when Jakki Doyle was in Human Resources & Operations?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (Id VARCHAR)
<</SYS>>
SELECT 2012 FROM table_name_51 WHERE 2009 = "1r" AND 2007 = "2r"[/INST] What is the value for 2012 when the value for 2009 is 1R and the vale for 2007 is 2R?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (peak VARCHAR, project_name VARCHAR)
<</SYS>>
SELECT peak FROM table_name_14 WHERE project_name = "talakan ph 1"[/INST] What is the Peak with a Project Name that is talakan ph 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17246160_1 (wins VARCHAR, series VARCHAR)
<</SYS>>
SELECT wins FROM table_17246160_1 WHERE series = "Formula BMW World Final"[/INST] How many wins did the player have in the Formula BMW World Final?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_36 (notes VARCHAR, year VARCHAR)
<</SYS>>
SELECT notes FROM table_name_36 WHERE year = 2005[/INST] What are the notes for 2005?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (location VARCHAR, game VARCHAR)
<</SYS>>
SELECT location FROM table_name_62 WHERE game = 78[/INST] Where was game 78 held?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22871239_5 (_number VARCHAR, date VARCHAR)
<</SYS>>
SELECT _number FROM table_22871239_5 WHERE date = "November 27"[/INST] What is the game number that was on November 27? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (college VARCHAR, overall VARCHAR, name VARCHAR)
<</SYS>>
SELECT college FROM table_name_60 WHERE overall < 344 AND name = "jerry hackenbruck"[/INST] What college did jerry hackenbruck come from who had an overall pick less than 344?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (away_team VARCHAR)
<</SYS>>
SELECT away_team AS score FROM table_name_74 WHERE away_team = "footscray"[/INST] What is the away team's score when footscray is the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (year VARCHAR, actress VARCHAR)
<</SYS>>
SELECT year FROM table_name_13 WHERE actress = "shelley winters"[/INST] What year did Shelley Winters win?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (player VARCHAR, money___$__ INTEGER)
<</SYS>>
SELECT player FROM table_name_43 WHERE money___$__ < 335[/INST] Which player won less than $335?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (surface VARCHAR, partner VARCHAR)
<</SYS>>
SELECT surface FROM table_name_45 WHERE partner = "galina voskoboeva"[/INST] Which Surface has a Partner of galina voskoboeva?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (fastest_lap VARCHAR, winning_driver VARCHAR)
<</SYS>>
SELECT fastest_lap FROM table_name_40 WHERE winning_driver = "al unser"[/INST] Who had the fastest lap when Al Unser won?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (date VARCHAR, score VARCHAR)
<</SYS>>
SELECT date FROM table_name_76 WHERE score = "2–3 ot"[/INST] Score of 2–3 ot on what date?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_15442974_1 (fifth_district VARCHAR, fourth_district VARCHAR)
<</SYS>>
SELECT fifth_district FROM table_15442974_1 WHERE fourth_district = "Steve Rudoni"[/INST] Name the fifth district for steve rudoni</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (television_service VARCHAR, language VARCHAR, package_option VARCHAR)
<</SYS>>
SELECT television_service FROM table_name_20 WHERE language = "italian" AND package_option = "sky famiglia"[/INST] What television service has italian as the language, and sky famiglia as the package option?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14219514_1 (home__1st_leg_ VARCHAR)
<</SYS>>
SELECT 2 AS nd_leg FROM table_14219514_1 WHERE home__1st_leg_ = "Boca Juniors"[/INST] Who was in 2nd leg when Boca Juniors was in home (1st leg)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (gold INTEGER, nation VARCHAR, bronze VARCHAR)
<</SYS>>
SELECT SUM(gold) FROM table_name_84 WHERE nation = "norway" AND bronze > 1[/INST] What is the total gold in Norway with more than 1 bronze?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (identifier VARCHAR, power VARCHAR)
<</SYS>>
SELECT identifier FROM table_name_17 WHERE power = "22500 watts"[/INST] what is the identifier when the power is 22500 watts?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24565004_17 (goals¹ VARCHAR, name VARCHAR)
<</SYS>>
SELECT COUNT(goals¹) FROM table_24565004_17 WHERE name = "Mauricio Pochettino"[/INST] Name the number of goals for mauricio pochettino</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_262383_1 (runner_s__up VARCHAR)
<</SYS>>
SELECT 54 AS _holes FROM table_262383_1 WHERE runner_s__up = "Jimmy Demaret"[/INST] what is the number where the player was jimmy demaret</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (catalog VARCHAR, label VARCHAR, date VARCHAR)
<</SYS>>
SELECT catalog FROM table_name_31 WHERE label = "alfa records" AND date = "november 21, 1980"[/INST] What Catalog has a label of Alfa records and a date of November 21, 1980?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (molecular_target VARCHAR, disease_area VARCHAR)
<</SYS>>
SELECT molecular_target FROM table_name_45 WHERE disease_area = "antiviral"[/INST] What is the molecular target of the organism that has a disease area of antiviral?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26401898_2 (attendance INTEGER)
<</SYS>>
SELECT MIN(attendance) FROM table_26401898_2[/INST] Name the most attendance</s>
|
<s>[INST] <<SYS>>
CREATE TABLE accounts (custid VARCHAR, name VARCHAR); CREATE TABLE checking (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER)
<</SYS>>
SELECT T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T1.name IN (SELECT T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid WHERE T2.balance > (SELECT AVG(balance) FROM savings))[/INST] Find the checking balance of the accounts whose savings balance is higher than the average savings balance.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (crowd VARCHAR, venue VARCHAR)
<</SYS>>
SELECT crowd FROM table_name_4 WHERE venue = "windy hill"[/INST] What is the listed crowd at windy hill?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (artist VARCHAR, week VARCHAR)
<</SYS>>
SELECT artist FROM table_name_32 WHERE week = "top 6"[/INST] Which Artist is listed as having Top 6 in Week</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (week VARCHAR, result VARCHAR)
<</SYS>>
SELECT week FROM table_name_70 WHERE result = "w 28-17"[/INST] What is the week for Result of w 28-17?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (architecture_and_modelling VARCHAR, unit_test VARCHAR, projects_templates VARCHAR)
<</SYS>>
SELECT architecture_and_modelling FROM table_name_5 WHERE unit_test = "no" AND projects_templates = "limited"[/INST] Which Architecture and modelling has a Unit test of no, and a Projects templates of limited?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22883210_7 (location_attendance VARCHAR, game VARCHAR)
<</SYS>>
SELECT location_attendance FROM table_22883210_7 WHERE game = 41[/INST] Where was game 41 held, and how many people attended?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10360656_1 (choice INTEGER)
<</SYS>>
SELECT MIN(choice) FROM table_10360656_1[/INST] Who was the top picki n the draft?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19763199_5 (song VARCHAR, artist VARCHAR)
<</SYS>>
SELECT COUNT(song) FROM table_19763199_5 WHERE artist = "Solydo"[/INST] Name the number of song for solydo</s>
|
<s>[INST] <<SYS>>
CREATE TABLE EMPLOYEE (FirstName VARCHAR, LastName VARCHAR, City VARCHAR)
<</SYS>>
SELECT FirstName, LastName FROM EMPLOYEE WHERE City = "Calgary"[/INST] What are the first names and last names of the employees who live in Calgary city.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (date VARCHAR, result VARCHAR)
<</SYS>>
SELECT date FROM table_name_75 WHERE result = "3–0"[/INST] What is the Date of the Competition with a Result of 3–0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_225102_4 (reason_for_change VARCHAR, district VARCHAR)
<</SYS>>
SELECT reason_for_change FROM table_225102_4 WHERE district = "Pennsylvania 13th"[/INST] Name the reason for change pennsylvania 13th</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (attendance INTEGER, loss VARCHAR)
<</SYS>>
SELECT SUM(attendance) FROM table_name_83 WHERE loss = "clement (5–7)"[/INST] What is the sum of the people in attendance when there was a Loss of clement (5–7)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_225100_4 (vacator VARCHAR, district VARCHAR)
<</SYS>>
SELECT vacator FROM table_225100_4 WHERE district = "South Carolina 4th"[/INST] Who is the vacator when south carolina 4th is the district?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (monarchs_served VARCHAR, name VARCHAR)
<</SYS>>
SELECT monarchs_served FROM table_name_18 WHERE name = "stanley baldwin (1st ministry)"[/INST] What monarch(s) did Stanley Baldwin (1st ministry) serve?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, total_poll___percentage_ VARCHAR)
<</SYS>>
SELECT for___percentage_ FROM table_20683381_3 WHERE total_poll___percentage_ = "60,254 (58.0)"[/INST] When 60,254 (58.0) is the toll poll percentage what is the for percentage?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13397394_1 (completed VARCHAR, address VARCHAR)
<</SYS>>
SELECT completed FROM table_13397394_1 WHERE address = "410 22nd St E"[/INST] what is the maximum completed for address on 410 22nd st e</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (obesity_rank INTEGER, obese_children_and_adolescents VARCHAR)
<</SYS>>
SELECT SUM(obesity_rank) FROM table_name_74 WHERE obese_children_and_adolescents = "14.2%"[/INST] What's the rank when the obese children and adolescent count is 14.2%?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Teachers (first_name VARCHAR, email_address VARCHAR)
<</SYS>>
SELECT first_name FROM Teachers WHERE email_address LIKE '%man%'[/INST] Find the first names of teachers whose email address contains the word "man".</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_6 (rank INTEGER, heat VARCHAR, nationality VARCHAR, time VARCHAR)
<</SYS>>
SELECT MIN(rank) FROM table_name_6 WHERE nationality = "united states" AND time = "58.06" AND heat > 5[/INST] When the nationality is united states, and the time is 58.06, and the heat is larger than 5 what is the lowest rank?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (team VARCHAR, day_2 VARCHAR)
<</SYS>>
SELECT team FROM table_name_78 WHERE day_2 = "3:47.761"[/INST] Which team was 3:47.761 on day 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_21501565_1 (song_choice VARCHAR, theme VARCHAR)
<</SYS>>
SELECT song_choice FROM table_21501565_1 WHERE theme = "Year They Were Born"[/INST] With theme the Year They Were Born, what is the song of choice?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29127804_3 (surface VARCHAR, location VARCHAR)
<</SYS>>
SELECT surface FROM table_29127804_3 WHERE location = "Noida , Uttar Pradesh, India"[/INST] what is the material of the surface in noida , uttar pradesh, india</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (attendance INTEGER, away_team VARCHAR)
<</SYS>>
SELECT AVG(attendance) FROM table_name_82 WHERE away_team = "forest green rovers"[/INST] What is the average attendance when the Forest Green Rovers is the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (film_or_television_series_or_miniseries VARCHAR, year VARCHAR)
<</SYS>>
SELECT film_or_television_series_or_miniseries FROM table_name_16 WHERE year = 2001[/INST] What is the film, television series, or miniseries with a nomination in 2001?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (origin_of_programming VARCHAR, network VARCHAR)
<</SYS>>
SELECT origin_of_programming FROM table_name_43 WHERE network = "mtv india"[/INST] What is the Origin of Programming for the Network MTV India?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22879262_14 (high_rebounds VARCHAR, score VARCHAR)
<</SYS>>
SELECT COUNT(high_rebounds) FROM table_22879262_14 WHERE score = "L 92–96 (OT)"[/INST] Name the number of high rebounds for l 92–96 (ot)</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (airport VARCHAR, carriers VARCHAR)
<</SYS>>
SELECT airport FROM table_name_52 WHERE carriers = "malaysia airlines"[/INST] Which Airport has a Carrier of malaysia airlines?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (nationality VARCHAR, heat VARCHAR, time VARCHAR)
<</SYS>>
SELECT nationality FROM table_name_81 WHERE heat < 3 AND time = "2:35.31"[/INST] what is the nationality when the heat is less than 3 and the time is 2:35.31?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (school VARCHAR, team_name VARCHAR)
<</SYS>>
SELECT school FROM table_name_24 WHERE team_name = "red devils"[/INST] Which school are the Red Devils from?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (location VARCHAR, callsign VARCHAR)
<</SYS>>
SELECT location FROM table_name_89 WHERE callsign = "dxbl"[/INST] What is the Location of the Frequency with a Callsign of DXBL?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (tied INTEGER, pct VARCHAR, lost VARCHAR)
<</SYS>>
SELECT MAX(tied) FROM table_name_8 WHERE pct < 0.5593 AND lost = 551[/INST] What is the highest number of games tied for teams with under 551 games and a percentage of under 0.5593?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (game INTEGER, record VARCHAR)
<</SYS>>
SELECT MIN(game) FROM table_name_48 WHERE record = "32-12-3"[/INST] What is the lowest game for a record of 32-12-3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26919_7 (geez VARCHAR, proto_semitic VARCHAR)
<</SYS>>
SELECT geez FROM table_26919_7 WHERE proto_semitic = "*bayt-"[/INST] If the proto-semitic is *bayt-, what are the geez?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (opponents VARCHAR, surface VARCHAR, partnering VARCHAR)
<</SYS>>
SELECT opponents FROM table_name_23 WHERE surface = "clay" AND partnering = "horacio zeballos"[/INST] Who was the opponent on clay surface when partnered with Horacio Zeballos?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (high_rebounds VARCHAR, high_points VARCHAR)
<</SYS>>
SELECT high_rebounds FROM table_name_29 WHERE high_points = "chris bosh (34)"[/INST] Which High rebounds have High points of chris bosh (34)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (award VARCHAR, category VARCHAR, year VARCHAR)
<</SYS>>
SELECT award FROM table_name_35 WHERE category = "best actor" AND year < 1988[/INST] What is Award, when Category is "Best Actor", and when Year is less than 1988?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1346118_4 (first_elected INTEGER, incumbent VARCHAR)
<</SYS>>
SELECT MIN(first_elected) FROM table_1346118_4 WHERE incumbent = "John N. Tillman"[/INST] When was incumbent John N. Tillman first elected?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (score VARCHAR, type VARCHAR, date VARCHAR)
<</SYS>>
SELECT score FROM table_name_70 WHERE type = "international friendly" AND date = "17 august 2013"[/INST] Tell me the score for international friendly 17 august 2013</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (stadium VARCHAR, club VARCHAR)
<</SYS>>
SELECT stadium FROM table_name_77 WHERE club = "seongnam ilhwa chunma"[/INST] Which stadium has Seongnam Ilhwa Chunma?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE customers (email_address VARCHAR, customer_id VARCHAR); CREATE TABLE complaints (customer_id VARCHAR)
<</SYS>>
SELECT t1.email_address FROM customers AS t1 JOIN complaints AS t2 ON t1.customer_id = t2.customer_id GROUP BY t1.customer_id ORDER BY COUNT(*) LIMIT 1[/INST] Find the emails of customers who has filed a complaints of the product with the most complaints.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (match_report VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR)
<</SYS>>
SELECT match_report FROM table_name_13 WHERE venue = "stark's park" AND competition = "second division" AND date = "23 august 2008"[/INST] What is the match report for the game that was played on 23 august 2008 in stark's park during the second division competition?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (val_de_marne VARCHAR, seine_saint_denis VARCHAR)
<</SYS>>
SELECT val_de_marne FROM table_name_52 WHERE seine_saint_denis = "4.0%"[/INST] WHAT IS Val-de-Marne WITH Seine-Saint-Denis of 4.0%?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341395_33 (result VARCHAR, district VARCHAR)
<</SYS>>
SELECT result FROM table_1341395_33 WHERE district = "New York 7"[/INST] what are all the result for New York 7 district</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (home_captain VARCHAR, venue VARCHAR)
<</SYS>>
SELECT home_captain FROM table_name_99 WHERE venue = "edgbaston"[/INST] Who was the Home captain for the Test match of Australia in England at the Edgbaston Venue?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12828723_4 (points_for VARCHAR, played VARCHAR, tries_against VARCHAR)
<</SYS>>
SELECT points_for FROM table_12828723_4 WHERE played = "22" AND tries_against = "68"[/INST] what is the points for when the played is 22 and tries against is 68?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (record VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT record FROM table_name_72 WHERE attendance = "4,516"[/INST] When the Attendance was 4,516, what was the Record?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_273617_6 (status VARCHAR)
<</SYS>>
SELECT 2011 AS _number__, 000 AS _ FROM table_273617_6 WHERE status = "Separated"[/INST] What is the 2011 number (,000) when the status is separated?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE people (Party VARCHAR)
<</SYS>>
SELECT Party, COUNT(*) FROM people GROUP BY Party[/INST] Show different parties of people along with the number of people in each party.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (player VARCHAR, lifespan VARCHAR, rank VARCHAR, country VARCHAR)
<</SYS>>
SELECT player FROM table_name_4 WHERE rank = "t12" AND country = "taiwan" AND lifespan = "1963–"[/INST] Which Player has a Rank of t12, and a Country of taiwan, and a Lifespan of 1963–?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (class VARCHAR, points VARCHAR)
<</SYS>>
SELECT class FROM table_name_23 WHERE points = 110[/INST] Which class had 110 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27700530_15 (high_points VARCHAR, date VARCHAR)
<</SYS>>
SELECT high_points FROM table_27700530_15 WHERE date = "April 22"[/INST] Who had the most points and how many did they have on April 22? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR)
<</SYS>>
SELECT COUNT(attendance) FROM table_name_28 WHERE date = "april 25"[/INST] What is the total attendance on April 25?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.