answer
stringlengths
6
3.91k
question
stringlengths
7
766
context
stringlengths
27
7.14k
SELECT result FROM table_name_39 WHERE record = "1-3"
What is the Result of the event with a Record of 1-3?
CREATE TABLE table_name_39 ( result VARCHAR, record VARCHAR )
SELECT athlete FROM table_name_40 WHERE year < 1984 AND event = "800 m"
Which athlete performed before 1984 in an 800 m event?
CREATE TABLE table_name_40 (athlete VARCHAR, year VARCHAR, event VARCHAR)
SELECT population_2000_census FROM table_14986292_1 WHERE area__km²_ = "77"
Name the population 2000 census for 77 area
CREATE TABLE table_14986292_1 (population_2000_census VARCHAR, area__km²_ VARCHAR)
SELECT ABS("score" - "score") FROM table_204_861 WHERE "date" = '18 february 1976'
what was the goal difference in the game on february 18th ?
CREATE TABLE table_204_861 ( id number, "tie no" number, "home team" text, "score" text, "away team" text, "date" text )
SELECT MIN(points) FROM table_name_97 WHERE tries > 23 AND player = "tevita vaikona"
What is the lowest number of points that Tevita Vaikona scored when making more than 23 tries?
CREATE TABLE table_name_97 (points INTEGER, tries VARCHAR, player VARCHAR)
SELECT COUNT(area__km²_) FROM table_14986292_1 WHERE population_density_2010___km²_ = 514
Name the number of area where population density 2010 for 514
CREATE TABLE table_14986292_1 (area__km²_ VARCHAR, population_density_2010___km²_ VARCHAR)
SELECT MAX(draws) FROM table_name_24 WHERE ballarat_fl = "sebastapol" AND against < 1802
What was the highest number of Draws scored by Sebastapol when the value for Against was less than 1802?
CREATE TABLE table_name_24 ( draws INTEGER, ballarat_fl VARCHAR, against VARCHAR )
SELECT AVG(points) FROM table_name_46 WHERE player = "joe vagana" AND tries < 2
What is the average number of points scored by Joe Vagana when making fewer than 2 tries?
CREATE TABLE table_name_46 (points INTEGER, player VARCHAR, tries VARCHAR)
SELECT COUNT(population_density_2010___km²_) FROM table_14986292_1 WHERE administrative_division = "Duque de Caxias"
Name the number of population density 2010 for duque de caxias
CREATE TABLE table_14986292_1 (population_density_2010___km²_ VARCHAR, administrative_division VARCHAR)
SELECT AVG(speed) FROM table_name_31 WHERE year < 1974 AND passengers > 1.73
What is the average speed for ships before 1974 with over 1.73 passengers?
CREATE TABLE table_name_31 ( speed INTEGER, year VARCHAR, passengers VARCHAR )
SELECT competition FROM table_name_19 WHERE result = "win" AND score = "3-1"
What is the competition that had a win result and a score of 3-1?
CREATE TABLE table_name_19 (competition VARCHAR, result VARCHAR, score VARCHAR)
SELECT administrative_division FROM table_14986292_1 WHERE population__2010_census_ = 95391
Name the administrative division for 95391
CREATE TABLE table_14986292_1 (administrative_division VARCHAR, population__2010_census_ VARCHAR)
SELECT SUM(grant_amount), organisation_id FROM grants GROUP BY organisation_id
What is the total amount of grants given by each organisations? Also list the organisation id.
CREATE TABLE document_types ( document_type_code text, document_description text ) CREATE TABLE research_staff ( staff_id number, employer_organisation_id number, staff_details text ) CREATE TABLE project_staff ( staff_id number, project_id number, role_code text, date_from time, ...
SELECT venue FROM table_name_33 WHERE result = "win" AND competition = "2002 tiger cup group stage" AND score = "0-4"
What is the venue of the match that had a win result and a score of 0-4 in the 2002 Tiger Cup Group Stage?
CREATE TABLE table_name_33 (venue VARCHAR, score VARCHAR, result VARCHAR, competition VARCHAR)
SELECT MIN(losses) FROM table_14997324_5 WHERE team = "12 de Octubre"
How many losses did 12 de Octubre have ?
CREATE TABLE table_14997324_5 (losses INTEGER, team VARCHAR)
SELECT "Title" FROM table_16361 WHERE "U.S. viewers (millions)" = '16.38'
Which episode had 16.38 million U.S. viewers?
CREATE TABLE table_16361 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (millions)" text )
SELECT score FROM table_name_98 WHERE date = "july 22, 2008"
What is the score of the match on July 22, 2008?
CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR)
SELECT santee_sisseton FROM table_1499791_2 WHERE english_gloss = "morning"
Name the santee sisseton for morning
CREATE TABLE table_1499791_2 (santee_sisseton VARCHAR, english_gloss VARCHAR)
SELECT record FROM table_name_21 WHERE game > 33 AND score = "111-108"
What is the celtics record after game 33 when they score of the game was 111-108?
CREATE TABLE table_name_21 ( record VARCHAR, game VARCHAR, score VARCHAR )
SELECT score FROM table_name_16 WHERE competition = "2002 tiger cup third/fourth place"
What is the score of the 2002 Tiger Cup third/fourth place match?
CREATE TABLE table_name_16 (score VARCHAR, competition VARCHAR)
SELECT southern_lakota FROM table_1499791_2 WHERE english_gloss = "morning"
Name the southern lakota for morning
CREATE TABLE table_1499791_2 (southern_lakota VARCHAR, english_gloss VARCHAR)
SELECT "product" FROM table_204_870 WHERE "input format" = 'rdf' AND "output format" = 'rdf'
what is the only product utilizing rdf input and output format ?
CREATE TABLE table_204_870 ( id number, "product" text, "main functionality" text, "input format" text, "output format" text, "platform" text, "license and cost" text, "notes" text )
SELECT competition FROM table_name_37 WHERE date = "october 15, 2008"
What is the competition on October 15, 2008?
CREATE TABLE table_name_37 (competition VARCHAR, date VARCHAR)
SELECT southern_lakota FROM table_1499791_2 WHERE yankton_yanktonai = "wakȟáŋyeža"
Name the southern lakota for wakȟáŋyeža
CREATE TABLE table_1499791_2 (southern_lakota VARCHAR, yankton_yanktonai VARCHAR)
SELECT maxQScores.OwnerUserId AS "user_link", maxQScores.maxQScore, p1.Id AS "post_link" FROM (SELECT p.OwnerUserId, MAX(p.Score) AS maxQScore FROM Posts AS p WHERE p.PostTypeId = 1 GROUP BY p.OwnerUserId) AS maxQScores INNER JOIN Posts AS p1 ON p1.Score = maxQScores.maxQScore AND p1.PostTypeId = 1 AND p1.OwnerUserId =...
Users Whose Top Question is in Tag t.
CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, Creati...
SELECT player FROM table_name_61 WHERE school = "st. benedict's prep"
What is the player that went to st. benedict's prep?
CREATE TABLE table_name_61 (player VARCHAR, school VARCHAR)
SELECT english_gloss FROM table_1499791_2 WHERE southern_lakota = "naháŋȟčiŋ"
Name the english gloss for naháŋȟčiŋ
CREATE TABLE table_1499791_2 (english_gloss VARCHAR, southern_lakota VARCHAR)
SELECT "Date sent" FROM table_38584 WHERE "Constellation" = 'cancer'
What date sent has cancer as the constellation?
CREATE TABLE table_38584 ( "Designation HD" text, "Constellation" text, "Date sent" text, "Arrival date" text, "Message" text )
SELECT nba_draft FROM table_name_58 WHERE college = "ohio state"
What is the NBA draft for ohio state?
CREATE TABLE table_name_58 (nba_draft VARCHAR, college VARCHAR)
SELECT COUNT(santee_sisseton) FROM table_1499791_2 WHERE yankton_yanktonai = "híŋhaŋna"
Name the santee sisseton for híŋhaŋna
CREATE TABLE table_1499791_2 (santee_sisseton VARCHAR, yankton_yanktonai VARCHAR)
SELECT COUNT(vacator) FROM table_225093_4 WHERE date_successor_seated = "October 22, 1808"
How many vacators have October 22, 1808 as date successor seated?
CREATE TABLE table_225093_4 ( vacator VARCHAR, date_successor_seated VARCHAR )
SELECT school FROM table_name_69 WHERE height = "6-6"
What school did the player that is 6-6 go to?
CREATE TABLE table_name_69 (school VARCHAR, height VARCHAR)
SELECT yankton_yanktonai FROM table_1499791_2 WHERE southern_lakota = "wičháša"
Name the yankton yanktonai for wičháša
CREATE TABLE table_1499791_2 (yankton_yanktonai VARCHAR, southern_lakota VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dod_year <= "2126.0" AND prescriptions.formulary_drug_cd = "GGAC5L"
Get me the list of patients who died on or before 2126 that had drug code ggac5l.
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT school FROM table_name_28 WHERE player = "samardo samuels"
What school did samardo samuels go to?
CREATE TABLE table_name_28 (school VARCHAR, player VARCHAR)
SELECT MAX(round) FROM table_14999879_2
What was the last round the team drafted?
CREATE TABLE table_14999879_2 (round INTEGER)
SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 25312) AND microbiologyevents.spec_type_desc = 'urine' AND NOT microbiologyevents.org_name IS NULL AND DATETIME(microbiologyevents.charttime, 'start of year') = DATETI...
had any organism been found during the last urine microbiology test of patient 25312 in 01/this year?
CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_careunit text, first_wardid number, last_wardid number, intime time, outtime time ) CREATE TABLE transfers ( row_id number, subject_id number, hadm_...
SELECT final FROM table_name_88 WHERE event = "middleweight –75 kg"
What is the final for middleweight –75 kg?
CREATE TABLE table_name_88 (final VARCHAR, event VARCHAR)
SELECT college FROM table_14999879_2 WHERE player = "Steve Justice"
What college did steve justice attend?
CREATE TABLE table_14999879_2 (college VARCHAR, player VARCHAR)
SELECT t2.unit_of_measure, t2.product_category_code FROM products AS t1 JOIN ref_product_categories AS t2 ON t1.product_category_code = t2.product_category_code WHERE t1.product_name = "chervil"
Find the unit of measurement and product category code of product named 'chervil'.
CREATE TABLE characteristics ( characteristic_id number, characteristic_type_code text, characteristic_data_type text, characteristic_name text, other_characteristic_details text ) CREATE TABLE ref_product_categories ( product_category_code text, product_category_description text, unit_...
SELECT athlete FROM table_name_26 WHERE semifinal = "did not advance" AND event = "light heavyweight –81 kg"
For the light heavyweight –81 kg event that did not advance to semifinal, who was the athlete?
CREATE TABLE table_name_26 (athlete VARCHAR, semifinal VARCHAR, event VARCHAR)
SELECT COUNT(womens_doubles) FROM table_15001957_1 WHERE mens_singles = "Philippe Aulner"
How may women doubles winner were there when Philippe Aulner was mens singles winner?
CREATE TABLE table_15001957_1 (womens_doubles VARCHAR, mens_singles VARCHAR)
SELECT "Finish" FROM table_70677 WHERE "Year" = '1953'
What was the finishing place for 1953?
CREATE TABLE table_70677 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real )
SELECT final FROM table_name_78 WHERE athlete = "rouhollah hosseini"
What was the final for rouhollah hosseini?
CREATE TABLE table_name_78 (final VARCHAR, athlete VARCHAR)
SELECT COUNT(mixed_doubles) FROM table_15001957_1 WHERE year = 1996
How many mixed doubles were won in 1996?
CREATE TABLE table_15001957_1 (mixed_doubles VARCHAR, year VARCHAR)
SELECT "Mens Doubles" FROM table_30408 WHERE "Season" = '1963/64'
Name the winners of the mens doubles in the season of 1963/64.
CREATE TABLE table_30408 ( "Season" text, "Mens Singles" text, "Womens Singles" text, "Mens Doubles" text, "Womens Doubles" text, "Mixed Doubles" text )
SELECT round_of_16 FROM table_name_75 WHERE quarterfinal = "did not advance" AND round_of_32 = "n/a"
When the round of 32 was n/a and quarterfinal was did not advance, what was the round of 16?
CREATE TABLE table_name_75 (round_of_16 VARCHAR, quarterfinal VARCHAR, round_of_32 VARCHAR)
SELECT womens_doubles FROM table_15002265_1 WHERE mens_doubles = "Reinhold Pum Karl Buchart" AND mixed_doubles = "Hermann Fröhlich Lore Voit"
who is the the womens doubles with mens doubles being reinhold pum karl buchart and mixed doubles being hermann fröhlich lore voit
CREATE TABLE table_15002265_1 (womens_doubles VARCHAR, mens_doubles VARCHAR, mixed_doubles VARCHAR)
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE course_offering.friday = 'N' AND course.department = 'MCDB' AND semester.semester = 'WN' AND s...
Which MCDB classes don 't meet on Friday ?
CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE course_tags_count ( course_id int, clear_grading int, pop_quiz int, group_projects int, ins...
SELECT home_team FROM table_name_17 WHERE venue = "windy hill"
Can you tell me the Home team that has a Venue of Windy Hill?
CREATE TABLE table_name_17 (home_team VARCHAR, venue VARCHAR)
SELECT womens_doubles FROM table_15002265_1 WHERE mens_doubles = "Leopold Bauer Alfred Kohlhauser"
who is the the womens doubles with mens doubles being leopold bauer alfred kohlhauser
CREATE TABLE table_15002265_1 (womens_doubles VARCHAR, mens_doubles VARCHAR)
SELECT date FROM table_name_38 WHERE away_team = "footscray"
When was the game when Footscray was the away team?
CREATE TABLE table_name_38 ( date VARCHAR, away_team VARCHAR )
SELECT MIN(attendance) FROM table_name_68 WHERE home = "pittsburgh"
What was the lowest attendance at a game when Pittsburgh was the home team?
CREATE TABLE table_name_68 (attendance INTEGER, home VARCHAR)
SELECT mixed_doubles FROM table_15002265_1 WHERE mens_singles = "Peter Moritz"
who is the the mixed doubles with mens singles being peter moritz
CREATE TABLE table_15002265_1 (mixed_doubles VARCHAR, mens_singles VARCHAR)
SELECT winning_constructor FROM table_name_82 WHERE circuit = "lasarte"
What Winning constructor has a Circuit of lasarte?
CREATE TABLE table_name_82 ( winning_constructor VARCHAR, circuit VARCHAR )
SELECT date FROM table_name_81 WHERE home = "atlanta"
What was the date of the game when Atlanta was the home team?
CREATE TABLE table_name_81 (date VARCHAR, home VARCHAR)
SELECT mens_doubles FROM table_15002265_1 WHERE mens_singles = "Jürgen Koch" AND womens_singles = "Sabine Ploner"
who is the the mens doubles with mens singles being jürgen koch and womens singles being sabine ploner
CREATE TABLE table_15002265_1 (mens_doubles VARCHAR, mens_singles VARCHAR, womens_singles VARCHAR)
SELECT "Location Attendance" FROM table_25855 WHERE "Game" = '4'
Name the location attendance for 4 game
CREATE TABLE table_25855 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Series" text )
SELECT decision FROM table_name_90 WHERE home = "montreal"
What was the decision of the game when Montreal was the home team?
CREATE TABLE table_name_90 (decision VARCHAR, home VARCHAR)
SELECT womens_singles FROM table_15002265_1 WHERE mixed_doubles = "Bernd Frohnwieser Hilde Themel" AND year < 1959.0
who is the the womens singles with mixed doubles being bernd frohnwieser hilde themel and year being smaller than 1959.0
CREATE TABLE table_15002265_1 (womens_singles VARCHAR, mixed_doubles VARCHAR, year VARCHAR)
SELECT AVG(grid) FROM table_name_83 WHERE time_retired = "+2 laps" AND laps < 51
What is the average Grid that has a Time/Retired of +2 laps, and under 51 laps?
CREATE TABLE table_name_83 ( grid INTEGER, time_retired VARCHAR, laps VARCHAR )
SELECT date FROM table_name_26 WHERE decision = "niittymaki" AND record = "30–21–5"
What was the date of the game with a decision of Niittymaki and when the Flyers had a record of 30–21–5?
CREATE TABLE table_name_26 (date VARCHAR, decision VARCHAR, record VARCHAR)
SELECT COUNT(mixed_doubles) FROM table_15002177_1 WHERE womens_singles = "Olga Koseli"
How many mixed doubles were there in the year that Olga Koseli won the women's singles?
CREATE TABLE table_15002177_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)
SELECT COUNT(*) FROM table_203_131 WHERE "make" = 'toyota'
how many toyotas were there in the top 10 finishes ?
CREATE TABLE table_203_131 ( id number, "pos." number, "car #" number, "driver" text, "make" text, "team" text )
SELECT position FROM table_name_19 WHERE nationality = "united states" AND pick = 9
Which Position has a Nationality of united states, and a Pick of 9?
CREATE TABLE table_name_19 (position VARCHAR, nationality VARCHAR, pick VARCHAR)
SELECT MAX(_number) FROM table_15026994_5 WHERE viewing_figure = "7.02 million"
What is the # for the episode with viewing figures of 7.02 million ?
CREATE TABLE table_15026994_5 (_number INTEGER, viewing_figure VARCHAR)
SELECT "Tournament" FROM table_50695 WHERE "2010" = 'a' AND "2009" = 'a' AND "2011" = 'q1'
WHAT IS THE TOURNAMENT WITH A 2010 OF A, 2009 OF A, AND 001 PERFORMANCE OF Q1?
CREATE TABLE table_50695 ( "Tournament" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text )
SELECT AVG(pick) FROM table_name_14 WHERE position = "pg" AND round < 1
What is the average Pick with a Position of pg, and a Round less than 1?
CREATE TABLE table_name_14 (pick INTEGER, position VARCHAR, round VARCHAR)
SELECT MIN(rank) FROM table_150340_3 WHERE country = "Puerto Rico"
What is the lowest rank for puerto rico?
CREATE TABLE table_150340_3 (rank INTEGER, country VARCHAR)
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'CHARLOTTE' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALT...
flights from CHARLOTTE to BALTIMORE
CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE flight_fare ( flight_id int, fare_id int ) C...
SELECT MAX(top_10) FROM table_name_92 WHERE cuts_made < 12 AND top_5 < 2 AND events < 14
Which top ten, having less than 12 cuts less than 2 top five, and events smaller than 14, is the highest?
CREATE TABLE table_name_92 (top_10 INTEGER, events VARCHAR, cuts_made VARCHAR, top_5 VARCHAR)
SELECT COUNT(director) FROM table_15026994_2 WHERE writer = "Gaby Chiappe"
How many different directors are associated with the writer Gaby Chiappe?
CREATE TABLE table_15026994_2 (director VARCHAR, writer VARCHAR)
SELECT "Digital channel" FROM table_19097 WHERE "Network" = 'JCTV'
What is JCTV's digital channel?
CREATE TABLE table_19097 ( "Call sign" text, "Analog channel" text, "Digital channel" text, "Virtual channel" text, "Network" text, "Station Ownership" text )
SELECT AVG(top_5) FROM table_name_79 WHERE cuts_made = 42
What is the average for the top five having a number of 42 cuts made.
CREATE TABLE table_name_79 (top_5 INTEGER, cuts_made VARCHAR)
SELECT writer FROM table_15026994_2 WHERE viewing_figure = "7.01 million"
What writers are associated with a viewing figure of 7.01 million?
CREATE TABLE table_15026994_2 (writer VARCHAR, viewing_figure VARCHAR)
WITH Raw AS (SELECT Q.OwnerUserId AS QId, A.OwnerUserId AS AId, COUNT(*) AS Count FROM Posts AS Q, Posts AS A WHERE A.ParentId = Q.Id AND A.OwnerUserId > 0 AND Q.OwnerUserId > 0 AND A.OwnerUserId != Q.OwnerUserId AND Q.CommunityOwnedDate IS NULL AND A.CommunityOwnedDate IS NULL GROUP BY Q.OwnerUserId, A.OwnerUserId) SE...
Most common mutual questioner - answerer pairs.
CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount number, LastAutoRename time, Score number, ApprovedByUserId number, ApprovalDate time ) CREATE TABLE Users ( Id number, Reputation number,...
SELECT score FROM table_name_8 WHERE visitor = "buffalo" AND date = "april 27"
Tell me the score on april 27 with visitor of buffalo
CREATE TABLE table_name_8 (score VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT episode FROM table_15026994_2 WHERE viewing_figure = "6.72 million"
What are all episodes with a viewing figure of 6.72 million?
CREATE TABLE table_15026994_2 (episode VARCHAR, viewing_figure VARCHAR)
SELECT "Developer(s)" FROM table_63848 WHERE "Year" > '2010' AND "Genre" = 'action rpg'
Who were the developers for the Action RPG made after 2010?
CREATE TABLE table_63848 ( "Year" real, "Game" text, "Genre" text, "Platform(s)" text, "Developer(s)" text )
SELECT SUM(crowd) FROM table_name_4 WHERE away_team = "melbourne"
How many people attended Melbourne's away game?
CREATE TABLE table_name_4 (crowd INTEGER, away_team VARCHAR)
SELECT original_air_date FROM table_15026994_2 WHERE viewing_figure = "7.27 million"
What original air dates are associated with a viewing figure of 7.27 million?
CREATE TABLE table_15026994_2 (original_air_date VARCHAR, viewing_figure VARCHAR)
SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '032-9230' AND patient.hospitaladmitsource = 'other hospital' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') ORDER BY patient.hospitaladmittime LIMIT 1
in this year, when did patient 032-9230 come to the hospital via the other hospital for the first time?
CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospit...
SELECT result FROM table_name_66 WHERE venue = "dairy farmers stadium" AND score = "28-24"
Who won the game at Dairy farmers stadium with a score of 28-24?
CREATE TABLE table_name_66 (result VARCHAR, venue VARCHAR, score VARCHAR)
SELECT director FROM table_15026994_3 WHERE _number = 13
Who is the director of the episode at entry number 13?
CREATE TABLE table_15026994_3 (director VARCHAR, _number VARCHAR)
SELECT city FROM table_name_83 WHERE stadium = "telstra dome"
What is the city where the Telstra Dome is?
CREATE TABLE table_name_83 ( city VARCHAR, stadium VARCHAR )
SELECT result FROM table_name_26 WHERE date = "24 july 2010"
Who won that game on 24 July 2010?
CREATE TABLE table_name_26 (result VARCHAR, date VARCHAR)
SELECT COUNT(writer) FROM table_15026994_3 WHERE director = "David Tucker"
Who wrote the episode that David Tucker directed?
CREATE TABLE table_15026994_3 (writer VARCHAR, director VARCHAR)
SELECT MAX("Number of bearers 2008") FROM table_77262 WHERE "Surname" = 'jacobsen'
What is Highest Number of Bearers 2008, when Surname is Jacobsen?
CREATE TABLE table_77262 ( "Rank" real, "Surname" text, "Number of bearers 2008" real, "Type" text, "Etymology" text )
SELECT opponent FROM table_name_20 WHERE result = "loss" AND score = "24-28"
Who loss the 24-28 game?
CREATE TABLE table_name_20 (opponent VARCHAR, result VARCHAR, score VARCHAR)
SELECT episode FROM table_15026994_3 WHERE viewing_figure = "6.34 million"
Which episode has been viewed 6.34 million times?
CREATE TABLE table_15026994_3 (episode VARCHAR, viewing_figure VARCHAR)
SELECT SUM("total caps") FROM table_204_342 WHERE "player" IN ('jean-pierre rives', 'michel crauste')
how many caps did jean pierre rives and michel crauste accrue ?
CREATE TABLE table_204_342 ( id number, "#" number, "player" text, "span" text, "caps" number, "total caps" number, "win %" text )
SELECT opponent FROM table_name_69 WHERE score = "18-19"
Who scored 18-19?
CREATE TABLE table_name_69 (opponent VARCHAR, score VARCHAR)
SELECT original_air_date FROM table_15026994_3 WHERE director = "Paul Marcus"
What is the original air date of the episode directed by Paul Marcus?
CREATE TABLE table_15026994_3 (original_air_date VARCHAR, director VARCHAR)
SELECT Minister, COUNT(Minister) FROM party GROUP BY Minister ORDER BY COUNT(Minister)
Bar chart x axis minister y axis how many minister, and rank by the total number in ascending.
CREATE TABLE member ( Member_ID int, Member_Name text, Party_ID text, In_office text ) CREATE TABLE party_events ( Event_ID int, Event_Name text, Party_ID int, Member_in_charge_ID int ) CREATE TABLE party ( Party_ID int, Minister text, Took_office text, Left_office text...
SELECT rank FROM table_name_1 WHERE silver > 1 AND nation = "total"
Which rank has more than 1 silver and a total nation?
CREATE TABLE table_name_1 (rank VARCHAR, silver VARCHAR, nation VARCHAR)
SELECT COUNT(license) FROM table_15038373_1 WHERE version = "1.2.2.0"
How many licenses have version 1.2.2.0?
CREATE TABLE table_15038373_1 (license VARCHAR, version VARCHAR)
SELECT traditional FROM table_2013618_1 WHERE simplified = "屏南县"
Name the traditional for
CREATE TABLE table_2013618_1 ( traditional VARCHAR, simplified VARCHAR )
SELECT MIN(total) FROM table_name_79 WHERE nation = "slovenia" AND gold < 0
What is the lowest total from slovenia with a Gold smaller than 0?
CREATE TABLE table_name_79 (total INTEGER, nation VARCHAR, gold VARCHAR)
SELECT version FROM table_15038373_1 WHERE software = "SBaGen"
What is the version with sbagen software?
CREATE TABLE table_15038373_1 (version VARCHAR, software VARCHAR)
SELECT touchdowns FROM table_20906175_3 WHERE qb_rating = "66.6"
How many touchdowns were there with QB rating of 66.6?
CREATE TABLE table_20906175_3 ( touchdowns VARCHAR, qb_rating VARCHAR )