output stringlengths 27 479 | instruction stringlengths 407 1.39k |
|---|---|
SELECT "high_rebounds" FROM "regular_season" WHERE "record"='11-13'; |
## Task
Generate a SQL query to answer the following question:
`Who had a high rebound where the associated record is 11-13?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" te... |
SELECT "score" FROM "regular_season" WHERE "date"='July 8'; |
## Task
Generate a SQL query to answer the following question:
`On July 8, what was the score?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"h... |
SELECT "opponent" FROM "regular_season" WHERE "score"='L 68-60'; |
## Task
Generate a SQL query to answer the following question:
`Who was the oppenent what the score was L 68-60?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_... |
SELECT "winning_pct" FROM "2009_nbl_ladder_championship_round" WHERE "last_5"='3-2' AND "streak"='L1'; |
## Task
Generate a SQL query to answer the following question:
`what is the winning % whre the last 5 is 3-2 and the streak is l1?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "2009_nbl_ladder_championship_round" (
"rank" real,
"team" text,
"pl... |
SELECT "record" FROM "regular_season" WHERE "high_assists"='Canty (6)'; |
## Task
Generate a SQL query to answer the following question:
`If high assists are under Canty (6) how much would the record be?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"scor... |
SELECT "high_points" FROM "regular_season" WHERE "score"='62-70'; |
## Task
Generate a SQL query to answer the following question:
`If the score is 62-70, what are the high points?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_... |
SELECT "date" FROM "regular_season" WHERE "location_attendance"='UIC Pavilion 3,829'; |
## Task
Generate a SQL query to answer the following question:
`On which date was the location/attendance UIC Pavilion 3,829 respectively?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text... |
SELECT "date" FROM "regular_season" WHERE "high_assists"='Dupree (6)'; |
## Task
Generate a SQL query to answer the following question:
`On which date is high assists Dupree (6)?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points"... |
SELECT "local_investment_us" FROM "investment_and_financing" WHERE "bid_pronar_investment_us"='912,185'; |
## Task
Generate a SQL query to answer the following question:
`What was the local investment (in $) in the projects of the department with $912,185 BID/PRONAR investment?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "investment_and_financing" (
"d... |
SELECT MAX("farmers") FROM "investment_and_financing" WHERE "projects"=32; |
## Task
Generate a SQL query to answer the following question:
`How many farmers were included by the department with 32 projects?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "investment_and_financing" (
"department" text,
"projects" real,
"mu... |
SELECT "department" FROM "investment_and_financing" WHERE "irrigated_ha"=2170; |
## Task
Generate a SQL query to answer the following question:
`What department irrigated 2170 Ha?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "investment_and_financing" (
"department" text,
"projects" real,
"municipalities" real,
"farmers" ... |
SELECT "bid_pronar_investment_us" FROM "investment_and_financing" WHERE "farmers"=1326; |
## Task
Generate a SQL query to answer the following question:
`What was the BID/PRONAR investment (in $) in the department that included 1326 farmers in its projects?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "investment_and_financing" (
"depar... |
SELECT "department" FROM "investment_and_financing" WHERE "local_investment_us"='626,798'; |
## Task
Generate a SQL query to answer the following question:
`What was the department that got $626,798 in local investments?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "investment_and_financing" (
"department" text,
"projects" real,
"munic... |
SELECT MIN("game") FROM "regular_season" WHERE "record"='5-11'; |
## Task
Generate a SQL query to answer the following question:
`What number was the game resulting in a 5-11 record?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"h... |
SELECT COUNT("high_assists") FROM "regular_season" WHERE "score"='68-60'; |
## Task
Generate a SQL query to answer the following question:
`How many high assists are listed for the game with a score of 68-60?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"s... |
SELECT "high_rebounds" FROM "regular_season" WHERE "record"='5-11'; |
## Task
Generate a SQL query to answer the following question:
`In the game resulting in a 5-11 record, who scored the high rebounds?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"... |
SELECT "opponent" FROM "january" WHERE "result"='Won 4-1'; |
## Task
Generate a SQL query to answer the following question:
`Who was the opponent of the game with final score won 4-1?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "january" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"... |
SELECT MIN("attendance") FROM "january" WHERE "man_of_the_match"='Neil Liddiard'; |
## Task
Generate a SQL query to answer the following question:
`What was the attendance at the game where Neil Liddiard was Man of the Match?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "january" (
"date" text,
"opponent" text,
"venue" text,
... |
SELECT "venue" FROM "january" WHERE "result"='Lost 3-4'; |
## Task
Generate a SQL query to answer the following question:
`What was the venue of the game that was lost 3-4?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "january" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendanc... |
SELECT "venue" FROM "january" WHERE "man_of_the_match"='Vaclav Zavoral'; |
## Task
Generate a SQL query to answer the following question:
`What is the venue of the game with Man of the Match Vaclav Zavoral?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "january" (
"date" text,
"opponent" text,
"venue" text,
"result" ... |
SELECT COUNT("attendance") FROM "january" WHERE "result"='Lost 5-3'; |
## Task
Generate a SQL query to answer the following question:
`How many attendance figures are given for the game where the final score was lost 5-3?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "january" (
"date" text,
"opponent" text,
"venue... |
SELECT "opponent" FROM "october" WHERE "date"='4th'; |
## Task
Generate a SQL query to answer the following question:
`Name the opponent for 4th`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "october" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real,
"competition"... |
SELECT "venue" FROM "october" WHERE "date"='19th'; |
## Task
Generate a SQL query to answer the following question:
`Name the venue for 19th date`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "october" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real,
"competiti... |
SELECT "result" FROM "october" WHERE "man_of_the_match"='Lukas Smital' AND "venue"='Home'; |
## Task
Generate a SQL query to answer the following question:
`Name the result for lukas smital and home`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "october" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real,... |
SELECT "man_of_the_match" FROM "october" WHERE "date"='24th'; |
## Task
Generate a SQL query to answer the following question:
`Name the man of the match for 24th`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "october" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real,
"com... |
SELECT "man_of_the_match" FROM "october" WHERE "opponent"='Sheffield Scimitars'; |
## Task
Generate a SQL query to answer the following question:
`Name the man of the maatch for sheffield scimitars`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "october" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendan... |
SELECT "venue" FROM "november" WHERE "date"='19th'; |
## Task
Generate a SQL query to answer the following question:
`On the 19th, where was the venue?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "november" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real,
"com... |
SELECT "attendance" FROM "november" WHERE "opponent"='Swindon Wildcats' AND "venue"='Home'; |
## Task
Generate a SQL query to answer the following question:
`What was the total attendance during the home game against the Swindon Wildcats?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "november" (
"date" text,
"opponent" text,
"venue" tex... |
SELECT "date" FROM "november" WHERE "man_of_the_match"='Stuart Potts'; |
## Task
Generate a SQL query to answer the following question:
`On what day was Stuart Potts the Man of the Match?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "november" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attenda... |
SELECT "venue" FROM "november" WHERE "man_of_the_match"='Alex Mettam/Mark Williams'; |
## Task
Generate a SQL query to answer the following question:
`At what venue did Alex Mettam/Mark Williams be named Man of the Match?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "november" (
"date" text,
"opponent" text,
"venue" text,
"resu... |
SELECT COUNT("date") FROM "december" WHERE "man_of_the_match"='David Savage'; |
## Task
Generate a SQL query to answer the following question:
`How many dates did David Savage get man of the match?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "december" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"atte... |
SELECT "man_of_the_match" FROM "december" WHERE "attendance"=1568; |
## Task
Generate a SQL query to answer the following question:
`When the attendance was 1568, who was man of the match?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "december" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"at... |
SELECT "man_of_the_match" FROM "december" WHERE "result"='Lost 2-4'; |
## Task
Generate a SQL query to answer the following question:
`Who was the man of the match when they lost 2-4?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "december" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendanc... |
SELECT "competition" FROM "february" WHERE "opponent"='Sheffield Scimitars'; |
## Task
Generate a SQL query to answer the following question:
`what was the competitoin where the opponent is sheffield scimitars?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "february" (
"date" text,
"opponent" text,
"venue" text,
"result"... |
SELECT "venue" FROM "february" WHERE "attendance"='702'; |
## Task
Generate a SQL query to answer the following question:
`where was the venue where the attendance was 702?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "february" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendan... |
SELECT "venue" FROM "february" WHERE "date"='22nd'; |
## Task
Generate a SQL query to answer the following question:
`what was the venue where the date was the 22nd?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "february" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance... |
SELECT "opponent" FROM "february" WHERE "date"='21st'; |
## Task
Generate a SQL query to answer the following question:
`who was the opponent where the date was the 21st?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "february" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendan... |
SELECT "score" FROM "game_log" WHERE "team"='Milwaukee'; |
## Task
Generate a SQL query to answer the following question:
`What is the score for Milwaukee? `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_reb... |
SELECT COUNT("record") FROM "table1_17121262_10" WHERE "team"='Washington'; |
## Task
Generate a SQL query to answer the following question:
`What was the record against Washington?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_17121262_10" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" t... |
SELECT "population" FROM "communities" WHERE "census_ranking"='231 of 5,008'; |
## Task
Generate a SQL query to answer the following question:
`If the census ranking is 231 of 5,008, what was the population?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "communities" (
"official_name" text,
"status" text,
"area_km_2" text,
... |
SELECT "official_name" FROM "communities" WHERE "area_km_2"='59.73'; |
## Task
Generate a SQL query to answer the following question:
`If the area is 59.73, what is the official name?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "communities" (
"official_name" text,
"status" text,
"area_km_2" text,
"population" ... |
SELECT "status" FROM "communities" WHERE "census_ranking"='693 of 5,008'; |
## Task
Generate a SQL query to answer the following question:
`If the census ranking is 693 of 5,008, what is the status?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "communities" (
"official_name" text,
"status" text,
"area_km_2" text,
"po... |
SELECT "census_ranking" FROM "communities" WHERE "official_name"='Quispamsis'; |
## Task
Generate a SQL query to answer the following question:
`With the official name Quispamsis, what is the census ranking?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "communities" (
"official_name" text,
"status" text,
"area_km_2" text,
... |
SELECT "population" FROM "communities" WHERE "census_ranking"='782 of 5,008'; |
## Task
Generate a SQL query to answer the following question:
`What was the population for census ranking 782 of 5,008?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "communities" (
"official_name" text,
"status" text,
"area_km_2" text,
"popu... |
SELECT "census_ranking" FROM "communities" WHERE "area_km_2"='34.73'; |
## Task
Generate a SQL query to answer the following question:
`If the area is 34.73, what is the census ranking?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "communities" (
"official_name" text,
"status" text,
"area_km_2" text,
"population"... |
SELECT "census_ranking" FROM "parishes" WHERE "population"=284; |
## Task
Generate a SQL query to answer the following question:
`What are the census ranking(s) for a population of 284?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "parishes" (
"official_name" text,
"status" text,
"area_km_2" text,
"populati... |
SELECT "census_ranking" FROM "parishes" WHERE "area_km_2"='369.25'; |
## Task
Generate a SQL query to answer the following question:
`What are the census ranking(s) that have an area of 369.25 km2?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "parishes" (
"official_name" text,
"status" text,
"area_km_2" text,
"... |
SELECT "population" FROM "parishes" WHERE "area_km_2"='715.58'; |
## Task
Generate a SQL query to answer the following question:
`What is the population that has an area of 715.58?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "parishes" (
"official_name" text,
"status" text,
"area_km_2" text,
"population" r... |
SELECT "status" FROM "parishes" WHERE "official_name"='Saint-Jacques'; |
## Task
Generate a SQL query to answer the following question:
`What are that status(es) of saint-jacques?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "parishes" (
"official_name" text,
"status" text,
"area_km_2" text,
"population" real,
"... |
SELECT "area_km_2" FROM "parishes" WHERE "official_name"='Saint-Joseph'; |
## Task
Generate a SQL query to answer the following question:
`What are the area(s) (km2) for saint-joseph?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "parishes" (
"official_name" text,
"status" text,
"area_km_2" text,
"population" real,
... |
SELECT "census_ranking" FROM "parishes" WHERE "area_km_2"='482.81'; |
## Task
Generate a SQL query to answer the following question:
`What rank is the parish with 482.81 km^2?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "parishes" (
"official_name" text,
"status" text,
"area_km_2" text,
"population" real,
"c... |
SELECT "status" FROM "parishes" WHERE "census_ranking"='2,290 of 5,008'; |
## Task
Generate a SQL query to answer the following question:
`What status doe the area with a census ranking of 2,290 of 5,008 have?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "parishes" (
"official_name" text,
"status" text,
"area_km_2" te... |
SELECT COUNT("status") FROM "parishes" WHERE "official_name"='Gagetown'; |
## Task
Generate a SQL query to answer the following question:
`How many statuses are listed for the parish officially named Gagetown?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "parishes" (
"official_name" text,
"status" text,
"area_km_2" te... |
SELECT "census_ranking" FROM "parishes" WHERE "official_name"='Petersville'; |
## Task
Generate a SQL query to answer the following question:
`What is Petersville's census ranking?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "parishes" (
"official_name" text,
"status" text,
"area_km_2" text,
"population" real,
"censu... |
SELECT "population" FROM "communities" WHERE "status"='City'; |
## Task
Generate a SQL query to answer the following question:
`What is the population of each community with city status?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "communities" (
"official_name" text,
"status" text,
"area_km_2" text,
"po... |
SELECT "official_name" FROM "communities" WHERE "area_km_2"='30.75'; |
## Task
Generate a SQL query to answer the following question:
`What is the name of the community with an area of 30.75 sq. km.?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "communities" (
"official_name" text,
"status" text,
"area_km_2" text,... |
SELECT "area_km_2" FROM "communities" WHERE "population"=1209; |
## Task
Generate a SQL query to answer the following question:
`What is the area of the community with a population of 1209?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "communities" (
"official_name" text,
"status" text,
"area_km_2" text,
"... |
SELECT COUNT("population") FROM "communities" WHERE "area_km_2"='10.25'; |
## Task
Generate a SQL query to answer the following question:
`How many population values are listed for the community with an area of 10.25 sq.km.?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "communities" (
"official_name" text,
"status" text... |
SELECT "region_1" FROM "table1_171320_3" WHERE "region_4"='April 2, 2009'; |
## Task
Generate a SQL query to answer the following question:
`Name the region 1 where region 4 for april 2, 2009`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_171320_3" (
"dvd_name" text,
"ep_num" real,
"region_1" text,
"region_2_sca... |
SELECT "region_1" FROM "table1_171320_3" WHERE "ep_num"=13; |
## Task
Generate a SQL query to answer the following question:
`Name the region 1 for episode number 13`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_171320_3" (
"dvd_name" text,
"ep_num" real,
"region_1" text,
"region_2_scandinavia" t... |
SELECT "directed_by" FROM "table1_17152787_3" WHERE "title"='\"Episode 19\"'; |
## Task
Generate a SQL query to answer the following question:
`Who directed the episode titled "Episode 19"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_17152787_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by"... |
SELECT COUNT("series_num") FROM "table1_17152787_3" WHERE "season_num"=1; |
## Task
Generate a SQL query to answer the following question:
`How many episodes have the season number of 1?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_17152787_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by... |
SELECT "director" FROM "submissions" WHERE "original_title"='The Patience Stone'; |
## Task
Generate a SQL query to answer the following question:
`Who was the director of the film with the original title of "The Patience Stone"? `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used... |
SELECT "year_ceremony" FROM "submissions" WHERE "original_title"='Fire Dancer'; |
## Task
Generate a SQL query to answer the following question:
`For what ceremony was "Fire Dancer" not nominated? `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"origin... |
SELECT "film_title_used_in_nomination" FROM "submissions" WHERE "original_title"='The Black Tulip'; |
## Task
Generate a SQL query to answer the following question:
`What name was used for nomination for the film with an original title of "The Black Tulip"? `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_... |
SELECT "language_s" FROM "submissions" WHERE "film_title_used_in_nomination"='FireDancer'; |
## Task
Generate a SQL query to answer the following question:
`What languages were spoken in the film "FireDancer"?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"origi... |
SELECT "director" FROM "submissions" WHERE "original_title"='16 Days in Afghanistan'; |
## Task
Generate a SQL query to answer the following question:
`Who was the director of the film with an original title of "16 Days in Afghanistan"? `
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_u... |
SELECT "model" FROM "tree_level_packages" WHERE "method"='HA'; |
## Task
Generate a SQL query to answer the following question:
`what is the model where the method is ha?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "tree_level_packages" (
"name" text,
"model" text,
"max_fs" text,
"tested_fs" text,
"shor... |
SELECT COUNT("model") FROM "tree_level_packages" WHERE "status"='Status' AND "name"='GenEva'; |
## Task
Generate a SQL query to answer the following question:
`what is the total number of model wehre the status is named geneva?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "tree_level_packages" (
"name" text,
"model" text,
"max_fs" text,
... |
SELECT "max_fs" FROM "tree_level_packages" WHERE "status"='Status' AND "method"='Method'; |
## Task
Generate a SQL query to answer the following question:
`what is the max fs where the status is status and the method is method?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "tree_level_packages" (
"name" text,
"model" text,
"max_fs" tex... |
SELECT "output" FROM "tree_level_packages" WHERE "short_description"='massive'; |
## Task
Generate a SQL query to answer the following question:
`what ist he output where the short description is massive?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "tree_level_packages" (
"name" text,
"model" text,
"max_fs" text,
"tested_... |
SELECT "film_title_used_in_nomination" FROM "table1_17156199_1" WHERE "original_title"='শ্যামল ছায়া (Shyamol Chhaya)'; |
## Task
Generate a SQL query to answer the following question:
`What was the nominated film title of শ্যামল ছায়া (shyamol chhaya)?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_17156199_1" (
"year_ceremony" text,
"film_title_used_in_nomin... |
SELECT "year_ceremony" FROM "table1_17156199_1" WHERE "original_title"='বৃত্তের বাইরে (Britter Baire)'; |
## Task
Generate a SQL query to answer the following question:
`What year and ceremony was the original title বৃত্তের বাইরে (britter baire)?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_17156199_1" (
"year_ceremony" text,
"film_title_use... |
SELECT COUNT("year_ceremony") FROM "table1_17156199_1" WHERE "original_title"='স্বপ্নডানায় (Swopnodanay)'; |
## Task
Generate a SQL query to answer the following question:
`How many years was the original title was স্বপ্নডানায় (swopnodanay)?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_17156199_1" (
"year_ceremony" text,
"film_title_used_in_nom... |
SELECT "nickname" FROM "former_members" WHERE "founded"=1902; |
## Task
Generate a SQL query to answer the following question:
`what is the nickname founded in 1902?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "former_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollm... |
SELECT "location" FROM "former_members" WHERE "enrollment"=4259; |
## Task
Generate a SQL query to answer the following question:
`where is the enrollment 4259?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "former_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" rea... |
SELECT "founded" FROM "former_members" WHERE "institution"='Union University'; |
## Task
Generate a SQL query to answer the following question:
`what is the year union university was founded?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "former_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
... |
SELECT "pct_2011" FROM "population" WHERE "province"='Manitoba'; |
## Task
Generate a SQL query to answer the following question:
`What was the percentage in Manitoba in 2011?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "population" (
"province" text,
"south_asians_2001" real,
"pct_2001" text,
"south_asians... |
SELECT "province" FROM "population" WHERE "south_asians_2001"=210295; |
## Task
Generate a SQL query to answer the following question:
`Which province had population of 210295 South Asians in 2001?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "population" (
"province" text,
"south_asians_2001" real,
"pct_2001" text... |
SELECT "south_asians_2001" FROM "population" WHERE "province"='Nova Scotia'; |
## Task
Generate a SQL query to answer the following question:
`What was the South Asian population in Nova Scotia in 2001?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "population" (
"province" text,
"south_asians_2001" real,
"pct_2001" text,
... |
SELECT "pct_2011" FROM "population" WHERE "pct_2001"='2.4%'; |
## Task
Generate a SQL query to answer the following question:
`What was the percentage in 2011 of the province that had 2.4% population in 2001?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "population" (
"province" text,
"south_asians_2001" rea... |
SELECT COUNT("south_asians_2001") FROM "population" WHERE "pct_2011"='4.4%'; |
## Task
Generate a SQL query to answer the following question:
`How many figures are given for total number of South Asians in 2001 for the area where they were 4.4% of population in 2011?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "population" (
... |
SELECT "indians_admitted" FROM "immigration" WHERE "year"=2001; |
## Task
Generate a SQL query to answer the following question:
`How many Indians were admitted in 2001?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "immigration" (
"year" real,
"indians_admitted" real,
"pakistanis_admitted" real,
"sri_lankan... |
SELECT MAX("pakistanis_admitted") FROM "immigration" WHERE "nepalis_admitted"=627; |
## Task
Generate a SQL query to answer the following question:
`What is the greatest number of Pakistanis admitted to Canada during those times when the number of Nepalis admitted was 627?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "immigration" (
... |
SELECT MIN("indians_admitted") FROM "immigration" WHERE "sri_lankans_admitted"=3104; |
## Task
Generate a SQL query to answer the following question:
`What is the most number of Indians admitted to Canada when the number of Sri Lankans admitted was 3104?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "immigration" (
"year" real,
"ind... |
SELECT COUNT("tv_season") FROM "seasonal_timeslots_ratings" WHERE "season_finale"='May 24, 1994'; |
## Task
Generate a SQL query to answer the following question:
`Name the number of tv seasons for season finale being may 24, 1994`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "seasonal_timeslots_ratings" (
"season" real,
"tv_season" text,
"reg... |
SELECT COUNT("tv_season") FROM "seasonal_timeslots_ratings" WHERE "season_finale"='May 23, 1995'; |
## Task
Generate a SQL query to answer the following question:
`Name the number of tv seasons for season finale of may 23, 1995`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "seasonal_timeslots_ratings" (
"season" real,
"tv_season" text,
"regula... |
SELECT COUNT("driver_passenger") FROM "riders" WHERE "position"=30; |
## Task
Generate a SQL query to answer the following question:
`Name the driver/passenger for 30`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "riders" (
"position" real,
"driver_passenger" text,
"equipment" text,
"bike_no" real,
"points" re... |
SELECT MAX("bike_no") FROM "riders" WHERE "position"=30; |
## Task
Generate a SQL query to answer the following question:
`Name the max bike number of position for 30`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "riders" (
"position" real,
"driver_passenger" text,
"equipment" text,
"bike_no" real,
... |
SELECT "high_points" FROM "playoffs" WHERE "game"=4; |
## Task
Generate a SQL query to answer the following question:
`Who had the most points in game 4?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_re... |
SELECT COUNT("going_to") FROM "table1_17200372_2" WHERE "calling_at"='Thurlby, Braceborough Spa' AND "departure"='16.50'; |
## Task
Generate a SQL query to answer the following question:
`Name the number of going to for thurlby, braceborough spa at departure being 16.50`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_17200372_2" (
"departure" text,
"going_to" te... |
SELECT "departure" FROM "table1_17200372_2" WHERE "going_to"='Spalding'; |
## Task
Generate a SQL query to answer the following question:
`Name the departure for spalding`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "table1_17200372_2" (
"departure" text,
"going_to" text,
"calling_at" text,
"arrival" text,
"operat... |
SELECT "high_points" FROM "game_log" WHERE "record"='27–5'; |
## Task
Generate a SQL query to answer the following question:
`who scored highest points on the game with record 27–5`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_poin... |
SELECT "high_rebounds" FROM "game_log" WHERE "score"='W 105–88 (OT)'; |
## Task
Generate a SQL query to answer the following question:
`who did highest rebounds in the game with score w 105–88 (ot)`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"hi... |
SELECT COUNT("record") FROM "game_log" WHERE "score"='W 121–119 (OT)'; |
## Task
Generate a SQL query to answer the following question:
`how many records were made on the game that ended with score w 121–119 (ot)`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"scor... |
SELECT "position_in_table" FROM "managerial_changes" WHERE "replaced_by"='Lucas Alcaraz'; |
## Task
Generate a SQL query to answer the following question:
`What was the team's position when the new manager was Lucas Alcaraz?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"mann... |
SELECT "replaced_by" FROM "managerial_changes" WHERE "outgoing_manager"='José Ángel Ziganda'; |
## Task
Generate a SQL query to answer the following question:
`Who replaced outgoing manager José Ángel Ziganda?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" te... |
SELECT "grid" FROM "classification" WHERE "points"='19'; |
## Task
Generate a SQL query to answer the following question:
`What grid did the driver who earned 19 points start at?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "classification" (
"fin_pos" real,
"car_no" real,
"driver" text,
"team" text,... |
SELECT COUNT("grid") FROM "classification" WHERE "driver"='Scott Dixon'; |
## Task
Generate a SQL query to answer the following question:
`Scott Dixon had how many Grid positions?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "classification" (
"fin_pos" real,
"car_no" real,
"driver" text,
"team" text,
"laps" real,... |
SELECT "time_retired" FROM "classification" WHERE "car_no"=15; |
## Task
Generate a SQL query to answer the following question:
`Car number 15 earned what time?`
### Database Schema
This query will run on a database whose schema is represented in this string:
CREATE TABLE "classification" (
"fin_pos" real,
"car_no" real,
"driver" text,
"team" text,
"laps" real,
"time_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.