text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12588029_3" ( "year" real, "song_title" text, "artist" text, "master_recording" text, "release_date" text, "single_pack" text ); Question: How many master recordings are there for "Famous for Nothing"? <|assistant|> SELECT COUNT("master_recording") FROM "table1_12588029_3" WHERE "song_title"='\"Famous For Nothing\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "full_time_teams" ( "team" text, "car_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "owner_s" text, "crew_chief" text ); Question: What is the biggest number of the team who's owned by Jeff Gordon? <|assistant|> SELECT MAX("num") FROM "full_time_teams" WHERE "owner_s"='Jeff Gordon';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "full_time_teams" ( "team" text, "car_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "owner_s" text, "crew_chief" text ); Question: What is the driver for the team whose primary sponsor is Quicken Loans / Haas Automation? <|assistant|> SELECT "driver_s" FROM "full_time_teams" WHERE "primary_sponsor_s"='Quicken Loans / Haas Automation';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "full_time_teams" ( "team" text, "car_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "owner_s" text, "crew_chief" text ); Question: What's the total number of crew chiefs of the Fas Lane Racing team? <|assistant|> SELECT COUNT("crew_chief") FROM "full_time_teams" WHERE "team"='FAS Lane Racing';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "loans" ( "no" real, "p" text, "name" text, "country" text, "age" real, "loan_club" text, "started" text, "ended" text, "start_source" text, "end_source" text ); Question: What date did De Vries start? <|assistant|> SELECT "started" FROM "loans" WHERE "name"='de Vries';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "loans" ( "no" real, "p" text, "name" text, "country" text, "age" real, "loan_club" text, "started" text, "ended" text, "start_source" text, "end_source" text ); Question: What is the number for De Vries? <|assistant|> SELECT MIN("no") FROM "loans" WHERE "name"='de Vries';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "loans" ( "no" real, "p" text, "name" text, "country" text, "age" real, "loan_club" text, "started" text, "ended" text, "start_source" text, "end_source" text ); Question: What was the loan club when Derry played? <|assistant|> SELECT "loan_club" FROM "loans" WHERE "name"='Derry';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "loans" ( "no" real, "p" text, "name" text, "country" text, "age" real, "loan_club" text, "started" text, "ended" text, "start_source" text, "end_source" text ); Question: Who was the loan club for the Westlake game? <|assistant|> SELECT "loan_club" FROM "loans" WHERE "name"='Westlake';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "loans" ( "no" real, "p" text, "name" text, "country" text, "age" real, "loan_club" text, "started" text, "ended" text, "start_source" text, "end_source" text ); Question: What was the position (P) for Clapham? <|assistant|> SELECT "p" FROM "loans" WHERE "name"='Clapham';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members_of_the_baltimore_county_" ( "district" text, "counties_represented" text, "delegate" text, "party" text, "first_elected" real, "committee" text ); Question: What district is represented by a Republican Appropriations Committee? <|assistant|> SELECT "district" FROM "current_members_of_the_baltimore_county_" WHERE "party"='Republican' AND "committee"='Appropriations';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members_of_the_baltimore_county_" ( "district" text, "counties_represented" text, "delegate" text, "party" text, "first_elected" real, "committee" text ); Question: What are the districts represented by the Democratic Party and a Committee in Economic Matters? <|assistant|> SELECT "district" FROM "current_members_of_the_baltimore_county_" WHERE "committee"='Economic Matters' AND "party"='Democratic';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12707313_2" ( "pos" real, "manufacturer" text, "seasons" text, "starts" real, "wins" real, "sole_supplier" real, "first_win" text, "last_win" text, "drivers" real, "constr" real ); Question: Name the number of constr with the first win at the 1978 brazilian grand prix <|assistant|> SELECT COUNT("constr") FROM "table1_12707313_2" WHERE "first_win"='1978 Brazilian Grand Prix';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12707313_2" ( "pos" real, "manufacturer" text, "seasons" text, "starts" real, "wins" real, "sole_supplier" real, "first_win" text, "last_win" text, "drivers" real, "constr" real ); Question: What was the first win for pos 6? <|assistant|> SELECT "first_win" FROM "table1_12707313_2" WHERE "pos"=6;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "clinical_pipeline_of_marine_pharmacology" ( "clinical_status" text, "compound_name" text, "trademark" text, "marine_organism" text, "chemical_class" text, "molecular_target" text, "clinical_trials" text, "disease_area" text ); Question: What is the molecular target listed under the compounded name of hemiasterlin (e7974) <|assistant|> SELECT "molecular_target" FROM "clinical_pipeline_of_marine_pharmacology" WHERE "compound_name"='Hemiasterlin (E7974)';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "clinical_pipeline_of_marine_pharmacology" ( "clinical_status" text, "compound_name" text, "trademark" text, "marine_organism" text, "chemical_class" text, "molecular_target" text, "clinical_trials" text, "disease_area" text ); Question: What is the molecular target listed under the trademark of irvalec ® <|assistant|> SELECT "molecular_target" FROM "clinical_pipeline_of_marine_pharmacology" WHERE "trademark"='Irvalec ®';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "clinical_pipeline_of_marine_pharmacology" ( "clinical_status" text, "compound_name" text, "trademark" text, "marine_organism" text, "chemical_class" text, "molecular_target" text, "clinical_trials" text, "disease_area" text ); Question: What is the compound name listed where marine organism α is worm <|assistant|> SELECT "compound_name" FROM "clinical_pipeline_of_marine_pharmacology" WHERE "marine_organism"='Worm';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "clinical_pipeline_of_marine_pharmacology" ( "clinical_status" text, "compound_name" text, "trademark" text, "marine_organism" text, "chemical_class" text, "molecular_target" text, "clinical_trials" text, "disease_area" text ); Question: How many compound names list a chemical class of depsipeptide and a clinical trials β value of 1/7? <|assistant|> SELECT COUNT("compound_name") FROM "clinical_pipeline_of_marine_pharmacology" WHERE "chemical_class"='Depsipeptide' AND "clinical_trials"='1/7';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "clinical_pipeline_of_marine_pharmacology" ( "clinical_status" text, "compound_name" text, "trademark" text, "marine_organism" text, "chemical_class" text, "molecular_target" text, "clinical_trials" text, "disease_area" text ); Question: What is the trademark listed for the molecular target : dna-binding? <|assistant|> SELECT "trademark" FROM "clinical_pipeline_of_marine_pharmacology" WHERE "molecular_target"='DNA-Binding';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "clinical_pipeline_of_marine_pharmacology" ( "clinical_status" text, "compound_name" text, "trademark" text, "marine_organism" text, "chemical_class" text, "molecular_target" text, "clinical_trials" text, "disease_area" text ); Question: How many trademarks list a molecular target of minor groove of dna and a clinical status value of phase i? <|assistant|> SELECT COUNT("trademark") FROM "clinical_pipeline_of_marine_pharmacology" WHERE "molecular_target"='Minor Groove of DNA' AND "clinical_status"='Phase I';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12722302_3" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "bens_location" text, "original_air_date" text, "u_s_viewers_million" text ); Question: What's the number of the episode directed by Tucker Gates? <|assistant|> SELECT "no" FROM "table1_12722302_3" WHERE "directed_by"='Tucker Gates';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12722302_3" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "bens_location" text, "original_air_date" text, "u_s_viewers_million" text ); Question: Who is the director of the episode titled "Cheyenne, WY"? <|assistant|> SELECT "directed_by" FROM "table1_12722302_3" WHERE "title"='\"Cheyenne, WY\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12722302_2" ( "no" real, "title" text, "directed_by" text, "written_by" text, "bens_location" text, "original_air_date" text, "u_s_viewers_million" text ); Question: What was the original air date for the episode with 3.90 u.s. viewers (millions)? <|assistant|> SELECT "original_air_date" FROM "table1_12722302_2" WHERE "u_s_viewers_million"='3.90';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12722302_2" ( "no" real, "title" text, "directed_by" text, "written_by" text, "bens_location" text, "original_air_date" text, "u_s_viewers_million" text ); Question: What is the original air date for no. 2? <|assistant|> SELECT "original_air_date" FROM "table1_12722302_2" WHERE "no"=2;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12722302_2" ( "no" real, "title" text, "directed_by" text, "written_by" text, "bens_location" text, "original_air_date" text, "u_s_viewers_million" text ); Question: Who directed "hot and bothered"? <|assistant|> SELECT "directed_by" FROM "table1_12722302_2" WHERE "title"='\"Hot and Bothered\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12722302_2" ( "no" real, "title" text, "directed_by" text, "written_by" text, "bens_location" text, "original_air_date" text, "u_s_viewers_million" text ); Question: Who directed the episode with 3.19 million u.s. viewers? <|assistant|> SELECT "directed_by" FROM "table1_12722302_2" WHERE "u_s_viewers_million"='3.19';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12740151_8" ( "model_number" text, "clock_speed" text, "l2" text, "l3" text, "fsb_speed" text, "multiplier" text, "cores" real, "threads_per_core" real, "voltage" text, "tdp_w" text, "socket" text, "release_date" text, "price_usd" text ); Question: What's the price (in USD) of the model whose L3 is 18 mb? <|assistant|> SELECT "price_usd" FROM "table1_12740151_8" WHERE "l3"='18 MB';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12740151_8" ( "model_number" text, "clock_speed" text, "l2" text, "l3" text, "fsb_speed" text, "multiplier" text, "cores" real, "threads_per_core" real, "voltage" text, "tdp_w" text, "socket" text, "release_date" text, "price_usd" text ); Question: What's the clock speed of the model that costs $910? <|assistant|> SELECT "clock_speed" FROM "table1_12740151_8" WHERE "price_usd"='$910';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "goalscorers" ( "player" text, "league" real, "scottish_cup" real, "league_cup" real, "challenge_cup" real, "total" real ); Question: what is the least amount in the tournament? <|assistant|> SELECT MIN("league_cup") FROM "goalscorers";<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "goalscorers" ( "player" text, "league" real, "scottish_cup" real, "league_cup" real, "challenge_cup" real, "total" real ); Question: what is the tourney where the winner is kevin mckinlay? <|assistant|> SELECT "league_cup" FROM "goalscorers" WHERE "player"='Kevin McKinlay';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "greco_roman_tradition" ( "day_see_irregularities" text, "sunday_s_l_sun" text, "monday_luna_moon" text, "tuesday_mars_mars" text, "wednesday_mercurius_mercury" text, "thursday_iuppiter_jupiter" text, "friday_venus_venus" text, "saturday_saturnus_saturn" text ); Question: what's the thursday iuppiter (jupiter) with tuesday mars (mars) being marterì <|assistant|> SELECT "thursday_iuppiter_jupiter" FROM "greco_roman_tradition" WHERE "tuesday_mars_mars"='Marterì';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "greco_roman_tradition" ( "day_see_irregularities" text, "sunday_s_l_sun" text, "monday_luna_moon" text, "tuesday_mars_mars" text, "wednesday_mercurius_mercury" text, "thursday_iuppiter_jupiter" text, "friday_venus_venus" text, "saturday_saturnus_saturn" text ); Question: what's the sunday sōl (sun) with friday venus (venus) being vernes <|assistant|> SELECT "sunday_s_l_sun" FROM "greco_roman_tradition" WHERE "friday_venus_venus"='vernes';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "greco_roman_tradition" ( "day_see_irregularities" text, "sunday_s_l_sun" text, "monday_luna_moon" text, "tuesday_mars_mars" text, "wednesday_mercurius_mercury" text, "thursday_iuppiter_jupiter" text, "friday_venus_venus" text, "saturday_saturnus_saturn" text ); Question: what's the thursday iuppiter (jupiter) with friday venus (venus) being vendredi <|assistant|> SELECT "thursday_iuppiter_jupiter" FROM "greco_roman_tradition" WHERE "friday_venus_venus"='vendredi';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "greco_roman_tradition" ( "day_see_irregularities" text, "sunday_s_l_sun" text, "monday_luna_moon" text, "tuesday_mars_mars" text, "wednesday_mercurius_mercury" text, "thursday_iuppiter_jupiter" text, "friday_venus_venus" text, "saturday_saturnus_saturn" text ); Question: what's the tuesday mars (mars) with day: (see irregularities ) being ancient greek <|assistant|> SELECT "tuesday_mars_mars" FROM "greco_roman_tradition" WHERE "day_see_irregularities"='Ancient Greek';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "greco_roman_tradition" ( "day_see_irregularities" text, "sunday_s_l_sun" text, "monday_luna_moon" text, "tuesday_mars_mars" text, "wednesday_mercurius_mercury" text, "thursday_iuppiter_jupiter" text, "friday_venus_venus" text, "saturday_saturnus_saturn" text ); Question: what's the saturday saturnus ( saturn) with wednesday mercurius (mercury) being mercuridi <|assistant|> SELECT "saturday_saturnus_saturn" FROM "greco_roman_tradition" WHERE "wednesday_mercurius_mercury"='Mercuridi';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "greco_roman_tradition" ( "day_see_irregularities" text, "sunday_s_l_sun" text, "monday_luna_moon" text, "tuesday_mars_mars" text, "wednesday_mercurius_mercury" text, "thursday_iuppiter_jupiter" text, "friday_venus_venus" text, "saturday_saturnus_saturn" text ); Question: what's the thursday iuppiter (jupiter) with saturday saturnus ( saturn) being jesarn <|assistant|> SELECT "thursday_iuppiter_jupiter" FROM "greco_roman_tradition" WHERE "saturday_saturnus_saturn"='Jesarn';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison" ( "sequencer" text, "ion_torrent_pgm" text, "454_gs_flx" text, "hi_seq_2000" text, "so_li_dv4" text, "pac_bio" text, "sanger_3730xl" text ); Question: What is the sequencer when ion torrent pgm is 200-400 bp? <|assistant|> SELECT "sequencer" FROM "comparison" WHERE "ion_torrent_pgm"='200-400 bp';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison" ( "sequencer" text, "ion_torrent_pgm" text, "454_gs_flx" text, "hi_seq_2000" text, "so_li_dv4" text, "pac_bio" text, "sanger_3730xl" text ); Question: How many times was Sanger 3730xl $2400 usd? <|assistant|> SELECT COUNT("ion_torrent_pgm") FROM "comparison" WHERE "sanger_3730xl"='$2400 USD';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison" ( "sequencer" text, "ion_torrent_pgm" text, "454_gs_flx" text, "hi_seq_2000" text, "so_li_dv4" text, "pac_bio" text, "sanger_3730xl" text ); Question: How much was solidv4 when pacbio is $300 usd? <|assistant|> SELECT "so_li_dv4" FROM "comparison" WHERE "pac_bio"='$300 USD';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison" ( "sequencer" text, "ion_torrent_pgm" text, "454_gs_flx" text, "hi_seq_2000" text, "so_li_dv4" text, "pac_bio" text, "sanger_3730xl" text ); Question: What is solidv4 when sequencer is data output per run? <|assistant|> SELECT "so_li_dv4" FROM "comparison" WHERE "sequencer"='Data output per run';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison" ( "sequencer" text, "ion_torrent_pgm" text, "454_gs_flx" text, "hi_seq_2000" text, "so_li_dv4" text, "pac_bio" text, "sanger_3730xl" text ); Question: WHat is hiseq 2000 when 454 gs flx is 700 bp? <|assistant|> SELECT "hi_seq_2000" FROM "comparison" WHERE "454_gs_flx"='700 bp';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison" ( "sequencer" text, "ion_torrent_pgm" text, "454_gs_flx" text, "hi_seq_2000" text, "so_li_dv4" text, "pac_bio" text, "sanger_3730xl" text ); Question: What is 454 gs flx when pacbio is 100-500 mb? <|assistant|> SELECT "454_gs_flx" FROM "comparison" WHERE "pac_bio"='100-500 Mb';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1276219_1" ( "year" real, "celebrity_partner" text, "week_num" text, "dance" text, "horwood" real, "phillips" real, "goodman" real, "tonioli" real, "total" real ); Question: How was times was the dance the jive and the week # was 10? <|assistant|> SELECT COUNT("phillips") FROM "table1_1276219_1" WHERE "dance"='Jive' AND "week_num"='10';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "days_numbered_from_monday" ( "day_see_irregularities" text, "monday_first_day" text, "tuesday_second_day" text, "wednesday_third_day" text, "thursday_fourth_day" text, "friday_fifth_day" text, "saturday_sixth_day" text, "sunday_seventh_day" text ); Question: What's the Slovene word for Thursday? <|assistant|> SELECT "thursday_fourth_day" FROM "days_numbered_from_monday" WHERE "day_see_irregularities"='Slovene';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "days_numbered_from_monday" ( "day_see_irregularities" text, "monday_first_day" text, "tuesday_second_day" text, "wednesday_third_day" text, "thursday_fourth_day" text, "friday_fifth_day" text, "saturday_sixth_day" text, "sunday_seventh_day" text ); Question: How do you say Friday in Polish? <|assistant|> SELECT "friday_fifth_day" FROM "days_numbered_from_monday" WHERE "day_see_irregularities"='Polish';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "days_numbered_from_monday" ( "day_see_irregularities" text, "monday_first_day" text, "tuesday_second_day" text, "wednesday_third_day" text, "thursday_fourth_day" text, "friday_fifth_day" text, "saturday_sixth_day" text, "sunday_seventh_day" text ); Question: What's the Croatian word for Saturday? <|assistant|> SELECT "saturday_sixth_day" FROM "days_numbered_from_monday" WHERE "day_see_irregularities"='Croatian';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indian_astrology" ( "day" text, "sunday_surya_the_sun" text, "monday_soma_the_moon" text, "tuesday_mangala_mars" text, "wednesday_budha_mercury" text, "thursday_guru_jupiter" text, "friday_shukra_venus" text, "saturday_shani_saturn" text ); Question: In the system where Sunday is ஞாயிற்று கிழமை nyāyitru kizhamai, what is Saturday? <|assistant|> SELECT "saturday_shani_saturn" FROM "indian_astrology" WHERE "sunday_surya_the_sun"='ஞாயிற்று கிழமை Nyāyitru kizhamai';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indian_astrology" ( "day" text, "sunday_surya_the_sun" text, "monday_soma_the_moon" text, "tuesday_mangala_mars" text, "wednesday_budha_mercury" text, "thursday_guru_jupiter" text, "friday_shukra_venus" text, "saturday_shani_saturn" text ); Question: In language where Wednesday is বুধবার budhbar, what is Thursday? <|assistant|> SELECT "thursday_guru_jupiter" FROM "indian_astrology" WHERE "wednesday_budha_mercury"='বুধবার Budhbar';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indian_astrology" ( "day" text, "sunday_surya_the_sun" text, "monday_soma_the_moon" text, "tuesday_mangala_mars" text, "wednesday_budha_mercury" text, "thursday_guru_jupiter" text, "friday_shukra_venus" text, "saturday_shani_saturn" text ); Question: In language where Saturday is සෙනසුරාදා senasuraadaa, what is Tuesday? <|assistant|> SELECT "tuesday_mangala_mars" FROM "indian_astrology" WHERE "saturday_shani_saturn"='සෙනසුරාදා Senasuraadaa';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indian_astrology" ( "day" text, "sunday_surya_the_sun" text, "monday_soma_the_moon" text, "tuesday_mangala_mars" text, "wednesday_budha_mercury" text, "thursday_guru_jupiter" text, "friday_shukra_venus" text, "saturday_shani_saturn" text ); Question: In language where Thursday is برس وار bres'var, what is Sunday? <|assistant|> SELECT "sunday_surya_the_sun" FROM "indian_astrology" WHERE "thursday_guru_jupiter"='برس وار Bres''var';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indian_astrology" ( "day" text, "sunday_surya_the_sun" text, "monday_soma_the_moon" text, "tuesday_mangala_mars" text, "wednesday_budha_mercury" text, "thursday_guru_jupiter" text, "friday_shukra_venus" text, "saturday_shani_saturn" text ); Question: In language where Wednesday is برھ وار budh'var, what is Saturday? <|assistant|> SELECT "saturday_shani_saturn" FROM "indian_astrology" WHERE "wednesday_budha_mercury"='برھ وار Budh''var';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1277350_7" ( "day_see_irregularities" text, "sunday_day_one" text, "monday_day_two" text, "tuesday_day_three" text, "wednesday_day_four" text, "thursday_day_five" text, "friday_day_six" text, "saturday_day_seven" text ); Question: What is saturday day seven when thursday day five is ሐሙስ hamus? <|assistant|> SELECT "saturday_day_seven" FROM "table1_1277350_7" WHERE "thursday_day_five"='ሐሙስ hamus';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1277350_7" ( "day_see_irregularities" text, "sunday_day_one" text, "monday_day_two" text, "tuesday_day_three" text, "wednesday_day_four" text, "thursday_day_five" text, "friday_day_six" text, "saturday_day_seven" text ); Question: What is thursday day five when friday day six is პარასკევი p'arask'evi? <|assistant|> SELECT "thursday_day_five" FROM "table1_1277350_7" WHERE "friday_day_six"='პარასკევი p''arask''evi';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1277350_7" ( "day_see_irregularities" text, "sunday_day_one" text, "monday_day_two" text, "tuesday_day_three" text, "wednesday_day_four" text, "thursday_day_five" text, "friday_day_six" text, "saturday_day_seven" text ); Question: What is tuesday day three when thursday day five is kamis? <|assistant|> SELECT "tuesday_day_three" FROM "table1_1277350_7" WHERE "thursday_day_five"='Kamis';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1277350_7" ( "day_see_irregularities" text, "sunday_day_one" text, "monday_day_two" text, "tuesday_day_three" text, "wednesday_day_four" text, "thursday_day_five" text, "friday_day_six" text, "saturday_day_seven" text ); Question: What is friday day six when thursday day five is پچھمبے pachhambey? <|assistant|> SELECT "friday_day_six" FROM "table1_1277350_7" WHERE "thursday_day_five"='پچھمبے pachhambey';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1277350_7" ( "day_see_irregularities" text, "sunday_day_one" text, "monday_day_two" text, "tuesday_day_three" text, "wednesday_day_four" text, "thursday_day_five" text, "friday_day_six" text, "saturday_day_seven" text ); Question: What is friday day six when monday day two is isnin? <|assistant|> SELECT "friday_day_six" FROM "table1_1277350_7" WHERE "monday_day_two"='Isnin';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1277350_7" ( "day_see_irregularities" text, "sunday_day_one" text, "monday_day_two" text, "tuesday_day_three" text, "wednesday_day_four" text, "thursday_day_five" text, "friday_day_six" text, "saturday_day_seven" text ); Question: How many time is sunday day one is ahad? <|assistant|> SELECT COUNT("thursday_day_five") FROM "table1_1277350_7" WHERE "sunday_day_one"='Ahad';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statistics" ( "year" real, "road_opened" text, "road_closed" text, "freight_carried_s_tonne" real, "super_b_capacity_reached_citation_needed" text, "number_of_truck_loads_north" real ); Question: What is the least amount of freight carried when the super b capacity reached was February 26? <|assistant|> SELECT MIN("freight_carried_s_tonne") FROM "statistics" WHERE "super_b_capacity_reached_citation_needed"='February 26';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statistics" ( "year" real, "road_opened" text, "road_closed" text, "freight_carried_s_tonne" real, "super_b_capacity_reached_citation_needed" text, "number_of_truck_loads_north" real ); Question: What is the most number of truck loads north? <|assistant|> SELECT MAX("number_of_truck_loads_north") FROM "statistics";<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statistics" ( "year" real, "road_opened" text, "road_closed" text, "freight_carried_s_tonne" real, "super_b_capacity_reached_citation_needed" text, "number_of_truck_loads_north" real ); Question: What is thea year the road closed April 13? <|assistant|> SELECT MAX("year") FROM "statistics" WHERE "road_closed"='April 13';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statistics" ( "year" real, "road_opened" text, "road_closed" text, "freight_carried_s_tonne" real, "super_b_capacity_reached_citation_needed" text, "number_of_truck_loads_north" real ); Question: When was the Super B capacity reached when the number of truck loads north was 7735? <|assistant|> SELECT "super_b_capacity_reached_citation_needed" FROM "statistics" WHERE "number_of_truck_loads_north"=7735;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "statistics" ( "year" real, "road_opened" text, "road_closed" text, "freight_carried_s_tonne" real, "super_b_capacity_reached_citation_needed" text, "number_of_truck_loads_north" real ); Question: When was the super b capacity reached when the freight carried s tonne was 198818? <|assistant|> SELECT "super_b_capacity_reached_citation_needed" FROM "statistics" WHERE "freight_carried_s_tonne"=198818;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_2011_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: How many loses corresponded to giving up 714 points? <|assistant|> SELECT "lost" FROM "2010_2011_table" WHERE "points_against"='714';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_2011_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: How many draws were there when there were 30 tries against? <|assistant|> SELECT "drawn" FROM "2010_2011_table" WHERE "tries_against"='30';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_2011_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: How many try bonuses were there when there were 64 tries for? <|assistant|> SELECT "try_bonus" FROM "2010_2011_table" WHERE "tries_for"='64';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_2011_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: Which club gave up 714 points? <|assistant|> SELECT "club" FROM "2010_2011_table" WHERE "points_against"='714';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_2011_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: What is the third entry in the row with a first entry of "club"? <|assistant|> SELECT "won" FROM "2010_2011_table" WHERE "club"='Club';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_2011_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: What is the 8th entry in the row with a first entry of "club"? <|assistant|> SELECT "tries_for" FROM "2010_2011_table" WHERE "club"='Club';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: How many were won with the points against was 450? <|assistant|> SELECT COUNT("won") FROM "2009_2010_table" WHERE "points_against"='450';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: what was the drawn when the tries for was 46? <|assistant|> SELECT "drawn" FROM "2009_2010_table" WHERE "tries_for"='46';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: What was the won when the points for was 496? <|assistant|> SELECT "won" FROM "2009_2010_table" WHERE "points_for"='496';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: What was the losing bonus when the points against was 445? <|assistant|> SELECT "losing_bonus" FROM "2009_2010_table" WHERE "points_against"='445';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: What was the tries against when the drawn was 2? <|assistant|> SELECT "tries_against" FROM "2009_2010_table" WHERE "drawn"='2';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: What was the drawn when the tries against was 89? <|assistant|> SELECT "drawn" FROM "2009_2010_table" WHERE "tries_against"='89';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_daimy" ( "num" real, "name" text, "tenure" text, "courtesy_title" text, "court_rank" text, "revenues" text, "lineage" text ); Question: What is the number of the name for number 4? <|assistant|> SELECT COUNT("name") FROM "list_of_daimy" WHERE "num"=4;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_daimy" ( "num" real, "name" text, "tenure" text, "courtesy_title" text, "court_rank" text, "revenues" text, "lineage" text ); Question: What is the most number? <|assistant|> SELECT MAX("num") FROM "list_of_daimy";<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: what amount played tried for 60? <|assistant|> SELECT COUNT("played") FROM "2007_2008_table" WHERE "tries_for"='60';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: How many played where the points were 80? <|assistant|> SELECT "played" FROM "2007_2008_table" WHERE "points"='80';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: what amount of points were lost by 13? <|assistant|> SELECT "points" FROM "2007_2008_table" WHERE "lost"='13';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: what are the total points agains the score of 63? <|assistant|> SELECT "points_against" FROM "2007_2008_table" WHERE "points"='63';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: What amount of points where points were 389? <|assistant|> SELECT COUNT("points") FROM "2007_2008_table" WHERE "points_against"='389';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: HOW MANY PLAYERS PLAYED IN THE GAME THAT WON WITH 438 POINTS <|assistant|> SELECT "played" FROM "2009_2010_table" WHERE "points_for"='438';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: HOW MANY GAMES HAD A WIN WITH A BONUS OF 11 <|assistant|> SELECT "won" FROM "2009_2010_table" WHERE "try_bonus"='11';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: HOW MANY GAMES WERE TIED AT 3? <|assistant|> SELECT "tries_for" FROM "2009_2010_table" WHERE "drawn"='3';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: HOW MANY GAMES HAD BONUS POINTS OF 6? <|assistant|> SELECT "points_for" FROM "2009_2010_table" WHERE "try_bonus"='6';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: HOW MANY GAMES WERE TIED AT 76? <|assistant|> SELECT "drawn" FROM "2009_2010_table" WHERE "points"='76';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text ); Question: HOW MANY GAMES WERE LOST BY 12 POINTS? <|assistant|> SELECT COUNT("points_for") FROM "2009_2010_table" WHERE "lost"='12';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_tour_professional_career_summar" ( "year" real, "starts" real, "cuts_made" real, "wins" real, "2nd" real, "3rd" real, "top_10" real, "top_25" real, "earnings" real, "money_list_rank" real ); Question: What was the number of earnings were cuts made are 19 and money list rank is 3? <|assistant|> SELECT "earnings" FROM "european_tour_professional_career_summar" WHERE "cuts_made"=19 AND "money_list_rank"=3;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_tour_professional_career_summar" ( "year" real, "starts" real, "cuts_made" real, "wins" real, "2nd" real, "3rd" real, "top_10" real, "top_25" real, "earnings" real, "money_list_rank" real ); Question: How many listings are under money list rank wher 2nd' value is larger than 2.0? <|assistant|> SELECT COUNT("money_list_rank") FROM "european_tour_professional_career_summar" WHERE "2nd">2.0;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "r_series_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "case_deflector" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text ); Question: what are all the barrel lengths whith the name ar-15a3 competition hbar <|assistant|> SELECT "barrel_length" FROM "r_series_models" WHERE "name"='AR-15A3 Competition HBAR';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "r_series_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "case_deflector" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text ); Question: What is the fire control for the sporter target <|assistant|> SELECT "fire_control" FROM "r_series_models" WHERE "name"='Sporter Target';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "climate" ( "city_town" text, "july_av_t" text, "rain" text, "days_with_rain_year_summer" text, "days_with_frost" real, "sunlight_hours" real ); Question: What is the days with rain figure for the city of Santiago de Compostela? <|assistant|> SELECT "days_with_rain_year_summer" FROM "climate" WHERE "city_town"='Santiago de Compostela';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "climate" ( "city_town" text, "july_av_t" text, "rain" text, "days_with_rain_year_summer" text, "days_with_frost" real, "sunlight_hours" real ); Question: How many rain figures are provided for sunlight hours in 1966? <|assistant|> SELECT COUNT("rain") FROM "climate" WHERE "sunlight_hours"=1966;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "diemaco_colt_canada_models" ( "colt_model_no" text, "diemaco_model" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text ); Question: What is the value of barrel twist when the barrel profile is SFW? <|assistant|> SELECT "barrel_twist" FROM "diemaco_colt_canada_models" WHERE "barrel_profile"='SFW';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "diemaco_colt_canada_models" ( "colt_model_no" text, "diemaco_model" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text ); Question: What kind of hand guards are associated with a rear sight of A1 and stock of A2? <|assistant|> SELECT "hand_guards" FROM "diemaco_colt_canada_models" WHERE "rear_sight"='A1' AND "stock"='A2';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "diemaco_colt_canada_models" ( "colt_model_no" text, "diemaco_model" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text ); Question: How many inches is the barrel length when the rear sight is weaver and the barrel profile is A2? <|assistant|> SELECT "barrel_length" FROM "diemaco_colt_canada_models" WHERE "rear_sight"='Weaver' AND "barrel_profile"='A2';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "le_series_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text ); Question: What is the muzzle device on the colt model le1020? <|assistant|> SELECT "muzzle_device" FROM "le_series_models" WHERE "colt_model_no"='LE1020';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "le_series_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text ); Question: What is the barrell profile that goes with the gas piston carbine? <|assistant|> SELECT "barrel_profile" FROM "le_series_models" WHERE "name"='Gas Piston Carbine';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "le_series_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text ); Question: What models have an a2 barrel profile? <|assistant|> SELECT "name" FROM "le_series_models" WHERE "barrel_profile"='A2';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "le_series_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text ); Question: What hand guard system is used with a gas piston commando? <|assistant|> SELECT "hand_guards" FROM "le_series_models" WHERE "name"='Gas Piston Commando';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "le_series_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "barrel_length" text, "barrel_profile" text, "barrel_twist" text, "hand_guards" text, "bayonet_lug" text, "muzzle_device" text ); Question: What is the bayonet lug status for a m4 hbar and m4le carbine equipped? <|assistant|> SELECT "bayonet_lug" FROM "le_series_models" WHERE "barrel_profile"='M4 HBAR' AND "name"='M4LE Carbine';<|endoftext|>