text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"pro_team" text,
"college" text
);
Question: If the proteam is Jacksonville bulls, what is the position?
<|assistant|>
SELECT "position" FROM "third_round" WHERE "pro_team"='Jacksonville Bulls';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"pro_team" text,
"college" text
);
Question: If the college is SMU, what is the position?
<|assistant|>
SELECT "position" FROM "third_round" WHERE "college"='SMU';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27116696_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: Who wrote the episode with the production code of 3t7255?
<|assistant|>
SELECT "written_by" FROM "table1_27116696_1" WHERE "production_code"='3T7255';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27116696_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: How many U.S. viewers (million) watched the episode directed by Allison Liddi-Brown?
<|assistant|>
SELECT "u_s_viewers_million" FROM "table1_27116696_1" WHERE "directed_by"='Allison Liddi-Brown';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27116696_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: What is the total number of production code listings of episodes written by Matthew Lau?
<|assistant|>
SELECT COUNT("production_code") FROM "table1_27116696_1" WHERE "written_by"='Matthew Lau';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nsc_events_and_division_1_winners" (
"year" real,
"winner" text,
"location" text,
"entrants" real,
"winners_prize" text,
"total_prize_pool" text
);
Question: What was the prize pool in New Orleans?
<|assistant|>
SELECT "total_prize_pool" FROM "nsc_events_and_division_1_winners" WHERE "location"='New Orleans';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nsc_events_and_division_1_winners" (
"year" real,
"winner" text,
"location" text,
"entrants" real,
"winners_prize" text,
"total_prize_pool" text
);
Question: How many prizes were available in the competition where 696 people entered?
<|assistant|>
SELECT COUNT("winners_prize") FROM "nsc_events_and_division_1_winners" WHERE "entrants"=696;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "homologs" (
"genus_species" text,
"gene_name" text,
"accession_number" text,
"sequence_length" text,
"sequence_similarity" real
);
Question: Name the accession number for rhodopseudomonas palustris
<|assistant|>
SELECT "accession_number" FROM "homologs" WHERE "genus_species"='Rhodopseudomonas palustris';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "homologs" (
"genus_species" text,
"gene_name" text,
"accession_number" text,
"sequence_length" text,
"sequence_similarity" real
);
Question: Name the genus/species of accession number bx897699.1
<|assistant|>
SELECT "genus_species" FROM "homologs" WHERE "accession_number"='BX897699.1';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "homologs" (
"genus_species" text,
"gene_name" text,
"accession_number" text,
"sequence_length" text,
"sequence_similarity" real
);
Question: Name the accession number for sequence similarity being 54
<|assistant|>
SELECT "accession_number" FROM "homologs" WHERE "sequence_similarity"=54;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "homologs" (
"genus_species" text,
"gene_name" text,
"accession_number" text,
"sequence_length" text,
"sequence_similarity" real
);
Question: Name the gene name for methylobacterium nodulans
<|assistant|>
SELECT "gene_name" FROM "homologs" WHERE "genus_species"='Methylobacterium nodulans';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "homologs" (
"genus_species" text,
"gene_name" text,
"accession_number" text,
"sequence_length" text,
"sequence_similarity" real
);
Question: Name the gene name for accession number bx897700.1
<|assistant|>
SELECT "gene_name" FROM "homologs" WHERE "accession_number"='BX897700.1';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ten_largest_successfully_completed_kicks" (
"rank" real,
"total_usd" real,
"project_name" text,
"creator" text,
"category" text,
"pct_funded" real,
"backers" real,
"closing_date" text
);
Question: What was the minimum % funded of the project that was closed on 2012-05-18?
<|assistant|>
SELECT MIN("pct_funded") FROM "ten_largest_successfully_completed_kicks" WHERE "closing_date"='2012-05-18';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ten_largest_successfully_completed_kicks" (
"rank" real,
"total_usd" real,
"project_name" text,
"creator" text,
"category" text,
"pct_funded" real,
"backers" real,
"closing_date" text
);
Question: What was the maximum total USD collected by Pebble Technology?
<|assistant|>
SELECT MAX("total_usd") FROM "ten_largest_successfully_completed_kicks" WHERE "creator"='Pebble Technology';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ten_largest_successfully_completed_kicks" (
"rank" real,
"total_usd" real,
"project_name" text,
"creator" text,
"category" text,
"pct_funded" real,
"backers" real,
"closing_date" text
);
Question: What was the category of the project name Mighty No. 9?
<|assistant|>
SELECT "category" FROM "ten_largest_successfully_completed_kicks" WHERE "project_name"='Mighty No. 9';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ten_largest_successfully_completed_kicks" (
"rank" real,
"total_usd" real,
"project_name" text,
"creator" text,
"category" text,
"pct_funded" real,
"backers" real,
"closing_date" text
);
Question: Project Name Pebble: E-Paper Watch for Iphone and Android was ranked how many times?
<|assistant|>
SELECT COUNT("rank") FROM "ten_largest_successfully_completed_kicks" WHERE "project_name"='Pebble: E-Paper Watch for iPhone and Android';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_statistics" (
"position" text,
"nationality" text,
"name" text,
"league_apps" real,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"total_apps" real,
"total_goals" real
);
Question: How many league apps did the player with 11 team goals have?
<|assistant|>
SELECT "league_apps" FROM "player_statistics" WHERE "total_goals"=11;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_statistics" (
"position" text,
"nationality" text,
"name" text,
"league_apps" real,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"total_apps" real,
"total_goals" real
);
Question: What is the lowest number of total goals for a player with 6 league goals?
<|assistant|>
SELECT MIN("total_goals") FROM "player_statistics" WHERE "league_goals"=6;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_statistics" (
"position" text,
"nationality" text,
"name" text,
"league_apps" real,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"total_apps" real,
"total_goals" real
);
Question: What is the lowest number of fa cup goals by a player?
<|assistant|>
SELECT MIN("fa_cup_goals") FROM "player_statistics";<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27169029_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: Who wrote the episode that aired on September 26, 2010?
<|assistant|>
SELECT "written_by" FROM "table1_27169029_1" WHERE "original_air_date"='September 26, 2010';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "baha_i_social_and_economic_development_p" (
"programs" text,
"world" real,
"africa" real,
"americas" real,
"asia" real,
"australasia" real,
"europe" real
);
Question: How many radio stations were built in Asia?
<|assistant|>
SELECT "asia" FROM "baha_i_social_and_economic_development_p" WHERE "programs"='Radio Stations';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "baha_i_social_and_economic_development_p" (
"programs" text,
"world" real,
"africa" real,
"americas" real,
"asia" real,
"australasia" real,
"europe" real
);
Question: How many program data on Asia was written if the organization launched 14 programs iin the Americas?
<|assistant|>
SELECT COUNT("asia") FROM "baha_i_social_and_economic_development_p" WHERE "americas"=14;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "baha_i_social_and_economic_development_p" (
"programs" text,
"world" real,
"africa" real,
"americas" real,
"asia" real,
"australasia" real,
"europe" real
);
Question: How many times did Australasia received a program if the Americas received 115 program?
<|assistant|>
SELECT COUNT("australasia") FROM "baha_i_social_and_economic_development_p" WHERE "americas"=115;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27208311_1" (
"episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series_whereas_series_no_refers_to_the_episodes_number_in_this_particular_series" real,
"series_no" real,
"episode" text,
"director" text,
"writer" text,
"original_airdate" text
);
Question: What is every episode number for the series number 3?
<|assistant|>
SELECT "episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series_whereas_series_no_refers_to_the_episodes_number_in_this_particular_series" FROM "table1_27208311_1" WHERE "series_no"=3;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27208311_1" (
"episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series_whereas_series_no_refers_to_the_episodes_number_in_this_particular_series" real,
"series_no" real,
"episode" text,
"director" text,
"writer" text,
"original_airdate" text
);
Question: What is every episode with Barry Purchese as the writer?
<|assistant|>
SELECT "episode" FROM "table1_27208311_1" WHERE "writer"='Barry Purchese';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27208817_1" (
"episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series_whereas_series_no_refers_to_the_episodes_number_in_this_particular_series" real,
"series_no" real,
"episode" text,
"director" text,
"writer" text,
"original_airdate" text
);
Question: Name the episod for number 64
<|assistant|>
SELECT "episode" FROM "table1_27208817_1" WHERE "episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series_whereas_series_no_refers_to_the_episodes_number_in_this_particular_series"=64;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27208817_1" (
"episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series_whereas_series_no_refers_to_the_episodes_number_in_this_particular_series" real,
"series_no" real,
"episode" text,
"director" text,
"writer" text,
"original_airdate" text
);
Question: Name the number of episodes for sam snape
<|assistant|>
SELECT COUNT("episode") FROM "table1_27208817_1" WHERE "writer"='Sam Snape';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_272313_1" (
"vertical" real,
"horizontal" real,
"aspect_ratio" text,
"pixel_aspect_ratio" text,
"scanning" text,
"frame_rate_hz" text
);
Question: What was the aspect ratio if the vertical pixel is 480 and pixel aspect ratio is 1:1?
<|assistant|>
SELECT "aspect_ratio" FROM "table1_272313_1" WHERE "vertical"=480 AND "pixel_aspect_ratio"='1:1';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_272313_1" (
"vertical" real,
"horizontal" real,
"aspect_ratio" text,
"pixel_aspect_ratio" text,
"scanning" text,
"frame_rate_hz" text
);
Question: What was the minimum vertical measurement if the aspect ratio is 16:9 and scanning is interlaced?
<|assistant|>
SELECT MIN("vertical") FROM "table1_272313_1" WHERE "aspect_ratio"='16:9' AND "scanning"='interlaced';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_272313_1" (
"vertical" real,
"horizontal" real,
"aspect_ratio" text,
"pixel_aspect_ratio" text,
"scanning" text,
"frame_rate_hz" text
);
Question: What was the maximum vertical measurement if the horizon measurement is 640?
<|assistant|>
SELECT MAX("vertical") FROM "table1_272313_1" WHERE "horizontal"=640;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27225944_3" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Question: Name the outgoing manager for mutual consent and position 16th
<|assistant|>
SELECT "outgoing_manager" FROM "table1_27225944_3" WHERE "manner_of_departure"='Mutual consent' AND "position_in_table"='16th';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27225944_3" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Question: Name the replaced by for slaven belupo
<|assistant|>
SELECT "replaced_by" FROM "table1_27225944_3" WHERE "team"='Slaven Belupo';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27225944_3" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
Question: Name the number of outgoing manager for rijeka
<|assistant|>
SELECT COUNT("outgoing_manager") FROM "table1_27225944_3" WHERE "team"='Rijeka';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_272313_2" (
"vertical" real,
"horizontal" real,
"aspect_ratio" text,
"pixel_aspect_ratio" text,
"scanning" text,
"frame_rate_hz" text
);
Question: Name the least horizontal for smpte 259m three quarters
<|assistant|>
SELECT MIN("horizontal") FROM "table1_272313_2" WHERE "pixel_aspect_ratio"='SMPTE 259M three quarters';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_272313_2" (
"vertical" real,
"horizontal" real,
"aspect_ratio" text,
"pixel_aspect_ratio" text,
"scanning" text,
"frame_rate_hz" text
);
Question: Name the aspect ratio for smpte 259m and interlaced scanning
<|assistant|>
SELECT "aspect_ratio" FROM "table1_272313_2" WHERE "pixel_aspect_ratio"='SMPTE 259M' AND "scanning"='interlaced';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27218002_2" (
"episode_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"ratings" text
);
Question: What were the ratings for "episode 6"?
<|assistant|>
SELECT "ratings" FROM "table1_27218002_2" WHERE "title"='\"Episode 6\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27218002_2" (
"episode_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"ratings" text
);
Question: What date did the episode that was written by Fintan Ryan originally air?
<|assistant|>
SELECT "originalairdate" FROM "table1_27218002_2" WHERE "written_by"='Fintan Ryan';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27218002_2" (
"episode_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"ratings" text
);
Question: What date did the epiode that had 1.37 million as the rating originally air?
<|assistant|>
SELECT "originalairdate" FROM "table1_27218002_2" WHERE "ratings"='1.37 Million';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27250813_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
);
Question: What is the title of the episode no. 16 by season?
<|assistant|>
SELECT "title" FROM "table1_27250813_1" WHERE "no_in_season"=16;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27250813_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
);
Question: How many times did an episode with a production code of 12003 was aired?
<|assistant|>
SELECT COUNT("original_air_date") FROM "table1_27250813_1" WHERE "production_code"=12003;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "television" (
"year" real,
"network_s" text,
"bowl" text,
"play_by_play_announcer" text,
"color_analyst_s" text,
"sideline_reporter_s" text,
"studio_host_s" text,
"studio_analyst_s" text,
"tv_rating" text
);
Question: Name the color analyst for terry bowden and 17.2
<|assistant|>
SELECT "color_analyst_s" FROM "television" WHERE "studio_analyst_s"='Terry Bowden' AND "tv_rating"='17.2';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "television" (
"year" real,
"network_s" text,
"bowl" text,
"play_by_play_announcer" text,
"color_analyst_s" text,
"sideline_reporter_s" text,
"studio_host_s" text,
"studio_analyst_s" text,
"tv_rating" text
);
Question: Name the number of bowl for lee corso, gene chizik and chip kelly
<|assistant|>
SELECT COUNT("bowl") FROM "television" WHERE "studio_analyst_s"='Lee Corso, Gene Chizik and Chip Kelly';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "television" (
"year" real,
"network_s" text,
"bowl" text,
"play_by_play_announcer" text,
"color_analyst_s" text,
"sideline_reporter_s" text,
"studio_host_s" text,
"studio_analyst_s" text,
"tv_rating" text
);
Question: Name the studio analysts for espn with erin andrews and tom rinaldi
<|assistant|>
SELECT "studio_analyst_s" FROM "television" WHERE "network_s"='ESPN' AND "sideline_reporter_s"='Erin Andrews and Tom Rinaldi';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27255755_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: What is the highest series number with 9.17 million US viewers?
<|assistant|>
SELECT MAX("no_in_series") FROM "table1_27255755_1" WHERE "u_s_viewers_millions"='9.17';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wtcc_statistics" (
"season" real,
"series" text,
"team" text,
"starts" real,
"wins" real,
"podiums" real,
"poles" real,
"fastest_laps" real,
"points" text,
"place" text
);
Question: name the podiums for start of 22
<|assistant|>
SELECT "podiums" FROM "wtcc_statistics" WHERE "starts"=22;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wtcc_statistics" (
"season" real,
"series" text,
"team" text,
"starts" real,
"wins" real,
"podiums" real,
"poles" real,
"fastest_laps" real,
"points" text,
"place" text
);
Question: Name the number of poles for fastest laps being 6
<|assistant|>
SELECT COUNT("poles") FROM "wtcc_statistics" WHERE "fastest_laps"=6;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wtcc_statistics" (
"season" real,
"series" text,
"team" text,
"starts" real,
"wins" real,
"podiums" real,
"poles" real,
"fastest_laps" real,
"points" text,
"place" text
);
Question: Name the least podiums for 2009
<|assistant|>
SELECT MIN("podiums") FROM "wtcc_statistics" WHERE "season"=2009;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wtcc_statistics" (
"season" real,
"series" text,
"team" text,
"starts" real,
"wins" real,
"podiums" real,
"poles" real,
"fastest_laps" real,
"points" text,
"place" text
);
Question: Name the starts for 2009
<|assistant|>
SELECT "starts" FROM "wtcc_statistics" WHERE "season"=2009;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wtcc_statistics" (
"season" real,
"series" text,
"team" text,
"starts" real,
"wins" real,
"podiums" real,
"poles" real,
"fastest_laps" real,
"points" text,
"place" text
);
Question: Name the most starts for 6 wins
<|assistant|>
SELECT MAX("starts") FROM "wtcc_statistics" WHERE "wins"=6;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowling_averages_top_10" (
"player" text,
"team" text,
"matches" real,
"overs" text,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real,
"5wi" real
);
Question: How many matches were wickets 16?
<|assistant|>
SELECT COUNT("matches") FROM "bowling_averages_top_10" WHERE "wickets"=16;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowling_averages_top_10" (
"player" text,
"team" text,
"matches" real,
"overs" text,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real,
"5wi" real
);
Question: What is the lowest wickets?
<|assistant|>
SELECT MIN("wickets") FROM "bowling_averages_top_10";<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowling_averages_top_10" (
"player" text,
"team" text,
"matches" real,
"overs" text,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real,
"5wi" real
);
Question: What is the 4wi when the economy is 7.82?
<|assistant|>
SELECT "4wi" FROM "bowling_averages_top_10" WHERE "economy"='7.82';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowling_averages_top_10" (
"player" text,
"team" text,
"matches" real,
"overs" text,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real,
"5wi" real
);
Question: Who is the player when the bbi is 5/27?
<|assistant|>
SELECT "player" FROM "bowling_averages_top_10" WHERE "bbi"='5/27';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowling_averages_top_10" (
"player" text,
"team" text,
"matches" real,
"overs" text,
"wickets" real,
"average" text,
"economy" text,
"bbi" text,
"4wi" real,
"5wi" real
);
Question: What is the team when the economy is 5.73?
<|assistant|>
SELECT "team" FROM "bowling_averages_top_10" WHERE "economy"='5.73';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_by_province" (
"province" text,
"registered_voters" real,
"people_voted" real,
"valid_votes" real,
"invalid_votes" real,
"yes" real,
"yes_pct" text,
"no" real,
"no_pct" text,
"turnout_pct" text
);
Question: When Denizli was the province, what was the total number of valid votes?
<|assistant|>
SELECT COUNT("valid_votes") FROM "results_by_province" WHERE "province"='Denizli';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_by_province" (
"province" text,
"registered_voters" real,
"people_voted" real,
"valid_votes" real,
"invalid_votes" real,
"yes" real,
"yes_pct" text,
"no" real,
"no_pct" text,
"turnout_pct" text
);
Question: When 54.86% of people votes yes, howe many votes were invalid?
<|assistant|>
SELECT "invalid_votes" FROM "results_by_province" WHERE "yes_pct"='54.86';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_by_province" (
"province" text,
"registered_voters" real,
"people_voted" real,
"valid_votes" real,
"invalid_votes" real,
"yes" real,
"yes_pct" text,
"no" real,
"no_pct" text,
"turnout_pct" text
);
Question: How many registered voters were there when 36.32% of people voted yes?
<|assistant|>
SELECT MIN("registered_voters") FROM "results_by_province" WHERE "yes_pct"='36.32';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_by_province" (
"province" text,
"registered_voters" real,
"people_voted" real,
"valid_votes" real,
"invalid_votes" real,
"yes" real,
"yes_pct" text,
"no" real,
"no_pct" text,
"turnout_pct" text
);
Question: What province had a turnout of 54.09%?
<|assistant|>
SELECT "province" FROM "results_by_province" WHERE "turnout_pct"='54.09';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_by_province" (
"province" text,
"registered_voters" real,
"people_voted" real,
"valid_votes" real,
"invalid_votes" real,
"yes" real,
"yes_pct" text,
"no" real,
"no_pct" text,
"turnout_pct" text
);
Question: How many people voted yes when the percentage of yeses was 95.17?
<|assistant|>
SELECT MAX("yes") FROM "results_by_province" WHERE "yes_pct"='95.17';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_by_province" (
"province" text,
"registered_voters" real,
"people_voted" real,
"valid_votes" real,
"invalid_votes" real,
"yes" real,
"yes_pct" text,
"no" real,
"no_pct" text,
"turnout_pct" text
);
Question: What was the turnout percentage when the percentage of people that voted no was 36.51?
<|assistant|>
SELECT "turnout_pct" FROM "results_by_province" WHERE "no_pct"='36.51';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lion_65_nm" (
"model_number" text,
"frequency" text,
"l2_cache" text,
"ht" text,
"mult_1" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"order_part_number" text
);
Question: What is the model number for the order part numbered tmrm75dam22gg?
<|assistant|>
SELECT "model_number" FROM "lion_65_nm" WHERE "order_part_number"='TMRM75DAM22GG';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lion_65_nm" (
"model_number" text,
"frequency" text,
"l2_cache" text,
"ht" text,
"mult_1" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"order_part_number" text
);
Question: What is the oder part number for the model with 10x mult. 1?
<|assistant|>
SELECT "order_part_number" FROM "lion_65_nm" WHERE "mult_1"='10x';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lion_65_nm" (
"model_number" text,
"frequency" text,
"l2_cache" text,
"ht" text,
"mult_1" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"order_part_number" text
);
Question: How much ht does the model with 10x mult. 1 have?
<|assistant|>
SELECT "ht" FROM "lion_65_nm" WHERE "mult_1"='10x';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lion_65_nm" (
"model_number" text,
"frequency" text,
"l2_cache" text,
"ht" text,
"mult_1" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"order_part_number" text
);
Question: What's the ht for the model released on June 4, 2008?
<|assistant|>
SELECT "ht" FROM "lion_65_nm" WHERE "release_date"='June 4, 2008';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_name" (
"name" text,
"nation" text,
"seasons" text,
"championship_titles" text,
"races_starts" text,
"poles" real,
"wins" real,
"podiums" real,
"fastest_laps" real,
"points" text
);
Question: How many pole position achieved 0 points from Mexico?
<|assistant|>
SELECT COUNT("poles") FROM "by_name" WHERE "points"='0' AND "nation"='Mexico';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "claw_hammer_c0_cg_130_nm_desktop_replace" (
"model_number" text,
"frequency" text,
"l2_cache" text,
"ht" text,
"mult_1" text,
"v_core" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text
);
Question: Name the vcore for multi 11x
<|assistant|>
SELECT "v_core" FROM "claw_hammer_c0_cg_130_nm_desktop_replace" WHERE "mult_1"='11x';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "claw_hammer_c0_cg_130_nm_desktop_replace" (
"model_number" text,
"frequency" text,
"l2_cache" text,
"ht" text,
"mult_1" text,
"v_core" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text
);
Question: Name the number of v core for model number mobile athlon 64 3000+
<|assistant|>
SELECT COUNT("v_core") FROM "claw_hammer_c0_cg_130_nm_desktop_replace" WHERE "model_number"='Mobile Athlon 64 3000+';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wru_division_one_east" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"points" text
);
Question: Name the total number of points for for played
<|assistant|>
SELECT COUNT("points_for") FROM "wru_division_one_east" WHERE "played"='Played';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wru_division_one_east" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"points" text
);
Question: Name the total number of points for 46 tries for
<|assistant|>
SELECT COUNT("points") FROM "wru_division_one_east" WHERE "tries_for"='46';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wru_division_one_east" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"points" text
);
Question: Name the total number of club for lost being 16
<|assistant|>
SELECT COUNT("club") FROM "wru_division_one_east" WHERE "lost"='16';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wru_division_one_east" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"points" text
);
Question: Name the drawn for lost being 5 and tries for 89
<|assistant|>
SELECT "drawn" FROM "wru_division_one_east" WHERE "lost"='5' AND "tries_for"='89';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wru_division_one_east" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"points" text
);
Question: Name the won for played being 22 and points against 511 and lost being 15
<|assistant|>
SELECT "won" FROM "wru_division_one_east" WHERE "played"='22' AND "lost"='15' AND "points_against"='511';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27298240_26" (
"pronoun" text,
"present" text,
"1st" text,
"2nd" text,
"perfect" text,
"aorist" text,
"imperfect" text,
"pluperfect" text
);
Question: Which pronoun has će biti / biće in first person?
<|assistant|>
SELECT "pronoun" FROM "table1_27298240_26" WHERE "1st"='će biti / biće';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27298240_26" (
"pronoun" text,
"present" text,
"1st" text,
"2nd" text,
"perfect" text,
"aorist" text,
"imperfect" text,
"pluperfect" text
);
Question: What aorist has bude in present tense?
<|assistant|>
SELECT "aorist" FROM "table1_27298240_26" WHERE "present"='bude';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27298240_26" (
"pronoun" text,
"present" text,
"1st" text,
"2nd" text,
"perfect" text,
"aorist" text,
"imperfect" text,
"pluperfect" text
);
Question: Which aorist has imperfect form of bijasmo / bejasmo / besmo?
<|assistant|>
SELECT "aorist" FROM "table1_27298240_26" WHERE "imperfect"='bijasmo / bejasmo / besmo';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27298240_26" (
"pronoun" text,
"present" text,
"1st" text,
"2nd" text,
"perfect" text,
"aorist" text,
"imperfect" text,
"pluperfect" text
);
Question: What is the pluperfect for the perfect si bio/la; bio/la si?
<|assistant|>
SELECT "pluperfect" FROM "table1_27298240_26" WHERE "perfect"='si bio/la; bio/la si';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27294107_11" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
Question: What was the event when suárez ( tri ) w 16–6 was round of 32?
<|assistant|>
SELECT "event" FROM "table1_27294107_11" WHERE "round_of_32"='Suárez ( TRI ) W 16–6';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27294107_11" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
Question: What is the semifinals for the light flyweight event?
<|assistant|>
SELECT "semifinals" FROM "table1_27294107_11" WHERE "event"='Light flyweight';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27294107_11" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
Question: How many semifinals did ferhat pehlivan attend?
<|assistant|>
SELECT COUNT("semifinals") FROM "table1_27294107_11" WHERE "athlete"='Ferhat Pehlivan';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27294107_11" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
Question: What is the round of 32 if the round of 16 is drenovak ( srb ) w 20–11?
<|assistant|>
SELECT "round_of_32" FROM "table1_27294107_11" WHERE "round_of_16"='Drenovak ( SRB ) W 20–11';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27294107_11" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
Question: When yakup şener is the athlete what is the round of 32?
<|assistant|>
SELECT "round_of_32" FROM "table1_27294107_11" WHERE "athlete"='Yakup Şener';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27294107_11" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
Question: What is the round of 32 for fatih keleş?
<|assistant|>
SELECT "round_of_32" FROM "table1_27294107_11" WHERE "athlete"='Fatih Keleş';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27298240_28" (
"pronoun" text,
"present" text,
"1st" text,
"2nd" text,
"perfect" text,
"aorist" text,
"imperfect" text,
"pluperfect" text
);
Question: What is the pronoun when budemo mogli/le is 2nd?
<|assistant|>
SELECT "pronoun" FROM "table1_27298240_28" WHERE "2nd"='budemo mogli/le';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27298240_28" (
"pronoun" text,
"present" text,
"1st" text,
"2nd" text,
"perfect" text,
"aorist" text,
"imperfect" text,
"pluperfect" text
);
Question: What is in 1st place when present is mogu?
<|assistant|>
SELECT "1st" FROM "table1_27298240_28" WHERE "present"='mogu';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27298240_28" (
"pronoun" text,
"present" text,
"1st" text,
"2nd" text,
"perfect" text,
"aorist" text,
"imperfect" text,
"pluperfect" text
);
Question: What is aorist when budete mogli/le is 2nd?
<|assistant|>
SELECT "aorist" FROM "table1_27298240_28" WHERE "2nd"='budete mogli/le';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27298240_28" (
"pronoun" text,
"present" text,
"1st" text,
"2nd" text,
"perfect" text,
"aorist" text,
"imperfect" text,
"pluperfect" text
);
Question: what is 2nd when the pronoun is vi (you pl.)?
<|assistant|>
SELECT "2nd" FROM "table1_27298240_28" WHERE "pronoun"='vi (you pl.)';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27298240_28" (
"pronoun" text,
"present" text,
"1st" text,
"2nd" text,
"perfect" text,
"aorist" text,
"imperfect" text,
"pluperfect" text
);
Question: When the present is mogu what is 1st?
<|assistant|>
SELECT "1st" FROM "table1_27298240_28" WHERE "present"='mogu';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27298240_28" (
"pronoun" text,
"present" text,
"1st" text,
"2nd" text,
"perfect" text,
"aorist" text,
"imperfect" text,
"pluperfect" text
);
Question: What is 2nd when ćemo moći is 1st?
<|assistant|>
SELECT "2nd" FROM "table1_27298240_28" WHERE "1st"='ćemo moći';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "assists" (
"r" real,
"player" text,
"position" text,
"the_championship" real,
"fa_cup" real,
"league_cup" real,
"total" real
);
Question: What is the R when the total is 1 and the position is fw?
<|assistant|>
SELECT "r" FROM "assists" WHERE "total"=1 AND "position"='FW';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "assists" (
"r" real,
"player" text,
"position" text,
"the_championship" real,
"fa_cup" real,
"league_cup" real,
"total" real
);
Question: What is the lowest league cup?
<|assistant|>
SELECT MIN("league_cup") FROM "assists";<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "assists" (
"r" real,
"player" text,
"position" text,
"the_championship" real,
"fa_cup" real,
"league_cup" real,
"total" real
);
Question: What is the position for the player becchio?
<|assistant|>
SELECT "position" FROM "assists" WHERE "player"='Becchio';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "assists" (
"r" real,
"player" text,
"position" text,
"the_championship" real,
"fa_cup" real,
"league_cup" real,
"total" real
);
Question: How many times was the r 4?
<|assistant|>
SELECT COUNT("league_cup") FROM "assists" WHERE "r"=4;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"no" real,
"peak" text,
"location" text,
"elevation_m" real,
"prominence_m" real,
"col_height_m" real,
"col_location" text,
"parent" text
);
Question: What is the parent for peak cima tosa?
<|assistant|>
SELECT "parent" FROM "see_also" WHERE "peak"='Cima Tosa';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"no" real,
"peak" text,
"location" text,
"elevation_m" real,
"prominence_m" real,
"col_height_m" real,
"col_location" text,
"parent" text
);
Question: What is the elevation for the peak wildspitze in Austria?
<|assistant|>
SELECT MIN("elevation_m") FROM "see_also" WHERE "location"='Austria' AND "peak"='Wildspitze';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"no" real,
"peak" text,
"location" text,
"elevation_m" real,
"prominence_m" real,
"col_height_m" real,
"col_location" text,
"parent" text
);
Question: What is the elevation for number 39?
<|assistant|>
SELECT MAX("elevation_m") FROM "see_also" WHERE "no"=39;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"no" real,
"peak" text,
"location" text,
"elevation_m" real,
"prominence_m" real,
"col_height_m" real,
"col_location" text,
"parent" text
);
Question: What is the col location for the location of france / italy?
<|assistant|>
SELECT "col_location" FROM "see_also" WHERE "location"='France / Italy';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"no" real,
"peak" text,
"location" text,
"elevation_m" real,
"prominence_m" real,
"col_height_m" real,
"col_location" text,
"parent" text
);
Question: What is the col location with a col height (m) of 1107?
<|assistant|>
SELECT "col_location" FROM "see_also" WHERE "col_height_m"=1107;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"no" real,
"peak" text,
"location" text,
"elevation_m" real,
"prominence_m" real,
"col_height_m" real,
"col_location" text,
"parent" text
);
Question: Which location has an elevation of 3798?
<|assistant|>
SELECT "location" FROM "see_also" WHERE "elevation_m"=3798;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "official_callanetics_dv_ds_by_callan_pin" (
"year" real,
"title" text,
"format" text,
"studio" text,
"release_date" text,
"copyright_information" text,
"catalog_number" text
);
Question: What is the title when the catalog number is cal01 / 0091037137319?
<|assistant|>
SELECT "title" FROM "official_callanetics_dv_ds_by_callan_pin" WHERE "catalog_number"='CAL01 / 0091037137319';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "official_callanetics_dv_ds_by_callan_pin" (
"year" real,
"title" text,
"format" text,
"studio" text,
"release_date" text,
"copyright_information" text,
"catalog_number" text
);
Question: How many times is the title am/pm callanetics?
<|assistant|>
SELECT COUNT("studio") FROM "official_callanetics_dv_ds_by_callan_pin" WHERE "title"='AM/PM Callanetics';<|endoftext|> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.