question
stringlengths 19
162
| table_info
stringlengths 39
951
| sql_query
stringlengths 24
181
|
---|---|---|
What is the attendance in the game in the 2010-11 season, when the score was 2 0?
|
CREATE TABLE table_name_39 (
attendance INTEGER,
season VARCHAR,
score VARCHAR
)
|
SELECT MIN(attendance) FROM table_name_39 WHERE season LIKE "%2010-11%" AND score LIKE "%2–0%"
|
What is the Attendance with Opponent Dallas Cowboys in a Week greater than 5?
|
CREATE TABLE table_name_51 (
attendance INTEGER,
opponent VARCHAR,
week VARCHAR
)
|
SELECT SUM(attendance) FROM table_name_51 WHERE opponent LIKE "%dallas cowboys%" AND week > 5
|
Which To par has a Finish of t3, and a Player of julius boros?
|
CREATE TABLE table_name_75 (
to_par VARCHAR,
finish VARCHAR,
player VARCHAR
)
|
SELECT to_par FROM table_name_75 WHERE finish LIKE "%t3%" AND player LIKE "%julius boros%"
|
Name the year for mcwf and control trailers of 35
|
CREATE TABLE table_52217 (
"Year" text,
"Builder" text,
"Motors" text,
"Trailers" text,
"Control Trailers" text
)
|
SELECT "Year" FROM table_52217 WHERE "Builder" LIKE '%mcwf%' AND "Control Trailers" LIKE '%35%'
|
What nationality is Kentucky and the player Tayshaun Prince?
|
CREATE TABLE table_name_58 (
nationality VARCHAR,
school_club_team VARCHAR,
player VARCHAR
)
|
SELECT nationality FROM table_name_58 WHERE school_club_team LIKE '%kentucky%' AND player LIKE '%tayshaun prince%'
|
Who was ashley sampi's opponent?
|
CREATE TABLE table_51309 (
"Player" text,
"Team" text,
"Opponent" text,
"Year" real,
"Score" text
)
|
SELECT "Opponent" FROM table_51309 WHERE "Player" LIKE '%ashley sampi%'
|
Name the category for prix uip berlin
|
CREATE TABLE table_name_66 (
category VARCHAR,
nominating_festival VARCHAR
)
|
SELECT category FROM table_name_66 WHERE nominating_festival LIKE "%prix uip berlin%"
|
What are the final points a 0 total and 22 draws?
|
CREATE TABLE table_name_60 (
final_points VARCHAR,
total VARCHAR,
draw VARCHAR
)
|
SELECT final_points FROM table_name_60 WHERE total LIKE "%0%" AND draw = "22"
|
When esv ingolstadt is the oberbayern b what is the niederbayern?
|
CREATE TABLE table_23224961_1 (
niederbayern VARCHAR,
oberbayern_b VARCHAR
)
|
SELECT niederbayern FROM table_23224961_1 WHERE oberbayern_b LIKE "%esv ingolstadt%"
|
Which Series has an Opponent of @ new york rangers, and a Date of april 22?
|
CREATE TABLE table_5102 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Series" text
)
|
SELECT "Series" FROM table_5102 WHERE "Opponent" LIKE '%@ new york rangers%' AND "Date" LIKE '%april 22%'
|
What was the public office of the subject whose sculpture was created in 1954?
|
CREATE TABLE table_20903658_1 (
public_office VARCHAR,
date_painted_created VARCHAR
)
|
SELECT public_office FROM table_20903658_1 WHERE date_painted_created LIKE "%1954%"
|
Which Name has a Yes Saturday and a Yes Evening?
|
CREATE TABLE table_name_49 (
name VARCHAR,
saturday VARCHAR,
evening VARCHAR
)
|
SELECT name FROM table_name_49 WHERE saturday LIKE "%yes%" AND evening LIKE "%yes%"
|
Where Bolton Wanderers is the home team, who is the away team?
|
CREATE TABLE table_name_7 (
away_team VARCHAR,
home_team VARCHAR
)
|
SELECT away_team FROM table_name_7 WHERE home_team LIKE "%bolton wanderers%"
|
Who was the away team at Arden Street Oval?
|
CREATE TABLE table_name_20 (
away_team VARCHAR,
venue VARCHAR
)
|
SELECT away_team FROM table_name_20 WHERE venue LIKE "%arden street oval%"
|
Name the representation for om fjorten dage
|
CREATE TABLE table_name_59 (
representing VARCHAR,
original_title VARCHAR
)
|
SELECT representing FROM table_name_59 WHERE original_title LIKE "%om fjorten dage%"
|
What player has a span of 1997-2009?
|
CREATE TABLE table_name_54 (
player VARCHAR,
span VARCHAR
)
|
SELECT player FROM table_name_54 WHERE span LIKE "%1997-2009%"
|
Name the date for oliver stone
|
CREATE TABLE table_1566852_5 (
date VARCHAR,
interview_subject VARCHAR
)
|
SELECT date FROM table_1566852_5 WHERE interview_subject LIKE '%oliver stone%'
|
What was the surface made of in the contest where Paula Ormaechea was the partner?
|
CREATE TABLE table_name_50 (
surface VARCHAR,
partner VARCHAR
)
|
SELECT surface FROM table_name_50 WHERE partner LIKE "%paula ormaechea%"
|
What is the sum of bronzes for teams with more than 0 silver and a total under 1?
|
CREATE TABLE table_name_22 (
bronze INTEGER,
silver VARCHAR,
total VARCHAR
)
|
SELECT SUM(bronze) FROM table_name_22 WHERE silver > '0' AND total < '1'
|
What is the 1990 1991 Team when the Birthplace shows as new york?
|
CREATE TABLE table_name_23 (
birthplace VARCHAR
)
|
SELECT 1990 AS _1991_team FROM table_name_23 WHERE birthplace LIKE "%new york%"
|
what is the last album to win ?
|
CREATE TABLE table_204_655 (
id number,
"year" number,
"winner" text,
"album" text,
"other finalists" text
)
|
SELECT "album" FROM table_204_655 ORDER BY "year" DESC LIMIT 1
|
When the group stage has been 4 what is the largest playoff?
|
CREATE TABLE table_14460937_1 (
play_off INTEGER,
group_stage VARCHAR
)
|
SELECT MAX(play_off) FROM table_14460937_1 WHERE group_stage LIKE '%4%'
|
Name the original air date for ai% for 83
|
CREATE TABLE table_18012738_1 (
original_air_date VARCHAR,
ai___percentage_ VARCHAR
)
|
SELECT original_air_date FROM table_18012738_1 WHERE ai___percentage_ LIKE '%83%'
|
How many records are there at the War Memorial Stadium?
|
CREATE TABLE table_10646790_2 (
record VARCHAR,
stadium VARCHAR
)
|
SELECT COUNT(record) FROM table_10646790_2 WHERE stadium LIKE "%war memorial stadium%"
|
Which Total is the highest one that has a Rank of 1, and a Gold larger than 11?
|
CREATE TABLE table_name_24 (
total INTEGER,
rank VARCHAR,
gold VARCHAR
)
|
SELECT MAX(total) FROM table_name_24 WHERE rank LIKE "%1%" AND gold > 11
|
Which Tournament has a Semi finalists of martina hingis joannette kruger?
|
CREATE TABLE table_9731 (
"Tournament" text,
"Surface" text,
"Week" text,
"Winner" text,
"Finalist" text,
"Semi finalists" text
)
|
SELECT "Tournament" FROM table_9731 WHERE "Semi finalists" LIKE '%martina hingis joannette kruger%'
|
in which year did seattle slew win the triple crown ?
|
CREATE TABLE table_200_3 (
id number,
"year" number,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"breeder" text
)
|
SELECT "year" FROM table_200_3 WHERE "winner" LIKE '%seattle slew%'
|
What was the first year of the Lithuanian National Badminton Championships?
|
CREATE TABLE table_15001753_1 (
year INTEGER
)
|
SELECT MIN(year) FROM table_15001753_1
|
What is the Winning Score of the Tournament with Jack Nicklaus as Runner(s)-up?
|
CREATE TABLE table_name_15 (
winning_score VARCHAR,
runner_s__up VARCHAR
)
|
SELECT winning_score FROM table_name_15 WHERE runner_s__up LIKE "%jack nicklaus%"
|
What is the time for the rank after 5 with sc/d notes?
|
CREATE TABLE table_name_55 (
time VARCHAR,
notes VARCHAR,
rank VARCHAR
)
|
SELECT time FROM table_name_55 WHERE notes LIKE "%sc/d%" AND rank > 5
|
what is the place when the score is 76-69-71-70=286?
|
CREATE TABLE table_name_34 (
place VARCHAR,
score VARCHAR
)
|
SELECT place FROM table_name_34 WHERE score LIKE '%-34%'
|
How many goals have been scored by Tiago Gomes?
|
CREATE TABLE table_17614 (
"Country" text,
"Player name" text,
"Period" text,
"Position" text,
"Matches" text,
"Goals" text
)
|
SELECT "Goals" FROM table_17614 WHERE "Player name" LIKE '%tiago gomes%'
|
What was the height of representative #1?
|
CREATE TABLE table_30270 (
"Represent" real,
"Contestant" text,
"Age" real,
"Height" text,
"Hometown" text,
"Sponsor" text
)
|
SELECT "Height" FROM table_30270 WHERE "Represent" = 1
|
How many laps does the one ranked 16 have?
|
CREATE TABLE table_name_1 (
laps VARCHAR,
rank VARCHAR
)
|
SELECT laps FROM table_name_1 WHERE rank LIKE "%16%"
|
How many children did Dennis Hawley have at his time of death?
|
CREATE TABLE table_24143253_2 (
children_together VARCHAR,
deceased_spouse VARCHAR
)
|
SELECT children_together FROM table_24143253_2 WHERE deceased_spouse LIKE "%dennis hawley%"
|
What year did Willis McGahee play fewer than 15 games with the Baltimore Ravens?
|
CREATE TABLE table_71252 (
"Year" real,
"Team" text,
"Games" real,
"Attempts" real,
"Yards" real
)
|
SELECT MIN("Year") FROM table_71252 WHERE "Team" LIKE '%baltimore ravens%' AND "Games" < 15
|
What is the time (GMT) for the 4A Serial?
|
CREATE TABLE table_name_66 (
time___gmt__ VARCHAR,
serial VARCHAR
)
|
SELECT time___gmt__ FROM table_name_66 WHERE serial LIKE "%4a%"
|
looking at the top of the table , what is the name of the first quarry listed , and what year did it close ?
|
CREATE TABLE table_203_2 (
id number,
"name" text,
"mineral" text,
"opened" text,
"closed" text,
"years connected" text,
"notes" text
)
|
SELECT "name", "closed" FROM table_203_2 WHERE id = 1
|
What team has a porsche 956 b chassis-engine with less than 79 laps?
|
CREATE TABLE table_name_17 (
team VARCHAR,
chassis___engine VARCHAR,
laps VARCHAR
)
|
SELECT team FROM table_name_17 WHERE chassis___engine LIKE "%porsche 956 b%" AND laps < 79
|
What is jim dutcher's hometown?
|
CREATE TABLE table_22824312_1 (
hometown VARCHAR,
player VARCHAR
)
|
SELECT hometown FROM table_22824312_1 WHERE player LIKE "%jim dutcher%"
|
what is the 3-dart average of raymond van barneveld
|
CREATE TABLE table_20301877_2 (
player VARCHAR
)
|
SELECT 3 AS _dart_average FROM table_20301877_2 WHERE player LIKE "%raymond van barneveld%"
|
Where was the 1984 Olympics hosted?
|
CREATE TABLE table_name_29 (
tournament VARCHAR,
year VARCHAR
)
|
SELECT tournament FROM table_name_29 WHERE year LIKE '%1984%'
|
What was the Decision when the Visitor was Carolina?
|
CREATE TABLE table_name_53 (
decision VARCHAR,
visitor VARCHAR
)
|
SELECT decision FROM table_name_53 WHERE visitor LIKE "%carolina%"
|
WHAT IS THE TOURNAMENT WITH A 2010 OF A, 2009 OF A, AND 001 PERFORMANCE OF Q1?
|
CREATE TABLE table_name_5 (
tournament VARCHAR
)
|
SELECT tournament FROM table_name_5 WHERE "2010" LIKE '%a%' AND "2009" LIKE '%a%' AND "2011" LIKE '%q1%'
|
What was the home team's score when North Melbourne was the away team?
|
CREATE TABLE table_10161 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
|
SELECT "Home team score" FROM table_10161 WHERE "Away team" LIKE '%north melbourne%'
|
What is the average percent for the coach from 1905 and more than 7 losses?
|
CREATE TABLE table_34994 (
"Name" text,
"Years" text,
"Seasons" real,
"Lost" real,
"Pct." real
)
|
SELECT AVG("Pct.") FROM table_34994 WHERE "Years" LIKE '%1905%' AND "Lost" > 7
|
how many boys were born ?
|
CREATE TABLE table_204_769 (
id number,
"full name" text,
"nickname" text,
"gender" text,
"weight at birth" text,
"meaning" text
)
|
SELECT COUNT(*) FROM table_204_769 WHERE "gender" LIKE '%boy%'
|
When was the date of an event at Tokyo venue?
|
CREATE TABLE table_name_86 (
date VARCHAR,
venue VARCHAR
)
|
SELECT date FROM table_name_86 WHERE venue LIKE "%tokyo%"
|
Name the total number of round 3 for class tt1
|
CREATE TABLE table_18646111_13 (
round_3 VARCHAR,
class VARCHAR
)
|
SELECT COUNT(round_3) FROM table_18646111_13 WHERE class LIKE "%tt1%"
|
Show the id and name of the employee with maximum salary.
|
CREATE TABLE Employee (
eid VARCHAR,
name VARCHAR,
salary VARCHAR
)
|
SELECT eid, name FROM Employee ORDER BY salary DESC LIMIT 1
|
Which players college was Baylor?
|
CREATE TABLE table_name_82 (
player VARCHAR,
college VARCHAR
)
|
SELECT player FROM table_name_82 WHERE college LIKE "%baylor%"
|
What is the rate limit when budget plans ( m) is limit agreed?
|
CREATE TABLE table_25316812_1 (
rate_limit__p_ VARCHAR,
budget_plans__£m_ VARCHAR
)
|
SELECT rate_limit__p_ FROM table_25316812_1 WHERE budget_plans__£m_ LIKE "%limit agreed%"
|
How many dates do the dolphins have 6 points?
|
CREATE TABLE table_18847736_2 (
date VARCHAR,
dolphins_points VARCHAR
)
|
SELECT date FROM table_18847736_2 WHERE dolphins_points LIKE '%6%'
|
state all the spokesperson for the channel where commentator is dmitriy guberniyev
|
CREATE TABLE table_1992924_3 (
spokesperson VARCHAR,
commentator VARCHAR
)
|
SELECT spokesperson FROM table_1992924_3 WHERE commentator LIKE "%dmitriy guberniyev%"
|
What was the score of the second leg with an agg of 4-6?
|
CREATE TABLE table_15425 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
)
|
SELECT "2nd leg" FROM table_15425 WHERE "Agg." LIKE '%4-6%'
|
How many were Wounded in the Artillery Corps unit while having 0 off 0 men Killed?
|
CREATE TABLE table_56587 (
"Unit" text,
"Complement" text,
"Killed" text,
"Wounded" text,
"Missing" text
)
|
SELECT "Wounded" FROM table_56587 WHERE "Killed" LIKE '%0 off 0 men%' AND "Unit" LIKE '%artillery corps%'
|
Who was the player with a debut of age 18 v plymouth , 14 august 2012, and born in Portsmouth?
|
CREATE TABLE table_64952 (
"Player" text,
"Current Club" text,
"Born" text,
"Debut" text,
"Manager" text
)
|
SELECT "Player" FROM table_64952 WHERE "Debut" LIKE '%age 18 v plymouth , 14 august 2012%' AND "Born" LIKE '%portsmouth%'
|
Name the discipline for bronze being 0
|
CREATE TABLE table_22360_3 (
discipline VARCHAR,
bronze VARCHAR
)
|
SELECT discipline FROM table_22360_3 WHERE bronze = '0'
|
How many points are listed when the rank is 17?
|
CREATE TABLE table_29572583_19 (
points INTEGER,
rank VARCHAR
)
|
SELECT MAX(points) FROM table_29572583_19 WHERE rank LIKE '%17%'
|
Which week had a theme of Heroes?
|
CREATE TABLE table_name_47 (
week VARCHAR,
theme VARCHAR
)
|
SELECT week FROM table_name_47 WHERE theme LIKE "%heroes%"
|
What was the original air date for the episode with 13.92 million us viewers?
|
CREATE TABLE table_26565936_2 (
original_air_date VARCHAR,
us_viewers__millions_ VARCHAR
)
|
SELECT original_air_date FROM table_26565936_2 WHERE us_viewers__millions_ LIKE "%13.92%"
|
What is Season, when Third is 'Glen Muirhead'?
|
CREATE TABLE table_name_62 (
season VARCHAR,
third VARCHAR
)
|
SELECT season FROM table_name_62 WHERE third LIKE "%glen muirhead%"
|
What is Player, when To Par is '+1', when Country is 'United States', and when Score is '71-70=141'?
|
CREATE TABLE table_43880 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
|
SELECT "Player" FROM table_43880 WHERE "To par" LIKE '%+1%' AND "Country" LIKE '%united states%' AND "Score" LIKE '%71-70=141%'
|
How many votes did kennedy win when coaklely won 2139 votes?
|
CREATE TABLE table_24115349_4 (
kennedy_votes VARCHAR,
coakley_votes VARCHAR
)
|
SELECT COUNT(kennedy_votes) FROM table_24115349_4 WHERE coakley_votes LIKE '%2139%'
|
What Percentage did the First game of 1998 have?
|
CREATE TABLE table_67399 (
"First game" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Percentage" text
)
|
SELECT "Percentage" FROM table_67399 WHERE "First game" = 1998
|
what is the difference in years between the first ship put into service and the last ?
|
CREATE TABLE table_203_193 (
id number,
"ship name" text,
"in service" number,
"project number" text,
"type" text,
"class" text,
"comments" text
)
|
SELECT MAX("in service") - MIN("in service") FROM table_203_193
|
What is the most amount of points for a team before 1983?
|
CREATE TABLE table_70583 (
"Year" real,
"Team" text,
"Chassis" text,
"Engine" text,
"Rank" text,
"Points" real
)
|
SELECT MAX("Points") FROM table_70583 WHERE "Year" < 1983
|
What was the Champion of the Game with a Score of 65 56?
|
CREATE TABLE table_name_78 (
champion__seed_ VARCHAR,
score VARCHAR
)
|
SELECT champion__seed_ FROM table_name_78 WHERE score LIKE "%65–56%"
|
What did Xavier Doherty (Tasmania) set as his highest Overs?
|
CREATE TABLE table_79993 (
"Player" text,
"Overs" real,
"Figures" text,
"Opponent" text,
"Ground" text
)
|
SELECT MAX("Overs") FROM table_79993 WHERE "Player" LIKE '%xavier doherty (tasmania)%'
|
What is the lowest score that has alastair forsyth as the player?
|
CREATE TABLE table_name_28 (
score INTEGER,
player VARCHAR
)
|
SELECT MIN(score) FROM table_name_28 WHERE player LIKE "%alastair forsyth%"
|
What frame of time is listed under years during the 72nd congress?
|
CREATE TABLE table_2841865_2 (
years VARCHAR,
congress VARCHAR
)
|
SELECT years FROM table_2841865_2 WHERE congress LIKE '%72nd%'
|
In what year was Luxembourg Host?
|
CREATE TABLE table_name_77 (
year INTEGER,
host VARCHAR
)
|
SELECT MIN(year) FROM table_name_77 WHERE host LIKE "%luxembourg%"
|
how many awards has he been nominated for and not won ?
|
CREATE TABLE table_203_191 (
id number,
"year" number,
"group" text,
"award" text,
"result" text,
"notes" text
)
|
SELECT COUNT("award") FROM table_203_191 WHERE "result" LIKE '%nominated%'
|
On what ground was the game on 31 Jul 2007?
|
CREATE TABLE table_name_60 (
ground VARCHAR,
date VARCHAR
)
|
SELECT ground FROM table_name_60 WHERE date LIKE "%31 jul 2007%"
|
What's the percentage of votes for Tom Horner according to the poll source that claimed 31% for Matt Entenza?
|
CREATE TABLE table_20032301_3 (
tom_horner__i_ VARCHAR,
matt_entenza__dfl_ VARCHAR
)
|
SELECT tom_horner__i_ FROM table_20032301_3 WHERE matt_entenza__dfl_ LIKE "%31%%"
|
What is the rank of Club Valencia with a U-17 Caps of 20?
|
CREATE TABLE table_name_17 (
rank VARCHAR,
club_s_ VARCHAR,
u_17_caps VARCHAR
)
|
SELECT COUNT(rank) FROM table_name_17 WHERE club_s_ LIKE "%valencia%" AND u_17_caps = "20"
|
What tie no has Watford as the date?
|
CREATE TABLE table_48292 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
|
SELECT "Tie no" FROM table_48292 WHERE "Date" LIKE '%watford%'
|
On what date was the result w 26 20?
|
CREATE TABLE table_name_54 (
date VARCHAR,
result VARCHAR
)
|
SELECT date FROM table_name_54 WHERE result LIKE "%w 26–20%"
|
What are the Transfers out for Peru?
|
CREATE TABLE table_name_76 (
transfers_out VARCHAR,
country VARCHAR
)
|
SELECT transfers_out FROM table_name_76 WHERE country LIKE "%peru%"
|
NJame the total number of population for towns/villages for 217
|
CREATE TABLE table_16278825_1 (
population VARCHAR,
towns__villages VARCHAR
)
|
SELECT COUNT(population) FROM table_16278825_1 WHERE towns__villages LIKE '%217%'
|
Was the game against the Rattlers at the United Sports Training Center a home game or an away game?
|
CREATE TABLE table_name_96 (
home_away VARCHAR,
opponent VARCHAR,
field VARCHAR
)
|
SELECT home_away FROM table_name_96 WHERE opponent LIKE "%rattlers%" AND field LIKE "%united sports training center%"
|
What is the street address of the building with 40 floors?
|
CREATE TABLE table_51732 (
"Name" text,
"Street address" text,
"Years as tallest" text,
"Height ft / m" text,
"Floors" text
)
|
SELECT "Street address" FROM table_51732 WHERE "Floors" LIKE '%40%'
|
what's the try bonus with club being abercwmboi rfc
|
CREATE TABLE table_13940275_5 (
try_bonus VARCHAR,
club VARCHAR
)
|
SELECT try_bonus FROM table_13940275_5 WHERE club LIKE '%abercwmboi rfc%'
|
Which Division Two team were champions as the same time the Premier Division Leominster town team were champs?
|
CREATE TABLE table_60246 (
"Season" text,
"Premier Division" text,
"Division One" text,
"Division Two" text,
"Division Three" text
)
|
SELECT "Division Two" FROM table_60246 WHERE "Premier Division" LIKE '%leominster town%'
|
Which season was harrisburg lunatics in?
|
CREATE TABLE table_54368 (
"Season" text,
"Winner" text,
"Team" text,
"Position" text,
"Win #" real
)
|
SELECT "Season" FROM table_54368 WHERE "Team" LIKE '%harrisburg lunatics%'
|
What is k275av call sign's highest erp w?
|
CREATE TABLE table_39331 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" real,
"FCC info" text
)
|
SELECT MAX("ERP W") FROM table_39331 WHERE "Call sign" LIKE '%k275av%'
|
Name the record for l 106 116 (ot)
|
CREATE TABLE table_23285849_8 (
record VARCHAR,
score VARCHAR
)
|
SELECT record FROM table_23285849_8 WHERE score LIKE '%l 106–116 (ot)%'
|
What is Gold, when Bronze is 11?
|
CREATE TABLE table_76979 (
"Nation" text,
"Gold" text,
"Silver" text,
"Bronze" text,
"Total" real
)
|
SELECT "Gold" FROM table_76979 WHERE "Bronze" LIKE '%11%'
|
What is the period total number if the name is Gerald o?
|
CREATE TABLE table_24565004_8 (
period VARCHAR,
name VARCHAR
)
|
SELECT COUNT(period) FROM table_24565004_8 WHERE name LIKE "%geraldão%"
|
What stadium was the game held in when the final score was 17-31?
|
CREATE TABLE table_11099 (
"Date" text,
"Visiting Team" text,
"Final Score" text,
"Host Team" text,
"Stadium" text
)
|
SELECT "Stadium" FROM table_11099 WHERE "Final Score" LIKE '%17-31%'
|
What is the highest number of matches?
|
CREATE TABLE table_1479 (
"Player" text,
"Team" text,
"Matches" real,
"Innings" real,
"Runs" real,
"Average" text,
"Highest Score" text,
"100s" real,
"50s" real
)
|
SELECT MAX("Matches") FROM table_1479
|
Date of april 10, 2006 had what surface?
|
CREATE TABLE table_name_51 (
surface VARCHAR,
date VARCHAR
)
|
SELECT surface FROM table_name_51 WHERE date LIKE '%april 10, 2006%'
|
When did the king who entered office in 1012 leave office?
|
CREATE TABLE table_name_34 (
left_office VARCHAR,
entered_office VARCHAR
)
|
SELECT left_office FROM table_name_34 WHERE entered_office LIKE "%1012%"
|
what team lost on april 15
|
CREATE TABLE table_37087 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Save" text
)
|
SELECT "Loss" FROM table_37087 WHERE "Date" LIKE '%april 15%'
|
What is the score on the date of May 2?
|
CREATE TABLE table_53230 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
|
SELECT "Score" FROM table_53230 WHERE "Date" LIKE '%may 2%'
|
What is the lowest number of men's championships of the university with less than 1 women's and a total of 1 championship?
|
CREATE TABLE table_7358 (
"University" text,
"Men's" real,
"Women's" real,
"Junior's" real,
"Total" real
)
|
SELECT MIN("Men's") FROM table_7358 WHERE "Women's" < 1 AND "Total" = 1
|
What is the average area larger than Code 19025 but a smaller region than 12?
|
CREATE TABLE table_name_91 (
area__km_2__ INTEGER,
code VARCHAR,
region VARCHAR
)
|
SELECT AVG(area__km_2__) FROM table_name_91 WHERE code > '19025' AND region < '12'
|
How many wins for bruce fleisher with over 31 events?
|
CREATE TABLE table_name_16 (
wins INTEGER,
player VARCHAR,
events VARCHAR
)
|
SELECT AVG(wins) FROM table_name_16 WHERE player LIKE "%bruce fleisher%" AND events > 31
|
What was the time/retired for the driver with 14 points?
|
CREATE TABLE table_name_78 (
time_retired VARCHAR,
points VARCHAR
)
|
SELECT time_retired FROM table_name_78 WHERE points LIKE "%14%"
|
What was the extra info for the Commonwealth Games?
|
CREATE TABLE table_name_90 (
extra VARCHAR,
tournament VARCHAR
)
|
SELECT extra FROM table_name_90 WHERE tournament LIKE "%commonwealth games%"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.