question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
Which title, directed by David Kendall, had 3.7 million viewers?
|
CREATE TABLE "table1_18054886_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real,
"viewers_millions" text
);
|
SELECT "title" FROM "table1_18054886_1" WHERE "viewers_millions"='3.7' AND "directed_by"='David Kendall';
|
1-18054886-1
|
Who directed "People who use people"?
|
CREATE TABLE "table1_18054886_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real,
"viewers_millions" text
);
|
SELECT "directed_by" FROM "table1_18054886_1" WHERE "title"='\"People Who Use People\"';
|
1-18054886-1
|
How many people were first elected with an incument of diane watson?
|
CREATE TABLE "california" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text,
"candidates" text
);
|
SELECT COUNT("first_elected") FROM "california" WHERE "incumbent"='Diane Watson';
|
1-1805191-6
|
What party did hilda solis represent?
|
CREATE TABLE "california" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text,
"candidates" text
);
|
SELECT "party" FROM "california" WHERE "incumbent"='Hilda Solis';
|
1-1805191-6
|
What were the result(s) of the election featuring grace napolitano as the incumbent?
|
CREATE TABLE "california" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text,
"candidates" text
);
|
SELECT "results" FROM "california" WHERE "incumbent"='Grace Napolitano';
|
1-1805191-6
|
Which place in the order is the Pinyin transcription She Jiang?
|
CREATE TABLE "nine_pieces" (
"standard_order" real,
"english_translation" text,
"transcription_based_on_pinyin" text,
"traditional_chinese" text,
"simplified_chinese" text
);
|
SELECT MIN("standard_order") FROM "nine_pieces" WHERE "transcription_based_on_pinyin"='She Jiang';
|
1-1805919-1
|
What is the place of "A Lament for Ying"?
|
CREATE TABLE "nine_pieces" (
"standard_order" real,
"english_translation" text,
"transcription_based_on_pinyin" text,
"traditional_chinese" text,
"simplified_chinese" text
);
|
SELECT MAX("standard_order") FROM "nine_pieces" WHERE "english_translation"='A Lament for Ying';
|
1-1805919-1
|
How many traditional Chinese for the translation of "Crossing the River"?
|
CREATE TABLE "nine_pieces" (
"standard_order" real,
"english_translation" text,
"transcription_based_on_pinyin" text,
"traditional_chinese" text,
"simplified_chinese" text
);
|
SELECT COUNT("traditional_chinese") FROM "nine_pieces" WHERE "english_translation"='Crossing the River';
|
1-1805919-1
|
What is the place of the Pinyin transcription Xi Wangri?
|
CREATE TABLE "nine_pieces" (
"standard_order" real,
"english_translation" text,
"transcription_based_on_pinyin" text,
"traditional_chinese" text,
"simplified_chinese" text
);
|
SELECT MAX("standard_order") FROM "nine_pieces" WHERE "transcription_based_on_pinyin"='Xi Wangri';
|
1-1805919-1
|
What is the English translation of 哀郢?
|
CREATE TABLE "nine_pieces" (
"standard_order" real,
"english_translation" text,
"transcription_based_on_pinyin" text,
"traditional_chinese" text,
"simplified_chinese" text
);
|
SELECT "english_translation" FROM "nine_pieces" WHERE "traditional_chinese"='哀郢';
|
1-1805919-1
|
What is the Pinyin transcription for "Alas for the Days Gone By"?
|
CREATE TABLE "nine_pieces" (
"standard_order" real,
"english_translation" text,
"transcription_based_on_pinyin" text,
"traditional_chinese" text,
"simplified_chinese" text
);
|
SELECT "transcription_based_on_pinyin" FROM "nine_pieces" WHERE "english_translation"='Alas for the Days Gone By';
|
1-1805919-1
|
What's the English name for the month with พ.ย. abbreviation?
|
CREATE TABLE "months" (
"english_name" text,
"thai_name" text,
"abbr" text,
"transcription" text,
"sanskrit_word" text,
"zodiac_sign" text
);
|
SELECT "english_name" FROM "months" WHERE "abbr"='พ.ย.';
|
1-180802-2
|
What's the zodiac sing for the month abbreviated as มี.ค.?
|
CREATE TABLE "months" (
"english_name" text,
"thai_name" text,
"abbr" text,
"transcription" text,
"sanskrit_word" text,
"zodiac_sign" text
);
|
SELECT "zodiac_sign" FROM "months" WHERE "abbr"='มี.ค.';
|
1-180802-2
|
What's the transcription of the thai name of the month พฤษภาคม?
|
CREATE TABLE "months" (
"english_name" text,
"thai_name" text,
"abbr" text,
"transcription" text,
"sanskrit_word" text,
"zodiac_sign" text
);
|
SELECT "transcription" FROM "months" WHERE "thai_name"='พฤษภาคม';
|
1-180802-2
|
How many zodiac signs does the month by the Thai name of กันยายน belong to?
|
CREATE TABLE "months" (
"english_name" text,
"thai_name" text,
"abbr" text,
"transcription" text,
"sanskrit_word" text,
"zodiac_sign" text
);
|
SELECT COUNT("zodiac_sign") FROM "months" WHERE "thai_name"='กันยายน';
|
1-180802-2
|
What's the English name of the month abbreviated as มิ.ย.?
|
CREATE TABLE "months" (
"english_name" text,
"thai_name" text,
"abbr" text,
"transcription" text,
"sanskrit_word" text,
"zodiac_sign" text
);
|
SELECT "english_name" FROM "months" WHERE "abbr"='มิ.ย.';
|
1-180802-2
|
What's the abbreviation of the month in the zodiac sign scorpio?
|
CREATE TABLE "months" (
"english_name" text,
"thai_name" text,
"abbr" text,
"transcription" text,
"sanskrit_word" text,
"zodiac_sign" text
);
|
SELECT "abbr" FROM "months" WHERE "zodiac_sign"='Scorpio';
|
1-180802-2
|
which year was the original title გაღმა ნაპირი
|
CREATE TABLE "submissions" (
"year_e_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"main_language_s" text,
"result" text
);
|
SELECT "year_e_ceremony" FROM "submissions" WHERE "original_title"='გაღმა ნაპირი';
|
1-18069789-1
|
how many times was 27 missing kisses used in nomination
|
CREATE TABLE "submissions" (
"year_e_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"main_language_s" text,
"result" text
);
|
SELECT COUNT("year_e_ceremony") FROM "submissions" WHERE "film_title_used_in_nomination"='27 Missing Kisses';
|
1-18069789-1
|
when was otar iosseliani's film selected
|
CREATE TABLE "submissions" (
"year_e_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"main_language_s" text,
"result" text
);
|
SELECT "year_e_ceremony" FROM "submissions" WHERE "director"='Otar Iosseliani';
|
1-18069789-1
|
What is the thai name of the transcription wan chan?
|
CREATE TABLE "weekdays" (
"english_name" text,
"thai_name" text,
"transcription" text,
"color" text,
"sanskrit_word" text,
"planet" text
);
|
SELECT "thai_name" FROM "weekdays" WHERE "transcription"='wan chan';
|
1-180802-3
|
What is the sanskrit word for the color red?
|
CREATE TABLE "weekdays" (
"english_name" text,
"thai_name" text,
"transcription" text,
"color" text,
"sanskrit_word" text,
"planet" text
);
|
SELECT "sanskrit_word" FROM "weekdays" WHERE "color"='red';
|
1-180802-3
|
What is the transcription of the sanskrit word chandra?
|
CREATE TABLE "weekdays" (
"english_name" text,
"thai_name" text,
"transcription" text,
"color" text,
"sanskrit_word" text,
"planet" text
);
|
SELECT "transcription" FROM "weekdays" WHERE "sanskrit_word"='Chandra';
|
1-180802-3
|
What is the sanskrit word if the transcription is wan athit?
|
CREATE TABLE "weekdays" (
"english_name" text,
"thai_name" text,
"transcription" text,
"color" text,
"sanskrit_word" text,
"planet" text
);
|
SELECT "sanskrit_word" FROM "weekdays" WHERE "transcription"='wan athit';
|
1-180802-3
|
What is the color of the planet venus?
|
CREATE TABLE "weekdays" (
"english_name" text,
"thai_name" text,
"transcription" text,
"color" text,
"sanskrit_word" text,
"planet" text
);
|
SELECT "color" FROM "weekdays" WHERE "planet"='Venus';
|
1-180802-3
|
Which planet has the transcription of wan suk?
|
CREATE TABLE "weekdays" (
"english_name" text,
"thai_name" text,
"transcription" text,
"color" text,
"sanskrit_word" text,
"planet" text
);
|
SELECT "planet" FROM "weekdays" WHERE "transcription"='wan suk';
|
1-180802-3
|
What is the year to april when the revenue is 434.8 million dollars?
|
CREATE TABLE "micro_focus_international_plc_financial_" (
"year_to_april" real,
"revenue_us_million" text,
"ebit_us_m" text,
"net_profit_us_m" text,
"earnings_per_share" text
);
|
SELECT "year_to_april" FROM "micro_focus_international_plc_financial_" WHERE "revenue_us_million"='434.8';
|
1-18077713-1
|
What is the dollar amount of ebit when the net profit is 120.6?
|
CREATE TABLE "micro_focus_international_plc_financial_" (
"year_to_april" real,
"revenue_us_million" text,
"ebit_us_m" text,
"net_profit_us_m" text,
"earnings_per_share" text
);
|
SELECT "ebit_us_m" FROM "micro_focus_international_plc_financial_" WHERE "net_profit_us_m"='120.6';
|
1-18077713-1
|
How many dollars is the revenue when the net profit is 55.4 million dollars?
|
CREATE TABLE "micro_focus_international_plc_financial_" (
"year_to_april" real,
"revenue_us_million" text,
"ebit_us_m" text,
"net_profit_us_m" text,
"earnings_per_share" text
);
|
SELECT "revenue_us_million" FROM "micro_focus_international_plc_financial_" WHERE "net_profit_us_m"='55.4';
|
1-18077713-1
|
When the earning per share is listed as 22.0 what is the year to april?
|
CREATE TABLE "micro_focus_international_plc_financial_" (
"year_to_april" real,
"revenue_us_million" text,
"ebit_us_m" text,
"net_profit_us_m" text,
"earnings_per_share" text
);
|
SELECT COUNT("year_to_april") FROM "micro_focus_international_plc_financial_" WHERE "earnings_per_share"='22.0';
|
1-18077713-1
|
What is the earnings per share when the net profit is 16.2 million dollars?
|
CREATE TABLE "micro_focus_international_plc_financial_" (
"year_to_april" real,
"revenue_us_million" text,
"ebit_us_m" text,
"net_profit_us_m" text,
"earnings_per_share" text
);
|
SELECT "earnings_per_share" FROM "micro_focus_international_plc_financial_" WHERE "net_profit_us_m"='16.2';
|
1-18077713-1
|
How much is the net profit when the revenue is 150.6 million dollars?
|
CREATE TABLE "micro_focus_international_plc_financial_" (
"year_to_april" real,
"revenue_us_million" text,
"ebit_us_m" text,
"net_profit_us_m" text,
"earnings_per_share" text
);
|
SELECT "net_profit_us_m" FROM "micro_focus_international_plc_financial_" WHERE "revenue_us_million"='150.6';
|
1-18077713-1
|
Name the year for not nominated for alberto aruelo
|
CREATE TABLE "submissions" (
"year_ceremony" text,
"original_title" text,
"film_title_used_in_nomination" text,
"director" text,
"result" text
);
|
SELECT "year_ceremony" FROM "submissions" WHERE "result"='Not Nominated' AND "director"='Alberto Aruelo';
|
1-18123274-1
|
Name the total number of director for oro diablo
|
CREATE TABLE "submissions" (
"year_ceremony" text,
"original_title" text,
"film_title_used_in_nomination" text,
"director" text,
"result" text
);
|
SELECT COUNT("director") FROM "submissions" WHERE "original_title"='Oro Diablo';
|
1-18123274-1
|
Name the number of result for maroa
|
CREATE TABLE "submissions" (
"year_ceremony" text,
"original_title" text,
"film_title_used_in_nomination" text,
"director" text,
"result" text
);
|
SELECT COUNT("result") FROM "submissions" WHERE "film_title_used_in_nomination"='Maroa';
|
1-18123274-1
|
Name the number of director for huelepega: ley de la calle
|
CREATE TABLE "submissions" (
"year_ceremony" text,
"original_title" text,
"film_title_used_in_nomination" text,
"director" text,
"result" text
);
|
SELECT COUNT("director") FROM "submissions" WHERE "original_title"='Huelepega: Ley de la Calle';
|
1-18123274-1
|
What was the win/loss record for All Neutral games for the team whose Big 10 winning percentage was .833?
|
CREATE TABLE "final_standings" (
"team" text,
"b10_conference" text,
"b10_pct" text,
"b10_home" text,
"b10_road" text,
"all_games" text,
"all_games_pct" text,
"all_home" text,
"all_road" text,
"all_neutral" text
);
|
SELECT "all_neutral" FROM "final_standings" WHERE "b10_pct"='.833';
|
1-18135572-2
|
What is the category when the version is 1.0 and the title is Chord finder?
|
CREATE TABLE "zune_hd_applications" (
"title" text,
"developer" text,
"category" text,
"function" text,
"release_date" text,
"version" text
);
|
SELECT "category" FROM "zune_hd_applications" WHERE "version"='1.0' AND "title"='Chord Finder';
|
1-18138132-2
|
What was the release date for metronome?
|
CREATE TABLE "zune_hd_applications" (
"title" text,
"developer" text,
"category" text,
"function" text,
"release_date" text,
"version" text
);
|
SELECT "release_date" FROM "zune_hd_applications" WHERE "title"='Metronome';
|
1-18138132-2
|
Who is the developer for Windows live messenger?
|
CREATE TABLE "zune_hd_applications" (
"title" text,
"developer" text,
"category" text,
"function" text,
"release_date" text,
"version" text
);
|
SELECT "developer" FROM "zune_hd_applications" WHERE "title"='Windows Live Messenger';
|
1-18138132-2
|
What is the function of 1.4 version of Windows live messenger?
|
CREATE TABLE "zune_hd_applications" (
"title" text,
"developer" text,
"category" text,
"function" text,
"release_date" text,
"version" text
);
|
SELECT "function" FROM "zune_hd_applications" WHERE "version"='1.4' AND "title"='Windows Live Messenger';
|
1-18138132-2
|
What functions were released on 2011-06-23?
|
CREATE TABLE "zune_hd_applications" (
"title" text,
"developer" text,
"category" text,
"function" text,
"release_date" text,
"version" text
);
|
SELECT "function" FROM "zune_hd_applications" WHERE "release_date"='2011-06-23';
|
1-18138132-2
|
What is the cospar ID of the Kosmos 2397 satellite, which has an operational life of 2 months?
|
CREATE TABLE "table1_18161217_2" (
"satellite" text,
"cospar_id" text,
"satcat_no" real,
"product_number" real,
"launch_date" text,
"estimated_end_date_clarification_needed" text,
"estimated_operational_life" text
);
|
SELECT "cospar_id" FROM "table1_18161217_2" WHERE "estimated_operational_life"='2 months' AND "satellite"='Kosmos 2397';
|
1-18161217-2
|
What was the launch date the satellite with cospar ID is 2008-033A?
|
CREATE TABLE "table1_18161217_2" (
"satellite" text,
"cospar_id" text,
"satcat_no" real,
"product_number" real,
"launch_date" text,
"estimated_end_date_clarification_needed" text,
"estimated_operational_life" text
);
|
SELECT "launch_date" FROM "table1_18161217_2" WHERE "cospar_id"='2008-033A';
|
1-18161217-2
|
What it the international designation for the kosmos 2379 satellite?
|
CREATE TABLE "table1_18161217_2" (
"satellite" text,
"cospar_id" text,
"satcat_no" real,
"product_number" real,
"launch_date" text,
"estimated_end_date_clarification_needed" text,
"estimated_operational_life" text
);
|
SELECT "cospar_id" FROM "table1_18161217_2" WHERE "satellite"='Kosmos 2379';
|
1-18161217-2
|
What is the estimated end date for the 2001-037a international designated satellite?
|
CREATE TABLE "table1_18161217_2" (
"satellite" text,
"cospar_id" text,
"satcat_no" real,
"product_number" real,
"launch_date" text,
"estimated_end_date_clarification_needed" text,
"estimated_operational_life" text
);
|
SELECT "estimated_end_date_clarification_needed" FROM "table1_18161217_2" WHERE "cospar_id"='2001-037A';
|
1-18161217-2
|
in which city was charter date december 4, 2011
|
CREATE TABLE "undergraduate_chapters_associate_chapter" (
"greek_designation" text,
"collegiate_institution" text,
"charter_date" text,
"status" text,
"city" text,
"u_s_state_district" text
);
|
SELECT "city" FROM "undergraduate_chapters_associate_chapter" WHERE "charter_date"='December 4, 2011';
|
1-18159601-1
|
how mnay greek designation in tampa
|
CREATE TABLE "undergraduate_chapters_associate_chapter" (
"greek_designation" text,
"collegiate_institution" text,
"charter_date" text,
"status" text,
"city" text,
"u_s_state_district" text
);
|
SELECT COUNT("greek_designation") FROM "undergraduate_chapters_associate_chapter" WHERE "city"='Tampa';
|
1-18159601-1
|
what is the status in vestal
|
CREATE TABLE "undergraduate_chapters_associate_chapter" (
"greek_designation" text,
"collegiate_institution" text,
"charter_date" text,
"status" text,
"city" text,
"u_s_state_district" text
);
|
SELECT "status" FROM "undergraduate_chapters_associate_chapter" WHERE "city"='Vestal';
|
1-18159601-1
|
what is the collegiate institution in queens
|
CREATE TABLE "undergraduate_chapters_associate_chapter" (
"greek_designation" text,
"collegiate_institution" text,
"charter_date" text,
"status" text,
"city" text,
"u_s_state_district" text
);
|
SELECT "collegiate_institution" FROM "undergraduate_chapters_associate_chapter" WHERE "city"='Queens';
|
1-18159601-1
|
What was the original title of Run for Money?
|
CREATE TABLE "table1_18162883_1" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
);
|
SELECT "original_title" FROM "table1_18162883_1" WHERE "film_title_used_in_nomination"='Run for Money';
|
1-18162883-1
|
What was the Tuesday episode if theThursday episode was 196 Buried?
|
CREATE TABLE "table1_18173916_6" (
"episodes" text,
"monday" text,
"tuesday" text,
"wednesday" text,
"thursday" text,
"friday" text
);
|
SELECT "tuesday" FROM "table1_18173916_6" WHERE "thursday"='196 Buried';
|
1-18173916-6
|
How many episodes were shown on Friday if 210 Kirby's Epic Yarn was shown on Wednesday?
|
CREATE TABLE "table1_18173916_6" (
"episodes" text,
"monday" text,
"tuesday" text,
"wednesday" text,
"thursday" text,
"friday" text
);
|
SELECT COUNT("friday") FROM "table1_18173916_6" WHERE "wednesday"='210 Kirby''s Epic Yarn';
|
1-18173916-6
|
How many episodes were shown on Friday if 190 Boardwalk Empire was shown on Wednesday?
|
CREATE TABLE "table1_18173916_6" (
"episodes" text,
"monday" text,
"tuesday" text,
"wednesday" text,
"thursday" text,
"friday" text
);
|
SELECT COUNT("friday") FROM "table1_18173916_6" WHERE "wednesday"='190 Boardwalk Empire';
|
1-18173916-6
|
What were the dates when 224 Assassin's Creed: Brotherhood Circus Training was shown on Tuesday?
|
CREATE TABLE "table1_18173916_6" (
"episodes" text,
"monday" text,
"tuesday" text,
"wednesday" text,
"thursday" text,
"friday" text
);
|
SELECT "episodes" FROM "table1_18173916_6" WHERE "tuesday"='224 Assassin''s Creed: Brotherhood Circus Training';
|
1-18173916-6
|
When the average away attendance is 1.889 in the Superettan, what's the average home attendance?
|
CREATE TABLE "attendances" (
"season" real,
"average_attendance_home" text,
"highest_attendance_home" text,
"average_attendance_away" text,
"highest_attendance_away" text,
"division_section" text,
"level" text,
"average_attendance_league" text
);
|
SELECT "average_attendance_home" FROM "attendances" WHERE "division_section"='Superettan' AND "average_attendance_away"='1.889';
|
1-1816947-2
|
In which season was the average league attendance 2.572?
|
CREATE TABLE "attendances" (
"season" real,
"average_attendance_home" text,
"highest_attendance_home" text,
"average_attendance_away" text,
"highest_attendance_away" text,
"division_section" text,
"level" text,
"average_attendance_league" text
);
|
SELECT MAX("season") FROM "attendances" WHERE "average_attendance_league"='2.572';
|
1-1816947-2
|
In which division did they compete in 2012?
|
CREATE TABLE "attendances" (
"season" real,
"average_attendance_home" text,
"highest_attendance_home" text,
"average_attendance_away" text,
"highest_attendance_away" text,
"division_section" text,
"level" text,
"average_attendance_league" text
);
|
SELECT "division_section" FROM "attendances" WHERE "season"=2012;
|
1-1816947-2
|
When the home attendance is 3.123, what's the highest away attendance?
|
CREATE TABLE "attendances" (
"season" real,
"average_attendance_home" text,
"highest_attendance_home" text,
"average_attendance_away" text,
"highest_attendance_away" text,
"division_section" text,
"level" text,
"average_attendance_league" text
);
|
SELECT "highest_attendance_away" FROM "attendances" WHERE "average_attendance_home"='3.123';
|
1-1816947-2
|
Which division has an average home attendance of 2.459?
|
CREATE TABLE "attendances" (
"season" real,
"average_attendance_home" text,
"highest_attendance_home" text,
"average_attendance_away" text,
"highest_attendance_away" text,
"division_section" text,
"level" text,
"average_attendance_league" text
);
|
SELECT "division_section" FROM "attendances" WHERE "average_attendance_home"='2.459';
|
1-1816947-2
|
How many years was he car number 92?
|
CREATE TABLE "indy_500_results" (
"year" real,
"car_number" real,
"start" real,
"qual_speed" text,
"speed_rank" real,
"finish" real,
"laps_completed" real,
"laps_led" real,
"race_status" text,
"chassis" text
);
|
SELECT COUNT("speed_rank") FROM "indy_500_results" WHERE "car_number"=92;
|
1-181892-4
|
How many years was the chassis a lotus-ford 38/7?
|
CREATE TABLE "indy_500_results" (
"year" real,
"car_number" real,
"start" real,
"qual_speed" text,
"speed_rank" real,
"finish" real,
"laps_completed" real,
"laps_led" real,
"race_status" text,
"chassis" text
);
|
SELECT COUNT("year") FROM "indy_500_results" WHERE "chassis"='Lotus-Ford 38/7';
|
1-181892-4
|
What was the race status(es) with the lotus-ford 38/1 chassis?
|
CREATE TABLE "indy_500_results" (
"year" real,
"car_number" real,
"start" real,
"qual_speed" text,
"speed_rank" real,
"finish" real,
"laps_completed" real,
"laps_led" real,
"race_status" text,
"chassis" text
);
|
SELECT "race_status" FROM "indy_500_results" WHERE "chassis"='Lotus-Ford 38/1';
|
1-181892-4
|
What year(s) was the race status piston?
|
CREATE TABLE "indy_500_results" (
"year" real,
"car_number" real,
"start" real,
"qual_speed" text,
"speed_rank" real,
"finish" real,
"laps_completed" real,
"laps_led" real,
"race_status" text,
"chassis" text
);
|
SELECT "year" FROM "indy_500_results" WHERE "race_status"='Piston';
|
1-181892-4
|
What is the largest laps led with the lotus-ford 34/3 chassis?
|
CREATE TABLE "indy_500_results" (
"year" real,
"car_number" real,
"start" real,
"qual_speed" text,
"speed_rank" real,
"finish" real,
"laps_completed" real,
"laps_led" real,
"race_status" text,
"chassis" text
);
|
SELECT MAX("laps_led") FROM "indy_500_results" WHERE "chassis"='Lotus-Ford 34/3';
|
1-181892-4
|
What was the population of Minneapolis in 2012?
|
CREATE TABLE "2012_calendar_year_ratios_of_crime_per_1" (
"state" text,
"city" text,
"population" real,
"violent_crime" text,
"murder_and_non_negligent_manslaughter" text,
"forcible_rape" text,
"robbery" text,
"aggravated_assault" text,
"property_crime" text,
"burglary" text,
"larceny_theft" text,
"motor_vehicle_theft" text
);
|
SELECT MAX("population") FROM "2012_calendar_year_ratios_of_crime_per_1" WHERE "city"='Minneapolis';
|
1-1818254-1
|
How many burglaries occurred in the city where the violent crime rate was 974.7?
|
CREATE TABLE "2012_calendar_year_ratios_of_crime_per_1" (
"state" text,
"city" text,
"population" real,
"violent_crime" text,
"murder_and_non_negligent_manslaughter" text,
"forcible_rape" text,
"robbery" text,
"aggravated_assault" text,
"property_crime" text,
"burglary" text,
"larceny_theft" text,
"motor_vehicle_theft" text
);
|
SELECT "burglary" FROM "2012_calendar_year_ratios_of_crime_per_1" WHERE "violent_crime"='974.7';
|
1-1818254-1
|
What was the violent crime rate in the city where the robbery rate was 201.4?
|
CREATE TABLE "2012_calendar_year_ratios_of_crime_per_1" (
"state" text,
"city" text,
"population" real,
"violent_crime" text,
"murder_and_non_negligent_manslaughter" text,
"forcible_rape" text,
"robbery" text,
"aggravated_assault" text,
"property_crime" text,
"burglary" text,
"larceny_theft" text,
"motor_vehicle_theft" text
);
|
SELECT "violent_crime" FROM "2012_calendar_year_ratios_of_crime_per_1" WHERE "robbery"='201.4';
|
1-1818254-1
|
How many cities were there in 2012 where the rate of burglary was 224.8?
|
CREATE TABLE "2012_calendar_year_ratios_of_crime_per_1" (
"state" text,
"city" text,
"population" real,
"violent_crime" text,
"murder_and_non_negligent_manslaughter" text,
"forcible_rape" text,
"robbery" text,
"aggravated_assault" text,
"property_crime" text,
"burglary" text,
"larceny_theft" text,
"motor_vehicle_theft" text
);
|
SELECT COUNT("property_crime") FROM "2012_calendar_year_ratios_of_crime_per_1" WHERE "burglary"='224.8';
|
1-1818254-1
|
What are all values for Mitchell when the author species is Temminck & Schlegel, 1849?
|
CREATE TABLE "table1_1818471_1" (
"year" real,
"date" text,
"type" text,
"species" text,
"author_species" text,
"value" text,
"afinsa" real,
"scott" text,
"mitchell" real,
"yvert" text,
"sta_gib" real,
"order" text,
"family" text
);
|
SELECT "mitchell" FROM "table1_1818471_1" WHERE "author_species"='Temminck & Schlegel, 1849';
|
1-1818471-1
|
What is every value when Mitchell is 676?
|
CREATE TABLE "table1_1818471_1" (
"year" real,
"date" text,
"type" text,
"species" text,
"author_species" text,
"value" text,
"afinsa" real,
"scott" text,
"mitchell" real,
"yvert" text,
"sta_gib" real,
"order" text,
"family" text
);
|
SELECT "value" FROM "table1_1818471_1" WHERE "mitchell"=676;
|
1-1818471-1
|
How many different numbers for Afinsa when value is 5p?
|
CREATE TABLE "table1_1818471_1" (
"year" real,
"date" text,
"type" text,
"species" text,
"author_species" text,
"value" text,
"afinsa" real,
"scott" text,
"mitchell" real,
"yvert" text,
"sta_gib" real,
"order" text,
"family" text
);
|
SELECT COUNT("afinsa") FROM "table1_1818471_1" WHERE "value"='5P';
|
1-1818471-1
|
What is every entry for Scott when the date is (15.12)?
|
CREATE TABLE "table1_1818471_1" (
"year" real,
"date" text,
"type" text,
"species" text,
"author_species" text,
"value" text,
"afinsa" real,
"scott" text,
"mitchell" real,
"yvert" text,
"sta_gib" real,
"order" text,
"family" text
);
|
SELECT "scott" FROM "table1_1818471_1" WHERE "date"='(15.12)';
|
1-1818471-1
|
What is every species when Afinsa is 639?
|
CREATE TABLE "table1_1818471_1" (
"year" real,
"date" text,
"type" text,
"species" text,
"author_species" text,
"value" text,
"afinsa" real,
"scott" text,
"mitchell" real,
"yvert" text,
"sta_gib" real,
"order" text,
"family" text
);
|
SELECT "species" FROM "table1_1818471_1" WHERE "afinsa"=639;
|
1-1818471-1
|
How many orders when the species is Pavo Cristatus?
|
CREATE TABLE "table1_1818471_1" (
"year" real,
"date" text,
"type" text,
"species" text,
"author_species" text,
"value" text,
"afinsa" real,
"scott" text,
"mitchell" real,
"yvert" text,
"sta_gib" real,
"order" text,
"family" text
);
|
SELECT COUNT("order") FROM "table1_1818471_1" WHERE "species"='Pavo cristatus';
|
1-1818471-1
|
If the distance is 55.7, what is the name of the constellation?
|
CREATE TABLE "targets" (
"hd_designation" text,
"constellation" text,
"distance_ly" text,
"spectral_type" text,
"signal_power_k_w" real,
"date_sent" text,
"arrival_date" text
);
|
SELECT "constellation" FROM "targets" WHERE "distance_ly"='55.7';
|
1-1820752-1
|
If the spectral type is g1v, what is the total distance amount?
|
CREATE TABLE "targets" (
"hd_designation" text,
"constellation" text,
"distance_ly" text,
"spectral_type" text,
"signal_power_k_w" real,
"date_sent" text,
"arrival_date" text
);
|
SELECT COUNT("distance_ly") FROM "targets" WHERE "spectral_type"='G1V';
|
1-1820752-1
|
What is the hd designation for arrival date of February 2070?
|
CREATE TABLE "targets" (
"hd_designation" text,
"constellation" text,
"distance_ly" text,
"spectral_type" text,
"signal_power_k_w" real,
"date_sent" text,
"arrival_date" text
);
|
SELECT COUNT("hd_designation") FROM "targets" WHERE "arrival_date"='February 2070';
|
1-1820752-1
|
If the constellation is Gemini, what is the spectral type?
|
CREATE TABLE "targets" (
"hd_designation" text,
"constellation" text,
"distance_ly" text,
"spectral_type" text,
"signal_power_k_w" real,
"date_sent" text,
"arrival_date" text
);
|
SELECT "spectral_type" FROM "targets" WHERE "constellation"='Gemini';
|
1-1820752-1
|
If the arrival date is January 2059, what is the total amount of signal power?
|
CREATE TABLE "targets" (
"hd_designation" text,
"constellation" text,
"distance_ly" text,
"spectral_type" text,
"signal_power_k_w" real,
"date_sent" text,
"arrival_date" text
);
|
SELECT COUNT("signal_power_k_w") FROM "targets" WHERE "arrival_date"='January 2059';
|
1-1820752-1
|
If the spectral type is g1v, what is the constellation?
|
CREATE TABLE "targets" (
"hd_designation" text,
"constellation" text,
"distance_ly" text,
"spectral_type" text,
"signal_power_k_w" real,
"date_sent" text,
"arrival_date" text
);
|
SELECT "constellation" FROM "targets" WHERE "spectral_type"='G1V';
|
1-1820752-1
|
What is the artist of the song "sugarbaby"?
|
CREATE TABLE "list_of_songs_released_in_2009" (
"song_title" text,
"artist" text,
"decade" text,
"genre" text,
"single_pack_name" text,
"release_date" text,
"family_friendly" text,
"additional_rock_band_3_features" text
);
|
SELECT "artist" FROM "list_of_songs_released_in_2009" WHERE "song_title"='\"Sugarbaby\"';
|
1-18207694-1
|
What is the release date for the song "had a dad"?
|
CREATE TABLE "list_of_songs_released_in_2009" (
"song_title" text,
"artist" text,
"decade" text,
"genre" text,
"single_pack_name" text,
"release_date" text,
"family_friendly" text,
"additional_rock_band_3_features" text
);
|
SELECT "release_date" FROM "list_of_songs_released_in_2009" WHERE "song_title"='\"Had a Dad\"';
|
1-18207694-1
|
List the total numbers of Evian Masters tournaments.
|
CREATE TABLE "lpga_tour_wins_9" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text,
"winners_share" real
);
|
SELECT MAX("no") FROM "lpga_tour_wins_9" WHERE "tournament"='Evian Masters';
|
1-18198579-2
|
What is the original air date of season 9?
|
CREATE TABLE "table1_18217753_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
|
SELECT "original_air_date" FROM "table1_18217753_1" WHERE "season_num"=9;
|
1-18217753-1
|
Who were the writers when there were 27.11 million viewers?
|
CREATE TABLE "table1_18217753_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
|
SELECT "written_by" FROM "table1_18217753_1" WHERE "u_s_viewers_millions"='27.11';
|
1-18217753-1
|
How many series had viewers totaling 23.93 million?
|
CREATE TABLE "table1_18217753_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
|
SELECT COUNT("series_num") FROM "table1_18217753_1" WHERE "u_s_viewers_millions"='23.93';
|
1-18217753-1
|
How many original air dates totaled 26.06 million viewers?
|
CREATE TABLE "table1_18217753_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
|
SELECT COUNT("original_air_date") FROM "table1_18217753_1" WHERE "u_s_viewers_millions"='26.06';
|
1-18217753-1
|
What is the title when 18.58 u.s. viewers (millions) watched?
|
CREATE TABLE "table1_18217741_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
|
SELECT "title" FROM "table1_18217741_1" WHERE "u_s_viewers_millions"='18.58';
|
1-18217741-1
|
How many digital terrestrial channels are there for channel 4?
|
CREATE TABLE "availability_of_channels_from_various_pr" (
"position" real,
"channel" text,
"analogue_terrestrial_channel" text,
"digital_terrestrial_channel" text,
"internet" text
);
|
SELECT COUNT("digital_terrestrial_channel") FROM "availability_of_channels_from_various_pr" WHERE "channel"='Channel 4';
|
1-182410-10
|
What is the channel that is on digital terrestrial channel 10?
|
CREATE TABLE "availability_of_channels_from_various_pr" (
"position" real,
"channel" text,
"analogue_terrestrial_channel" text,
"digital_terrestrial_channel" text,
"internet" text
);
|
SELECT "channel" FROM "availability_of_channels_from_various_pr" WHERE "digital_terrestrial_channel"='10';
|
1-182410-10
|
What is the digital terrestria channel number for itv3?
|
CREATE TABLE "availability_of_channels_from_various_pr" (
"position" real,
"channel" text,
"analogue_terrestrial_channel" text,
"digital_terrestrial_channel" text,
"internet" text
);
|
SELECT "digital_terrestrial_channel" FROM "availability_of_channels_from_various_pr" WHERE "channel"='ITV3';
|
1-182410-10
|
What is the position of digital channel 5 44 (+1)?
|
CREATE TABLE "availability_of_channels_from_various_pr" (
"position" real,
"channel" text,
"analogue_terrestrial_channel" text,
"digital_terrestrial_channel" text,
"internet" text
);
|
SELECT "position" FROM "availability_of_channels_from_various_pr" WHERE "digital_terrestrial_channel"='5 44 (+1)';
|
1-182410-10
|
where pageant is elite model look and year is bigger than 1993.0, who is the delegate?
|
CREATE TABLE "appointed_delegates_to_various_internati" (
"year" real,
"delegate" text,
"hometown" text,
"pageant" text,
"result" text,
"other_awards" text
);
|
SELECT "delegate" FROM "appointed_delegates_to_various_internati" WHERE "pageant"='Elite Model Look' AND "year">1993.0;
|
1-1825751-14
|
How many years was the pageant miss globe international and delegate was karen loren medrano agustin?
|
CREATE TABLE "appointed_delegates_to_various_internati" (
"year" real,
"delegate" text,
"hometown" text,
"pageant" text,
"result" text,
"other_awards" text
);
|
SELECT COUNT("year") FROM "appointed_delegates_to_various_internati" WHERE "pageant"='Miss Globe International' AND "delegate"='Karen Loren Medrano Agustin';
|
1-1825751-14
|
How many pageants were in san fernando, pampanga?
|
CREATE TABLE "appointed_delegates_to_various_internati" (
"year" real,
"delegate" text,
"hometown" text,
"pageant" text,
"result" text,
"other_awards" text
);
|
SELECT COUNT("pageant") FROM "appointed_delegates_to_various_internati" WHERE "hometown"='San Fernando, Pampanga';
|
1-1825751-14
|
How many pageants were margaret ann awitan bayot the delegate of?
|
CREATE TABLE "appointed_delegates_to_various_internati" (
"year" real,
"delegate" text,
"hometown" text,
"pageant" text,
"result" text,
"other_awards" text
);
|
SELECT COUNT("pageant") FROM "appointed_delegates_to_various_internati" WHERE "delegate"='Margaret Ann Awitan Bayot';
|
1-1825751-14
|
How many awards did milagros gutierrez win?
|
CREATE TABLE "appointed_delegates_to_various_internati" (
"year" real,
"delegate" text,
"hometown" text,
"pageant" text,
"result" text,
"other_awards" text
);
|
SELECT "other_awards" FROM "appointed_delegates_to_various_internati" WHERE "delegate"='Milagros Gutierrez';
|
1-1825751-14
|
Where is the miss global teen?
|
CREATE TABLE "appointed_delegates_to_various_internati" (
"year" real,
"delegate" text,
"hometown" text,
"pageant" text,
"result" text,
"other_awards" text
);
|
SELECT "hometown" FROM "appointed_delegates_to_various_internati" WHERE "pageant"='Miss Global Teen';
|
1-1825751-14
|
what is the subtrate for enzyme ala dehydratase
|
CREATE TABLE "biosynthesis" (
"enzyme" text,
"location" text,
"substrate" text,
"product" text,
"chromosome" text,
"ec" text,
"omim" real,
"porphyria" text
);
|
SELECT "substrate" FROM "biosynthesis" WHERE "enzyme"='ALA dehydratase';
|
1-182499-1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.