text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (torque VARCHAR, notes VARCHAR, engine VARCHAR)
<</SYS>>
SELECT torque FROM table_name_69 WHERE notes = "laredo, limited, overland" AND engine = "5.7l hemi v8"[/INST] what is the torque when the notes are laredo, limited, overland and the engine is 5.7l hemi v8?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (democratic_seat_plurality VARCHAR, state_ranked_in_partisan_order VARCHAR)
<</SYS>>
SELECT democratic_seat_plurality FROM table_name_91 WHERE state_ranked_in_partisan_order = "new hampshire"[/INST] What is the democratic seat plurality with partisan order of New Hampshire?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE festival_detail (Festival_Name VARCHAR, YEAR VARCHAR)
<</SYS>>
SELECT Festival_Name FROM festival_detail WHERE YEAR = 2007[/INST] What are the names of festivals held in year 2007?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23829490_1 (media_type VARCHAR, genre VARCHAR)
<</SYS>>
SELECT media_type FROM table_23829490_1 WHERE genre = "World"[/INST] What is every media type for the World genre?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE employees (department_id VARCHAR, salary INTEGER)
<</SYS>>
SELECT MIN(salary), department_id FROM employees GROUP BY department_id[/INST] return the smallest salary for every departments.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (total INTEGER, rank VARCHAR, silver VARCHAR)
<</SYS>>
SELECT MIN(total) FROM table_name_25 WHERE rank = "11" AND silver > 0[/INST] What is the smallest total number of medals for rank 11 and more than 0 silver medals?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1289860_2 (result VARCHAR, background VARCHAR)
<</SYS>>
SELECT COUNT(result) FROM table_1289860_2 WHERE background = "Prosecutor"[/INST] How many people had a prosecutor background?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (lived_when___mya__ VARCHAR, discovery___publication_of_name VARCHAR)
<</SYS>>
SELECT lived_when___mya__ FROM table_name_99 WHERE discovery___publication_of_name = "1994/2003"[/INST] Tell me lived for name of 1994/2003</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Professionals (professional_id VARCHAR, cell_number VARCHAR); CREATE TABLE Treatments (professional_id VARCHAR)
<</SYS>>
SELECT T1.professional_id, T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING COUNT(*) >= 2[/INST] Which professionals have done at least two types of treatments? List the professional id and cell phone.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (viewers__millions_ INTEGER, rating VARCHAR, weekly_rank VARCHAR, share VARCHAR)
<</SYS>>
SELECT MIN(viewers__millions_) FROM table_name_11 WHERE weekly_rank = "#3" AND share = 9 AND rating > 5[/INST] Which rating larger than 5 have the lowest amount of views in #3 rank with a share of 9?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_191105_3 (subject VARCHAR, performed_by VARCHAR)
<</SYS>>
SELECT subject FROM table_191105_3 WHERE performed_by = "Jaime Aff and Christine Langner"[/INST] WHen jaime aff and christine langner are the performers what is the subject?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (ends INTEGER, name VARCHAR, since VARCHAR)
<</SYS>>
SELECT SUM(ends) FROM table_name_58 WHERE name = "abidal" AND since > 2007[/INST] What is the sum of Ends with a Name of abidal, and has a Since larger than 2007?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11622840_1 (location VARCHAR, score VARCHAR)
<</SYS>>
SELECT COUNT(location) FROM table_11622840_1 WHERE score = "206 (-7)"[/INST] How many locations logged a score of 206 (-7)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (high_assists VARCHAR, record VARCHAR)
<</SYS>>
SELECT high_assists FROM table_name_64 WHERE record = "2-4"[/INST] Who had the highest assists when the nuggets record was 2-4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (years_for_grizzlies VARCHAR, position VARCHAR, school_club_team VARCHAR)
<</SYS>>
SELECT years_for_grizzlies FROM table_name_56 WHERE position = "point guard" AND school_club_team = "florida"[/INST] What are the years when the grizzlies had a point guard who attended the school/club Florida?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (driver VARCHAR, grid VARCHAR)
<</SYS>>
SELECT driver FROM table_name_43 WHERE grid = "22"[/INST] Which driver had a grid of 22?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (team_2 VARCHAR, team_1 VARCHAR)
<</SYS>>
SELECT team_2 FROM table_name_16 WHERE team_1 = "lokomotiva"[/INST] What team 2 has lokomotiva as team 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (label VARCHAR, format VARCHAR, region VARCHAR)
<</SYS>>
SELECT label FROM table_name_91 WHERE format = "cd" AND region = "north america"[/INST] What is the label for the CD format in North America?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (finish VARCHAR, player VARCHAR)
<</SYS>>
SELECT finish FROM table_name_26 WHERE player = "lou graham"[/INST] Name the finish with player lou graham</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (capacity VARCHAR, torque__nm__rpm VARCHAR)
<</SYS>>
SELECT capacity FROM table_name_90 WHERE torque__nm__rpm = "n·m (lb·ft) @4150"[/INST] Name the capacity for the torque of n·m (lb·ft) @4150</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (losses VARCHAR, byes INTEGER)
<</SYS>>
SELECT COUNT(losses) FROM table_name_43 WHERE byes > 0[/INST] What is the total number of losses for teams with more than 0 byes?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (delivered_as VARCHAR, locomotive VARCHAR)
<</SYS>>
SELECT delivered_as FROM table_name_64 WHERE locomotive = "h3"[/INST] What is the Delivered as name of the H3 Locomotive?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (losses INTEGER, appearances VARCHAR, wins VARCHAR, rank VARCHAR)
<</SYS>>
SELECT SUM(losses) FROM table_name_60 WHERE wins < 2 AND rank = 10 AND appearances > 3[/INST] Tell me the sum of losses for wins less than 2 and rank of 10 with appearances larger than 3</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (points INTEGER, extra_points VARCHAR, field_goals VARCHAR)
<</SYS>>
SELECT AVG(points) FROM table_name_33 WHERE extra_points = 0 AND field_goals > 0[/INST] Who had a points average with 0 extra points and 0 field goals?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (type VARCHAR, name VARCHAR)
<</SYS>>
SELECT type FROM table_name_35 WHERE name = "sanctuary"[/INST] What is the film type for the movie Sanctuary?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (format VARCHAR, catalog VARCHAR)
<</SYS>>
SELECT format FROM table_name_21 WHERE catalog = "mobil 1"[/INST] What format was used for Mobil 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14407512_9 (points VARCHAR)
<</SYS>>
SELECT 1 AS st__m_ FROM table_14407512_9 WHERE points = "272.7"[/INST] What is the 1st(m) score for the Person who had a total points of 272.7</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (land_area__km²_ INTEGER, name VARCHAR, population_density__per_km²_ VARCHAR, population__2006_ VARCHAR)
<</SYS>>
SELECT MAX(land_area__km²_) FROM table_name_12 WHERE population_density__per_km²_ > 112.6 AND population__2006_ > 785 AND name = "pinehouse"[/INST] Which Land area (km²) has a Population density (per km²) larger than 112.6, and a Population (2006) larger than 785, and a Name of pinehouse?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2140071_13 (episode VARCHAR, coach VARCHAR)
<</SYS>>
SELECT episode AS Summary FROM table_2140071_13 WHERE coach = "Rebecca Star"[/INST] What is the summary for the episode with a coach named Rebecca Star?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1301373_7 (Vice VARCHAR, captain VARCHAR, club VARCHAR)
<</SYS>>
SELECT Vice - captain FROM table_1301373_7 WHERE club = "Melbourne Victory"[/INST] Name the vice captain for melbourne victory</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17650725_1 (internal_transfers INTEGER)
<</SYS>>
SELECT MIN(internal_transfers) FROM table_17650725_1[/INST] Name the least internal transfers</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (character_name VARCHAR, voice_actor__japanese_ VARCHAR)
<</SYS>>
SELECT character_name FROM table_name_82 WHERE voice_actor__japanese_ = "naoko watanabe"[/INST] what character did naoko watanabe play</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (finish VARCHAR, wins VARCHAR)
<</SYS>>
SELECT finish FROM table_name_41 WHERE wins = "reno bighorns"[/INST] What is the Finish of the Reno Bighorns Wins?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (lost VARCHAR, points VARCHAR)
<</SYS>>
SELECT lost FROM table_name_61 WHERE points = "dissolved"[/INST] What is the Lost when the points were dissolved?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (ground VARCHAR, competition VARCHAR, time VARCHAR)
<</SYS>>
SELECT ground FROM table_name_83 WHERE competition = "tim trophy" AND time = "23:00 cet"[/INST] What is the ground of the tim trophy competition, which had a time of 23:00 cet?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (lambda_functions VARCHAR, eval_function VARCHAR, functions VARCHAR, pseudorandom_number_generation VARCHAR, s_default_argument VARCHAR)
<</SYS>>
SELECT lambda_functions FROM table_name_10 WHERE pseudorandom_number_generation = "no" AND s_default_argument = "no" AND functions = "no" AND eval_function = "no"[/INST] What is the lambda function without a pseudorandom number generation, no s default argument, no functions, and no eval function?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (venue VARCHAR, position VARCHAR, event VARCHAR, year VARCHAR)
<</SYS>>
SELECT venue FROM table_name_82 WHERE event = "4x400m relay" AND year > 2002 AND position = "4th"[/INST] Is there a Venus that's a year later than 2002, with an Event of 4x400m relay in 4th Position?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16225511_2 (wins INTEGER, school VARCHAR)
<</SYS>>
SELECT MAX(wins) FROM table_16225511_2 WHERE school = "Texas"[/INST] What's the largest amount of wins Texas has? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (manchu___möllendorff__ VARCHAR, wu_xing_correlations VARCHAR, wuu_wuupin VARCHAR)
<</SYS>>
SELECT manchu___möllendorff__ FROM table_name_48 WHERE wu_xing_correlations = "南 south" AND wuu_wuupin = "ting44"[/INST] What's Manchu (Möllendorff) with the Wi Xing Correltation of 南 South, along with Wuu Wuupin of ting44?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (trans_1 VARCHAR, total_time VARCHAR)
<</SYS>>
SELECT trans_1 FROM table_name_28 WHERE total_time = "2:00:40.20"[/INST] How long did the trans 1 take when 2:00:40.20 is the total time?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (date VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT date FROM table_name_81 WHERE away_team = "footscray"[/INST] On what date the footscray's away game?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_97 (council VARCHAR)
<</SYS>>
SELECT 2003 AS _result FROM table_name_97 WHERE council = "falkirk"[/INST] What's the 2003 result for the falkirk council?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE district (district_id VARCHAR, district_name VARCHAR); CREATE TABLE store_district (store_id VARCHAR, district_id VARCHAR); CREATE TABLE store (store_name VARCHAR, store_id VARCHAR)
<</SYS>>
SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id WHERE t3.district_name = "Khanewal District"[/INST] Find the names of all stores in Khanewal District.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (points VARCHAR, tries VARCHAR, appearance VARCHAR)
<</SYS>>
SELECT COUNT(points) FROM table_name_51 WHERE tries = 0 AND appearance < 0[/INST] How many times is tries 0 and appearance less than 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (film VARCHAR, rank VARCHAR, director_s_ VARCHAR)
<</SYS>>
SELECT film FROM table_name_40 WHERE rank = "nominated" AND director_s_ = "dana dorian"[/INST] Which film, directed by Dana Dorian, was nominated?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (nation VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR)
<</SYS>>
SELECT nation FROM table_name_87 WHERE bronze < 1 AND silver < 1 AND gold > 1[/INST] Which nation has a Bronze and Silver smaller than 1 and a Gold larger than 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (round INTEGER, nominees VARCHAR)
<</SYS>>
SELECT MIN(round) FROM table_name_98 WHERE nominees = "david mundy"[/INST] what is the earliest round for nominee david mundy?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1156428_2 (worcs_f_c_matches VARCHAR, name_of_ground VARCHAR)
<</SYS>>
SELECT worcs_f_c_matches FROM table_1156428_2 WHERE name_of_ground = "Chester Road North Ground"[/INST] There were 68 worcs f-c matches played on Chester Road North Ground.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (joined VARCHAR, founded VARCHAR, current_conference VARCHAR)
<</SYS>>
SELECT joined FROM table_name_2 WHERE founded < 1856 AND current_conference = "big south (ncaa division i)"[/INST] What joined that was founded prior to year 1856 and whose current conference is the Big South (NCAA Division I)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE medicine (name VARCHAR, trade_name VARCHAR); CREATE TABLE medicine_enzyme_interaction (medicine_id VARCHAR, enzyme_id VARCHAR); CREATE TABLE medicine (name VARCHAR, trade_name VARCHAR, id VARCHAR); CREATE TABLE enzyme (id VARCHAR, product VARCHAR)
<</SYS>>
SELECT name, trade_name FROM medicine EXCEPT SELECT T1.name, T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id JOIN enzyme AS T3 ON T3.id = T2.enzyme_id WHERE T3.product = 'Protoporphyrinogen IX'[/INST] Show the medicine names and trade names that cannot interact with the enzyme with product 'Heme'.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (game INTEGER, date VARCHAR)
<</SYS>>
SELECT AVG(game) FROM table_name_4 WHERE date = "march 2"[/INST] Which game was played on march 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_15162479_8 (eviction_result VARCHAR, eviction_no VARCHAR, vote_to_save VARCHAR)
<</SYS>>
SELECT COUNT(eviction_result) FROM table_15162479_8 WHERE eviction_no = 12 AND vote_to_save = "2.76%"[/INST] How many eviction results occurred with a eviction no. 12 and a vote to save of 2.76%?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27529608_21 (age_s_ VARCHAR, act VARCHAR)
<</SYS>>
SELECT age_s_ FROM table_27529608_21 WHERE act = "Rapper"[/INST] What is the age of the act who is a rapper?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (longitude VARCHAR, ansi_code VARCHAR, water__sqmi_ VARCHAR)
<</SYS>>
SELECT COUNT(longitude) FROM table_name_1 WHERE ansi_code = 1036573 AND water__sqmi_ < 0.404[/INST] What;s the total of Longitude with an ANSI code of 1036573 and has Water (sqmi) that is smaller than 0.404?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12441518_1 (recurring_cast_seasons VARCHAR, character VARCHAR)
<</SYS>>
SELECT recurring_cast_seasons FROM table_12441518_1 WHERE character = "Nick Lucas"[/INST] What seasons does Nick Lucas appear in?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (total INTEGER, bronze VARCHAR, silver VARCHAR)
<</SYS>>
SELECT MIN(total) FROM table_name_37 WHERE bronze = 5 AND silver < 1[/INST] Which Total has a Bronze of 5, and a Silver smaller than 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (height_in_ft VARCHAR, years_for_rockets VARCHAR)
<</SYS>>
SELECT height_in_ft FROM table_name_78 WHERE years_for_rockets = "2005-06"[/INST] What is the Height for Years for Rockets of 2005-06?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (nationality VARCHAR, position VARCHAR, pick__number VARCHAR)
<</SYS>>
SELECT nationality FROM table_name_79 WHERE position = "right wing" AND pick__number = "20"[/INST] What Nationality has a Position of right wing, with a #20 pick?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (team VARCHAR, year VARCHAR)
<</SYS>>
SELECT team FROM table_name_45 WHERE year = 2000[/INST] Which Team has a Year of 2000?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (lap_length VARCHAR, category VARCHAR)
<</SYS>>
SELECT lap_length FROM table_name_50 WHERE category = "grand prix fia"[/INST] What is the Lap Length of the race with a Grand Prix Fia Category?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (date VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT date FROM table_name_50 WHERE away_team = "richmond"[/INST] On what date was Richmond hosted as the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27091128_2 (team VARCHAR, replaced_by VARCHAR)
<</SYS>>
SELECT team FROM table_27091128_2 WHERE replaced_by = "Ercan Ertemçöz"[/INST] What team's manager was replaced by Ercan Ertemçöz?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24384861_1 (video_out VARCHAR, version VARCHAR)
<</SYS>>
SELECT COUNT(video_out) FROM table_24384861_1 WHERE version = "SoundDock Portable"[/INST] how many video out connections does the sounddock portable have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2182562_2 (winnings VARCHAR, starts VARCHAR)
<</SYS>>
SELECT winnings FROM table_2182562_2 WHERE starts = 15[/INST] How high was the amount of winnings (in $) in the year with 15 starts?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (wins INTEGER, manufacturer VARCHAR, rank VARCHAR)
<</SYS>>
SELECT MAX(wins) FROM table_name_71 WHERE manufacturer = "honda" AND rank = 8[/INST] Manufacturer of honda, and a Rank of 8 had what highest wins?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_94 (home VARCHAR, away VARCHAR)
<</SYS>>
SELECT home FROM table_name_94 WHERE away = "toronto rebels"[/INST] What is the Home with an Away that is toronto rebels?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11210576_4 (final_episode VARCHAR, character VARCHAR)
<</SYS>>
SELECT COUNT(final_episode) AS Count FROM table_11210576_4 WHERE character = "Rick Stetler"[/INST] what's the total number of final epbeingode count with character being rick stetler</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (lms_nos VARCHAR, date VARCHAR, no_built VARCHAR)
<</SYS>>
SELECT lms_nos FROM table_name_63 WHERE date = "1879-81" AND no_built = 4[/INST] In 1879-81 with number built 4, what is the LMS nos?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, department_id VARCHAR)
<</SYS>>
SELECT first_name, last_name, hire_date FROM employees WHERE department_id = (SELECT department_id FROM employees WHERE first_name = "Clara")[/INST] display the employee name ( first name and last name ) and hire date for all employees in the same department as Clara.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (pba_team VARCHAR, player VARCHAR)
<</SYS>>
SELECT pba_team FROM table_name_42 WHERE player = "richard bachmann"[/INST] What is Richard Bachmann's PBA team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27902171_4 (high_assists VARCHAR, record VARCHAR)
<</SYS>>
SELECT high_assists FROM table_27902171_4 WHERE record = "0-1"[/INST] Who had the high assist total when the team was 0-1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (nationality VARCHAR, round VARCHAR, player VARCHAR)
<</SYS>>
SELECT nationality FROM table_name_10 WHERE round < 5 AND player = "bruce affleck"[/INST] Can you tell me the Nationality that has the Round smaller than 5, and the Player of bruce affleck?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1342359_5 (party VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT party FROM table_1342359_5 WHERE incumbent = "William E. Evans"[/INST] what's the party with incumbent being william e. evans</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (serial_format VARCHAR, design VARCHAR, serials_issued VARCHAR)
<</SYS>>
SELECT serial_format FROM table_name_72 WHERE design = "white on blue" AND serials_issued = "ss-00-00 to zz-99-99"[/INST] What is the serial format for white on blue with a serial issued of ss-00-00 to zz-99-99?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (attendance INTEGER, score VARCHAR)
<</SYS>>
SELECT SUM(attendance) FROM table_name_12 WHERE score = "98–111"[/INST] How many people were in attendance for the game with a score of 98–111?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (chemical_class VARCHAR, example VARCHAR)
<</SYS>>
SELECT chemical_class FROM table_name_90 WHERE example = "chloroethane (ethyl chloride)"[/INST] Which chemical class uses the example Chloroethane (ethyl chloride)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (home VARCHAR, date VARCHAR)
<</SYS>>
SELECT home FROM table_name_73 WHERE date = "november 26"[/INST] Who was home on November 26?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (pre_season INTEGER, a_league VARCHAR, finals VARCHAR)
<</SYS>>
SELECT MIN(pre_season) FROM table_name_4 WHERE a_league = "0 1" AND finals > 0[/INST] Which Pre-Season has a A-League of 0 1, and a Finals larger than 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (model_number VARCHAR, voltage VARCHAR, frequency VARCHAR)
<</SYS>>
SELECT model_number FROM table_name_2 WHERE voltage = "2.0v" AND frequency = "350 mhz"[/INST] What is Model Number, when Voltage is 2.0V, and when Frequency is 350 mhz?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17120964_5 (venue VARCHAR, date VARCHAR)
<</SYS>>
SELECT venue FROM table_17120964_5 WHERE date = "19th"[/INST] Name the venue for 19th date</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_94 (church_name VARCHAR, sub_parish__sokn_ VARCHAR)
<</SYS>>
SELECT church_name FROM table_name_94 WHERE sub_parish__sokn_ = "fresvik"[/INST] What is the church in the Sub-Parish of Fresvik called?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (game VARCHAR, location VARCHAR)
<</SYS>>
SELECT game FROM table_name_63 WHERE location = "chicago stadium"[/INST] Which game number was played at Chicago Stadium?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Person (gender VARCHAR, age INTEGER)
<</SYS>>
SELECT COUNT(*), gender FROM Person WHERE age < 40 GROUP BY gender[/INST] Find the number of people who is under 40 for each gender.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (notes VARCHAR, country VARCHAR)
<</SYS>>
SELECT notes FROM table_name_26 WHERE country = "denmark"[/INST] What is the notes for the rowers from denmark?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (winner VARCHAR, series VARCHAR)
<</SYS>>
SELECT winner FROM table_name_63 WHERE series = "astc round 8"[/INST] Who was the winner for ASTC round 8?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (position VARCHAR, height__cm_ VARCHAR, name VARCHAR)
<</SYS>>
SELECT position FROM table_name_68 WHERE height__cm_ > 180 AND name = "brian lawton"[/INST] What position has a height (cm) greater than 180, and brian lawton as the name?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (points VARCHAR, assists VARCHAR, rebounds VARCHAR)
<</SYS>>
SELECT COUNT(points) FROM table_name_83 WHERE assists = 5 AND rebounds < 16[/INST] How many points were there when there were less than 16 rebounds and 5 assists?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (date VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT date FROM table_name_70 WHERE attendance = "25,022"[/INST] What was the date of the game attended by 25,022?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (daytime VARCHAR, saturday VARCHAR, name VARCHAR)
<</SYS>>
SELECT daytime FROM table_name_5 WHERE saturday = "yes" AND name = "exmouth"[/INST] Name the Daytime which has Saturday of yes and a Name of exmouth?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (attendance INTEGER, visitor VARCHAR)
<</SYS>>
SELECT MAX(attendance) FROM table_name_12 WHERE visitor = "los angeles"[/INST] For all games with los angeles as visitor, what is the highest attendance of all?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (pole_position VARCHAR, grand_prix VARCHAR)
<</SYS>>
SELECT pole_position FROM table_name_83 WHERE grand_prix = "german grand prix"[/INST] What is the Pole Position for the German Grand Prix</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16439764_1 (time_to_ft__m__at_25°__seconds_ VARCHAR, shell__lb_ VARCHAR, max_height__ft_ VARCHAR)
<</SYS>>
SELECT time_to_ft__m__at_25°__seconds_ FROM table_16439764_1 WHERE shell__lb_ = "12.5" AND max_height__ft_ > 20000.0[/INST] Where the height range is higher than 20000.0 and the shell weight is 12.5, what is the time to feet ratio at 25 degrees?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (collaboration VARCHAR, indication VARCHAR)
<</SYS>>
SELECT collaboration FROM table_name_5 WHERE indication = "non-hodgkin lymphoma"[/INST] What company collaborated with non-hodgkin lymphoma?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (power__kw_ VARCHAR, location VARCHAR)
<</SYS>>
SELECT power__kw_ FROM table_name_75 WHERE location = "metro manila"[/INST] Which Power has Location in metro manila</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (nationality VARCHAR, school_country VARCHAR)
<</SYS>>
SELECT nationality FROM table_name_72 WHERE school_country = "temple"[/INST] Which nationality is associated with Temple?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (Id VARCHAR)
<</SYS>>
SELECT 2007 FROM table_name_7 WHERE 2003 = "2r" AND 2004 = "1r"[/INST] Which 2007 has a 2003 of 2r, and a 2004 of 1r?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23982399_1 (challenger VARCHAR, overall_episode__number VARCHAR)
<</SYS>>
SELECT challenger FROM table_23982399_1 WHERE overall_episode__number = 5[/INST] Who was the challenger on Episode 5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24319661_3 (no_in_season VARCHAR, us_viewers__million_ VARCHAR)
<</SYS>>
SELECT COUNT(no_in_season) FROM table_24319661_3 WHERE us_viewers__million_ = "3.81"[/INST] How many episodes in the season had 3.81 million US viewers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (investment_income VARCHAR, region VARCHAR)
<</SYS>>
SELECT investment_income FROM table_name_30 WHERE region = "eastern england"[/INST] Region of eastern england has what investment income?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (socket VARCHAR, sspec_number VARCHAR)
<</SYS>>
SELECT socket FROM table_name_96 WHERE sspec_number = "standard power"[/INST] What is the socket when the sSpec number is standard power?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.