text_output stringlengths 114 770 |
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_3 (date VARCHAR, week VARCHAR)
<</SYS>>
SELECT date FROM table_name_3 WHERE week = 5[/INST] What is the Date of Week 5?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (total INTEGER, egyptian_premier_league VARCHAR, egypt_cup VARCHAR)
<</SYS>>
SELECT MAX(total) FROM table_name_49 WHERE egyptian_premier_league < 2 AND egypt_cup < 0[/INST] What is the highest total for players with under 2 Egyptian Premier League goals and 0 Egypt Cup goal... |
<s>[INST] <<SYS>>
CREATE TABLE table_25551880_2 (mountains_classification VARCHAR, winner VARCHAR)
<</SYS>>
SELECT mountains_classification FROM table_25551880_2 WHERE winner = "Alessandro Petacchi"[/INST] Who was awarded mountains classification when Alessandro petacchi won? </s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT home_team FROM table_name_8 WHERE away_team = "walsall"[/INST] Who was the home team when walsall was the away team?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_94 (goal_diff INTEGER, losses VARCHAR, wins VARCHAR)
<</SYS>>
SELECT SUM(goal_diff) FROM table_name_94 WHERE losses > 1 AND wins < 0[/INST] Which team has a Losses value larger than 1 and a Wins value smaller than 0?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (week_11_nov_6 VARCHAR, week_10_oct_30 VARCHAR)
<</SYS>>
SELECT week_11_nov_6 FROM table_name_99 WHERE week_10_oct_30 = "nebraska (7-1)"[/INST] What was Week 11 when Week 10 had Nebraska (7-1)?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_30121075_1 (poor_law_union VARCHAR, townland VARCHAR)
<</SYS>>
SELECT poor_law_union FROM table_30121075_1 WHERE townland = "Bohonagh"[/INST] What is the poor law union when the townland is bohonagh?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (wins INTEGER, team VARCHAR, games_played VARCHAR)
<</SYS>>
SELECT SUM(wins) FROM table_name_53 WHERE team = "ottawa hockey club" AND games_played < 10[/INST] what is the sum of wins for the ottawa hockey club when the games played is less than 10?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (away_team VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT away_team AS score FROM table_name_5 WHERE home_team = "hawthorn"[/INST] What was the away teams score when Hawthorn played as the home team?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_23184448_3 (date VARCHAR, cyclones_points VARCHAR)
<</SYS>>
SELECT date FROM table_23184448_3 WHERE cyclones_points = 46[/INST] When did the Cyclones get 46 points?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (lane INTEGER, name VARCHAR)
<</SYS>>
SELECT MAX(lane) FROM table_name_16 WHERE name = "nisha millet"[/INST] What is the highest lane for nisha millet?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (venue VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT venue FROM table_name_62 WHERE away_team = "geelong"[/INST] Where did Geelong play as the away team?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (visitor VARCHAR, home VARCHAR)
<</SYS>>
SELECT visitor FROM table_name_29 WHERE home = "ny rangers"[/INST] Name the visitor for home of ny rangers</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_97 (visitor VARCHAR, home VARCHAR, date VARCHAR)
<</SYS>>
SELECT visitor FROM table_name_97 WHERE home = "boston bruins" AND date = "november 15"[/INST] Who is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (away_team VARCHAR, venue VARCHAR)
<</SYS>>
SELECT away_team FROM table_name_24 WHERE venue = "kardinia park"[/INST] What away team played at Kardinia Park?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_67 (date VARCHAR, field VARCHAR)
<</SYS>>
SELECT date FROM table_name_67 WHERE field = "commerce bank ballpark"[/INST] What is the date of the game at Commerce Bank Ballpark?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (points_1 INTEGER, team VARCHAR, played VARCHAR)
<</SYS>>
SELECT SUM(points_1) FROM table_name_55 WHERE team = "gainsborough trinity" AND played > 46[/INST] What is the sum of Points 1, when Team is "Gainsborough Trinity", and when Played is greater than 46?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_11381701_3 (source VARCHAR, blackberry VARCHAR)
<</SYS>>
SELECT source FROM table_11381701_3 WHERE blackberry = "2.9%"[/INST] Which source shows Blackberry at 2.9%?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (sing_pres VARCHAR, sing_pret VARCHAR, subj_pres VARCHAR)
<</SYS>>
SELECT sing_pres FROM table_name_51 WHERE sing_pret = "ou" AND subj_pres = "ie"[/INST] What is the singular present that is associated with a singular preterite of ou and a subjunctive present of ie?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (score VARCHAR, game VARCHAR)
<</SYS>>
SELECT score FROM table_name_64 WHERE game = 26[/INST] What was the final score of game 26?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (rank INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR)
<</SYS>>
SELECT MIN(rank) FROM table_name_91 WHERE gold = 3 AND bronze = 4 AND total > 8[/INST] Which Rank has a Gold of 3, and a Bronze of 4, and a Total larger than 8?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_6 (rank INTEGER, silver INTEGER)
<</SYS>>
SELECT SUM(rank) FROM table_name_6 WHERE silver < 0[/INST] what is the rank when silver is less than 0?</s> |
<s>[INST] <<SYS>>
CREATE TABLE TRANSACTIONS (investor_id VARCHAR); CREATE TABLE INVESTORS (investor_id VARCHAR)
<</SYS>>
SELECT T2.investor_id FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id GROUP BY T2.investor_id HAVING COUNT(*) >= 2[/INST] Show the ids of the investors who have at le... |
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (score VARCHAR, record VARCHAR)
<</SYS>>
SELECT score FROM table_name_72 WHERE record = "43-13"[/INST] What was the score when the Spurs' record was 43-13?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_26385848_1 (director VARCHAR, film_title VARCHAR)
<</SYS>>
SELECT director FROM table_26385848_1 WHERE film_title = "Eldra"[/INST] Who is the director for the film title Eldra?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_94 (product VARCHAR)
<</SYS>>
SELECT 2003 FROM table_name_94 WHERE product = "general cargo"[/INST] What is the 2003 statistic for general cargo?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (away_team VARCHAR, crowd INTEGER)
<</SYS>>
SELECT away_team FROM table_name_69 WHERE crowd > 27 OFFSET 463[/INST] What away team played when the crowd was over 27,463 people?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (runner_s__up VARCHAR, winning_score VARCHAR)
<</SYS>>
SELECT runner_s__up FROM table_name_81 WHERE winning_score = –28(66 - 67 - 68 - 64 - 67 = 332)[/INST] Who was the runner-up when the winning score was –28 (66-67-68-64-67=332)?</s> |
<s>[INST] <<SYS>>
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE order_items (product_id VARCHAR, order_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)
<</SYS>>
SELECT COUNT(DISTINCT t3.product_id) FROM customers AS t1 JOIN customer_orders AS t2 ON t... |
<s>[INST] <<SYS>>
CREATE TABLE table_name_3 (away_team VARCHAR, crowd INTEGER)
<</SYS>>
SELECT away_team FROM table_name_3 WHERE crowd > 30 OFFSET 000[/INST] What was the away team at the match where the crowd was larger than 30,000?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (tournament VARCHAR)
<</SYS>>
SELECT 1993 FROM table_name_68 WHERE tournament = "french open"[/INST] What is the 1993 value of the French open?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (location VARCHAR, round VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT location FROM table_name_77 WHERE round = "1" AND opponent = "luiz claudio das dores"[/INST] Where was the fight located that lasted 1 round against luiz claudio das dores?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (pashto VARCHAR, malayalam VARCHAR)
<</SYS>>
SELECT pashto FROM table_name_76 WHERE malayalam = "വ്യാഴം vyazham"[/INST] What is the Pashto word for the Malayalam word വ്യാഴം vyazham?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (name VARCHAR, authors VARCHAR)
<</SYS>>
SELECT name FROM table_name_56 WHERE authors = "zhou clarke zhang"[/INST] Who is The Author of zhou clarke zhang?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (total INTEGER, free VARCHAR, technical VARCHAR)
<</SYS>>
SELECT SUM(total) FROM table_name_69 WHERE free = 47.667 AND technical < 47.417[/INST] What is the total for the person with free of 47.667, and technical less than 47.417?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (pick INTEGER, name VARCHAR, overall VARCHAR)
<</SYS>>
SELECT AVG(pick) FROM table_name_78 WHERE name = "jerry hackenbruck" AND overall < 282[/INST] What is the average pick number for jerry hackenbruck who was overall pick less than 282?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (block VARCHAR, area VARCHAR)
<</SYS>>
SELECT block FROM table_name_25 WHERE area = "northamptonshire"[/INST] Which Block does Northamptonshire Area have?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (moving_to VARCHAR, country VARCHAR)
<</SYS>>
SELECT moving_to FROM table_name_27 WHERE country = "bel"[/INST] WHAT IS THE MOVING TO LOCATION WITH BEL AS COUNTRY?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (home_team VARCHAR, result VARCHAR)
<</SYS>>
SELECT home_team FROM table_name_10 WHERE result = "124-101"[/INST] Which Home Team has a Result of 124-101?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (Id VARCHAR)
<</SYS>>
SELECT COUNT(1876) FROM table_name_64 WHERE 1872 < 1921 AND 1891 < 354[/INST] What is the total number of 1876(s), when 1872 is less than 1921, and when 1891 is less than 354?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (opened VARCHAR, major_series VARCHAR)
<</SYS>>
SELECT opened FROM table_name_84 WHERE major_series = "nascar"[/INST] What shows for opened for the Nascar Major Series?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (frequency_mhz INTEGER, erp_w VARCHAR)
<</SYS>>
SELECT AVG(frequency_mhz) FROM table_name_88 WHERE erp_w = "62"[/INST] Average frequency with ERP W of 62?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (points INTEGER, driver VARCHAR, laps VARCHAR)
<</SYS>>
SELECT SUM(points) FROM table_name_28 WHERE driver = "scott riggs" AND laps > 400[/INST] What was Scott Riggs points when he had more than 400 laps?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (yds_att VARCHAR, net_yds VARCHAR, rank VARCHAR)
<</SYS>>
SELECT COUNT(yds_att) FROM table_name_10 WHERE net_yds = 1818 AND rank > 1[/INST] What is the total number of Yds/Att where Net Yds was 1818, and Rank was larger than 1?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (cultural_and_educational_panel INTEGER, industrial_and_commercial_panel VARCHAR, agricultural_panel VARCHAR)
<</SYS>>
SELECT SUM(cultural_and_educational_panel) FROM table_name_90 WHERE industrial_and_commercial_panel = 0 AND agricultural_panel > 0[/INST] What is the total... |
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (serial_no INTEGER, headquartered_city VARCHAR)
<</SYS>>
SELECT SUM(serial_no) FROM table_name_22 WHERE headquartered_city = "narowal city"[/INST] What is the sum of the serial numbers for narowal city?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (wins INTEGER, top_10 INTEGER)
<</SYS>>
SELECT MIN(wins) FROM table_name_40 WHERE top_10 > 9[/INST] What is the lowest Wins with a Top-10 that is larger than 9?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_2784232_1 (approximate_translation VARCHAR, morphological_category VARCHAR)
<</SYS>>
SELECT approximate_translation FROM table_2784232_1 WHERE morphological_category = "1st. plur. perfect"[/INST] What are the the approximate translations when the Morphological Category is 1st. plur... |
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (constellation VARCHAR, apparent_magnitude VARCHAR, ngc_number VARCHAR)
<</SYS>>
SELECT constellation FROM table_name_60 WHERE apparent_magnitude > 7.7 AND ngc_number = 7777[/INST] Which Constellation has an Apparent magnitude larger that 7.7, and an NGC number of 7777</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_234886_3 (title VARCHAR, prod_code VARCHAR)
<</SYS>>
SELECT title FROM table_234886_3 WHERE prod_code = "2-19"[/INST] What is the title of the episode with the production code 2-19?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (week INTEGER, result VARCHAR)
<</SYS>>
SELECT MIN(week) FROM table_name_21 WHERE result = "w 31-16"[/INST] What week number saw a w 31-16 result?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (finish VARCHAR, start VARCHAR)
<</SYS>>
SELECT finish FROM table_name_76 WHERE start = "28"[/INST] Name the finish for start of 28</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_2841865_2 (representative VARCHAR, congress VARCHAR)
<</SYS>>
SELECT representative FROM table_2841865_2 WHERE congress = "112th"[/INST] What name is listed under representative for the 112th congress?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (status VARCHAR, opposing_teams VARCHAR)
<</SYS>>
SELECT status FROM table_name_70 WHERE opposing_teams = "wales"[/INST] What is the status of the Wales opposing team?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_159359_2 (start_date__1st_night_ VARCHAR, season VARCHAR)
<</SYS>>
SELECT start_date__1st_night_ FROM table_159359_2 WHERE season = "1966"[/INST] When are start dates (1st night) for the season of 1966?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (outcome VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT outcome FROM table_name_55 WHERE opponent = "jade curtis"[/INST] What is the outcome of the match with opponent Jade Curtis?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (result VARCHAR, round VARCHAR)
<</SYS>>
SELECT result FROM table_name_57 WHERE round = "sf"[/INST] What is Result, when Round is SF?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_6 (erp__analog__digital_ VARCHAR, transmitter_location VARCHAR)
<</SYS>>
SELECT erp__analog__digital_ FROM table_name_6 WHERE transmitter_location = "mount goonaneman"[/INST] What is the ERP for the Mount Goonaneman transmitter?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (year INTEGER, team VARCHAR, wins VARCHAR)
<</SYS>>
SELECT MAX(year) FROM table_name_58 WHERE team = "walker racing" AND wins > 1[/INST] Which Year is the highest that has a Team of walker racing, and Wins larger than 1?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_13608101_1 (bush_number INTEGER, others_percentage VARCHAR)
<</SYS>>
SELECT MAX(bush_number) FROM table_13608101_1 WHERE others_percentage = "1.57%"[/INST] what is the maximum bush# with others% being 1.57%</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (to_par VARCHAR, player VARCHAR)
<</SYS>>
SELECT to_par FROM table_name_66 WHERE player = "lanny wadkins"[/INST] What is the To par when Lanny Wadkins is the player?</s> |
<s>[INST] <<SYS>>
CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, director VARCHAR, mID VARCHAR)
<</SYS>>
SELECT T2.title, T1.stars, T2.director, MAX(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE director <> "null" GROUP BY director[/INST] For each director,... |
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (score VARCHAR, money___$__ VARCHAR)
<</SYS>>
SELECT score FROM table_name_77 WHERE money___$__ = 400[/INST] Which score has a prize of $400?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_16654785_2 (average_climb___percentage_ INTEGER, name VARCHAR)
<</SYS>>
SELECT MIN(average_climb___percentage_) FROM table_16654785_2 WHERE name = "Tenbosse"[/INST] What is the average climb for Tenbosse?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (profession VARCHAR, city VARCHAR)
<</SYS>>
SELECT profession FROM table_name_87 WHERE city = "leskovac"[/INST] What is the profession of the housemate from Leskovac city?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (team__number1 VARCHAR)
<</SYS>>
SELECT 1 AS st_leg FROM table_name_33 WHERE team__number1 = "ummc ekaterinburg"[/INST] Which 1st leg has a Team #1 of ummc ekaterinburg?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_23186738_6 (record VARCHAR, team VARCHAR)
<</SYS>>
SELECT record FROM table_23186738_6 WHERE team = "Houston"[/INST] Name the record for houston</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (score VARCHAR, tournament VARCHAR)
<</SYS>>
SELECT score FROM table_name_27 WHERE tournament = "zadar"[/INST] What score has zadar as the tournament?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (year_left VARCHAR, team_name VARCHAR)
<</SYS>>
SELECT year_left FROM table_name_68 WHERE team_name = "hornets"[/INST] What year did the Hornets leave the conference?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_25643046_1 (location VARCHAR, origin_time VARCHAR)
<</SYS>>
SELECT location FROM table_25643046_1 WHERE origin_time = "14:07"[/INST] Where was the quake that began at 14:07?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_17289604_38 (round_of_16 VARCHAR, round_of_32 VARCHAR)
<</SYS>>
SELECT round_of_16 FROM table_17289604_38 WHERE round_of_32 = "Koryttseva ( UKR ) W 2–6, 6–1, 7–5"[/INST] What was round of 16 when in round 32 it was koryttseva ( ukr ) w 2–6, 6–1, 7–5?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (date VARCHAR, catalog VARCHAR)
<</SYS>>
SELECT date FROM table_name_42 WHERE catalog = "32xa-112"[/INST] What was the date for the catalog 32xa-112?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_28561455_1 (no_in_series INTEGER, directed_by VARCHAR)
<</SYS>>
SELECT MAX(no_in_series) FROM table_28561455_1 WHERE directed_by = "Tom DiCillo"[/INST] What is the latest episode number that was directed by Tom Dicillo?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (appearances INTEGER, goals VARCHAR, nationality VARCHAR)
<</SYS>>
SELECT MIN(appearances) FROM table_name_85 WHERE goals = 4 AND nationality = "new zealand"[/INST] What is the least amount of appearances by new zealand when they scored 4 goals?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_27293285_6 (points VARCHAR, won VARCHAR)
<</SYS>>
SELECT points FROM table_27293285_6 WHERE won = "15"[/INST] For teams that won exactly 15, how many points were scored?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_28138035_35 (year_location VARCHAR, mens_singles VARCHAR)
<</SYS>>
SELECT year_location FROM table_28138035_35 WHERE mens_singles = "Liu Guozheng"[/INST] In what year and location did Liu Guozheng win the Mens Singles?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_19072602_1 (score VARCHAR, team_europe VARCHAR)
<</SYS>>
SELECT COUNT(score) FROM table_19072602_1 WHERE team_europe = "Mika Koivuniemi"[/INST] How many different scores did Team Europe get when Mika Koivuniemi played for them?</s> |
<s>[INST] <<SYS>>
CREATE TABLE tracks (genre_id VARCHAR); CREATE TABLE genres (name VARCHAR, id VARCHAR)
<</SYS>>
SELECT T1.name, COUNT(*) FROM genres AS T1 JOIN tracks AS T2 ON T2.genre_id = T1.id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 5[/INST] List the top 5 genres by number of tracks. List genres name and tota... |
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (original_name VARCHAR, film_title_used_in_nomination VARCHAR)
<</SYS>>
SELECT original_name FROM table_name_26 WHERE film_title_used_in_nomination = "love"[/INST] What is the real name of the movie about love?</s> |
<s>[INST] <<SYS>>
CREATE TABLE FLIGHTS (Airline VARCHAR); CREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR)
<</SYS>>
SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING COUNT(*) > 10[/INST] Find all airlines that have at least 10 flights.</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_21256068_3 (venue VARCHAR, round VARCHAR)
<</SYS>>
SELECT COUNT(venue) FROM table_21256068_3 WHERE round = "1"[/INST] how many venues were played on in round 1</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (player VARCHAR, country VARCHAR, total VARCHAR)
<</SYS>>
SELECT player FROM table_name_48 WHERE country = "united states" AND total = "154"[/INST] What is Player, when Country is "United States", and when Total is "154"?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (pick INTEGER, player VARCHAR)
<</SYS>>
SELECT AVG(pick) FROM table_name_92 WHERE player = "terry cook"[/INST] When was terry cook picked?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (block INTEGER, weight VARCHAR, height VARCHAR)
<</SYS>>
SELECT SUM(block) FROM table_name_16 WHERE weight > 82 AND height < 199[/INST] How many blocks have a weight greater than 82, and a height less than 199?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (notes VARCHAR, displacement VARCHAR)
<</SYS>>
SELECT notes FROM table_name_78 WHERE displacement = "220cid (3,604cc)"[/INST] What is the notes when the displacement is 220cid (3,604cc)?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_24425976_2 (series VARCHAR, production_code VARCHAR)
<</SYS>>
SELECT COUNT(series) FROM table_24425976_2 WHERE production_code = "111"[/INST] How many episodes in the series has a production code of 111?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_29446183_2 (fourth_place VARCHAR, winner VARCHAR)
<</SYS>>
SELECT COUNT(fourth_place) FROM table_29446183_2 WHERE winner = "Otsuka Pharmaceuticals"[/INST] How many teams came in fourth when Otsuka Pharmaceuticals won?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (tv_time VARCHAR, date VARCHAR)
<</SYS>>
SELECT tv_time FROM table_name_23 WHERE date = "january 2, 2005"[/INST] Which TV Time has a Date of january 2, 2005?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (tournament VARCHAR, runner_s__up VARCHAR)
<</SYS>>
SELECT tournament FROM table_name_38 WHERE runner_s__up = "kirk triplett"[/INST] What tournament was Kirk Triplett a runner-up in?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (losing_bonus VARCHAR, points_against VARCHAR)
<</SYS>>
SELECT losing_bonus FROM table_name_62 WHERE points_against = "588"[/INST] What Losing bonus has a Points against of 588?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (primary_sponsor_s_ VARCHAR, driver_s_ VARCHAR)
<</SYS>>
SELECT primary_sponsor_s_ FROM table_name_45 WHERE driver_s_ = "mike wallace"[/INST] Who is Mike Wallace's primary Sponsor(s)?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_1973729_2 (current_conference VARCHAR, nickname VARCHAR)
<</SYS>>
SELECT current_conference FROM table_1973729_2 WHERE nickname = "Lions"[/INST] Which conference has the nickname Lions?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (pos VARCHAR, points VARCHAR, season VARCHAR)
<</SYS>>
SELECT pos FROM table_name_37 WHERE points = "0" AND season = "2007–08"[/INST] What is the position with 0 points in Season of 2007–08?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_97 (enrollment VARCHAR, school VARCHAR)
<</SYS>>
SELECT COUNT(enrollment) FROM table_name_97 WHERE school = "laville"[/INST] What is the total enrollment at Laville?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (interview_subject VARCHAR, centerfold_model VARCHAR)
<</SYS>>
SELECT interview_subject FROM table_name_60 WHERE centerfold_model = "athena lundberg"[/INST] Which Interview subject has a Centerfold model of athena lundberg?</s> |
<s>[INST] <<SYS>>
CREATE TABLE trip (start_station_name VARCHAR, start_station_id VARCHAR, start_date VARCHAR)
<</SYS>>
SELECT start_station_name, start_station_id FROM trip WHERE start_date LIKE "8/%" GROUP BY start_station_name ORDER BY COUNT(*) DESC LIMIT 1[/INST] Which start station had the most trips starting fro... |
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (chassis VARCHAR, engine VARCHAR)
<</SYS>>
SELECT chassis FROM table_name_92 WHERE engine = "brm v8"[/INST] What chassis did the BRM V8 engine have?</s> |
<s>[INST] <<SYS>>
CREATE TABLE customers (state VARCHAR)
<</SYS>>
SELECT COUNT(*) FROM customers WHERE state = "CA"[/INST] How many customers in state of CA?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_1341522_41 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)
<</SYS>>
SELECT COUNT(incumbent) FROM table_1341522_41 WHERE party = "Republican" AND first_elected = 1974[/INST] How many republican incumbents first elected in 1974?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR)
<</SYS>>
SELECT MAX(martyred) FROM table_name_64 WHERE beatified = 1909 AND name = "john hoan trinh doan / st. john hoan" AND canonised > 1988[/INST] When was John Hoan Trinh Doan / St. John Hoan, who wa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.