text
stringlengths 310
1.28k
|
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" (
"antibody" text,
"brand_name" text,
"approval_date" real,
"type" text,
"target" text,
"approved_treatment_s" text
);
Question: What is the brand name for the antibody Brentuximab Vedotin?
<|assistant|>
SELECT "brand_name" FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "antibody"='Brentuximab vedotin';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" (
"antibody" text,
"brand_name" text,
"approval_date" real,
"type" text,
"target" text,
"approved_treatment_s" text
);
Question: How many targets are there with an approval date of 1997?
<|assistant|>
SELECT COUNT("target") FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "approval_date"=1997;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" (
"antibody" text,
"brand_name" text,
"approval_date" real,
"type" text,
"target" text,
"approved_treatment_s" text
);
Question: What are the approved treatments when the antibody is bevacizumab?
<|assistant|>
SELECT "approved_treatment_s" FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "antibody"='Bevacizumab';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" (
"antibody" text,
"brand_name" text,
"approval_date" real,
"type" text,
"target" text,
"approved_treatment_s" text
);
Question: What is the target when the approved treatment is non-hodgkin lymphoma?
<|assistant|>
SELECT "target" FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "approved_treatment_s"='non-Hodgkin lymphoma';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" (
"antibody" text,
"brand_name" text,
"approval_date" real,
"type" text,
"target" text,
"approved_treatment_s" text
);
Question: What is the target with an approval date of 2006?
<|assistant|>
SELECT "target" FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "approval_date"=2006;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population_of_kazakhstan_1939_2009" (
"year_january" real,
"population_000" real,
"rural_pct" real,
"urban_pct" real,
"source" text
);
Question: What is the urban population % when the rural percentage is 43?
<|assistant|>
SELECT MIN("urban_pct") FROM "population_of_kazakhstan_1939_2009" WHERE "rural_pct"=43;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population_of_kazakhstan_1939_2009" (
"year_january" real,
"population_000" real,
"rural_pct" real,
"urban_pct" real,
"source" text
);
Question: What is the rural population percentage in 1979?
<|assistant|>
SELECT MIN("rural_pct") FROM "population_of_kazakhstan_1939_2009" WHERE "year_january"=1979;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population_of_kazakhstan_1939_2009" (
"year_january" real,
"population_000" real,
"rural_pct" real,
"urban_pct" real,
"source" text
);
Question: How many percentage figures are given for the urban population when the total population number is 14685?
<|assistant|>
SELECT COUNT("urban_pct") FROM "population_of_kazakhstan_1939_2009" WHERE "population_000"=14685;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "population_of_kazakhstan_1939_2009" (
"year_january" real,
"population_000" real,
"rural_pct" real,
"urban_pct" real,
"source" text
);
Question: For how many years was the urban population 57%?
<|assistant|>
SELECT COUNT("source") FROM "population_of_kazakhstan_1939_2009" WHERE "urban_pct"=57;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "religion" (
"ethnicity" text,
"islam" text,
"christianity" text,
"judaism" text,
"buddhism" text,
"other" text,
"atheism" text,
"n_a" text
);
Question: When tajik is the ethnicity what is islam?
<|assistant|>
SELECT "islam" FROM "religion" WHERE "ethnicity"='Tajik';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "course" (
"number" real,
"name" text,
"kilometer" real,
"pavement" text,
"length_m" real,
"average_climb_pct" real
);
Question: How many had a length of 455?
<|assistant|>
SELECT COUNT("name") FROM "course" WHERE "length_m"=455;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "course" (
"number" real,
"name" text,
"kilometer" real,
"pavement" text,
"length_m" real,
"average_climb_pct" real
);
Question: What is the average climb for Tenbosse?
<|assistant|>
SELECT MIN("average_climb_pct") FROM "course" WHERE "name"='Tenbosse';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "course" (
"number" real,
"name" text,
"kilometer" real,
"pavement" text,
"length_m" real,
"average_climb_pct" real
);
Question: How many have a kilometers of 233?
<|assistant|>
SELECT "number" FROM "course" WHERE "kilometer"=233;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "course" (
"number" real,
"name" text,
"kilometer" real,
"pavement" text,
"length_m" real,
"average_climb_pct" real
);
Question: How many have a length of 375?
<|assistant|>
SELECT COUNT("average_climb_pct") FROM "course" WHERE "length_m"=375;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: What was the team's playoff status in 2011?
<|assistant|>
SELECT "playoffs" FROM "year_by_year" WHERE "year"='2011';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: What was the team's league in 2010?
<|assistant|>
SELECT "league" FROM "year_by_year" WHERE "year"='2010';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: What is the league name for the regular season status of 2nd, mid atlantic?
<|assistant|>
SELECT "league" FROM "year_by_year" WHERE "regular_season"='2nd, Mid Atlantic';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: Who was the winning driver at Okayama International Circuit?
<|assistant|>
SELECT "winning_driver" FROM "calendar" WHERE "circuit"='Okayama International Circuit';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: Who had the fastest lap when the winning team was Tom's Racing?
<|assistant|>
SELECT "fastest_lap" FROM "calendar" WHERE "winning_team"='TOM''S Racing';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: Who had the fastest lap in the race won by Team Impul at the Twin Ring Motegi circuit?
<|assistant|>
SELECT "fastest_lap" FROM "calendar" WHERE "winning_team"='Team Impul' AND "circuit"='Twin Ring Motegi';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"bills_points" real,
"opponents" real,
"bills_first_downs" real,
"record" text,
"attendance" real
);
Question: How many opponents did the team play in week 13?
<|assistant|>
SELECT COUNT("opponents") FROM "schedule" WHERE "game"=13;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"bills_points" real,
"opponents" real,
"bills_first_downs" real,
"record" text,
"attendance" real
);
Question: How many points did the opponent score on Sept. 14?
<|assistant|>
SELECT MAX("opponents") FROM "schedule" WHERE "date"='Sept. 14';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"bills_points" real,
"opponents" real,
"bills_first_downs" real,
"record" text,
"attendance" real
);
Question: What team were the bills playing where their first down was 23?
<|assistant|>
SELECT "opponent" FROM "schedule" WHERE "bills_first_downs"=23;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"bills_points" real,
"opponents" real,
"bills_first_downs" real,
"record" text,
"attendance" real
);
Question: What was the record for the game on Sept. 14?
<|assistant|>
SELECT "record" FROM "schedule" WHERE "date"='Sept. 14';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16677738_1" (
"year" real,
"edmonton_hundred" real,
"elthorne_hundred" real,
"gore_hundred" real,
"isleworth_hundred" real,
"holborn_division" real,
"finsbury_division" real,
"kensington_division" real,
"tower_division" real,
"spelthorne_hundred" real,
"within_the_walls" real,
"without_the_walls" real,
"inns_of_court_and_chancery" real,
"westminster_city_and_liberty" real,
"total" real
);
Question: When 12743 is the spelthorne what is the largest gore hundred?
<|assistant|>
SELECT MAX("gore_hundred") FROM "table1_16677738_1" WHERE "spelthorne_hundred"=12743;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16677738_1" (
"year" real,
"edmonton_hundred" real,
"elthorne_hundred" real,
"gore_hundred" real,
"isleworth_hundred" real,
"holborn_division" real,
"finsbury_division" real,
"kensington_division" real,
"tower_division" real,
"spelthorne_hundred" real,
"within_the_walls" real,
"without_the_walls" real,
"inns_of_court_and_chancery" real,
"westminster_city_and_liberty" real,
"total" real
);
Question: When 1546 is inns of court and chancery what is the finsbury division?
<|assistant|>
SELECT "finsbury_division" FROM "table1_16677738_1" WHERE "inns_of_court_and_chancery"=1546;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16677738_1" (
"year" real,
"edmonton_hundred" real,
"elthorne_hundred" real,
"gore_hundred" real,
"isleworth_hundred" real,
"holborn_division" real,
"finsbury_division" real,
"kensington_division" real,
"tower_division" real,
"spelthorne_hundred" real,
"within_the_walls" real,
"without_the_walls" real,
"inns_of_court_and_chancery" real,
"westminster_city_and_liberty" real,
"total" real
);
Question: What is the lowest overall year?
<|assistant|>
SELECT MIN("year") FROM "table1_16677738_1";<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16677738_1" (
"year" real,
"edmonton_hundred" real,
"elthorne_hundred" real,
"gore_hundred" real,
"isleworth_hundred" real,
"holborn_division" real,
"finsbury_division" real,
"kensington_division" real,
"tower_division" real,
"spelthorne_hundred" real,
"within_the_walls" real,
"without_the_walls" real,
"inns_of_court_and_chancery" real,
"westminster_city_and_liberty" real,
"total" real
);
Question: When 70489 is without walls what is the inns of court and chancery?
<|assistant|>
SELECT "inns_of_court_and_chancery" FROM "table1_16677738_1" WHERE "without_the_walls"=70489;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16677738_1" (
"year" real,
"edmonton_hundred" real,
"elthorne_hundred" real,
"gore_hundred" real,
"isleworth_hundred" real,
"holborn_division" real,
"finsbury_division" real,
"kensington_division" real,
"tower_division" real,
"spelthorne_hundred" real,
"within_the_walls" real,
"without_the_walls" real,
"inns_of_court_and_chancery" real,
"westminster_city_and_liberty" real,
"total" real
);
Question: When within the walls is larger than 56174.0 what is the lowest amount without the walls?
<|assistant|>
SELECT MIN("without_the_walls") FROM "table1_16677738_1" WHERE "within_the_walls">56174.0;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_16677738_1" (
"year" real,
"edmonton_hundred" real,
"elthorne_hundred" real,
"gore_hundred" real,
"isleworth_hundred" real,
"holborn_division" real,
"finsbury_division" real,
"kensington_division" real,
"tower_division" real,
"spelthorne_hundred" real,
"within_the_walls" real,
"without_the_walls" real,
"inns_of_court_and_chancery" real,
"westminster_city_and_liberty" real,
"total" real
);
Question: When 272966 is the tower division what is the highest holborn division?
<|assistant|>
SELECT MAX("holborn_division") FROM "table1_16677738_1" WHERE "tower_division"=272966;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "standings" (
"country" text,
"skip" text,
"w" real,
"l" real,
"pf" real,
"pa" real,
"ends_won" real,
"ends_lost" real,
"blank_ends_f_a" text,
"stolen_ends_for" real,
"stolen_ends_against" real,
"shot_pct" real
);
Question: How many stolen ends against where there when Thomas Dufour was skip?
<|assistant|>
SELECT "stolen_ends_against" FROM "standings" WHERE "skip"='Thomas Dufour';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "standings" (
"country" text,
"skip" text,
"w" real,
"l" real,
"pf" real,
"pa" real,
"ends_won" real,
"ends_lost" real,
"blank_ends_f_a" text,
"stolen_ends_for" real,
"stolen_ends_against" real,
"shot_pct" real
);
Question: What is the maximum number of stolen ends against for Japan?
<|assistant|>
SELECT MAX("stolen_ends_against") FROM "standings" WHERE "country"='Japan';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "standings" (
"country" text,
"skip" text,
"w" real,
"l" real,
"pf" real,
"pa" real,
"ends_won" real,
"ends_lost" real,
"blank_ends_f_a" text,
"stolen_ends_for" real,
"stolen_ends_against" real,
"shot_pct" real
);
Question: Who was the skip when the stolen ends against was 13?
<|assistant|>
SELECT "skip" FROM "standings" WHERE "stolen_ends_against"=13;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "composition_of_common_crystalloid_soluti" (
"solution" text,
"other_name" text,
"na_mmol_l" real,
"cl_mmol_l" real,
"glucose_mmol_l" real,
"glucose_mg_dl" real
);
Question: Name the most glucolse where cl is 154
<|assistant|>
SELECT MAX("glucose_mg_dl") FROM "composition_of_common_crystalloid_soluti" WHERE "cl_mmol_l"=154;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "composition_of_common_crystalloid_soluti" (
"solution" text,
"other_name" text,
"na_mmol_l" real,
"cl_mmol_l" real,
"glucose_mmol_l" real,
"glucose_mg_dl" real
);
Question: Name the other name where glucose is 5000
<|assistant|>
SELECT "other_name" FROM "composition_of_common_crystalloid_soluti" WHERE "glucose_mg_dl"=5000;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "composition_of_common_crystalloid_soluti" (
"solution" text,
"other_name" text,
"na_mmol_l" real,
"cl_mmol_l" real,
"glucose_mmol_l" real,
"glucose_mg_dl" real
);
Question: Name the other name where na plus is 77
<|assistant|>
SELECT "other_name" FROM "composition_of_common_crystalloid_soluti" WHERE "na_mmol_l"=77;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "test_record_partnerships_by_wicket" (
"wicket" text,
"runs" real,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
);
Question: Who are the batting partners for the 1997 season?
<|assistant|>
SELECT "batting_partners" FROM "test_record_partnerships_by_wicket" WHERE "season"='1997';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "test_record_partnerships_by_wicket" (
"wicket" text,
"runs" real,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
);
Question: Which season reported wickets of 7th?
<|assistant|>
SELECT "season" FROM "test_record_partnerships_by_wicket" WHERE "wicket"='7th';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "test_record_partnerships_by_wicket" (
"wicket" text,
"runs" real,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
);
Question: Which team is 9th in wickets?
<|assistant|>
SELECT "fielding_team" FROM "test_record_partnerships_by_wicket" WHERE "wicket"='9th';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "test_record_partnerships_by_wicket" (
"wicket" text,
"runs" real,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
);
Question: What is the venue for batting partners Mahela Jayawardene and Prasanna Jayawardene
<|assistant|>
SELECT "venue" FROM "test_record_partnerships_by_wicket" WHERE "batting_partners"='Mahela Jayawardene and Prasanna Jayawardene';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "test_record_partnerships_by_wicket" (
"wicket" text,
"runs" real,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
);
Question: How many teams are listed for 3rd wickets?
<|assistant|>
SELECT COUNT("batting_team") FROM "test_record_partnerships_by_wicket" WHERE "wicket"='3rd';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_10_test_partnerships_for_any_wicket" (
"runs" text,
"wicket" text,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
);
Question: How many total batting partners were most successful in the 2006 season?
<|assistant|>
SELECT COUNT("batting_partners") FROM "top_10_test_partnerships_for_any_wicket" WHERE "season"='2006';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_10_test_partnerships_for_any_wicket" (
"runs" text,
"wicket" text,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
);
Question: What batting partners batted for pakistan?
<|assistant|>
SELECT "batting_partners" FROM "top_10_test_partnerships_for_any_wicket" WHERE "batting_team"='Pakistan';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_10_test_partnerships_for_any_wicket" (
"runs" text,
"wicket" text,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
);
Question: How many runs when bangladesh was the fielding team?
<|assistant|>
SELECT "runs" FROM "top_10_test_partnerships_for_any_wicket" WHERE "fielding_team"='Bangladesh';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_10_test_partnerships_for_any_wicket" (
"runs" text,
"wicket" text,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
);
Question: What are the wickets when there are 451 runs and india is the fielding team?
<|assistant|>
SELECT "wicket" FROM "top_10_test_partnerships_for_any_wicket" WHERE "runs"='451' AND "fielding_team"='India';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_10_test_partnerships_for_any_wicket" (
"runs" text,
"wicket" text,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
);
Question: What batting partners played in sydney?
<|assistant|>
SELECT "batting_partners" FROM "top_10_test_partnerships_for_any_wicket" WHERE "venue"='Sydney';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_10_test_partnerships_for_any_wicket" (
"runs" text,
"wicket" text,
"batting_partners" text,
"batting_team" text,
"fielding_team" text,
"venue" text,
"season" text
);
Question: What batting partners were the most successful in 2004?
<|assistant|>
SELECT "batting_partners" FROM "top_10_test_partnerships_for_any_wicket" WHERE "season"='2004';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"falcons_points" real,
"opponents" real,
"record" text,
"attendance" real
);
Question: Name the falcons points for record of 3-2
<|assistant|>
SELECT "falcons_points" FROM "schedule" WHERE "record"='3-2';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"falcons_points" real,
"opponents" real,
"record" text,
"attendance" real
);
Question: Name the date for game 9
<|assistant|>
SELECT "date" FROM "schedule" WHERE "game"=9;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"falcons_points" real,
"opponents" real,
"record" text,
"attendance" real
);
Question: Name the max game for attendance being 54774
<|assistant|>
SELECT MAX("game") FROM "schedule" WHERE "attendance"=54774;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"falcons_points" real,
"opponents" real,
"record" text,
"attendance" real
);
Question: Name the total number of results for new orleans saints
<|assistant|>
SELECT COUNT("result") FROM "schedule" WHERE "opponent"='New Orleans Saints';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"falcons_points" real,
"opponents" real,
"record" text,
"attendance" real
);
Question: What is the total number of opponents for the game recorded as 1-3?
<|assistant|>
SELECT COUNT("opponent") FROM "schedule" WHERE "record"='1-3';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"falcons_points" real,
"opponents" real,
"record" text,
"attendance" real
);
Question: What was the result of the 1978 Atlanta Falcons season when the record was 1-2?
<|assistant|>
SELECT "result" FROM "schedule" WHERE "record"='1-2';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"falcons_points" real,
"opponents" real,
"record" text,
"attendance" real
);
Question: How many points did the Falcons score when the record was 4-4?
<|assistant|>
SELECT "falcons_points" FROM "schedule" WHERE "record"='4-4';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"falcons_points" real,
"opponents" real,
"record" text,
"attendance" real
);
Question: How many opponents were there for the game recorded as 6-4 in the Atlanta Falcons 1978 season?
<|assistant|>
SELECT COUNT("opponents") FROM "schedule" WHERE "record"='6-4';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"falcons_points" real,
"opponents" real,
"record" text,
"attendance" real
);
Question: In games where the opponent was the San Francisco 49ers what was the minimum amount of points scored?
<|assistant|>
SELECT MIN("falcons_points") FROM "schedule" WHERE "opponent"='San Francisco 49ers';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_seasons_and_teams" (
"season" real,
"class" text,
"team" text,
"motorcycle" text,
"type" text,
"races" real,
"wins" real,
"podiums" real,
"poles" real,
"fastest_laps" real,
"pts" text,
"position" text
);
Question: How many points did kiefer-bos-castrol honda have?
<|assistant|>
SELECT "pts" FROM "by_seasons_and_teams" WHERE "team"='Kiefer-Bos-Castrol Honda';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_seasons_and_teams" (
"season" real,
"class" text,
"team" text,
"motorcycle" text,
"type" text,
"races" real,
"wins" real,
"podiums" real,
"poles" real,
"fastest_laps" real,
"pts" text,
"position" text
);
Question: What result did the ktm motorcycle achieve?
<|assistant|>
SELECT "position" FROM "by_seasons_and_teams" WHERE "motorcycle"='KTM';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_seasons_and_teams" (
"season" real,
"class" text,
"team" text,
"motorcycle" text,
"type" text,
"races" real,
"wins" real,
"podiums" real,
"poles" real,
"fastest_laps" real,
"pts" text,
"position" text
);
Question: What is the lowest number of poles?
<|assistant|>
SELECT MIN("poles") FROM "by_seasons_and_teams";<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
);
Question: Name the least top 5
<|assistant|>
SELECT MIN("top_5") FROM "nascar_sprint_cup_series";<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_camping_world_truck_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
);
Question: name the top 5 where the winnings is $52,595
<|assistant|>
SELECT "top_5" FROM "nascar_camping_world_truck_series" WHERE "winnings"='$52,595';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_camping_world_truck_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
);
Question: name the total number of top 10 also where the position is 51st
<|assistant|>
SELECT COUNT("top_10") FROM "nascar_camping_world_truck_series" WHERE "position"='51st';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_camping_world_truck_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
);
Question: name all the winnings that the start appears to be 7
<|assistant|>
SELECT "winnings" FROM "nascar_camping_world_truck_series" WHERE "starts"=7;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
);
Question: Name the total number of winnings for 1995
<|assistant|>
SELECT COUNT("winnings") FROM "nascar_nationwide_series" WHERE "year"=1995;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
);
Question: Name the max top 5 for 5.0 avg finish
<|assistant|>
SELECT MAX("top_5") FROM "nascar_nationwide_series" WHERE "avg_finish"='5.0';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
);
Question: Name the poles for avg finish is 26.8
<|assistant|>
SELECT "poles" FROM "nascar_nationwide_series" WHERE "avg_finish"='26.8';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
);
Question: Name the total number of teams for top 10 being 5
<|assistant|>
SELECT COUNT("team_s") FROM "nascar_nationwide_series" WHERE "top_10"=5;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_by_year" (
"year" real,
"mens_open" text,
"womens_open" text,
"mixed_open" text,
"mens_u20" text,
"womens_u20" text,
"senior_mixed" text,
"mens_30" text,
"womens_30" text,
"mens_35" text,
"womens_35" text,
"mens_40" text,
"womens_40" text,
"mens_45" text,
"mens_50" text
);
Question: How many times was the mens u20 recorded when the Womens 40 were Sydney Scorpions def North Queensland Cyclones?
<|assistant|>
SELECT COUNT("mens_u20") FROM "results_by_year" WHERE "womens_40"='Sydney Scorpions def North Queensland Cyclones';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_by_year" (
"year" real,
"mens_open" text,
"womens_open" text,
"mixed_open" text,
"mens_u20" text,
"womens_u20" text,
"senior_mixed" text,
"mens_30" text,
"womens_30" text,
"mens_35" text,
"womens_35" text,
"mens_40" text,
"womens_40" text,
"mens_45" text,
"mens_50" text
);
Question: What were the results for mens 40 when the mens u20 was Southern Suns def Gold Coast Sharks?
<|assistant|>
SELECT "mens_40" FROM "results_by_year" WHERE "mens_u20"='Southern Suns def Gold Coast Sharks';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_by_year" (
"year" real,
"mens_open" text,
"womens_open" text,
"mixed_open" text,
"mens_u20" text,
"womens_u20" text,
"senior_mixed" text,
"mens_30" text,
"womens_30" text,
"mens_35" text,
"womens_35" text,
"mens_40" text,
"womens_40" text,
"mens_45" text,
"mens_50" text
);
Question: What were the results of the mens open when the womens 40 was Sydney Scorpions defeated Hunter Hornets?
<|assistant|>
SELECT "mens_open" FROM "results_by_year" WHERE "womens_40"='Sydney Scorpions defeated Hunter Hornets';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_by_year" (
"year" real,
"mens_open" text,
"womens_open" text,
"mixed_open" text,
"mens_u20" text,
"womens_u20" text,
"senior_mixed" text,
"mens_30" text,
"womens_30" text,
"mens_35" text,
"womens_35" text,
"mens_40" text,
"womens_40" text,
"mens_45" text,
"mens_50" text
);
Question: What were the results of the womens u20 when the mens 45 was Sunwest Razorbacks def Northern Eagles?
<|assistant|>
SELECT "womens_u20" FROM "results_by_year" WHERE "mens_45"='SunWest Razorbacks def Northern Eagles';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_by_year" (
"year" real,
"mens_open" text,
"womens_open" text,
"mixed_open" text,
"mens_u20" text,
"womens_u20" text,
"senior_mixed" text,
"mens_30" text,
"womens_30" text,
"mens_35" text,
"womens_35" text,
"mens_40" text,
"womens_40" text,
"mens_45" text,
"mens_50" text
);
Question: What was the mens 45 when mens 40 was Sunwest Razorbacks def Sydney Mets?
<|assistant|>
SELECT "mens_45" FROM "results_by_year" WHERE "mens_40"='SunWest Razorbacks def Sydney Mets';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_by_year" (
"year" real,
"mens_open" text,
"womens_open" text,
"mixed_open" text,
"mens_u20" text,
"womens_u20" text,
"senior_mixed" text,
"mens_30" text,
"womens_30" text,
"mens_35" text,
"womens_35" text,
"mens_40" text,
"womens_40" text,
"mens_45" text,
"mens_50" text
);
Question: What was the mens open when the mens u20 was Qld Country Rustlers def Southern Suns?
<|assistant|>
SELECT "mens_open" FROM "results_by_year" WHERE "mens_u20"='Qld Country Rustlers def Southern Suns';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
Question: What date was the opponent the Los Angeles Raiders?
<|assistant|>
SELECT "date" FROM "schedule" WHERE "opponent"='Los Angeles Raiders';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
Question: How many games were played at Cleveland Stadium?
<|assistant|>
SELECT COUNT("date") FROM "schedule" WHERE "game_site"='Cleveland Stadium';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
Question: In what week number was the attendance 74716?
<|assistant|>
SELECT COUNT("week") FROM "schedule" WHERE "attendance"=74716;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_population" (
"province" text,
"population" real,
"region" text,
"name_of_city" text,
"districts" real
);
Question: What is the region where Iquitos is located?
<|assistant|>
SELECT "region" FROM "by_population" WHERE "name_of_city"='Iquitos';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_population" (
"province" text,
"population" real,
"region" text,
"name_of_city" text,
"districts" real
);
Question: What is the region containing the Constitutional Province of Callao?
<|assistant|>
SELECT "region" FROM "by_population" WHERE "province"='Constitutional Province of Callao';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
Question: How did the game end against the New Orleans Saints?
<|assistant|>
SELECT "result" FROM "schedule" WHERE "opponent"='New Orleans Saints';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
Question: How many weeks had an attendance of 60038?
<|assistant|>
SELECT COUNT("week") FROM "schedule" WHERE "attendance"=60038;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_2012_season" (
"position" real,
"driver_passenger" text,
"equipment" text,
"bike_no" real,
"points" real
);
Question: Name the least points for daniël willemsen / kenny van gaalen
<|assistant|>
SELECT MIN("points") FROM "the_2012_season" WHERE "driver_passenger"='Daniël Willemsen / Kenny van Gaalen';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_2012_season" (
"position" real,
"driver_passenger" text,
"equipment" text,
"bike_no" real,
"points" real
);
Question: Name the driver passenger for position 4
<|assistant|>
SELECT "driver_passenger" FROM "the_2012_season" WHERE "position"=4;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_2011_season" (
"position" real,
"driver_passenger" text,
"equipment" text,
"bike_no" real,
"points" real
);
Question: Name the driver/passenger for position 8
<|assistant|>
SELECT "driver_passenger" FROM "the_2011_season" WHERE "position"=8;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_2011_season" (
"position" real,
"driver_passenger" text,
"equipment" text,
"bike_no" real,
"points" real
);
Question: Name the driver/passenger for 6 position
<|assistant|>
SELECT "driver_passenger" FROM "the_2011_season" WHERE "position"=6;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1672976_5" (
"date" text,
"time" text,
"acc_team" text,
"big_ten_team" text,
"location" text,
"television" text,
"attendance" real,
"winner" text,
"challenge_leader" text
);
Question: Who was the winner when the total attendance was 16597?
<|assistant|>
SELECT "winner" FROM "table1_1672976_5" WHERE "attendance"=16597;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"gpu_frequency" text,
"l2_cache" text,
"i_o_bus" text,
"memory" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
);
Question: What is the socket for microprocessors with a frequency of 1.3 ghz?
<|assistant|>
SELECT "socket" FROM "45_nm" WHERE "frequency"='1.3 GHz';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"gpu_frequency" text,
"l2_cache" text,
"i_o_bus" text,
"memory" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
);
Question: For a release price of $72, what is the TDP of the microprocessor?
<|assistant|>
SELECT "tdp" FROM "45_nm" WHERE "release_price_usd"='$72';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"gpu_frequency" text,
"l2_cache" text,
"i_o_bus" text,
"memory" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
);
Question: For a processor with part number cy80632007221ab and TDP of 3.6 W, What are the available GPU frequencies?
<|assistant|>
SELECT "gpu_frequency" FROM "45_nm" WHERE "tdp"='3.6 W' AND "part_number_s"='CY80632007221AB';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"gpu_frequency" text,
"l2_cache" text,
"i_o_bus" text,
"memory" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
);
Question: For a processor with model number atom e665c and a TDP of 3.6 W, what is the sSpec number?
<|assistant|>
SELECT "s_spec_number" FROM "45_nm" WHERE "tdp"='3.6 W' AND "model_number"='Atom E665C';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"gpu_frequency" text,
"l2_cache" text,
"i_o_bus" text,
"memory" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
);
Question: What is the release price for a processor with part number cy80632007227ab?
<|assistant|>
SELECT "release_price_usd" FROM "45_nm" WHERE "part_number_s"='CY80632007227AB';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"l2_cache" text,
"fsb" text,
"mult" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
);
Question: Name the fsb for atom z540
<|assistant|>
SELECT "fsb" FROM "45_nm" WHERE "model_number"='Atom Z540';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"l2_cache" text,
"fsb" text,
"mult" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
);
Question: Name the frequency for part number of ac80566ue041dw
<|assistant|>
SELECT "frequency" FROM "45_nm" WHERE "part_number_s"='AC80566UE041DW';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"gpu_frequency" text,
"l2_cache" text,
"i_o_bus" text,
"memory" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
);
Question: Name the memory for part number of ct80618003201aa
<|assistant|>
SELECT "memory" FROM "45_nm" WHERE "part_number_s"='CT80618003201AA';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"gpu_frequency" text,
"l2_cache" text,
"i_o_bus" text,
"memory" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
);
Question: Name the memory for meodel number for atom e640t
<|assistant|>
SELECT "memory" FROM "45_nm" WHERE "model_number"='Atom E640T';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"gpu_frequency" text,
"l2_cache" text,
"i_o_bus" text,
"memory" text,
"voltage" text,
"tdp" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
);
Question: Name the memory for frequency of 1.6 ghz
<|assistant|>
SELECT "memory" FROM "45_nm" WHERE "frequency"='1.6 GHz';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1672976_6" (
"date" text,
"time" text,
"acc_team" text,
"big_ten_team" text,
"location" text,
"television" text,
"attendance" real,
"winner" text,
"challenge_leader" text
);
Question: Who won the game where the Challenge Leader is ACC (2-1)?
<|assistant|>
SELECT "winner" FROM "table1_1672976_6" WHERE "challenge_leader"='ACC (2-1)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1672976_6" (
"date" text,
"time" text,
"acc_team" text,
"big_ten_team" text,
"location" text,
"television" text,
"attendance" real,
"winner" text,
"challenge_leader" text
);
Question: What station aired a game at 9:00pm?
<|assistant|>
SELECT "television" FROM "table1_1672976_6" WHERE "time"='9:00PM';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "races" (
"rnd" real,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
Question: ON JUNE 11, WHAT WAS THE NUMBER OF RNDS ?
<|assistant|>
SELECT MIN("rnd") FROM "races" WHERE "date"='June 11';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "races" (
"rnd" real,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
Question: FOR AUGUST 13 WHAT IS THE RND ?
<|assistant|>
SELECT MAX("rnd") FROM "races" WHERE "date"='August 13';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "races" (
"rnd" real,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
Question: PLEASE LIST ALL RACES WHERE THE RND IS 13.
<|assistant|>
SELECT "race_name" FROM "races" WHERE "rnd"=13;<|endoftext|>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.