answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.diagnosis = "BLADDER CANCER/SDA" | How many female patients have bladder cancer/sda as the primary disease? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id... |
SELECT competition FROM table_name_36 WHERE venue = "seoul" AND result = "4-1" | Which Competition has a Venue of Seoul, and Result of 4-1? | CREATE TABLE table_name_36 (competition VARCHAR, venue VARCHAR, result VARCHAR) |
SELECT record FROM table_17104539_9 WHERE score = "W 76-67" | Name the record for score of w 76-67 | CREATE TABLE table_17104539_9 (record VARCHAR, score VARCHAR) |
SELECT COUNT(no) FROM table_19630743_2 WHERE runner_s__up = "John Merrick" | What is the total number of John Merrick as a runner up? | CREATE TABLE table_19630743_2 (
no VARCHAR,
runner_s__up VARCHAR
) |
SELECT result FROM table_name_76 WHERE date = "june 12, 1997" | What's the Result listed that has a Date of June 12, 1997? | CREATE TABLE table_name_76 (result VARCHAR, date VARCHAR) |
SELECT score FROM table_17104539_12 WHERE date = "September 9" | What are the scores for games played on september 9? | CREATE TABLE table_17104539_12 (score VARCHAR, date VARCHAR) |
SELECT "nation" FROM table_203_61 ORDER BY "rank" DESC LIMIT 4 | which 4 countries were scored last , with only 1 bronze medal each ? | CREATE TABLE table_203_61 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
) |
SELECT score FROM table_name_70 WHERE result = "1-0" | What's the Score listed that has a Result of 1-0? | CREATE TABLE table_name_70 (score VARCHAR, result VARCHAR) |
SELECT score FROM table_17104539_12 WHERE record = "16-17" | What was the score of the game played when the team was 16-17? | CREATE TABLE table_17104539_12 (score VARCHAR, record VARCHAR) |
SELECT Planned_Delivery_Date, COUNT(Planned_Delivery_Date) FROM Bookings ORDER BY Planned_Delivery_Date DESC | Show all the planned delivery dates and bin by year in a line chart, and rank from high to low by the X-axis. | CREATE TABLE Marketing_Regions (
Marketing_Region_Code CHAR(15),
Marketing_Region_Name VARCHAR(255),
Marketing_Region_Descriptrion VARCHAR(255),
Other_Details VARCHAR(255)
)
CREATE TABLE Bookings_Services (
Order_ID INTEGER,
Product_ID INTEGER
)
CREATE TABLE Bookings (
Booking_ID INTEGER,
... |
SELECT result FROM table_name_14 WHERE competition = "1994 fifa world cup qualification" AND date = "may 15, 1993" | What's the Result for the Competition of 1994 FIFA World Cup Qualification, with the Date of May 15, 1993? | CREATE TABLE table_name_14 (result VARCHAR, competition VARCHAR, date VARCHAR) |
SELECT location_attendance FROM table_17104539_12 WHERE game = 32 | What was the location and where did the team play game number 32? | CREATE TABLE table_17104539_12 (location_attendance VARCHAR, game VARCHAR) |
SELECT Score, CASE WHEN ClosedDate IS NULL THEN 'Y' ELSE 'Er' END AS "closed?", Id AS "post_link" FROM Posts WHERE PostTypeId = 1 AND (NOT ClosedDate IS NULL OR Score < -3) ORDER BY Score LIMIT 500 | Bad questions, based on vote score and closure and the like. | CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,
RevisionGUID other
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationD... |
SELECT competition FROM table_name_75 WHERE result = "3-0" AND venue = "suwon" | Which Competition had a Result of 3-0 and VEnue of Suwon? | CREATE TABLE table_name_75 (competition VARCHAR, result VARCHAR, venue VARCHAR) |
SELECT high_rebounds FROM table_17104539_10 WHERE record = "11-13" | Who had a high rebound where the associated record is 11-13? | CREATE TABLE table_17104539_10 (high_rebounds VARCHAR, record VARCHAR) |
SELECT main_industry, SUM(market_value) FROM company GROUP BY main_industry | Show all main industry and total market value in each industry. | CREATE TABLE company (
main_industry VARCHAR,
market_value INTEGER
) |
SELECT result FROM table_name_66 WHERE competition = "1998 fifa world cup qualification" AND venue = "bangkok" | What's the Result of the Competition of 1998 FIFA World Cup Qualification with the Venue of Bangkok? | CREATE TABLE table_name_66 (result VARCHAR, competition VARCHAR, venue VARCHAR) |
SELECT score FROM table_17104539_10 WHERE date = "July 8" | On July 8, what was the score? | CREATE TABLE table_17104539_10 (score VARCHAR, date VARCHAR) |
SELECT MAX("Saffir-Simpson Category") FROM table_20065 | What is the maximum number for the Saffir-Simpson category in the Carvill Hurricane Index? | CREATE TABLE table_20065 (
"Name" text,
"Year" real,
"Landfall" text,
"NHC Advisory Number" text,
"V(mph)" real,
"R(miles)" real,
"Saffir-Simpson Category" real,
"CHI" text
) |
SELECT decision FROM table_name_34 WHERE home = "boston" | Who had the decision with boston at home? | CREATE TABLE table_name_34 (decision VARCHAR, home VARCHAR) |
SELECT opponent FROM table_17104539_10 WHERE score = "L 68-60" | Who was the oppenent what the score was L 68-60? | CREATE TABLE table_17104539_10 (opponent VARCHAR, score VARCHAR) |
SELECT MIN("Total") FROM table_80207 WHERE "FA Cup" > '10' AND "Name" = 'arthur chandler' AND "League Cup" > '0' | What's the lowest Total thats got an FA Cup larger than 10, Name of Arthur Chandler, and a League Cup thats larger than 0? | CREATE TABLE table_80207 (
"Name" text,
"Period" text,
"League" real,
"FA Cup" real,
"League Cup" real,
"Other" real,
"Total" real,
"Apps" real,
"Goal Ratio" real
) |
SELECT home_team FROM table_name_19 WHERE venue = "mcg" | Who is the home team that played at MCG? | CREATE TABLE table_name_19 (home_team VARCHAR, venue VARCHAR) |
SELECT record FROM table_17118657_10 WHERE high_assists = "Canty (6)" | If high assists are under Canty (6) how much would the record be? | CREATE TABLE table_17118657_10 (record VARCHAR, high_assists VARCHAR) |
SELECT DISTINCT fare_basis_code FROM fare_basis WHERE fare_basis_code = 'FN' | what is fare code FN | CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
meal_description varchar
)
CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airli... |
SELECT away_team AS score FROM table_name_27 WHERE home_team = "richmond" | What is the score of the away team that played richmond? | CREATE TABLE table_name_27 (away_team VARCHAR, home_team VARCHAR) |
SELECT high_points FROM table_17118657_10 WHERE score = "62-70" | If the score is 62-70, what are the high points? | CREATE TABLE table_17118657_10 (high_points VARCHAR, score VARCHAR) |
SELECT All_Neutral, All_Games_Percent FROM basketball_match ORDER BY All_Neutral DESC | Create a bar chart showing all_games_percent across all neutral, and could you order in desc by the X-axis? | CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Per... |
SELECT score FROM table_name_5 WHERE opponents = "colin fleming scott lipsky" | What is the score for the game that Colin Fleming Scott Lipsky played in? | CREATE TABLE table_name_5 (score VARCHAR, opponents VARCHAR) |
SELECT date FROM table_17118657_10 WHERE location_attendance = "UIC Pavilion 3,829" | On which date was the location/attendance UIC Pavilion 3,829 respectively? | CREATE TABLE table_17118657_10 (date VARCHAR, location_attendance VARCHAR) |
SELECT "Date entered service" FROM table_17024 WHERE "Ships name" = 'Koningin Wilhelmina' | what's the date entered service with ships name koningin wilhelmina | CREATE TABLE table_17024 (
"Ships name" text,
"Date entered service" text,
"Date withdrawn" text,
"Tonnage" real,
"Type of Ship" text
) |
SELECT tournament FROM table_name_51 WHERE partner = "dieter kindlmann" | Which tournament was Dieter Kindlmann a partner? | CREATE TABLE table_name_51 (tournament VARCHAR, partner VARCHAR) |
SELECT date FROM table_17118657_10 WHERE high_assists = "Dupree (6)" | On which date is high assists Dupree (6)? | CREATE TABLE table_17118657_10 (date VARCHAR, high_assists VARCHAR) |
SELECT "Home team" FROM table_59973 WHERE "Away team" = 'watford' | Who is the team that played away team watford? | CREATE TABLE table_59973 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
) |
SELECT MIN(goals) FROM table_name_33 WHERE apps < 22 | When the Apps were smaller than 22, what's the lowest amount of goals scored in a game? | CREATE TABLE table_name_33 (goals INTEGER, apps INTEGER) |
SELECT local_investment__us$_ FROM table_17118006_2 WHERE bid_pronar_investment__us$_ = "912,185" | What was the local investment (in $) in the projects of the department with $912,185 BID/PRONAR investment? | CREATE TABLE table_17118006_2 (local_investment__us$_ VARCHAR, bid_pronar_investment__us$_ VARCHAR) |
SELECT order__number FROM table_21501511_1 WHERE week__number = "Top 11" | What order did Lambert perform in the top 11? | CREATE TABLE table_21501511_1 (
order__number VARCHAR,
week__number VARCHAR
) |
SELECT COUNT(division) FROM table_name_54 WHERE season = "2006/07" AND goals > 1 | What's the total number of all divisions during the 2006/07 season where they scored more than 1 goal? | CREATE TABLE table_name_54 (division VARCHAR, season VARCHAR, goals VARCHAR) |
SELECT MAX(farmers) FROM table_17118006_2 WHERE projects = 32 | How many farmers were included by the department with 32 projects? | CREATE TABLE table_17118006_2 (farmers INTEGER, projects VARCHAR) |
SELECT * FROM table_train_51 WHERE hypoperfusion = 1 OR lactate > 2 OR central_venous_oxygen_saturation_scvo2 < 70 OR central_venous_oxygen_saturation_scvo2 > 85 OR metabolic_acidosis = 1 OR oliguria = 1 OR venous_to_arterial_co2_gap_dco2 > 6 | signs of hypoperfusion: serum lactate > 2 mmol / l, low central venous oxygen saturation ( scvo2 ) ( < 70 % ) or high scvo2 ( > 85 % ) , metabolic acidosis, oligo anuria, high venous to arterial co2 gap ( dco2 > 6 mm hg ) | CREATE TABLE table_train_51 (
"id" int,
"active_infection" bool,
"procalcitonin" int,
"oliguria" bool,
"receiving_vasopressor" bool,
"metabolic_acidosis" bool,
"colonized_with_a_multi_drug_resistant_organism" bool,
"hypoperfusion" bool,
"central_venous_oxygen_saturation_scvo2" int,
... |
SELECT AVG(crowd) FROM table_name_1 WHERE venue = "victoria park" | What is the average crowd at victoria park? | CREATE TABLE table_name_1 (crowd INTEGER, venue VARCHAR) |
SELECT department FROM table_17118006_2 WHERE irrigated_ha = 2170 | What department irrigated 2170 Ha? | CREATE TABLE table_17118006_2 (department VARCHAR, irrigated_ha VARCHAR) |
SELECT T1.Code, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code | For those records from the products and each product's manufacturer, visualize a scatter chart about the correlation between code and manufacturer . | CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
) |
SELECT away_team AS score FROM table_name_50 WHERE home_team = "north melbourne" | What is the Away team score with north melbourne as home team? | CREATE TABLE table_name_50 (away_team VARCHAR, home_team VARCHAR) |
SELECT bid_pronar_investment__us$_ FROM table_17118006_2 WHERE farmers = 1326 | What was the BID/PRONAR investment (in $) in the department that included 1326 farmers in its projects? | CREATE TABLE table_17118006_2 (bid_pronar_investment__us$_ VARCHAR, farmers VARCHAR) |
SELECT "Title" FROM table_70186 WHERE "Download" = 'crazy frog' AND "Issue Date" = 'july 2' | What is the title of the July 2 song that is downloaded as Crazy Frog? | CREATE TABLE table_70186 (
"Week" real,
"Issue Date" text,
"Artist" text,
"Single" text,
"Download" text,
"Title" text
) |
SELECT general_classification FROM table_name_12 WHERE trofeo_fast_team = "mapei-bricobi" AND points_classification = "mariano piccoli" AND mountains_classification = "marco pantani" AND stage = "22" | Who had the general classification when the trofeo fast team was Mapei-Bricobi, the points classification went to Mariano Piccoli and the mountains classification went to Marco Pantani in stage 22? | CREATE TABLE table_name_12 (general_classification VARCHAR, stage VARCHAR, mountains_classification VARCHAR, trofeo_fast_team VARCHAR, points_classification VARCHAR) |
SELECT department FROM table_17118006_2 WHERE local_investment__us$_ = "626,798" | What was the department that got $626,798 in local investments? | CREATE TABLE table_17118006_2 (department VARCHAR, local_investment__us$_ VARCHAR) |
SELECT wins FROM table_18703133_6 WHERE points = 24 | How many wins have 24 points? | CREATE TABLE table_18703133_6 (
wins VARCHAR,
points VARCHAR
) |
SELECT winner FROM table_name_49 WHERE stage = "3" | Who was the winner in stage 3? | CREATE TABLE table_name_49 (winner VARCHAR, stage VARCHAR) |
SELECT MIN(game) FROM table_17118657_8 WHERE record = "5-11" | What number was the game resulting in a 5-11 record? | CREATE TABLE table_17118657_8 (game INTEGER, record VARCHAR) |
SELECT MIN("Season #") FROM table_17274 WHERE "Production code" = 'K1505' | What is the season # where production code is k1505? | CREATE TABLE table_17274 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Musical guest and song" text,
"Original air date" text,
"Production code" text
) |
SELECT state FROM table_name_97 WHERE first_elected = "1914" AND member = "edward jolley" | Which state was first elected in 1914, and a Member of edward jolley? | CREATE TABLE table_name_97 (state VARCHAR, first_elected VARCHAR, member VARCHAR) |
SELECT COUNT(high_assists) FROM table_17118657_8 WHERE score = "68-60" | How many high assists are listed for the game with a score of 68-60? | CREATE TABLE table_17118657_8 (high_assists VARCHAR, score VARCHAR) |
SELECT "Mixed doubles" FROM table_71906 WHERE "Women's singles" = 'zhu lin' | Who played in the Mixed Doubles when Zhu Lin played in the Women's Singles? | CREATE TABLE table_71906 (
"Year" real,
"Men's singles" text,
"Women's singles" text,
"Men's doubles" text,
"Women's doubles" text,
"Mixed doubles" text
) |
SELECT state FROM table_name_24 WHERE member = "frederick bamford" | Which state is frederick bamford a member of? | CREATE TABLE table_name_24 (state VARCHAR, member VARCHAR) |
SELECT high_rebounds FROM table_17118657_8 WHERE record = "5-11" | In the game resulting in a 5-11 record, who scored the high rebounds? | CREATE TABLE table_17118657_8 (high_rebounds VARCHAR, record VARCHAR) |
SELECT transfer_window FROM table_name_16 WHERE name = "habarugira" | What is the transfer period for habarugira? | CREATE TABLE table_name_16 (
transfer_window VARCHAR,
name VARCHAR
) |
SELECT first_elected FROM table_name_28 WHERE party = "labor" AND member = "james sharpe" | Which first election for the labor party is James Sharpe a part of? | CREATE TABLE table_name_28 (first_elected VARCHAR, party VARCHAR, member VARCHAR) |
SELECT opponent FROM table_17120964_8 WHERE result = "Won 4-1" | Who was the opponent of the game with final score won 4-1? | CREATE TABLE table_17120964_8 (opponent VARCHAR, result VARCHAR) |
SELECT T1.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter, T1.Name ORDER BY T1.Name DESC | For those records from the products and each product's manufacturer, give me the comparison about price over the name , and group by attribute headquarter by a bar chart, rank by the X in desc. | CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
) |
SELECT party FROM table_name_10 WHERE member = "sydney sampson" | Which party is sydney sampson a member of? | CREATE TABLE table_name_10 (party VARCHAR, member VARCHAR) |
SELECT MIN(attendance) FROM table_17120964_8 WHERE man_of_the_match = "Neil Liddiard" | What was the attendance at the game where Neil Liddiard was Man of the Match? | CREATE TABLE table_17120964_8 (attendance INTEGER, man_of_the_match VARCHAR) |
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, program_course, semester WHERE course_offering.end_time <= '12:00:00' AND course.course_id = course_offering.course_id AND program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND semester.semest... | Are upper level electives offered before noon ? | CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE cours... |
SELECT position FROM table_name_32 WHERE win__number = 2 AND winner = "doug gibson" | What position for doug gibson with 2 wins? | CREATE TABLE table_name_32 (position VARCHAR, win__number VARCHAR, winner VARCHAR) |
SELECT venue FROM table_17120964_8 WHERE result = "Lost 3-4" | What was the venue of the game that was lost 3-4? | CREATE TABLE table_17120964_8 (venue VARCHAR, result VARCHAR) |
SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Name | For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and the average of code , and group by attribute name, and could you sort from low to high by the bars? | CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
) |
SELECT COUNT(rec) FROM table_name_84 WHERE player = "chris watton" AND yards < 1 | How many receptions does Chris Watton with yards of less than 1? | CREATE TABLE table_name_84 (rec VARCHAR, player VARCHAR, yards VARCHAR) |
SELECT venue FROM table_17120964_8 WHERE man_of_the_match = "Vaclav Zavoral" | What is the venue of the game with Man of the Match Vaclav Zavoral? | CREATE TABLE table_17120964_8 (venue VARCHAR, man_of_the_match VARCHAR) |
SELECT kk___5 FROM table_name_42 WHERE kk___1 = "1,067" | What is KK - 5 if KK - 1 is 1,067? | CREATE TABLE table_name_42 (
kk___5 VARCHAR,
kk___1 VARCHAR
) |
SELECT the_american FROM table_name_36 WHERE years < 114 AND tied > 1 AND total_games > 1022 | What is the American locations with less than 114 years and more than 1 tied with more than 1022 total games? | CREATE TABLE table_name_36 (the_american VARCHAR, total_games VARCHAR, years VARCHAR, tied VARCHAR) |
SELECT COUNT(attendance) FROM table_17120964_8 WHERE result = "Lost 5-3" | How many attendance figures are given for the game where the final score was lost 5-3? | CREATE TABLE table_17120964_8 (attendance VARCHAR, result VARCHAR) |
SELECT "2012" FROM table_11460 WHERE "2007" = 'a' AND "2010" = 'a' AND "Tournament" = 'canada masters' | What is the 2012 value with an A value in 2007 and A value in 2010 in the Canada Masters? | CREATE TABLE table_11460 (
"Tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
) |
SELECT away_team FROM table_name_35 WHERE home_team = "melbourne" | Who was the away team when Melbourne was the home team? | CREATE TABLE table_name_35 (away_team VARCHAR, home_team VARCHAR) |
SELECT opponent FROM table_17120964_5 WHERE date = "4th" | Name the opponent for 4th | CREATE TABLE table_17120964_5 (opponent VARCHAR, date VARCHAR) |
SELECT "Winner" FROM table_74260 WHERE "St Kilda score" = '13.10.88' | Who is the winner when the st kilda score is 13.10.88? | CREATE TABLE table_74260 (
"Year" real,
"Round" real,
"Winner" text,
"Hawthorn score" text,
"St Kilda score" text,
"Attendance" real,
"Venue" text,
"Silk-Miller Medallist" text
) |
SELECT away_team AS score FROM table_name_13 WHERE away_team = "north melbourne" | What is the Away team score for Away team North Melbourne? | CREATE TABLE table_name_13 (away_team VARCHAR) |
SELECT venue FROM table_17120964_5 WHERE date = "19th" | Name the venue for 19th date | CREATE TABLE table_17120964_5 (venue VARCHAR, date VARCHAR) |
SELECT DISTINCT course.department, course.name, course.number FROM course, program, program_course WHERE course.department LIKE '%NEAREAST%' AND program_course.category LIKE '%MDE%' AND program_course.course_id = course.course_id AND program.name LIKE '%CS-LSA%' AND program.program_id = program_course.program_id | Which of the NEAREAST classes can be used as MDE ? | CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE comment_instructor (
instructor_id int,
... |
SELECT away_team FROM table_name_13 WHERE home_team = "richmond" | Which Away team is associated with the Richmond Home team? | CREATE TABLE table_name_13 (away_team VARCHAR, home_team VARCHAR) |
SELECT result FROM table_17120964_5 WHERE man_of_the_match = "Lukas Smital" AND venue = "Home" | Name the result for lukas smital and home | CREATE TABLE table_17120964_5 (result VARCHAR, man_of_the_match VARCHAR, venue VARCHAR) |
SELECT MIN(drawn) FROM table_28201906_1 | What is the lowest number of drawn games by a team? | CREATE TABLE table_28201906_1 (
drawn INTEGER
) |
SELECT birthdate FROM table_name_63 WHERE defining_characteristics = "pink hair" | What is the birth date of the member with the Defining characteristic of pink hair? | CREATE TABLE table_name_63 (birthdate VARCHAR, defining_characteristics VARCHAR) |
SELECT man_of_the_match FROM table_17120964_5 WHERE date = "24th" | Name the man of the match for 24th | CREATE TABLE table_17120964_5 (man_of_the_match VARCHAR, date VARCHAR) |
SELECT opponent FROM table_name_87 WHERE attendance = "64,002" | Who was the opponent with attendance at 64,002? | CREATE TABLE table_name_87 (
opponent VARCHAR,
attendance VARCHAR
) |
SELECT Real AS name FROM table_name_95 WHERE defining_characteristics = "shortest band member" | Who is the person with the defining characteristic of the shortest band member? | CREATE TABLE table_name_95 (Real VARCHAR, defining_characteristics VARCHAR) |
SELECT man_of_the_match FROM table_17120964_5 WHERE opponent = "Sheffield Scimitars" | Name the man of the maatch for sheffield scimitars | CREATE TABLE table_17120964_5 (man_of_the_match VARCHAR, opponent VARCHAR) |
SELECT "Game" FROM table_35022 WHERE "Points" < '96' AND "Record" = '43–16–8' | Points smaller than 96, and a Record of 43 16 8 belongs to what game? | CREATE TABLE table_35022 (
"Game" real,
"March" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
) |
SELECT name FROM table_name_9 WHERE costume_role = "monster" | What is the name of the member with a costume Role of monster? | CREATE TABLE table_name_9 (name VARCHAR, costume_role VARCHAR) |
SELECT venue FROM table_17120964_6 WHERE date = "19th" | On the 19th, where was the venue? | CREATE TABLE table_17120964_6 (venue VARCHAR, date VARCHAR) |
SELECT Competition, COUNT(*) FROM match GROUP BY Competition ORDER BY COUNT(*) | Bar chart x axis competition y axis the total number, could you order by the Y from low to high? | CREATE TABLE match (
Match_ID int,
Date text,
Venue text,
Score text,
Result text,
Competition text
)
CREATE TABLE hosting_city (
Year int,
Match_ID int,
Host_City text
)
CREATE TABLE city (
City_ID int,
City text,
Hanzi text,
Hanyu_Pinyin text,
Regional_Populat... |
SELECT result FROM table_name_33 WHERE venue = "h" AND opponent = "newcastle united" | What was the final score for the match played in Venue H and the opponent was Newcastle United? | CREATE TABLE table_name_33 (result VARCHAR, venue VARCHAR, opponent VARCHAR) |
SELECT attendance FROM table_17120964_6 WHERE opponent = "Swindon Wildcats" AND venue = "Home" | What was the total attendance during the home game against the Swindon Wildcats? | CREATE TABLE table_17120964_6 (attendance VARCHAR, opponent VARCHAR, venue VARCHAR) |
SELECT "Name" FROM table_40613 WHERE "Location" = 'tanzania' AND "Novelty" = 'gen nov' | What is Name, when Location is Tanzania, and when Novelty is Gen Nov? | CREATE TABLE table_40613 (
"Name" text,
"Novelty" text,
"Status" text,
"Authors" text,
"Location" text
) |
SELECT MIN(bronze) FROM table_name_75 WHERE silver < 1 AND rank < 5 | What is the fewest bronze medals for a team with fewer than 1 silver and rank lower than 5? | CREATE TABLE table_name_75 (bronze INTEGER, silver VARCHAR, rank VARCHAR) |
SELECT date FROM table_17120964_6 WHERE man_of_the_match = "Stuart Potts" | On what day was Stuart Potts the Man of the Match? | CREATE TABLE table_17120964_6 (date VARCHAR, man_of_the_match VARCHAR) |
SELECT release_date FROM table_name_35 WHERE director = "friz freleng" AND title = "tree cornered tweety" | When was Tree Cornered Tweety, directed by Friz Freleng, released? | CREATE TABLE table_name_35 (
release_date VARCHAR,
director VARCHAR,
title VARCHAR
) |
SELECT COUNT(bronze) FROM table_name_29 WHERE gold < 3 AND silver = 1 AND total < 3 AND rank = 3 | How many bronze medals for the nation with fewer than 3 gold, 1 silver and rank of 3? | CREATE TABLE table_name_29 (bronze VARCHAR, rank VARCHAR, total VARCHAR, gold VARCHAR, silver VARCHAR) |
SELECT venue FROM table_17120964_6 WHERE man_of_the_match = "Alex Mettam/Mark Williams" | At what venue did Alex Mettam/Mark Williams be named Man of the Match? | CREATE TABLE table_17120964_6 (venue VARCHAR, man_of_the_match VARCHAR) |
SELECT opponent FROM table_name_67 WHERE score = "3-17" | Who did they lose to 3-17? | CREATE TABLE table_name_67 (
opponent VARCHAR,
score VARCHAR
) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.