answer
stringlengths 18
557
| question
stringlengths 12
244
| context
stringlengths 27
489
|
|---|---|---|
SELECT SUM(tie_no) FROM table_name_82 WHERE away_team = "solihull moors"
|
what is the tie no when the away team is solihull moors?
|
CREATE TABLE table_name_82 (tie_no INTEGER, away_team VARCHAR)
|
SELECT performer_3 FROM table_name_82 WHERE episode = 9
|
Episode of 9 in which performer 3 had?
|
CREATE TABLE table_name_82 (performer_3 VARCHAR, episode VARCHAR)
|
SELECT date FROM table_name_51 WHERE venue = "punt road oval"
|
What day does the team play at punt road oval?
|
CREATE TABLE table_name_51 (date VARCHAR, venue VARCHAR)
|
SELECT T1.project_details FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id JOIN Research_outcomes AS T3 ON T2.outcome_code = T3.outcome_code WHERE T3.outcome_description LIKE '%Published%'
|
List the project details of the projects with the research outcome described with the substring 'Published'.
|
CREATE TABLE Research_outcomes (outcome_code VARCHAR, outcome_description VARCHAR); CREATE TABLE Project_outcomes (project_id VARCHAR, outcome_code VARCHAR); CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR)
|
SELECT attendance FROM table_name_45 WHERE week = 8
|
What was the attendance like for week 8?
|
CREATE TABLE table_name_45 (attendance VARCHAR, week VARCHAR)
|
SELECT date FROM table_name_64 WHERE opponent_in_final = "guy forget"
|
What is Date, when Opponent in Final is "Guy Forget"?
|
CREATE TABLE table_name_64 (date VARCHAR, opponent_in_final VARCHAR)
|
SELECT _number FROM table_1014206_2 WHERE commissioned = "December 18, 1965"
|
List the # for ships commissioned on december 18, 1965.
|
CREATE TABLE table_1014206_2 (_number VARCHAR, commissioned VARCHAR)
|
SELECT country FROM table_name_48 WHERE place = "t7" AND player = "peter oosterhuis"
|
What country has the t7 place, and player Peter Oosterhuis?
|
CREATE TABLE table_name_48 (country VARCHAR, place VARCHAR, player VARCHAR)
|
SELECT record FROM table_27712180_6 WHERE date = "November 19"
|
What is the record for the date november 19?
|
CREATE TABLE table_27712180_6 (record VARCHAR, date VARCHAR)
|
SELECT name FROM table_22810095_9 WHERE age = 24
|
What player is 24 years old?
|
CREATE TABLE table_22810095_9 (name VARCHAR, age VARCHAR)
|
SELECT date FROM table_name_26 WHERE opponent = "new england patriots"
|
What date has new england patriots as the opponent?
|
CREATE TABLE table_name_26 (date VARCHAR, opponent VARCHAR)
|
SELECT Box AS score FROM table_name_21 WHERE home_team = "melbourne tigers"
|
What was the box core for the Melbourne Tigers?
|
CREATE TABLE table_name_21 (Box VARCHAR, home_team VARCHAR)
|
SELECT 1 AS st_round FROM table_name_6 WHERE team_2 = "us valenciennes (d1)"
|
What was the 1st round result that had US Valenciennes (d1) as Team 2?
|
CREATE TABLE table_name_6 (team_2 VARCHAR)
|
SELECT player FROM table_name_40 WHERE college = "concordia"
|
What p;layer attended Concordia College?
|
CREATE TABLE table_name_40 (player VARCHAR, college VARCHAR)
|
SELECT runner_up FROM table_name_83 WHERE country = "england" AND venue = "royal porthcawl golf club"
|
What player from England was the runner-up at the match played at the Royal Porthcawl Golf Club?
|
CREATE TABLE table_name_83 (runner_up VARCHAR, country VARCHAR, venue VARCHAR)
|
SELECT locomotive_type FROM table_15827397_1 WHERE status = "Static display"
|
Which locomotive type has a status in static display
|
CREATE TABLE table_15827397_1 (locomotive_type VARCHAR, status VARCHAR)
|
SELECT COUNT(gold) FROM table_name_86 WHERE total = 1 AND bronze = 1
|
What is the number for gold where there were total 1, and bronze 1?
|
CREATE TABLE table_name_86 (gold VARCHAR, total VARCHAR, bronze VARCHAR)
|
SELECT challenge_winner FROM table_name_44 WHERE challenge_loser = "alexcy"
|
Which winner has a Challenge Loser of alexcy?
|
CREATE TABLE table_name_44 (challenge_winner VARCHAR, challenge_loser VARCHAR)
|
SELECT winning_score FROM table_225880_1 WHERE championship = "PGA championship"
|
Name the winning score for pga championship
|
CREATE TABLE table_225880_1 (winning_score VARCHAR, championship VARCHAR)
|
SELECT player FROM table_name_92 WHERE long > 28 AND yards = 222
|
Can you tell me the Player that has the Long larger than 28, and the Yards of 222?
|
CREATE TABLE table_name_92 (player VARCHAR, long VARCHAR, yards VARCHAR)
|
SELECT place FROM table_name_39 WHERE country = "united states" AND to_par = "e"
|
What place in the United States has a To par of e?
|
CREATE TABLE table_name_39 (place VARCHAR, country VARCHAR, to_par VARCHAR)
|
SELECT team_record FROM table_24453847_2 WHERE week = 8
|
What was the Rhein Fire team record on week 8?
|
CREATE TABLE table_24453847_2 (team_record VARCHAR, week VARCHAR)
|
SELECT round FROM table_28181401_4 WHERE scorers = "Roberts 86'"
|
when roberts 86' is the scorer what is the round?
|
CREATE TABLE table_28181401_4 (round VARCHAR, scorers VARCHAR)
|
SELECT area FROM table_name_71 WHERE _percentage_hindu = "statistics from the bbc in depth report."
|
What area shows % Hindu of statistics from the bbc in depth report.?
|
CREATE TABLE table_name_71 (area VARCHAR, _percentage_hindu VARCHAR)
|
SELECT country FROM table_name_44 WHERE to_par = "e" AND player = "mark o'meara"
|
What country has to par E with Mark O'Meara?
|
CREATE TABLE table_name_44 (country VARCHAR, to_par VARCHAR, player VARCHAR)
|
SELECT opponent FROM table_name_78 WHERE tournament = "milan, italy"
|
Who were the opponents for the event in Milan, Italy?
|
CREATE TABLE table_name_78 (opponent VARCHAR, tournament VARCHAR)
|
SELECT rider FROM table_name_57 WHERE rank < 10 AND time = "1:26.31.20"
|
Who is the rider who has a rank lower than 10, and a time of 1:26.31.20?
|
CREATE TABLE table_name_57 (rider VARCHAR, rank VARCHAR, time VARCHAR)
|
SELECT record FROM table_name_49 WHERE visitor = "boston bruins" AND date = "december 8"
|
What was the record on december 8 when the boston bruins visited?
|
CREATE TABLE table_name_49 (record VARCHAR, visitor VARCHAR, date VARCHAR)
|
SELECT season FROM table_2233872_1 WHERE gf = 244
|
What was the season where the team reached a GP of 244?
|
CREATE TABLE table_2233872_1 (season VARCHAR, gf VARCHAR)
|
SELECT average FROM table_17088705_2 WHERE country = "Arizona"
|
State average scores of participants from arizona
|
CREATE TABLE table_17088705_2 (average VARCHAR, country VARCHAR)
|
SELECT result FROM table_name_86 WHERE game = "game 1"
|
Which Result has a Game of game 1?
|
CREATE TABLE table_name_86 (result VARCHAR, game VARCHAR)
|
SELECT rider FROM table_name_88 WHERE laps > 5 AND grid > 29 AND bike = "honda cbr600rr" AND time = "+1:27.385"
|
Who was the rider with more than 5 laps on a grid bigger than 29 on a Honda CBR600RR and time at +1:27.385?
|
CREATE TABLE table_name_88 (rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR, grid VARCHAR)
|
SELECT record FROM table_29556461_8 WHERE team = "Dayton"
|
When dayton is the team what is the record?
|
CREATE TABLE table_29556461_8 (record VARCHAR, team VARCHAR)
|
SELECT card_type_code, COUNT(DISTINCT customer_id) FROM Customers_cards GROUP BY card_type_code
|
Show all card type codes and the number of customers holding cards in each type.
|
CREATE TABLE Customers_cards (card_type_code VARCHAR, customer_id VARCHAR)
|
SELECT SUM(draw) FROM table_name_18 WHERE artist = "wendy fierce"
|
How many draws feature artist wendy fierce?
|
CREATE TABLE table_name_18 (draw INTEGER, artist VARCHAR)
|
SELECT date FROM table_name_86 WHERE record = "70-74"
|
What was the date of the game when the record was 70-74?
|
CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR)
|
SELECT winning_team FROM table_22083044_2 WHERE circuit = "Queensland Raceway" AND fastest_lap = "Tim Macrow"
|
What was the winning team where Tim Macrow won the fastest lap on Queensland Raceway circuit?
|
CREATE TABLE table_22083044_2 (winning_team VARCHAR, circuit VARCHAR, fastest_lap VARCHAR)
|
SELECT date FROM table_name_38 WHERE wheels = "4-4-2" AND no_built > 5
|
On what date were more than 5 built with 4-4-2 wheels?
|
CREATE TABLE table_name_38 (date VARCHAR, wheels VARCHAR, no_built VARCHAR)
|
SELECT SUM(bronze) FROM table_name_75 WHERE country = "malaysia" AND total < 2644
|
Which Bronze has a Country of malaysia, and a Total smaller than 2644?
|
CREATE TABLE table_name_75 (bronze INTEGER, country VARCHAR, total VARCHAR)
|
SELECT result FROM table_name_16 WHERE week = 4
|
What was the result of the game on week 4?
|
CREATE TABLE table_name_16 (result VARCHAR, week VARCHAR)
|
SELECT 2 AS __vf_ FROM table_name_75 WHERE verb = "dhoa"
|
For the verb dhoa, what is the 2VF?
|
CREATE TABLE table_name_75 (verb VARCHAR)
|
SELECT MAX(round) FROM table_name_34 WHERE nationality = "united states" AND player = "jimmy hayes"
|
Which Round has a Nationality of united states, and a Player of jimmy hayes?
|
CREATE TABLE table_name_34 (round INTEGER, nationality VARCHAR, player VARCHAR)
|
SELECT date_of_registration FROM table_name_60 WHERE name_in_english = "canarian workers socialist union"
|
On what date was the Canarian Workers Socialist Union registered?
|
CREATE TABLE table_name_60 (date_of_registration VARCHAR, name_in_english VARCHAR)
|
SELECT venue FROM table_name_91 WHERE score = "1–0" AND competition = "2002 world cup qualifier"
|
Which venue has a Score of 1–0, and a Competition of 2002 world cup qualifier?
|
CREATE TABLE table_name_91 (venue VARCHAR, score VARCHAR, competition VARCHAR)
|
SELECT SUM(runs) FROM table_name_1 WHERE matches = 1 AND average < 86
|
How many runs were there when there was 1 match and les than 86 average?
|
CREATE TABLE table_name_1 (runs INTEGER, matches VARCHAR, average VARCHAR)
|
SELECT chassis_code FROM table_name_63 WHERE power = "ps (kw; hp) @ 4200" AND model = "200d"
|
What Chassis code has a 200d model and a Power of ps (kw; hp) @ 4200?
|
CREATE TABLE table_name_63 (chassis_code VARCHAR, power VARCHAR, model VARCHAR)
|
SELECT score FROM table_name_78 WHERE attendance = 3188
|
When the attendance was 3188 what was the score?
|
CREATE TABLE table_name_78 (score VARCHAR, attendance VARCHAR)
|
SELECT MAX(females) FROM table_name_46 WHERE males = 28.2 AND rank > 5
|
What is the biggest number of females where the males are at 28.2 with a rank greater than 5?
|
CREATE TABLE table_name_46 (females INTEGER, males VARCHAR, rank VARCHAR)
|
SELECT surface FROM table_name_95 WHERE tournament = "manta, ecuador"
|
What is the surface when the tournament is manta, ecuador?
|
CREATE TABLE table_name_95 (surface VARCHAR, tournament VARCHAR)
|
SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t3.title LIKE "%Monadic%"
|
Find the last names of all the authors that have written a paper with title containing the word "Monadic".
|
CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE authors (lname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR)
|
SELECT MAX(year) FROM table_name_60 WHERE number_in_entourage = "99" AND mission_type = "gratitude"
|
What is the latest year of a gratitude type mission with 99 in the entourage?
|
CREATE TABLE table_name_60 (year INTEGER, number_in_entourage VARCHAR, mission_type VARCHAR)
|
SELECT winner FROM table_28962227_1 WHERE runners_up = "Brendan Lynch"
|
Who won the season for which Brendan Lynch is the runner-up?
|
CREATE TABLE table_28962227_1 (winner VARCHAR, runners_up VARCHAR)
|
SELECT MIN(finish) FROM table_name_62 WHERE start > 27 AND year > 1985
|
What is the lowest finish that has a start greater than 27, with a year after 1985?
|
CREATE TABLE table_name_62 (finish INTEGER, start VARCHAR, year VARCHAR)
|
SELECT h___a FROM table_name_50 WHERE date = "24 january 2009"
|
What is the H/A of the game on 24 january 2009?
|
CREATE TABLE table_name_50 (h___a VARCHAR, date VARCHAR)
|
SELECT COUNT(lmp2_winning_team) FROM table_24865763_2 WHERE gt1_winning_team = "Gabriele Gardel Patrice Goueslard Fernando Rees" AND circuit = "Algarve"
|
How many winning teams are there on LMP2 if Gabriele Gardel Patrice Goueslard Fernando Rees was the GT1 Winning Team on the Algarve circuit?
|
CREATE TABLE table_24865763_2 (lmp2_winning_team VARCHAR, gt1_winning_team VARCHAR, circuit VARCHAR)
|
SELECT administrative_division FROM table_21734764_1 WHERE population_2011_siak_database = "606,699"
|
Which administrative division had a 2011 population of 606,699 according to the siak database?
|
CREATE TABLE table_21734764_1 (administrative_division VARCHAR, population_2011_siak_database VARCHAR)
|
SELECT COUNT(national_university_of_ireland) FROM table_name_17 WHERE industrial_and_commercial_panel < 1 AND cultural_and_educational_panel > 0
|
What is the total for National University of Ireland with an industrial and commercial panel less than 1, and the cultural and educational panel bigger than 0?
|
CREATE TABLE table_name_17 (national_university_of_ireland VARCHAR, industrial_and_commercial_panel VARCHAR, cultural_and_educational_panel VARCHAR)
|
SELECT SUM(races) FROM table_name_28 WHERE points = 257
|
What is the number of races that took place with points of 257?
|
CREATE TABLE table_name_28 (races INTEGER, points VARCHAR)
|
SELECT AVG(position) FROM table_name_48 WHERE difference = "- 5" AND played > 14
|
What position was played with a Difference of - 5, and a Played larger than 14?
|
CREATE TABLE table_name_48 (position INTEGER, difference VARCHAR, played VARCHAR)
|
SELECT ship_types_delivered FROM table_name_32 WHERE yard_name = "froemming brothers"
|
What types of ships were made at the Froemming Brothers ship yard?
|
CREATE TABLE table_name_32 (ship_types_delivered VARCHAR, yard_name VARCHAR)
|
SELECT date FROM table_name_90 WHERE time = "56.49"
|
What is Date, when Time is "56.49"?
|
CREATE TABLE table_name_90 (date VARCHAR, time VARCHAR)
|
SELECT home_team FROM table_name_67 WHERE away_team = "brentford"
|
What is Home Team, when Away Team is "Brentford"?
|
CREATE TABLE table_name_67 (home_team VARCHAR, away_team VARCHAR)
|
SELECT COUNT(pick) FROM table_name_95 WHERE college = "letran"
|
How many picks went to College of Letran?
|
CREATE TABLE table_name_95 (pick VARCHAR, college VARCHAR)
|
SELECT date FROM table_name_69 WHERE name = "international gold cup"
|
What date did the International Gold Cup take place?
|
CREATE TABLE table_name_69 (date VARCHAR, name VARCHAR)
|
SELECT form_factor FROM table_name_65 WHERE capacities__gb_ = "60/120/180/240"
|
What form factor has capacities at 60/120/180/240?
|
CREATE TABLE table_name_65 (form_factor VARCHAR, capacities__gb_ VARCHAR)
|
SELECT depth FROM table_name_35 WHERE time__utc_ = "19:48"
|
What is the depth of the quake that occurred at 19:48?
|
CREATE TABLE table_name_35 (depth VARCHAR, time__utc_ VARCHAR)
|
SELECT MAX(total_goals) FROM table_name_98 WHERE fa_cup_goals = 0 AND league_apps = "41"
|
What is the most total goals for a player having 0 FA Cup goals and 41 League appearances?
|
CREATE TABLE table_name_98 (total_goals INTEGER, fa_cup_goals VARCHAR, league_apps VARCHAR)
|
SELECT name FROM table_name_71 WHERE event = "men's featherweight" AND sport = "weightlifting"
|
Tell me the name for men's featherweight and sport of weightlifting
|
CREATE TABLE table_name_71 (name VARCHAR, event VARCHAR, sport VARCHAR)
|
SELECT MIN(gold) FROM table_name_34 WHERE silver < 2 AND nation = "zimbabwe" AND bronze < 1
|
What is the lowest gold that has a silver less than 2, Zimbabwe as the nation, and a bronze less than 1?
|
CREATE TABLE table_name_34 (gold INTEGER, bronze VARCHAR, silver VARCHAR, nation VARCHAR)
|
SELECT score FROM table_name_85 WHERE opponent = "stefano galvani"
|
Name the score which has opponent of stefano galvani
|
CREATE TABLE table_name_85 (score VARCHAR, opponent VARCHAR)
|
SELECT MIN(population__2011_) FROM table_2562572_54 WHERE settlement = "Čortanovci"
|
What is the lowest population in 2011 for the settlement of čortanovci?
|
CREATE TABLE table_2562572_54 (population__2011_ INTEGER, settlement VARCHAR)
|
SELECT street_address FROM table_name_13 WHERE architect = "edmund woolley and andrew hamilton"
|
What was the address of the building with architects Edmund Woolley and Andrew Hamilton?
|
CREATE TABLE table_name_13 (street_address VARCHAR, architect VARCHAR)
|
SELECT team_name FROM table_name_25 WHERE poles = "0" AND final_placing = "29th"
|
Which Team Name has Poles of 0, and a Final Placing of 29th?
|
CREATE TABLE table_name_25 (team_name VARCHAR, poles VARCHAR, final_placing VARCHAR)
|
SELECT COUNT(series__number) FROM table_21146729_6 WHERE original_airdate = "September 25, 1967"
|
How many of the series # when the original airdate is september 25, 1967?
|
CREATE TABLE table_21146729_6 (series__number VARCHAR, original_airdate VARCHAR)
|
SELECT rank FROM table_name_55 WHERE location = "dnipro stadium , kremenchuk"
|
What is the rank when the game was at dnipro stadium , kremenchuk?
|
CREATE TABLE table_name_55 (rank VARCHAR, location VARCHAR)
|
SELECT result FROM table_name_29 WHERE game_site = "the meadowlands" AND date = "1991-09-01"
|
What was the Result of the Game at the Meadowlands on 1991-09-01?
|
CREATE TABLE table_name_29 (result VARCHAR, game_site VARCHAR, date VARCHAR)
|
SELECT opponents_in_the_final FROM table_name_86 WHERE score_in_the_final = "2–6, 3–6"
|
Who were the opponents when the score was 2–6, 3–6?
|
CREATE TABLE table_name_86 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR)
|
SELECT day_boarding FROM table_name_84 WHERE location = "mt lawley"
|
Is mt lawley day or boarding?
|
CREATE TABLE table_name_84 (day_boarding VARCHAR, location VARCHAR)
|
SELECT MAX(total) FROM table_name_37 WHERE bask = "3" AND base = "3"
|
What is the highest total value when bask and base are each 3?
|
CREATE TABLE table_name_37 (total INTEGER, bask VARCHAR, base VARCHAR)
|
SELECT us_national_average_electric_mix FROM table_24620684_2 WHERE vehicle = "BMW ActiveE"
|
When bmw activee is the vehicle type what is the u.s national average electric mix?
|
CREATE TABLE table_24620684_2 (us_national_average_electric_mix VARCHAR, vehicle VARCHAR)
|
SELECT MIN(number_of_deputies) FROM table_name_17 WHERE number_of_votes_received = "unknown" AND election_date > 1986
|
What was deputies with the lowest number of unknown received votes, in an election year after 1986?
|
CREATE TABLE table_name_17 (number_of_deputies INTEGER, number_of_votes_received VARCHAR, election_date VARCHAR)
|
SELECT population__2004_est_ FROM table_name_87 WHERE hanzi = "昌黎县"
|
What is the 2004 population for 昌黎县?
|
CREATE TABLE table_name_87 (population__2004_est_ VARCHAR, hanzi VARCHAR)
|
SELECT capacity_at_construction FROM table_28885977_1 WHERE location = "Gold Coast, Queensland"
|
What was the capacity at construction of the stadium in Gold Coast, Queensland?
|
CREATE TABLE table_28885977_1 (capacity_at_construction VARCHAR, location VARCHAR)
|
SELECT champion FROM table_name_74 WHERE second = "ramona rahnis" AND third = "diana sartor"
|
Who was the winner the year Ramona Rahnis finished 2nd and Diana Sartor 3rd?
|
CREATE TABLE table_name_74 (champion VARCHAR, second VARCHAR, third VARCHAR)
|
SELECT result FROM table_name_91 WHERE opponent = "boston patriots"
|
What was the score when they played the Boston Patriots?
|
CREATE TABLE table_name_91 (result VARCHAR, opponent VARCHAR)
|
SELECT nationality FROM table_1473672_6 WHERE player = "Derek Black"
|
What country did Derek Black come from?
|
CREATE TABLE table_1473672_6 (nationality VARCHAR, player VARCHAR)
|
SELECT institution FROM table_261931_2 WHERE nickname = "Polar Bears"
|
Which institution's nickname is the Polar Bears?
|
CREATE TABLE table_261931_2 (institution VARCHAR, nickname VARCHAR)
|
SELECT MAX(female_life_expectancy) FROM table_2701625_1 WHERE overall_rank = 61
|
Name the most female life expectancy for overall rank of 61
|
CREATE TABLE table_2701625_1 (female_life_expectancy INTEGER, overall_rank VARCHAR)
|
SELECT SUM(lost) FROM table_name_71 WHERE played < 42
|
what is the lost when played is less than 42?
|
CREATE TABLE table_name_71 (lost INTEGER, played INTEGER)
|
SELECT electorate FROM table_name_61 WHERE member = "rex connor"
|
Who was the electorate when the member was rex connor?
|
CREATE TABLE table_name_61 (electorate VARCHAR, member VARCHAR)
|
SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id JOIN media_types AS T3 ON T3.id = T2.media_type_id WHERE T1.name = "Rock" AND T3.name = "MPEG audio file"
|
List the name of tracks belongs to genre Rock and whose media type is MPEG audio file.
|
CREATE TABLE genres (id VARCHAR, name VARCHAR); CREATE TABLE tracks (name VARCHAR, genre_id VARCHAR, media_type_id VARCHAR); CREATE TABLE media_types (id VARCHAR, name VARCHAR)
|
SELECT format FROM table_name_84 WHERE region = "united states" AND date = "july 23, 2002"
|
What is the format for the United States dated July 23, 2002?
|
CREATE TABLE table_name_84 (format VARCHAR, region VARCHAR, date VARCHAR)
|
SELECT name FROM table_name_51 WHERE authors = "kammerer & sidor"
|
What is Name, when Authors are Kammerer & Sidor?
|
CREATE TABLE table_name_51 (name VARCHAR, authors VARCHAR)
|
SELECT T1.Claim_id, COUNT(*) FROM Claims AS T1 JOIN Settlements AS T2 ON T1.claim_id = T2.claim_id GROUP BY T1.claim_id
|
How many settlements does each claim correspond to? List the claim id and the number of settlements.
|
CREATE TABLE Settlements (claim_id VARCHAR); CREATE TABLE Claims (Claim_id VARCHAR, claim_id VARCHAR)
|
SELECT sign FROM table_name_5 WHERE fall = "venus"
|
Which sign has a fall of Venus?
|
CREATE TABLE table_name_5 (sign VARCHAR, fall VARCHAR)
|
SELECT COUNT(decile) FROM table_name_90 WHERE roll = 251
|
tell me the total number of decile with a roll showing 251.
|
CREATE TABLE table_name_90 (decile VARCHAR, roll VARCHAR)
|
SELECT avg_finish FROM table_2387790_2 WHERE position = "3rd"
|
What was the average finish the year Bodine finished 3rd?
|
CREATE TABLE table_2387790_2 (avg_finish VARCHAR, position VARCHAR)
|
SELECT team FROM table_name_8 WHERE position = "offensive guard" AND pick < 154
|
Who is the team that has a pick less than 154 and an offensive guard position?
|
CREATE TABLE table_name_8 (team VARCHAR, position VARCHAR, pick VARCHAR)
|
SELECT 2009 FROM table_name_99 WHERE tournament = "wta premier mandatory tournaments"
|
Name the 2009 for wta premier mandatory tournaments
|
CREATE TABLE table_name_99 (tournament VARCHAR)
|
SELECT english_day_name_meaning FROM table_2624098_1 WHERE old_english_day_name = "Sæturnesdæg"
|
what is the English meaning of the old English name "sæturnesdæg"?
|
CREATE TABLE table_2624098_1 (english_day_name_meaning VARCHAR, old_english_day_name VARCHAR)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.