text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26919_6" ( "english" text, "proto_semitic" text, "ipa" text, "arabic" text, "hebrew" text, "tigrinya" text, "sabaean" text ); Question: Name the hebrew for tisʕ- <|assistant|> SELECT "hebrew" FROM "table1_26919_6" WHERE "arabic"='tisʕ-';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26919_6" ( "english" text, "proto_semitic" text, "ipa" text, "arabic" text, "hebrew" text, "tigrinya" text, "sabaean" text ); Question: Name the tigrinya for χams- <|assistant|> SELECT COUNT("tigrinya") FROM "table1_26919_6" WHERE "arabic"='χams-';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26919_6" ( "english" text, "proto_semitic" text, "ipa" text, "arabic" text, "hebrew" text, "tigrinya" text, "sabaean" text ); Question: Name the hebrew for *tišʻ- <|assistant|> SELECT "hebrew" FROM "table1_26919_6" WHERE "proto_semitic"='*tišʻ-';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26919_6" ( "english" text, "proto_semitic" text, "ipa" text, "arabic" text, "hebrew" text, "tigrinya" text, "sabaean" text ); Question: Name the arabic for ħamuʃte <|assistant|> SELECT "arabic" FROM "table1_26919_6" WHERE "tigrinya"='ħamuʃte';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26919_6" ( "english" text, "proto_semitic" text, "ipa" text, "arabic" text, "hebrew" text, "tigrinya" text, "sabaean" text ); Question: Name the sabaean for sabʕ- <|assistant|> SELECT "sabaean" FROM "table1_26919_6" WHERE "arabic"='sabʕ-';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "incoming_manager" text, "date_of_appointment" text, "position_in_table" text ); Question: Who is the incoming manager when the date of vacancy was 21 march 2011? <|assistant|> SELECT "incoming_manager" FROM "managerial_changes" WHERE "date_of_vacancy"='21 March 2011';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "incoming_manager" text, "date_of_appointment" text, "position_in_table" text ); Question: What is the position in table when the date of vacancy was 4 january 2011? <|assistant|> SELECT "position_in_table" FROM "managerial_changes" WHERE "date_of_vacancy"='4 January 2011';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "incoming_manager" text, "date_of_appointment" text, "position_in_table" text ); Question: What is the team when the incoming manager is martin allen? <|assistant|> SELECT "team" FROM "managerial_changes" WHERE "incoming_manager"='Martin Allen';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "incoming_manager" text, "date_of_appointment" text, "position_in_table" text ); Question: Who is the incoming manager when the date of appointment is 9 march 2011? <|assistant|> SELECT "incoming_manager" FROM "managerial_changes" WHERE "date_of_appointment"='9 March 2011';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "incoming_manager" text, "date_of_appointment" text, "position_in_table" text ); Question: What is the team when the date of appointment is 23 march 2011? <|assistant|> SELECT "team" FROM "managerial_changes" WHERE "date_of_appointment"='23 March 2011';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "incoming_manager" text, "date_of_appointment" text, "position_in_table" text ); Question: what is the date of appointment 11 june 2010? <|assistant|> SELECT "team" FROM "managerial_changes" WHERE "date_of_appointment"='11 June 2010';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_aftershocks" ( "date_yyyy_mm_dd" text, "time_utc" text, "latitude" text, "longitude" text, "depth" text, "magnitude" text ); Question: What is the depth at the UTC time of 12:19:36? <|assistant|> SELECT "depth" FROM "list_of_aftershocks" WHERE "time_utc"='12:19:36';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_aftershocks" ( "date_yyyy_mm_dd" text, "time_utc" text, "latitude" text, "longitude" text, "depth" text, "magnitude" text ); Question: What is the date for the UTC time of 03:15:46? <|assistant|> SELECT "date_yyyy_mm_dd" FROM "list_of_aftershocks" WHERE "time_utc"='03:15:46';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26952212_1" ( "no_in_total" text, "no_in_series" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: What is the title for episode number 30? <|assistant|> SELECT "title" FROM "table1_26952212_1" WHERE "no_in_total"='30';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26952212_1" ( "no_in_total" text, "no_in_series" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: What is the number in series of the episode titled "beauty and the beast"? <|assistant|> SELECT "no_in_series" FROM "table1_26952212_1" WHERE "title"='\"Beauty and the Beast\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26952212_1" ( "no_in_total" text, "no_in_series" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); Question: What is the number in series for the episode title "crossroads"? <|assistant|> SELECT "no_in_series" FROM "table1_26952212_1" WHERE "title"='\"Crossroads\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "orthologs" ( "common_name" text, "genus_species" text, "ncbi_accession_number" text, "length_aa" real, "pct_identity_to_c7orf38" real, "pct_similarity_to_c7orf38" real ); Question: What is the % identity to C7orf38 of the animal whose genus & species is Mus Musculus? <|assistant|> SELECT MAX("pct_identity_to_c7orf38") FROM "orthologs" WHERE "genus_species"='Mus musculus';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "orthologs" ( "common_name" text, "genus_species" text, "ncbi_accession_number" text, "length_aa" real, "pct_identity_to_c7orf38" real, "pct_similarity_to_c7orf38" real ); Question: What is the length (AA) of the animal whose NCBI accession number is CAM15594.1? <|assistant|> SELECT MIN("length_aa") FROM "orthologs" WHERE "ncbi_accession_number"='CAM15594.1';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "orthologs" ( "common_name" text, "genus_species" text, "ncbi_accession_number" text, "length_aa" real, "pct_identity_to_c7orf38" real, "pct_similarity_to_c7orf38" real ); Question: What is the % similarity to C7orf38 of the animal whose % identity to C7orf38 is 81? <|assistant|> SELECT MAX("pct_similarity_to_c7orf38") FROM "orthologs" WHERE "pct_identity_to_c7orf38"=81;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "orthologs" ( "common_name" text, "genus_species" text, "ncbi_accession_number" text, "length_aa" real, "pct_identity_to_c7orf38" real, "pct_similarity_to_c7orf38" real ); Question: What is the common name of the animal whose length (AA) is 1323? <|assistant|> SELECT "common_name" FROM "orthologs" WHERE "length_aa"=1323;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "orthologs" ( "common_name" text, "genus_species" text, "ncbi_accession_number" text, "length_aa" real, "pct_identity_to_c7orf38" real, "pct_similarity_to_c7orf38" real ); Question: What is the % identity to C7orf38 of the animal whose common name is rat? <|assistant|> SELECT MIN("pct_identity_to_c7orf38") FROM "orthologs" WHERE "common_name"='Rat';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "orthologs" ( "common_name" text, "genus_species" text, "ncbi_accession_number" text, "length_aa" real, "pct_identity_to_c7orf38" real, "pct_similarity_to_c7orf38" real ); Question: What is the genus & species of the animal whose accession number is XP_002439156.1? <|assistant|> SELECT "genus_species" FROM "orthologs" WHERE "ncbi_accession_number"='XP_002439156.1';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26961951_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_million" text ); Question: How many episodes were written by Alison McDonald? <|assistant|> SELECT COUNT("directed_by") FROM "table1_26961951_4" WHERE "written_by"='Alison McDonald';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26961951_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_million" text ); Question: How many viewers in millions did the Alison McDonald episode get? <|assistant|> SELECT "u_s_viewers_million" FROM "table1_26961951_4" WHERE "written_by"='Alison McDonald';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26961951_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_million" text ); Question: How many viewers in millions did "batting practice" get? <|assistant|> SELECT "u_s_viewers_million" FROM "table1_26961951_4" WHERE "title"='\"Batting Practice\"';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bolt_thrust_estimations_for_various_rifl" ( "chambering" text, "p1_diameter_mm" text, "a_external_cm_2" text, "p_max_bar" real, "f_bolt_kgf" real, "f_bolt" text ); Question: What is the p max ( bar ) for the 6876 f bolt ( kgf )? <|assistant|> SELECT MIN("p_max_bar") FROM "bolt_thrust_estimations_for_various_rifl" WHERE "f_bolt_kgf"=6876;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bolt_thrust_estimations_for_various_rifl" ( "chambering" text, "p1_diameter_mm" text, "a_external_cm_2" text, "p_max_bar" real, "f_bolt_kgf" real, "f_bolt" text ); Question: What is the p1 diameter (mm) when .300 lapua magnum is the chambering? <|assistant|> SELECT "p1_diameter_mm" FROM "bolt_thrust_estimations_for_various_rifl" WHERE "chambering"='.300 Lapua Magnum';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bolt_thrust_estimations_for_various_rifl" ( "chambering" text, "p1_diameter_mm" text, "a_external_cm_2" text, "p_max_bar" real, "f_bolt_kgf" real, "f_bolt" text ); Question: What is the chambering for the 8339 f bolt ( kgf )? <|assistant|> SELECT "chambering" FROM "bolt_thrust_estimations_for_various_rifl" WHERE "f_bolt_kgf"=8339;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bolt_thrust_estimations_for_various_rifl" ( "chambering" text, "p1_diameter_mm" text, "a_external_cm_2" text, "p_max_bar" real, "f_bolt_kgf" real, "f_bolt" text ); Question: What is the f bolt for 11.35 p1 diameter (mm)? <|assistant|> SELECT "f_bolt" FROM "bolt_thrust_estimations_for_various_rifl" WHERE "p1_diameter_mm"='11.35';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bolt_thrust_estimations_for_various_rifl" ( "chambering" text, "p1_diameter_mm" text, "a_external_cm_2" text, "p_max_bar" real, "f_bolt_kgf" real, "f_bolt" text ); Question: How many external (cm 2 ) are there for the .338 lapua magnum chambering? <|assistant|> SELECT COUNT("a_external_cm_2") FROM "bolt_thrust_estimations_for_various_rifl" WHERE "chambering"='.338 Lapua Magnum';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26968451_2" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text ); Question: Who is the director for the series # 39? <|assistant|> SELECT "directed_by" FROM "table1_26968451_2" WHERE "series_num"=39;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bolt_thrust_estimations_for_various_pist" ( "chambering" text, "p1_diameter_mm" text, "a_external_cm_2" text, "p_max_bar" real, "f_bolt_kgf" real, "f_bolt" text ); Question: With what type of chambering is the F bolt n (lbf) and the P max (bar) 3900? <|assistant|> SELECT "chambering" FROM "bolt_thrust_estimations_for_various_pist" WHERE "f_bolt"='N (lbf)' AND "p_max_bar"=3900;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bolt_thrust_estimations_for_various_pist" ( "chambering" text, "p1_diameter_mm" text, "a_external_cm_2" text, "p_max_bar" real, "f_bolt_kgf" real, "f_bolt" text ); Question: What is the p max (bar) of the pistol with a P1 diameter of 9.70 mm? <|assistant|> SELECT "p_max_bar" FROM "bolt_thrust_estimations_for_various_pist" WHERE "p1_diameter_mm"='9.70';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bolt_thrust_estimations_for_various_pist" ( "chambering" text, "p1_diameter_mm" text, "a_external_cm_2" text, "p_max_bar" real, "f_bolt_kgf" real, "f_bolt" text ); Question: What is the p max (bar) in the pistol where the chambering is .45 ACP? <|assistant|> SELECT MAX("p_max_bar") FROM "bolt_thrust_estimations_for_various_pist" WHERE "chambering"='.45 ACP';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bolt_thrust_estimations_for_various_pist" ( "chambering" text, "p1_diameter_mm" text, "a_external_cm_2" text, "p_max_bar" real, "f_bolt_kgf" real, "f_bolt" text ); Question: What is the P max (bar) of the pistol with a P1 diameter of 12.09 mm? <|assistant|> SELECT "p_max_bar" FROM "bolt_thrust_estimations_for_various_pist" WHERE "p1_diameter_mm"='12.09';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "incoming_manager" text, "date_of_appointment" text ); Question: Who was the incoming manager for the date of appointment of 15 january 2011? <|assistant|> SELECT "incoming_manager" FROM "managerial_changes" WHERE "date_of_appointment"='15 January 2011';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "incoming_manager" text, "date_of_appointment" text ); Question: What is the date of appointment for the date of vacancy of 22 august 2010? <|assistant|> SELECT "date_of_appointment" FROM "managerial_changes" WHERE "date_of_vacancy"='22 August 2010';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "incoming_manager" text, "date_of_appointment" text ); Question: Who was the outgoing manager for the team of târgu mureş? <|assistant|> SELECT "outgoing_manager" FROM "managerial_changes" WHERE "team"='Târgu Mureş';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "incoming_manager" text, "date_of_appointment" text ); Question: How many date of appointments are there when the date of vacancy was 2 october 2010? <|assistant|> SELECT COUNT("date_of_appointment") FROM "managerial_changes" WHERE "date_of_vacancy"='2 October 2010';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "incoming_manager" text, "date_of_appointment" text ); Question: Who was the outgoing manager when the incoming manager was laurenţiu reghecampf? <|assistant|> SELECT "outgoing_manager" FROM "managerial_changes" WHERE "incoming_manager"='Laurenţiu Reghecampf';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "incoming_manager" text, "date_of_appointment" text ); Question: What was the manner of departure when the outgoing manager was andrea mandorlini? <|assistant|> SELECT "manner_of_departure" FROM "managerial_changes" WHERE "outgoing_manager"='Andrea Mandorlini';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stadia_and_attendances" ( "team" text, "stadium" text, "capacity" real, "total" real, "highest" real, "lowest" real, "average" real ); Question: What is the capacity for dundee united? <|assistant|> SELECT "capacity" FROM "stadia_and_attendances" WHERE "team"='Dundee United';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stadia_and_attendances" ( "team" text, "stadium" text, "capacity" real, "total" real, "highest" real, "lowest" real, "average" real ); Question: What was the total attendance at rugby park? <|assistant|> SELECT "total" FROM "stadia_and_attendances" WHERE "stadium"='Rugby Park';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stadia_and_attendances" ( "team" text, "stadium" text, "capacity" real, "total" real, "highest" real, "lowest" real, "average" real ); Question: What is the total attended for kilmarnock? <|assistant|> SELECT MIN("total") FROM "stadia_and_attendances" WHERE "team"='Kilmarnock';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_senior_manx_grand_prix_practice_tim" ( "rank" real, "rider" text, "sat_21_aug" text, "mon_23_aug" text, "tues_24_aug" text, "wed_25_aug" text, "thurs_26_aug" text, "fri_27_aug" text, "sat_28_aug" text ); Question: How many times was the time 19' 38.87 115.219mph on Fri Aug 27? <|assistant|> SELECT COUNT("mon_23_aug") FROM "2010_senior_manx_grand_prix_practice_tim" WHERE "fri_27_aug"='19'' 38.87 115.219mph';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_senior_manx_grand_prix_practice_tim" ( "rank" real, "rider" text, "sat_21_aug" text, "mon_23_aug" text, "tues_24_aug" text, "wed_25_aug" text, "thurs_26_aug" text, "fri_27_aug" text, "sat_28_aug" text ); Question: If the time on Tues Aug 24 is 20' 49.46 108.709mph, what is the time on Fri Aug 27? <|assistant|> SELECT "fri_27_aug" FROM "2010_senior_manx_grand_prix_practice_tim" WHERE "tues_24_aug"='20'' 49.46 108.709mph';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_senior_manx_grand_prix_practice_tim" ( "rank" real, "rider" text, "sat_21_aug" text, "mon_23_aug" text, "tues_24_aug" text, "wed_25_aug" text, "thurs_26_aug" text, "fri_27_aug" text, "sat_28_aug" text ); Question: If Wed Aug 25 is —— no time, what is Sat aug 21? <|assistant|> SELECT "sat_21_aug" FROM "2010_senior_manx_grand_prix_practice_tim" WHERE "wed_25_aug"='—— No Time';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_senior_manx_grand_prix_practice_tim" ( "rank" real, "rider" text, "sat_21_aug" text, "mon_23_aug" text, "tues_24_aug" text, "wed_25_aug" text, "thurs_26_aug" text, "fri_27_aug" text, "sat_28_aug" text ); Question: If the Rank is 10, what was the time on Sat aug 28? <|assistant|> SELECT "sat_28_aug" FROM "2010_senior_manx_grand_prix_practice_tim" WHERE "rank"=10;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_senior_manx_grand_prix_practice_tim" ( "rank" real, "rider" text, "sat_21_aug" text, "mon_23_aug" text, "tues_24_aug" text, "wed_25_aug" text, "thurs_26_aug" text, "fri_27_aug" text, "sat_28_aug" text ); Question: How many times was the time 20' 05.19 112.703mph on Thurs Aug 26th? <|assistant|> SELECT COUNT("sat_21_aug") FROM "2010_senior_manx_grand_prix_practice_tim" WHERE "thurs_26_aug"='20'' 05.19 112.703mph';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_senior_manx_grand_prix_practice_tim" ( "rank" real, "rider" text, "sat_21_aug" text, "mon_23_aug" text, "tues_24_aug" text, "wed_25_aug" text, "thurs_26_aug" text, "fri_27_aug" text, "sat_28_aug" text ); Question: If the time on Wed aug 25 was 20' 09.25 112.324mph, what was the time on sat Aug 28? <|assistant|> SELECT "sat_28_aug" FROM "2010_senior_manx_grand_prix_practice_tim" WHERE "wed_25_aug"='20'' 09.25 112.324mph';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_junior_manx_grand_prix_practice_tim" ( "rank" real, "rider" text, "sat_21_aug" text, "mon_23_aug" text, "tues_24_aug" text, "wed_25_aug" text, "thurs_26_aug" text, "fri_27_aug" text, "sat_29_aug" text ); Question: How many times was tues 24 aug 19' 19.83 117.110mph? <|assistant|> SELECT COUNT("rank") FROM "2010_junior_manx_grand_prix_practice_tim" WHERE "tues_24_aug"='19'' 19.83 117.110mph';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_junior_manx_grand_prix_practice_tim" ( "rank" real, "rider" text, "sat_21_aug" text, "mon_23_aug" text, "tues_24_aug" text, "wed_25_aug" text, "thurs_26_aug" text, "fri_27_aug" text, "sat_29_aug" text ); Question: how many time is fri 27 aug 19' 38.87 115.219mph? <|assistant|> SELECT COUNT("sat_29_aug") FROM "2010_junior_manx_grand_prix_practice_tim" WHERE "fri_27_aug"='19'' 38.87 115.219mph';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_junior_manx_grand_prix_practice_tim" ( "rank" real, "rider" text, "sat_21_aug" text, "mon_23_aug" text, "tues_24_aug" text, "wed_25_aug" text, "thurs_26_aug" text, "fri_27_aug" text, "sat_29_aug" text ); Question: what is wed 25 aug when mon 23 aug is 26' 57.82 89.957mph? <|assistant|> SELECT "wed_25_aug" FROM "2010_junior_manx_grand_prix_practice_tim" WHERE "mon_23_aug"='26'' 57.82 89.957mph';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_junior_manx_grand_prix_practice_tim" ( "rank" real, "rider" text, "sat_21_aug" text, "mon_23_aug" text, "tues_24_aug" text, "wed_25_aug" text, "thurs_26_aug" text, "fri_27_aug" text, "sat_29_aug" text ); Question: What is thurs 26 aug when wed 25 aug is 19' 59.98 113.192mph? <|assistant|> SELECT "thurs_26_aug" FROM "2010_junior_manx_grand_prix_practice_tim" WHERE "wed_25_aug"='19'' 59.98 113.192mph';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_junior_manx_grand_prix_practice_tim" ( "rank" real, "rider" text, "sat_21_aug" text, "mon_23_aug" text, "tues_24_aug" text, "wed_25_aug" text, "thurs_26_aug" text, "fri_27_aug" text, "sat_29_aug" text ); Question: what is mon 23 aug when fri 27 aug is 18' 59.25 119.226mph? <|assistant|> SELECT "mon_23_aug" FROM "2010_junior_manx_grand_prix_practice_tim" WHERE "fri_27_aug"='18'' 59.25 119.226mph';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_lightweight_manx_grand_prix_practic" ( "rank" real, "rider" text, "sat_21_aug" text, "mon_23_aug" text, "tues_24_aug" text, "wed_25_aug" text, "thurs_26_aug" text, "fri_27_aug" text, "sat_29_aug" text ); Question: When 8 is the rank what is the Saturday August 21st? <|assistant|> SELECT "sat_21_aug" FROM "2010_lightweight_manx_grand_prix_practic" WHERE "rank"=8;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_lightweight_manx_grand_prix_practic" ( "rank" real, "rider" text, "sat_21_aug" text, "mon_23_aug" text, "tues_24_aug" text, "wed_25_aug" text, "thurs_26_aug" text, "fri_27_aug" text, "sat_29_aug" text ); Question: When 20' 58.50 107.929mph is Friday August 27th What is Tuesday 24th August? <|assistant|> SELECT "tues_24_aug" FROM "2010_lightweight_manx_grand_prix_practic" WHERE "fri_27_aug"='20'' 58.50 107.929mph';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_lightweight_manx_grand_prix_practic" ( "rank" real, "rider" text, "sat_21_aug" text, "mon_23_aug" text, "tues_24_aug" text, "wed_25_aug" text, "thurs_26_aug" text, "fri_27_aug" text, "sat_29_aug" text ); Question: When 21' 18.87 106.209mph is Tuesday August 24th what is Monday August 23rd? <|assistant|> SELECT "mon_23_aug" FROM "2010_lightweight_manx_grand_prix_practic" WHERE "tues_24_aug"='21'' 18.87 106.209mph';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_lightweight_manx_grand_prix_practic" ( "rank" real, "rider" text, "sat_21_aug" text, "mon_23_aug" text, "tues_24_aug" text, "wed_25_aug" text, "thurs_26_aug" text, "fri_27_aug" text, "sat_29_aug" text ); Question: When 21' 10.25 106.930mph is Tuesday August 24th what is Saturday August 29th? <|assistant|> SELECT "sat_29_aug" FROM "2010_lightweight_manx_grand_prix_practic" WHERE "tues_24_aug"='21'' 10.25 106.930mph';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_lightweight_manx_grand_prix_practic" ( "rank" real, "rider" text, "sat_21_aug" text, "mon_23_aug" text, "tues_24_aug" text, "wed_25_aug" text, "thurs_26_aug" text, "fri_27_aug" text, "sat_29_aug" text ); Question: When 21' 05.83 107.304mph is Wednesday August 25th what is Friday August 27th? <|assistant|> SELECT "fri_27_aug" FROM "2010_lightweight_manx_grand_prix_practic" WHERE "wed_25_aug"='21'' 05.83 107.304mph';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_lightweight_manx_grand_prix_practic" ( "rank" real, "rider" text, "sat_21_aug" text, "mon_23_aug" text, "tues_24_aug" text, "wed_25_aug" text, "thurs_26_aug" text, "fri_27_aug" text, "sat_29_aug" text ); Question: When tom snow 250cc honda is the rider what is Monday August 23rd? <|assistant|> SELECT "mon_23_aug" FROM "2010_lightweight_manx_grand_prix_practic" WHERE "rider"='Tom Snow 250cc Honda';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26982362_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" text ); Question: The episode with the original airdate October 8, 2010, is directed by who? <|assistant|> SELECT "directed_by" FROM "table1_26982362_2" WHERE "original_airdate"='October 8, 2010';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26982362_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" text ); Question: Who directed the episode with production code 693-004? <|assistant|> SELECT "directed_by" FROM "table1_26982362_2" WHERE "production_code"='693-004';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26982362_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" text ); Question: The episode with production code 693-002, has how many original airdates? <|assistant|> SELECT COUNT("original_airdate") FROM "table1_26982362_2" WHERE "production_code"='693-002';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_26982362_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" text ); Question: What is the title of the episode whose original airdate is April 23, 2010? <|assistant|> SELECT "title" FROM "table1_26982362_2" WHERE "original_airdate"='April 23, 2010';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_newcomers_race_a_practice_times_and" ( "rank" real, "rider" text, "sat_21_aug" text, "mon_23_aug" text, "tues_24_aug" text, "wed_25_aug" text, "thurs_26_aug" text, "fri_27_aug" text, "sat_28_aug" text ); Question: Who had the time of 22' 09.44 93.840mph on Tuesday August 24th? <|assistant|> SELECT "rider" FROM "2010_newcomers_race_a_practice_times_and" WHERE "tues_24_aug"='22'' 09.44 93.840mph';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "3500_series_bloomfield" ( "model" text, "speed_g_hz" text, "l3_cache_mb" real, "qpi_speed_gt_s" text, "ddr3_clock_m_hz" real, "tdp_w" real, "cores" real, "threads" real, "turbo_boost" text ); Question: What is the L3 cache for the processor having a speed of 2.93 GHz? <|assistant|> SELECT "l3_cache_mb" FROM "3500_series_bloomfield" WHERE "speed_g_hz"='2.93';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "3500_series_bloomfield" ( "model" text, "speed_g_hz" text, "l3_cache_mb" real, "qpi_speed_gt_s" text, "ddr3_clock_m_hz" real, "tdp_w" real, "cores" real, "threads" real, "turbo_boost" text ); Question: How many entries have a speed of exactly 2.53 GHz? <|assistant|> SELECT COUNT("cores") FROM "3500_series_bloomfield" WHERE "speed_g_hz"='2.53';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "3500_series_bloomfield" ( "model" text, "speed_g_hz" text, "l3_cache_mb" real, "qpi_speed_gt_s" text, "ddr3_clock_m_hz" real, "tdp_w" real, "cores" real, "threads" real, "turbo_boost" text ); Question: What is the speed of the model whose number is W3540? <|assistant|> SELECT "speed_g_hz" FROM "3500_series_bloomfield" WHERE "model"='W3540';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_post_classic_senior_class_practice_" ( "rank" real, "rider" text, "sat_21_aug" text, "mon_23_aug" text, "tues_24_aug" text, "wed_25_aug" text, "thurs_26_aug" text, "fri_27_aug" text, "sat_28_aug" text ); Question: What was the Weds 25 Aug time for the driver whose Aug 27 time was 22' 23.97 101.065mph? <|assistant|> SELECT "wed_25_aug" FROM "2010_post_classic_senior_class_practice_" WHERE "fri_27_aug"='22'' 23.97 101.065mph';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_post_classic_senior_class_practice_" ( "rank" real, "rider" text, "sat_21_aug" text, "mon_23_aug" text, "tues_24_aug" text, "wed_25_aug" text, "thurs_26_aug" text, "fri_27_aug" text, "sat_28_aug" text ); Question: What was the Sat 21 Aug time for the driver whose Thurs 26 Aug time was 20' 56.01 108.143mph? <|assistant|> SELECT "sat_21_aug" FROM "2010_post_classic_senior_class_practice_" WHERE "thurs_26_aug"='20'' 56.01 108.143mph';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_post_classic_senior_class_practice_" ( "rank" real, "rider" text, "sat_21_aug" text, "mon_23_aug" text, "tues_24_aug" text, "wed_25_aug" text, "thurs_26_aug" text, "fri_27_aug" text, "sat_28_aug" text ); Question: What was the Sat 21 Aug time for the rider whose Tues 24 Aug time was 20' 38.40 109.680mph? <|assistant|> SELECT "sat_21_aug" FROM "2010_post_classic_senior_class_practice_" WHERE "tues_24_aug"='20'' 38.40 109.680mph';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "political_divisions" ( "city_municipality" text, "no_of_s_barangay" real, "population_2010" real, "area_km" text, "pop_density_per_km" text ); Question: Name the area for population of 53542 <|assistant|> SELECT "area_km" FROM "political_divisions" WHERE "population_2010"=53542;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "political_divisions" ( "city_municipality" text, "no_of_s_barangay" real, "population_2010" real, "area_km" text, "pop_density_per_km" text ); Question: Name the number of barangay for 205.4 density <|assistant|> SELECT "no_of_s_barangay" FROM "political_divisions" WHERE "pop_density_per_km"='205.4';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "7100_series_tulsa" ( "model" text, "speed_g_hz" text, "l2_cache_mb" real, "l3_cache_mb" real, "fsb_m_hz" real, "tdp_w" real ); Question: How many different FSB are there for the 7140N model? <|assistant|> SELECT COUNT("fsb_m_hz") FROM "7100_series_tulsa" WHERE "model"='7140N';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "7100_series_tulsa" ( "model" text, "speed_g_hz" text, "l2_cache_mb" real, "l3_cache_mb" real, "fsb_m_hz" real, "tdp_w" real ); Question: How many different L2 cache numbers are there for the 7130M model? <|assistant|> SELECT COUNT("l2_cache_mb") FROM "7100_series_tulsa" WHERE "model"='7130M';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "7100_series_tulsa" ( "model" text, "speed_g_hz" text, "l2_cache_mb" real, "l3_cache_mb" real, "fsb_m_hz" real, "tdp_w" real ); Question: What's the maximal L3 cache for any of the models given? <|assistant|> SELECT MAX("l2_cache_mb") FROM "7100_series_tulsa";<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "7100_series_tulsa" ( "model" text, "speed_g_hz" text, "l2_cache_mb" real, "l3_cache_mb" real, "fsb_m_hz" real, "tdp_w" real ); Question: What's the TDP for the 7130N model? <|assistant|> SELECT MIN("tdp_w") FROM "7100_series_tulsa" WHERE "model"='7130N';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "7100_series_tulsa" ( "model" text, "speed_g_hz" text, "l2_cache_mb" real, "l3_cache_mb" real, "fsb_m_hz" real, "tdp_w" real ); Question: What's the L2 cache for the 7140N model? <|assistant|> SELECT "l2_cache_mb" FROM "7100_series_tulsa" WHERE "model"='7140N';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_four" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: what is the cfl team where college is waterloo? <|assistant|> SELECT COUNT("cfl_team") FROM "round_four" WHERE "college"='Waterloo';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What college did Jim Bennett attend? <|assistant|> SELECT "college" FROM "round_one" WHERE "player"='Jim Bennett';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What CFL Team was Barry Jamieson a part of? <|assistant|> SELECT "cfl_team" FROM "round_one" WHERE "player"='Barry Jamieson';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What college did the player who played DE go to? <|assistant|> SELECT "college" FROM "round_one" WHERE "position"='DE';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What was Barry Jamieson's pick number? <|assistant|> SELECT MAX("pick_num") FROM "round_one" WHERE "player"='Barry Jamieson';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What college did Bob Larose attend? <|assistant|> SELECT "college" FROM "round_one" WHERE "player"='Bob LaRose';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: where college is british columbia what are all the player <|assistant|> SELECT "player" FROM "round_two" WHERE "college"='British Columbia';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: where college is st. francis xavier what are all the pick # <|assistant|> SELECT "pick_num" FROM "round_two" WHERE "college"='St. Francis Xavier';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: player is jim henshall what are all the position <|assistant|> SELECT "position" FROM "round_two" WHERE "player"='Jim Henshall';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: where cfl team is edmonton (2) what are all the position <|assistant|> SELECT "position" FROM "round_two" WHERE "cfl_team"='Edmonton (2)';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: where cfl team is winnipeg (3) via hamilton what are all the player <|assistant|> SELECT "player" FROM "round_two" WHERE "cfl_team"='Winnipeg (3) via Hamilton';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_three" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: How many CFL teams drafted someone from mount allison college? <|assistant|> SELECT COUNT("cfl_team") FROM "round_three" WHERE "college"='Mount Allison';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_three" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What player drafted was an OG? <|assistant|> SELECT "player" FROM "round_three" WHERE "position"='OG';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_seven" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What is the position of the player bill simmons? <|assistant|> SELECT "position" FROM "round_seven" WHERE "player"='Bill Simmons';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_seven" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What is the position of cfl team saskatchewan (7)? <|assistant|> SELECT "position" FROM "round_seven" WHERE "cfl_team"='Saskatchewan (7)';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_seven" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: How many times was player brian currie picked? <|assistant|> SELECT COUNT("pick_num") FROM "round_seven" WHERE "player"='Brian Currie';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_seven" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What position was pick # 54? <|assistant|> SELECT "position" FROM "round_seven" WHERE "pick_num"=54;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_seven" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What is the pick # of cfl team bc lions (7) <|assistant|> SELECT "pick_num" FROM "round_seven" WHERE "cfl_team"='BC Lions (7)';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_seven" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What is the college where player terry moss attended? <|assistant|> SELECT "college" FROM "round_seven" WHERE "player"='Terry Moss';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: What is the outgoing manager for the team kasımpaşa? <|assistant|> SELECT "outgoing_manager" FROM "managerial_changes" WHERE "team"='Kasımpaşa';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: Who is the replaced by when the date of vacancy is 27 december 2010? <|assistant|> SELECT "replaced_by" FROM "managerial_changes" WHERE "date_of_vacancy"='27 December 2010';<|endoftext|>