answer
stringlengths 18
557
| question
stringlengths 12
244
| context
stringlengths 27
489
|
---|---|---|
SELECT date FROM table_name_45 WHERE week = 11
|
What is Date, when Week is 11?
|
CREATE TABLE table_name_45 (date VARCHAR, week VARCHAR)
|
SELECT injured FROM table_name_98 WHERE killed = "29"
|
What was the injured entry for the row with a killed entry of 29?
|
CREATE TABLE table_name_98 (injured VARCHAR, killed VARCHAR)
|
SELECT school, LOCATION FROM university WHERE affiliation = 'Public'
|
List all public schools and their locations.
|
CREATE TABLE university (school VARCHAR, LOCATION VARCHAR, affiliation VARCHAR)
|
SELECT opponent FROM table_name_7 WHERE competition = "vfl reserves" AND score = "18.6 (114) - 21.14 (140)"
|
At the VFL Reserves, who was the opponent when the score was 18.6 (114) - 21.14 (140)?
|
CREATE TABLE table_name_7 (opponent VARCHAR, competition VARCHAR, score VARCHAR)
|
SELECT position FROM table_10015132_7 WHERE school_club_team = "Connecticut"
|
what position did the player from connecticut play
|
CREATE TABLE table_10015132_7 (position VARCHAR, school_club_team VARCHAR)
|
SELECT region FROM table_name_91 WHERE format = "cd maxi"
|
Which region had the CD maxi format?
|
CREATE TABLE table_name_91 (region VARCHAR, format VARCHAR)
|
SELECT fastest_lap FROM table_name_98 WHERE race = "monaco grand prix"
|
Who had the fastest lap in the Monaco Grand Prix?
|
CREATE TABLE table_name_98 (fastest_lap VARCHAR, race VARCHAR)
|
SELECT MAX(rank) FROM table_name_70 WHERE earnings__$__ < 395 OFFSET 386
|
Who is the highest ranked player that has earnings below 395,386?
|
CREATE TABLE table_name_70 (rank INTEGER, earnings__$__ INTEGER)
|
SELECT order FROM table_name_9 WHERE olympic_games = "tokyo"
|
What was the order of the Tokyo olympic games?
|
CREATE TABLE table_name_9 (order VARCHAR, olympic_games VARCHAR)
|
SELECT opponent FROM table_name_59 WHERE tournament = "eastbourne" AND score = "6–0, 5–7, 3–6"
|
Tell the opponent of eastbourne with score of 6–0, 5–7, 3–6
|
CREATE TABLE table_name_59 (opponent VARCHAR, tournament VARCHAR, score VARCHAR)
|
SELECT MIN(wins) FROM table_14911550_1
|
Name the least wins
|
CREATE TABLE table_14911550_1 (wins INTEGER)
|
SELECT format FROM table_name_42 WHERE location = "taipei"
|
What event did he compete in at Taipei?
|
CREATE TABLE table_name_42 (format VARCHAR, location VARCHAR)
|
SELECT driver FROM table_name_51 WHERE team = "officine alfieri maserati" AND class = "non-championship f2" AND position = 2 AND date = "9/1952"
|
what driver has a team of officine alfieri maserati and belongs to the class of non-championship f2 and has a position of 2, as well as a date of 9/1952?
|
CREATE TABLE table_name_51 (driver VARCHAR, date VARCHAR, position VARCHAR, team VARCHAR, class VARCHAR)
|
SELECT MAX(lane) FROM table_name_81 WHERE heat = 6 AND time = "dns"
|
What is the highest lane for heat 6 with a time of dns?
|
CREATE TABLE table_name_81 (lane INTEGER, heat VARCHAR, time VARCHAR)
|
SELECT crowd FROM table_name_4 WHERE venue = "windy hill"
|
What is the listed crowd at windy hill?
|
CREATE TABLE table_name_4 (crowd VARCHAR, venue VARCHAR)
|
SELECT COUNT(position_in_channel_4s_ratings_a) FROM table_22170495_6 WHERE original_airing_on_channel_4 = "February 24, 2010"
|
How many position in channel 4s ratings a have February 24, 2010 as the original airing on channel 4?
|
CREATE TABLE table_22170495_6 (position_in_channel_4s_ratings_a VARCHAR, original_airing_on_channel_4 VARCHAR)
|
SELECT house_1950 FROM table_name_39 WHERE governors_1950 = "governors 1995"
|
What shows for House 1950 when the Governors 1950 show governors 1995?
|
CREATE TABLE table_name_39 (house_1950 VARCHAR, governors_1950 VARCHAR)
|
SELECT date FROM table_name_48 WHERE scorers = "mccoist (3), johnston, butcher, steven"
|
When was the scorer mccoist (3), johnston, butcher, steven?
|
CREATE TABLE table_name_48 (date VARCHAR, scorers VARCHAR)
|
SELECT opponent FROM table_name_81 WHERE week > 2 AND date = "november 19, 1995"
|
Which Opponent has a Week larger than 2 on november 19, 1995?
|
CREATE TABLE table_name_81 (opponent VARCHAR, week VARCHAR, date VARCHAR)
|
SELECT MIN(no_in_season) FROM table_23117208_4 WHERE written_by = "Jessica Ball"
|
Name the least number in season for jessica ball
|
CREATE TABLE table_23117208_4 (no_in_season INTEGER, written_by VARCHAR)
|
SELECT game FROM table_name_90 WHERE genre = "platformer"
|
Which game was a Platformer?
|
CREATE TABLE table_name_90 (game VARCHAR, genre VARCHAR)
|
SELECT MIN(oil_rig) FROM table_20183474_1 WHERE draw = 9
|
What's the oil rig of the song with a draw number 9?
|
CREATE TABLE table_20183474_1 (oil_rig INTEGER, draw VARCHAR)
|
SELECT COUNT(conceded) FROM table_name_77 WHERE wins < 3 AND points > 11
|
How much Conceded has Wins smaller than 3, and Points larger than 11?
|
CREATE TABLE table_name_77 (conceded VARCHAR, wins VARCHAR, points VARCHAR)
|
SELECT role_description FROM ROLES WHERE role_code = (SELECT role_code FROM users WHERE user_login = 1 GROUP BY role_code ORDER BY COUNT(*) DESC LIMIT 1)
|
Find the description of the most popular role among the users that have logged in.
|
CREATE TABLE users (role_description VARCHAR, role_code VARCHAR, user_login VARCHAR); CREATE TABLE ROLES (role_description VARCHAR, role_code VARCHAR, user_login VARCHAR)
|
SELECT SUM(rank) FROM table_name_6 WHERE silver < 0
|
what is the rank when silver is less than 0?
|
CREATE TABLE table_name_6 (rank INTEGER, silver INTEGER)
|
SELECT seats FROM table_name_72 WHERE election < 2004 AND share_of_votes = "3.4%"
|
How many seats did the election before 2004 with 3.4% share of votes have?
|
CREATE TABLE table_name_72 (seats VARCHAR, election VARCHAR, share_of_votes VARCHAR)
|
SELECT opponent FROM table_name_75 WHERE record = "43-56"
|
Which Opponent has a Record of 43-56?
|
CREATE TABLE table_name_75 (opponent VARCHAR, record VARCHAR)
|
SELECT streak FROM table_name_18 WHERE date = "dec. 12"
|
What was the streak after the game on Dec. 12?
|
CREATE TABLE table_name_18 (streak VARCHAR, date VARCHAR)
|
SELECT away_team AS score FROM table_name_1 WHERE away_team = "essendon"
|
What is essendon's away team score?
|
CREATE TABLE table_name_1 (away_team VARCHAR)
|
SELECT COUNT(gold) FROM table_name_12 WHERE silver = 1 AND nation = "albania" AND total < 1
|
Tell me the number of gold for albania with a silver of 1 and total less than 1
|
CREATE TABLE table_name_12 (gold VARCHAR, total VARCHAR, silver VARCHAR, nation VARCHAR)
|
SELECT location FROM table_name_83 WHERE score = "269 (–19)" AND tournament = "tallahassee open"
|
What is the location of the tallahassee open, with a Score of 269 (–19)?
|
CREATE TABLE table_name_83 (location VARCHAR, score VARCHAR, tournament VARCHAR)
|
SELECT week_1_sept_7 FROM table_name_15 WHERE preseason = "colorado state"
|
What is the Week 1 result of Colorado State?
|
CREATE TABLE table_name_15 (week_1_sept_7 VARCHAR, preseason VARCHAR)
|
SELECT COUNT(*) FROM Project_Staff WHERE role_code = 'leader' OR date_from < '1989-04-24 23:51:54'
|
How many project staff worked as leaders or started working before '1989-04-24 23:51:54'?
|
CREATE TABLE Project_Staff (role_code VARCHAR, date_from VARCHAR)
|
SELECT time FROM table_name_68 WHERE event = "legacy fighting championship 12"
|
How long was the time for the Legacy Fighting Championship 12?
|
CREATE TABLE table_name_68 (time VARCHAR, event VARCHAR)
|
SELECT characteristic_name, other_characteristic_details, characteristic_data_type FROM CHARACTERISTICS EXCEPT SELECT t1.characteristic_name, t1.other_characteristic_details, t1.characteristic_data_type FROM CHARACTERISTICS AS t1 JOIN product_characteristics AS t2 ON t1.characteristic_id = t2.characteristic_id
|
What are the names, details and data types of the characteristics which are never used by any product?
|
CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, other_characteristic_details VARCHAR, characteristic_data_type VARCHAR, characteristic_id VARCHAR); CREATE TABLE product_characteristics (characteristic_id VARCHAR); CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, other_characteristic_details VARCHAR, characteristic_data_type VARCHAR)
|
SELECT country FROM table_name_5 WHERE client = "agiba-agip"
|
What country did the client Agiba-agip work in?
|
CREATE TABLE table_name_5 (country VARCHAR, client VARCHAR)
|
SELECT grid FROM table_name_1 WHERE laps = 23 AND rider = "josh brookes"
|
What grid has 23 laps done by Josh Brookes?
|
CREATE TABLE table_name_1 (grid VARCHAR, laps VARCHAR, rider VARCHAR)
|
SELECT MIN(against) FROM table_name_74 WHERE losses < 3 AND draws > 0
|
What is the lowest against when the draws are more than 0 and the losses are less than 3?
|
CREATE TABLE table_name_74 (against INTEGER, losses VARCHAR, draws VARCHAR)
|
SELECT COUNT(march) FROM table_name_94 WHERE record = "25-10-9" AND game > 44
|
What is the number of March that has 25-10-9 record and a Game more than 44?
|
CREATE TABLE table_name_94 (march VARCHAR, record VARCHAR, game VARCHAR)
|
SELECT MIN(gold) FROM table_name_68 WHERE silver < 0
|
Which team has the lowest gold and 0 silver?
|
CREATE TABLE table_name_68 (gold INTEGER, silver INTEGER)
|
SELECT rider FROM table_18666752_3 WHERE horse = "Galan De Sauvagere"
|
Who is the rider where the horse is galan de sauvagere?
|
CREATE TABLE table_18666752_3 (rider VARCHAR, horse VARCHAR)
|
SELECT close_ranged_weapons FROM table_27704991_1 WHERE special_weapon = "Glass egg"
|
If the special weapon is glass egg, what is the close ranged weapon?
|
CREATE TABLE table_27704991_1 (close_ranged_weapons VARCHAR, special_weapon VARCHAR)
|
SELECT winners_club FROM table_name_20 WHERE week = 4.5
|
Which Winners club has a Week of 4.5?
|
CREATE TABLE table_name_20 (winners_club VARCHAR, week VARCHAR)
|
SELECT AVG(year_named) FROM table_name_16 WHERE name = "aida-wedo dorsa" AND diameter__km_ < 450
|
What's the average year for the name aida-wedo dorsa with a diameter less than 450?
|
CREATE TABLE table_name_16 (year_named INTEGER, name VARCHAR, diameter__km_ VARCHAR)
|
SELECT winner FROM table_name_16 WHERE city = "lima"
|
Who is the winner in the city of lima?
|
CREATE TABLE table_name_16 (winner VARCHAR, city VARCHAR)
|
SELECT COUNT(built) FROM table_name_55 WHERE floors < 22 AND rank < 8 AND name = "white, mediacityuk"
|
What is the total number of Built, when Floors is less than 22, when Rank is less than 8, and when Name is White, Mediacityuk?
|
CREATE TABLE table_name_55 (built VARCHAR, name VARCHAR, floors VARCHAR, rank VARCHAR)
|
SELECT surface FROM table_name_79 WHERE partner = "jürgen melzer" AND date = "july 16, 2011"
|
What was the Surface for the Partner of Jürgen Melzer, and a Date of July 16, 2011?
|
CREATE TABLE table_name_79 (surface VARCHAR, partner VARCHAR, date VARCHAR)
|
SELECT COUNT(matches) FROM table_name_96 WHERE s_rate < 133.72 AND team = "yorkshire carnegie"
|
How many Matches have an S/Rate smaller than 133.72, and a Team of yorkshire carnegie?
|
CREATE TABLE table_name_96 (matches VARCHAR, s_rate VARCHAR, team VARCHAR)
|
SELECT torque FROM table_name_49 WHERE name = "1.6 petrol" AND power = "daewoo"
|
What is the torque of the 1.6 petrol with daewoo power?
|
CREATE TABLE table_name_49 (torque VARCHAR, name VARCHAR, power VARCHAR)
|
SELECT AVG(silver) FROM table_name_53 WHERE gold > 6 AND bronze < 5
|
What is the average number of silver medals with more than 6 gold meals and less than 5 bronze medals?
|
CREATE TABLE table_name_53 (silver INTEGER, gold VARCHAR, bronze VARCHAR)
|
SELECT title FROM table_name_6 WHERE year = 1952
|
Which Title is from 1952?
|
CREATE TABLE table_name_6 (title VARCHAR, year VARCHAR)
|
SELECT location FROM table_name_65 WHERE method = "tko (punches)" AND time = "2:48"
|
what is the location when the method is tko (punches) and the time is 2:48?
|
CREATE TABLE table_name_65 (location VARCHAR, method VARCHAR, time VARCHAR)
|
SELECT T1.id, T1.Name, T1.FDA_approved FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id GROUP BY T1.id ORDER BY COUNT(*) DESC
|
What are the ids, names and FDA approval status of medicines in descending order of the number of enzymes that it can interact with.
|
CREATE TABLE medicine_enzyme_interaction (medicine_id VARCHAR); CREATE TABLE medicine (id VARCHAR, Name VARCHAR, FDA_approved VARCHAR)
|
SELECT winning_score FROM table_name_21 WHERE to_par = "−21"
|
What is the Winning score when the To par was −21?
|
CREATE TABLE table_name_21 (winning_score VARCHAR, to_par VARCHAR)
|
SELECT condition FROM table_name_53 WHERE bleeding_time = "unaffected" AND partial_thromboplastin_time = "prolonged" AND prothrombin_time = "unaffected"
|
Which Condition has a Bleeding time of unaffected, and a Partial thromboplastin time of prolonged, and a Prothrombin time of unaffected?
|
CREATE TABLE table_name_53 (condition VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR)
|
SELECT season FROM table_name_48 WHERE margin = 10
|
Which season had a margin of 10?
|
CREATE TABLE table_name_48 (season VARCHAR, margin VARCHAR)
|
SELECT ticket_price_s_ FROM table_18277458_2 WHERE date_s_ = "August 7, 1987"
|
How much do the tickets cost for August 7, 1987?
|
CREATE TABLE table_18277458_2 (ticket_price_s_ VARCHAR, date_s_ VARCHAR)
|
SELECT AVG(prize_fund___us) AS $__ FROM table_name_56 WHERE owgr_pts > 20 AND dates = "nov 6-9"
|
What is the average Prize fund ( US$ ), when OWGR pts is greater than 20, and when Dates is Nov 6-9?
|
CREATE TABLE table_name_56 (prize_fund___us INTEGER, owgr_pts VARCHAR, dates VARCHAR)
|
SELECT winner FROM table_name_49 WHERE date = 2007
|
Who was the winner in 2007?
|
CREATE TABLE table_name_49 (winner VARCHAR, date VARCHAR)
|
SELECT place FROM table_name_12 WHERE score < 69
|
WHich Places have a score smaller than 69?
|
CREATE TABLE table_name_12 (place VARCHAR, score INTEGER)
|
SELECT goals FROM table_name_8 WHERE nationality = "england" AND position = "mf" AND club_apps = "170"
|
How many goals did the player from England who played the position of mf and had 170 club apps had?
|
CREATE TABLE table_name_8 (goals VARCHAR, club_apps VARCHAR, nationality VARCHAR, position VARCHAR)
|
SELECT MIN(capacity) FROM table_name_11 WHERE first_season_in_segunda_división = 2013 AND top_division_titles > 0
|
What is the smallest capacity for a First season in Segunda División of 2013, and Top division titles larger than 0?
|
CREATE TABLE table_name_11 (capacity INTEGER, first_season_in_segunda_división VARCHAR, top_division_titles VARCHAR)
|
SELECT MIN(attendance) FROM table_name_7 WHERE date = "may 17"
|
How many people were in attendance on may 17?
|
CREATE TABLE table_name_7 (attendance INTEGER, date VARCHAR)
|
SELECT date FROM table_name_34 WHERE team = "glentoran" AND venue = "windsor park, belfast"
|
What day did Glentoran play at Windsor Park, Belfast?
|
CREATE TABLE table_name_34 (date VARCHAR, team VARCHAR, venue VARCHAR)
|
SELECT MAX(losses) FROM table_name_7 WHERE wins = 5 AND draws < 0
|
What are the most losses when there are 5 wins and draws less than 0?
|
CREATE TABLE table_name_7 (losses INTEGER, wins VARCHAR, draws VARCHAR)
|
SELECT constructor FROM table_name_77 WHERE driver = "chris amon"
|
Who constructed Chris Amon's car?
|
CREATE TABLE table_name_77 (constructor VARCHAR, driver VARCHAR)
|
SELECT home FROM table_name_4 WHERE away = "hispano"
|
Home for away of hispano?
|
CREATE TABLE table_name_4 (home VARCHAR, away VARCHAR)
|
SELECT position FROM table_name_85 WHERE competition = "super league 1"
|
What Position has a Super League 1 Competition?
|
CREATE TABLE table_name_85 (position VARCHAR, competition VARCHAR)
|
SELECT MAX(order) FROM table_name_55 WHERE weeks < 15 AND majors < 1
|
What was the highest order amount in weeks prier to 15 and a major less than 1?
|
CREATE TABLE table_name_55 (order INTEGER, weeks VARCHAR, majors VARCHAR)
|
SELECT church_name FROM table_178389_1 WHERE location_of_the_church = "Høyanger"
|
What is the church name located in Høyanger?
|
CREATE TABLE table_178389_1 (church_name VARCHAR, location_of_the_church VARCHAR)
|
SELECT away_team FROM table_name_69 WHERE attendance = "206"
|
Who was the away team when the attendance was 206?
|
CREATE TABLE table_name_69 (away_team VARCHAR, attendance VARCHAR)
|
SELECT club FROM table_name_15 WHERE points = "82"
|
What is Club, when Points is "82"?
|
CREATE TABLE table_name_15 (club VARCHAR, points VARCHAR)
|
SELECT address_content FROM addresses WHERE city = "East Julianaside" AND state_province_county = "Texas" UNION SELECT address_content FROM addresses WHERE city = "Gleasonmouth" AND state_province_county = "Arizona"
|
Find all the addresses in East Julianaside, Texas or in Gleasonmouth, Arizona.
|
CREATE TABLE addresses (address_content VARCHAR, city VARCHAR, state_province_county VARCHAR)
|
SELECT AVG(top_10) FROM table_name_15 WHERE top_5 > 1 AND year = 2003 AND poles > 0
|
Which Top 10 has a Top 5 larger than 1, and a Year of 2003, and Poles larger than 0?
|
CREATE TABLE table_name_15 (top_10 INTEGER, poles VARCHAR, top_5 VARCHAR, year VARCHAR)
|
SELECT original_title FROM table_name_61 WHERE year__ceremony_ = "1992 (65th)"
|
What is the Original Title of the 1992 (65th) Film
|
CREATE TABLE table_name_61 (original_title VARCHAR, year__ceremony_ VARCHAR)
|
SELECT model_number FROM table_name_32 WHERE sspec_number = "sl3jm(kc0)sl3jt(kc0)"
|
What is the model number for the processor with sSpec number of sl3jm(kc0)sl3jt(kc0)?
|
CREATE TABLE table_name_32 (model_number VARCHAR, sspec_number VARCHAR)
|
SELECT MIN(league_cup_goals) FROM table_name_46 WHERE name = "tyrone thompson" AND flt_goals > 0
|
How many league cup goals for tyrone thompson with 0 FLT goals?
|
CREATE TABLE table_name_46 (league_cup_goals INTEGER, name VARCHAR, flt_goals VARCHAR)
|
SELECT result FROM table_name_83 WHERE western_champion = "sacramento monarchs" AND eastern_champion = "connecticut sun"
|
What is the score from the Sacramento monarchs from the west and the Connecticut sun from the east?
|
CREATE TABLE table_name_83 (result VARCHAR, western_champion VARCHAR, eastern_champion VARCHAR)
|
SELECT round FROM table_name_71 WHERE college = "indiana"
|
What round was a player from Indiana picked?
|
CREATE TABLE table_name_71 (round VARCHAR, college VARCHAR)
|
SELECT relation FROM table_name_71 WHERE type = "tv" AND name = "ohanami"
|
Which Relation has a Type of tv, and a Name of ohanami?
|
CREATE TABLE table_name_71 (relation VARCHAR, type VARCHAR, name VARCHAR)
|
SELECT lunar_eva_dates FROM table_name_27 WHERE mission = "apollo 12" AND name = "pete conrad"
|
Pete Conrad was on the Apollo 12 mission but also had what Lunar EVA dates?
|
CREATE TABLE table_name_27 (lunar_eva_dates VARCHAR, mission VARCHAR, name VARCHAR)
|
SELECT incumbent FROM table_2646656_3 WHERE district = "Ohio 5"
|
Who was the incumbent in the Ohio 5 district?
|
CREATE TABLE table_2646656_3 (incumbent VARCHAR, district VARCHAR)
|
SELECT federal_state FROM table_name_3 WHERE representatives_of_national_average = "6"
|
Which federal state has 6 representatives of national average?
|
CREATE TABLE table_name_3 (federal_state VARCHAR, representatives_of_national_average VARCHAR)
|
SELECT year FROM table_name_17 WHERE team = "aprilia" AND rank = "4th"
|
Which year had a team of Aprilia and a rank of 4th?
|
CREATE TABLE table_name_17 (year VARCHAR, team VARCHAR, rank VARCHAR)
|
SELECT candidates FROM table_1342233_32 WHERE incumbent = "Ellsworth B. Buck"
|
Name the candidates for ellsworth b. buck
|
CREATE TABLE table_1342233_32 (candidates VARCHAR, incumbent VARCHAR)
|
SELECT 2007 FROM table_name_18 WHERE 2010 = "a" AND 2006 = "lq"
|
Which 2007 has a 2010 of A, and a 2006 of lq?
|
CREATE TABLE table_name_18 (Id VARCHAR)
|
SELECT MAX(mir_hossein_mousavi) FROM table_23390604_1 WHERE spoiled_ballots = 5683
|
What was the highest number of votes for mir-hossein mousavi when the number of invalid votes is 5683
|
CREATE TABLE table_23390604_1 (mir_hossein_mousavi INTEGER, spoiled_ballots VARCHAR)
|
SELECT father FROM table_name_30 WHERE date_of_birth = "january 2, 1842"
|
Who is the father that was born on January 2, 1842?
|
CREATE TABLE table_name_30 (father VARCHAR, date_of_birth VARCHAR)
|
SELECT actors_name FROM table_10236830_1 WHERE director = "Vadim Ilyenko"
|
What was the actors name that vadim ilyenko directed?
|
CREATE TABLE table_10236830_1 (actors_name VARCHAR, director VARCHAR)
|
SELECT SUM(ranking) FROM table_name_2 WHERE nationality = "england" AND goals > 53
|
What is the number of ranking when the nationalits is England with more than 53 goals?
|
CREATE TABLE table_name_2 (ranking INTEGER, nationality VARCHAR, goals VARCHAR)
|
SELECT score FROM table_name_78 WHERE competition_round = "copa libertadores group 4" AND away_team = "universitario" AND date = "14 march 1972"
|
What is the score of the copa libertadores group 4 competition round on 14 March 1972 with universitario as the away team?
|
CREATE TABLE table_name_78 (score VARCHAR, date VARCHAR, competition_round VARCHAR, away_team VARCHAR)
|
SELECT mountain_peak FROM table_name_16 WHERE rank < 6 AND location = "81.9083°n 75.0250°w"
|
Name the mountain peak with rank less than 6 abd location of 81.9083°n 75.0250°w
|
CREATE TABLE table_name_16 (mountain_peak VARCHAR, rank VARCHAR, location VARCHAR)
|
SELECT away_team AS score FROM table_name_70 WHERE venue = "lake oval"
|
What was the score for the away team when they played at lake oval?
|
CREATE TABLE table_name_70 (away_team VARCHAR, venue VARCHAR)
|
SELECT SUM(annual_ridership__2012_) FROM table_name_52 WHERE stations = 13 AND lines > 4
|
What is the number of annual ridership with a station that has more than 13 stations and larger than 4 lines?
|
CREATE TABLE table_name_52 (annual_ridership__2012_ INTEGER, stations VARCHAR, lines VARCHAR)
|
SELECT in_office FROM table_name_58 WHERE member = "mark coulton"
|
What is the office held by member Mark Coulton?
|
CREATE TABLE table_name_58 (in_office VARCHAR, member VARCHAR)
|
SELECT MIN(field_goals) FROM table_name_5 WHERE touchdowns = 4 AND extra_points < 9
|
What is the smallest number of field goals for players with 4 touchdowns and less than 9 extra points?
|
CREATE TABLE table_name_5 (field_goals INTEGER, touchdowns VARCHAR, extra_points VARCHAR)
|
SELECT COUNT(young_rider_classification) FROM table_28538368_2 WHERE winner = "Diego Ulissi"
|
Who was the young rider classification when Diego Ulissi won?
|
CREATE TABLE table_28538368_2 (young_rider_classification VARCHAR, winner VARCHAR)
|
SELECT score FROM table_name_26 WHERE country = "united states" AND place = "t9" AND player = "fred couples"
|
What was the score when Fred Couples played in the United States and placed t9?
|
CREATE TABLE table_name_26 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
|
SELECT MIN(draw) FROM table_name_18 WHERE performer = "kaliopi" AND televotes > 3834
|
Name the lowest Draw which has a Performer of kaliopi and a Televotes larger than 3834?
|
CREATE TABLE table_name_18 (draw INTEGER, performer VARCHAR, televotes VARCHAR)
|
SELECT nationality FROM table_name_43 WHERE school_club_team = "louisville"
|
What is the nationality of the School/Club team of Louisville?
|
CREATE TABLE table_name_43 (nationality VARCHAR, school_club_team VARCHAR)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.