text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (task_no VARCHAR, hand_grenade_user VARCHAR)
<</SYS>>
SELECT task_no FROM table_name_98 WHERE hand_grenade_user = "cathy"[/INST] Which task had Cathy as the hand grenade user?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE book_club (publisher VARCHAR, YEAR VARCHAR)
<</SYS>>
SELECT publisher FROM book_club WHERE YEAR = 1989 INTERSECT SELECT publisher FROM book_club WHERE YEAR = 1990[/INST] Show publishers with a book published in 1989 and a book in 1990.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11734041_7 (position VARCHAR, years_for_rockets VARCHAR)
<</SYS>>
SELECT position FROM table_11734041_7 WHERE years_for_rockets = "2008"[/INST] What are all the positions for the rockets in 2008?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (city VARCHAR, icao VARCHAR)
<</SYS>>
SELECT city FROM table_name_61 WHERE icao = "oejn"[/INST] Which city has an ICAO of Oejn?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11820086_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
<</SYS>>
SELECT directed_by FROM table_11820086_1 WHERE us_viewers__millions_ = "2.57"[/INST] Who directed the episode that was viewed by 2.57 million people in the U.S.?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (date VARCHAR, opponents VARCHAR, h___a VARCHAR, league_position VARCHAR)
<</SYS>>
SELECT date FROM table_name_22 WHERE h___a = "a" AND league_position = "2nd" AND opponents = "manchester city"[/INST] What date was the game against manchester city when they had a league position of 2nd?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (story_title VARCHAR, letterer_s VARCHAR)
<</SYS>>
SELECT story_title FROM table_name_60 WHERE letterer_s = "albers"[/INST] What is the Story Title that has Albers as the Letterer?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (venue VARCHAR)
<</SYS>>
SELECT 3 AS rd_place FROM table_name_41 WHERE venue = "pardubice"[/INST] Who was the 3rd place team at Pardubice?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1601792_4 (television_station VARCHAR, transmitted VARCHAR, frequency VARCHAR)
<</SYS>>
SELECT television_station FROM table_1601792_4 WHERE transmitted = "20 kW" AND frequency = "48 UHF"[/INST] What is the station that is transmitted at 20 kw and has a frequency of 48 uhf?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27877656_7 (outcome VARCHAR, score VARCHAR)
<</SYS>>
SELECT COUNT(outcome) FROM table_27877656_7 WHERE score = "7–6 (7–3) , 6–4"[/INST] For score 7–6 (7–3) , 6–4 please mention total number of outcome</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (grid INTEGER, driver VARCHAR, laps VARCHAR)
<</SYS>>
SELECT MAX(grid) FROM table_name_73 WHERE driver = "roger williamson" AND laps < 7[/INST] What is the top grid that roger williamson lapped less than 7?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (opposition VARCHAR, year VARCHAR, venue VARCHAR)
<</SYS>>
SELECT opposition FROM table_name_51 WHERE year < 1911 AND venue = "old trafford"[/INST] Which Opposition has a Year smaller than 1911, and a Venue of old trafford?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27069503_2 (conf_record VARCHAR, overall VARCHAR)
<</SYS>>
SELECT conf_record FROM table_27069503_2 WHERE overall = "33-4-1"[/INST] What was the conference record in the season where the Pandas had an overall record of 33-4-1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (drawn INTEGER, difference VARCHAR, lost VARCHAR)
<</SYS>>
SELECT AVG(drawn) FROM table_name_30 WHERE difference = "4" AND lost > 13[/INST] What is the average drawn of the team with a difference of 4 and more than 13 losses?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (player VARCHAR, total VARCHAR)
<</SYS>>
SELECT player FROM table_name_60 WHERE total = "152"[/INST] Which player had a total of 152?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (laps VARCHAR, driver VARCHAR)
<</SYS>>
SELECT laps FROM table_name_98 WHERE driver = "olivier panis"[/INST] Which lap number had Olivier Panis as a driver?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (years VARCHAR, roll VARCHAR, authority VARCHAR, decile VARCHAR)
<</SYS>>
SELECT years FROM table_name_40 WHERE authority = "state" AND decile > 6 AND roll < 33[/INST] Name the years with authority of state and decile more than 6 with roll less than 33</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_67 (kickoff__et_ VARCHAR, result VARCHAR)
<</SYS>>
SELECT kickoff__et_ FROM table_name_67 WHERE result = "w 34–23"[/INST] Which Kickoff (ET) has a Result of w 34–23?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (faith VARCHAR, name VARCHAR)
<</SYS>>
SELECT faith FROM table_name_40 WHERE name = "belswains"[/INST] Which faith has a name of Belswains?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (displacement VARCHAR, redline__rpm_ VARCHAR, year VARCHAR)
<</SYS>>
SELECT displacement FROM table_name_29 WHERE redline__rpm_ > 4750 AND year = 2005[/INST] What is the displacement of the engine that has a Redline rpm higher than 4750, from 2005?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (number INTEGER, name VARCHAR, year_end VARCHAR)
<</SYS>>
SELECT AVG(number) FROM table_name_90 WHERE name = "cooper, c. kenneth" AND year_end > 1984[/INST] Which Number has a Name of cooper, c. kenneth, and a Year End larger than 1984?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (visitor VARCHAR, home VARCHAR)
<</SYS>>
SELECT visitor FROM table_name_20 WHERE home = "los angeles"[/INST] Which visitor has a Los Angeles home?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (set_3 VARCHAR, week VARCHAR)
<</SYS>>
SELECT set_3 FROM table_name_1 WHERE week = 6[/INST] What is set 3 on week 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (kana VARCHAR, korean_name VARCHAR)
<</SYS>>
SELECT kana FROM table_name_2 WHERE korean_name = "chungcheong-namdo"[/INST] What is the Kana of the Province with a Korean name of Chungcheong-Namdo?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (tournament VARCHAR, score_in_the_final VARCHAR)
<</SYS>>
SELECT tournament FROM table_name_65 WHERE score_in_the_final = "6–3, 6–2"[/INST] Which tournament had a final score of 6–3, 6–2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_97 (election INTEGER, third_member VARCHAR, first_party VARCHAR)
<</SYS>>
SELECT MAX(election) FROM table_name_97 WHERE third_member = "sir robert price, bt" AND first_party = "conservative"[/INST] What was the highest election with third party member Sir Robert Price, BT, and first party member conservative?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (time_elapsed VARCHAR, closest_approach VARCHAR)
<</SYS>>
SELECT time_elapsed FROM table_name_11 WHERE closest_approach = "14 february 2011"[/INST] What Time elapsed has 14 February 2011 as the Closest approach?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (team_2 VARCHAR)
<</SYS>>
SELECT 2 AS nd_leg FROM table_name_62 WHERE team_2 = "san francisco"[/INST] What's the 2nd leg for team 2 san francisco?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE body_builder (snatch INTEGER)
<</SYS>>
SELECT MIN(snatch) FROM body_builder[/INST] What is the minimum snatch score?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (crowd INTEGER, home_team VARCHAR)
<</SYS>>
SELECT MAX(crowd) FROM table_name_92 WHERE home_team = "collingwood"[/INST] How big was the crowd of the Home team of Collingwood?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25107064_2 (Ends INTEGER, pf VARCHAR)
<</SYS>>
SELECT MIN(Ends) AS won FROM table_25107064_2 WHERE pf = 78[/INST] Name the least ends won for pf being 78</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (aggregate VARCHAR, club VARCHAR)
<</SYS>>
SELECT aggregate FROM table_name_49 WHERE club = "ajax"[/INST] Which aggregate has ajax as the club?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (producer VARCHAR, director VARCHAR)
<</SYS>>
SELECT producer FROM table_name_57 WHERE director = "erik matti"[/INST] What is Director Erik Matti's Producer?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (district VARCHAR, constituency_number VARCHAR)
<</SYS>>
SELECT district FROM table_name_27 WHERE constituency_number = "60"[/INST] What district has a constituency of 60?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_256286_13 (no_votes INTEGER)
<</SYS>>
SELECT MIN(no_votes) FROM table_256286_13[/INST] What is the lowest overall amount of no votes?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27529608_21 (qtr_final__week_ INTEGER, name_name_of_act VARCHAR)
<</SYS>>
SELECT MIN(qtr_final__week_) FROM table_27529608_21 WHERE name_name_of_act = "Austin Anderson"[/INST] What is the quarterfinal week for Austin Anderson?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_93 (country VARCHAR, player VARCHAR)
<</SYS>>
SELECT country FROM table_name_93 WHERE player = "ian woosnam"[/INST] What is the country of player ian woosnam?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_100518_1 (direction VARCHAR, mantra VARCHAR)
<</SYS>>
SELECT direction FROM table_100518_1 WHERE mantra = "Oṃ Yaṃ Vāyuve Namaḥ"[/INST] Where the mantra is "oṃ yaṃ vāyuve namaḥ", what is the direction of the guardian?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_6 (team_1 VARCHAR)
<</SYS>>
SELECT 1 AS st_leg FROM table_name_6 WHERE team_1 = "everton"[/INST] Team 1, Everton, has what as a 1st leg?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (commissioned VARCHAR, fate VARCHAR)
<</SYS>>
SELECT commissioned FROM table_name_14 WHERE fate = "converted to laker, 1961; still in service"[/INST] When was the ship that had a fate of 'converted to laker, 1961; still in service' commissioned?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1140074_2 (race VARCHAR, location VARCHAR)
<</SYS>>
SELECT race AS Winner FROM table_1140074_2 WHERE location = "Jacarepaguá"[/INST] what's the race winner with location being jacarepaguá</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (silver INTEGER, bronze VARCHAR, rank VARCHAR, total VARCHAR)
<</SYS>>
SELECT AVG(silver) FROM table_name_38 WHERE rank > 7 AND total = 6 AND bronze < 2[/INST] On average, what is the number of silver medals for nations ranking higher than 7, with a total of 6 medals and fewer than 2 bronze medals?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (pos VARCHAR, driver VARCHAR)
<</SYS>>
SELECT pos FROM table_name_31 WHERE driver = "stacy compton"[/INST] What was Stacy Compton's position?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (platform_s_ VARCHAR, developer_s_ VARCHAR)
<</SYS>>
SELECT platform_s_ FROM table_name_33 WHERE developer_s_ = "rockstar games"[/INST] What's the platform that has Rockstar Games as the developer?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE TRANSACTIONS (share_count INTEGER)
<</SYS>>
SELECT SUM(share_count) FROM TRANSACTIONS[/INST] What is the total share of transactions?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (nationality VARCHAR, college VARCHAR)
<</SYS>>
SELECT nationality FROM table_name_10 WHERE college = "louisiana tech"[/INST] What's the nationality of Louisiana Tech?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (field_goals VARCHAR, player VARCHAR)
<</SYS>>
SELECT field_goals FROM table_name_8 WHERE player = "duncan thompson"[/INST] How many field goals did duncan thompson have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (total INTEGER, gold VARCHAR, rank VARCHAR)
<</SYS>>
SELECT MAX(total) FROM table_name_40 WHERE gold = 20 AND rank < 1[/INST] What is the highest total number of medals for a team ranked smaller than 1 and had 20 gold medals?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (rank INTEGER, played INTEGER)
<</SYS>>
SELECT SUM(rank) FROM table_name_47 WHERE played < 6[/INST] What is the rank for less than 6 plays?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2886617_9 (player VARCHAR, nhl_team VARCHAR)
<</SYS>>
SELECT player FROM table_2886617_9 WHERE nhl_team = "St. Louis Blues"[/INST] Who was picked for the draft by St. Louis Blues?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (attendance INTEGER, scorers VARCHAR)
<</SYS>>
SELECT AVG(attendance) FROM table_name_10 WHERE scorers = "steven, johnston, walters, mccoist, i.ferguson"[/INST] Can you tell me the average Attendance that has the Scorers of steven, johnston, walters, mccoist, i.ferguson?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE song (f_id VARCHAR, resolution INTEGER); CREATE TABLE files (file_size VARCHAR, formats VARCHAR, f_id VARCHAR)
<</SYS>>
SELECT DISTINCT T1.file_size, T1.formats FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T2.resolution < 800[/INST] List the file size and format for all songs that have resolution lower than 800.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (laps INTEGER, constructor VARCHAR, grid VARCHAR)
<</SYS>>
SELECT MIN(laps) FROM table_name_64 WHERE constructor = "ferrari" AND grid < 4[/INST] What is the least number of laps for the constructor Ferrari and where the grid number was less than 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (final_rank VARCHAR, rank_in_fs VARCHAR, rank_in_sp VARCHAR)
<</SYS>>
SELECT COUNT(final_rank) FROM table_name_37 WHERE rank_in_fs = 3 AND rank_in_sp > 4[/INST] How many skaters have a Rank in FS of 3, and a Rank in SP larger than 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2169966_1 (wins VARCHAR, starts VARCHAR)
<</SYS>>
SELECT wins FROM table_2169966_1 WHERE starts = 10[/INST] How many wins does he get when he starts at 10?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (trofeo_fast_team VARCHAR, winner VARCHAR)
<</SYS>>
SELECT trofeo_fast_team FROM table_name_58 WHERE winner = "roberto visentini"[/INST] Name the Trofeo Fast team for roberto visentini</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16331025_2 (dates__mdy_ VARCHAR, position VARCHAR, sellout___percentage_ VARCHAR)
<</SYS>>
SELECT COUNT(dates__mdy_) FROM table_16331025_2 WHERE position = 9 AND sellout___percentage_ = "81%"[/INST] Who many dates are in position 9 and the sellout is 81%?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11622829_1 (tournament VARCHAR, score VARCHAR)
<</SYS>>
SELECT tournament FROM table_11622829_1 WHERE score = "135 (-7)"[/INST] For which tournaments was the score 135 (-7)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17924362_1 (opponent VARCHAR, date VARCHAR)
<</SYS>>
SELECT opponent FROM table_17924362_1 WHERE date = "December 8"[/INST] Name the opponent for december 8</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (rank INTEGER, singapore_cup VARCHAR, name VARCHAR)
<</SYS>>
SELECT SUM(rank) FROM table_name_80 WHERE singapore_cup = "0 (1)" AND name = "masrezwan masturi"[/INST] What is the sum of Rank that when the Singapore Cup is 0 (1), and the Name is masrezwan masturi?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (date VARCHAR, location_attendance VARCHAR, game VARCHAR)
<</SYS>>
SELECT date FROM table_name_24 WHERE location_attendance = "at&t center 18,797" AND game < 57[/INST] What date was the location attendance at&t center 18,797, and a game earlier than 57?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (seats INTEGER, share_of_votes VARCHAR)
<</SYS>>
SELECT MIN(seats) FROM table_name_55 WHERE share_of_votes = "27.0%"[/INST] What is the lowest number of seats from the election with 27.0% of votes?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14945608_1 (date VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT date FROM table_14945608_1 WHERE opponent = "New York Jets"[/INST] What date did the Colts play New York Jets?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE order_items (order_id VARCHAR, order_quantity INTEGER); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE order_items (order_quantity INTEGER); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)
<</SYS>>
SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id WHERE t3.order_quantity = (SELECT MAX(order_quantity) FROM order_items)[/INST] What is the name of the customer that made the order with the largest quantity?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (winning_score VARCHAR, tournament VARCHAR)
<</SYS>>
SELECT winning_score FROM table_name_55 WHERE tournament = "mynavi abc championship"[/INST] What was the Winning score for the Mynavi ABC Championship Tournament?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17827271_1 (roleplay VARCHAR, actor_in_original_production VARCHAR)
<</SYS>>
SELECT roleplay FROM table_17827271_1 WHERE actor_in_original_production = "Alison Pargeter"[/INST] What RolePlay actor played the same role Alison Pargeter played in the original production?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (launched VARCHAR, ship VARCHAR)
<</SYS>>
SELECT launched FROM table_name_45 WHERE ship = "wyandotte"[/INST] What date was the ship 'Wyandotte' launched?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (constructor VARCHAR, rounds VARCHAR)
<</SYS>>
SELECT constructor FROM table_name_58 WHERE rounds = "5"[/INST] Who is the Constructor for round 5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2655016_9 (series__number VARCHAR, original_air_date VARCHAR)
<</SYS>>
SELECT series__number FROM table_2655016_9 WHERE original_air_date = "September 21, 2002"[/INST] What is the series # on airdate September 21, 2002?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (location VARCHAR, round VARCHAR, method VARCHAR)
<</SYS>>
SELECT location FROM table_name_65 WHERE round = 3 AND method = "decision"[/INST] Where was the fight that lasted 3 rounds and was won or loss by a decision?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (home VARCHAR, visitor VARCHAR, score VARCHAR)
<</SYS>>
SELECT home FROM table_name_87 WHERE visitor = "chicago black hawks" AND score = "2–3"[/INST] Which home team had a visitor of Chicago Black Hawks with a score of 2–3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29289372_1 (population__2010_ VARCHAR, income_classification VARCHAR, city_municipality VARCHAR)
<</SYS>>
SELECT COUNT(population__2010_) FROM table_29289372_1 WHERE income_classification = "1st Class" AND city_municipality = "Itogon, Benguet"[/INST] When itogon, benguet is the city/municipality and 1st class is the income classification how many measurements of population in 2010?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (name VARCHAR, height__m_ VARCHAR)
<</SYS>>
SELECT name FROM table_name_63 WHERE height__m_ = 2980[/INST] Which Name has a Height (m) of 2980?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20367820_16 (not_out VARCHAR, average VARCHAR)
<</SYS>>
SELECT not_out FROM table_20367820_16 WHERE average = "43.70"[/INST] How many no outs are there for an average of 43.70?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (location VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT location FROM table_name_15 WHERE opponent = "lyoto machida"[/INST] What's the location when the opponent was Lyoto Machida?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (school VARCHAR, team VARCHAR)
<</SYS>>
SELECT school FROM table_name_38 WHERE team = "wildcats"[/INST] The wildcats belong to what school?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (Id VARCHAR)
<</SYS>>
SELECT AVG(2012) FROM table_name_33 WHERE 2009 < 3.38[/INST] Which 2012 has a 2009 smaller than 3.38?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (_percentage_hydropower INTEGER, _percentage_nuclear_power VARCHAR, _percentage_oil VARCHAR, country VARCHAR)
<</SYS>>
SELECT MAX(_percentage_hydropower) FROM table_name_80 WHERE _percentage_oil < 24.5 AND country = "united arab emirates" AND _percentage_nuclear_power < 0[/INST] what is the highest % hydropower when the % oil is less than 24.5, country is united arab emirates and the % nuclear power is 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (react VARCHAR, time VARCHAR, lane VARCHAR)
<</SYS>>
SELECT COUNT(react) FROM table_name_53 WHERE time < 20.05 AND lane < 6[/INST] What is the total react number with a time less than 20.05 and a lane less than 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1331313_1 (acronym VARCHAR, department VARCHAR)
<</SYS>>
SELECT acronym FROM table_1331313_1 WHERE department = "department of Finance Kagawaran ng Pananalapi"[/INST] what's the acronym with department being department of finance kagawaran ng pananalapi</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (points INTEGER, club VARCHAR, goal_difference VARCHAR)
<</SYS>>
SELECT MAX(points) FROM table_name_9 WHERE club = "cf calvo sotelo" AND goal_difference > -3[/INST] Which Points have a Club of cf calvo sotelo, and a Goal Difference larger than -3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19215259_1 (branding VARCHAR, location VARCHAR)
<</SYS>>
SELECT branding FROM table_19215259_1 WHERE location = "Metro Manila"[/INST] What is the brand in Metro Manila?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (score VARCHAR, game VARCHAR)
<</SYS>>
SELECT score FROM table_name_1 WHERE game = 38[/INST] What is the score for game 38?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (mascot VARCHAR, school VARCHAR)
<</SYS>>
SELECT mascot FROM table_name_25 WHERE school = "warsaw"[/INST] what is the mascot when the school is warsaw?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (loss VARCHAR, record VARCHAR)
<</SYS>>
SELECT loss FROM table_name_52 WHERE record = "32–34"[/INST] What was the loss of the game when the record was 32–34?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE election (Committee VARCHAR, Party VARCHAR); CREATE TABLE party (Party_ID VARCHAR, Party VARCHAR)
<</SYS>>
SELECT T1.Committee FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T2.Party = "Democratic" INTERSECT SELECT T1.Committee FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T2.Party = "Liberal"[/INST] Which committees have delegates from both democratic party and liberal party?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19744915_22 (total VARCHAR, rank VARCHAR)
<</SYS>>
SELECT COUNT(total) FROM table_19744915_22 WHERE rank = 5[/INST] How many different total points does the couple ranked at number 5 have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2266976_1 (miles__km_ VARCHAR, race_time VARCHAR)
<</SYS>>
SELECT miles__km_ FROM table_2266976_1 WHERE race_time = "3:07:53"[/INST] How long in miles (km) was the race that lasted 3:07:53?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28498999_4 (winnings__$_ VARCHAR, score VARCHAR)
<</SYS>>
SELECT winnings__$_ FROM table_28498999_4 WHERE score = 66 - 64 - 67 - 71 = 268[/INST] What were the winnings for the score of 66-64-67-71=268?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2419754_1 (location VARCHAR, nickname VARCHAR)
<</SYS>>
SELECT COUNT(location) FROM table_2419754_1 WHERE nickname = "Billikens"[/INST] List the number of locations for the team known as the billikens.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26166836_1 (distance VARCHAR, road_race VARCHAR)
<</SYS>>
SELECT distance FROM table_26166836_1 WHERE road_race = "Great Manchester Run"[/INST] How long was the great manchester run?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14342210_13 (class VARCHAR, prior_experience VARCHAR)
<</SYS>>
SELECT COUNT(class) FROM table_14342210_13 WHERE prior_experience = "Shasta H.S."[/INST] How many entries are there for class when the prior experience is shasta h.s.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (score1 VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT score1 FROM table_name_99 WHERE opponent = "thurrock"[/INST] What was the final score for the Thurrock?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (place VARCHAR, country VARCHAR, player VARCHAR)
<</SYS>>
SELECT place FROM table_name_92 WHERE country = "united states" AND player = "jerry barber"[/INST] What place did Jerry Barber of the United States come in at?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (code INTEGER, density__inh_km²_ VARCHAR, land_area__hectares_ VARCHAR)
<</SYS>>
SELECT SUM(code) FROM table_name_24 WHERE density__inh_km²_ = 621.68 AND land_area__hectares_ > 75.28[/INST] How many codes have a density of 621.68, and a Land area (hectares) larger than 75.28?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14889048_2 (draws VARCHAR, team VARCHAR)
<</SYS>>
SELECT COUNT(draws) FROM table_14889048_2 WHERE team = "Libertad"[/INST] How may draws did libertad have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_36 (decile INTEGER, roll INTEGER)
<</SYS>>
SELECT SUM(decile) FROM table_name_36 WHERE roll > 513[/INST] What is the decile of the school with a roll larger than 513?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (tournament VARCHAR, date VARCHAR)
<</SYS>>
SELECT tournament FROM table_name_35 WHERE date = "13 november 2000"[/INST] What is the name of the tournament played 13 November 2000?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (fcc_info VARCHAR, erp_w VARCHAR, call_sign VARCHAR)
<</SYS>>
SELECT fcc_info FROM table_name_35 WHERE erp_w < 222 AND call_sign = "k297ai"[/INST] Which FCC info has a ERP W smaller than 222, and a Call sign of k297ai?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE city (city_id VARCHAR, city VARCHAR); CREATE TABLE hosting_city (year VARCHAR, host_city VARCHAR)
<</SYS>>
SELECT T2.year FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city WHERE T1.city = "Taizhou ( Zhejiang )"[/INST] What is the host year of city "Taizhou ( Zhejiang )"?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.