question
stringlengths 17
201
| answer
stringlengths 21
400
| context
stringlengths 32
286
|
---|---|---|
What player has a college named san sebastian?
|
SELECT player FROM table_name_97 WHERE college = "san sebastian"
|
CREATE TABLE table_name_97 (player VARCHAR, college VARCHAR)
|
What opponent has a result of 3–6, 6–2, 4–6?
|
SELECT opponent FROM table_name_74 WHERE result = "3–6, 6–2, 4–6"
|
CREATE TABLE table_name_74 (opponent VARCHAR, result VARCHAR)
|
When Ilie Năstase beat runner-up Peter Fleming what year was it?
|
SELECT COUNT(year) FROM table_name_56 WHERE champion = "ilie năstase" AND runner_up = "peter fleming"
|
CREATE TABLE table_name_56 (year VARCHAR, champion VARCHAR, runner_up VARCHAR)
|
What is the earliest date with Great Expectations label with LP format?
|
SELECT MIN(date) FROM table_name_92 WHERE label = "great expectations" AND format = "lp"
|
CREATE TABLE table_name_92 (date INTEGER, label VARCHAR, format VARCHAR)
|
On what Date is Tie no 19?
|
SELECT date FROM table_name_36 WHERE tie_no = "19"
|
CREATE TABLE table_name_36 (date VARCHAR, tie_no VARCHAR)
|
What competition has may 5, 2001 as the date?
|
SELECT competition FROM table_name_25 WHERE date = "may 5, 2001"
|
CREATE TABLE table_name_25 (competition VARCHAR, date VARCHAR)
|
Who has the first leg that has a round in the semi-final?
|
SELECT first_leg FROM table_name_53 WHERE round = "semi-final"
|
CREATE TABLE table_name_53 (first_leg VARCHAR, round VARCHAR)
|
What was the ratings for episode 11?
|
SELECT ratings__kanto_ FROM table_26591434_1 WHERE episode = 11
|
CREATE TABLE table_26591434_1 (ratings__kanto_ VARCHAR, episode VARCHAR)
|
how many times did tunde abdulrahman leave the team?
|
SELECT COUNT(date_of_vacancy) FROM table_28164986_4 WHERE outgoing_manager = "Tunde Abdulrahman"
|
CREATE TABLE table_28164986_4 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
|
Which Score has a Loss of buehrle (7-2)?
|
SELECT score FROM table_name_91 WHERE loss = "buehrle (7-2)"
|
CREATE TABLE table_name_91 (score VARCHAR, loss VARCHAR)
|
During the 1st Place (Won the Series), who was the act?
|
SELECT act FROM table_23429629_4 WHERE place_came = "1st Place (Won the Series)"
|
CREATE TABLE table_23429629_4 (act VARCHAR, place_came VARCHAR)
|
Which seaosn had a player of rohan ricketts?
|
SELECT COUNT(season) FROM table_name_26 WHERE player = "rohan ricketts"
|
CREATE TABLE table_name_26 (season VARCHAR, player VARCHAR)
|
Who had a qual 1 of 1:01.461?
|
SELECT name FROM table_name_98 WHERE qual_1 = "1:01.461"
|
CREATE TABLE table_name_98 (name VARCHAR, qual_1 VARCHAR)
|
Which sport has 94kg men's weightlifting as one of its events?
|
SELECT sport FROM table_name_22 WHERE event = "94kg men's weightlifting"
|
CREATE TABLE table_name_22 (sport VARCHAR, event VARCHAR)
|
List the object number of railways that do not have any trains.
|
SELECT ObjectNumber FROM railway WHERE NOT Railway_ID IN (SELECT Railway_ID FROM train)
|
CREATE TABLE train (ObjectNumber VARCHAR, Railway_ID VARCHAR); CREATE TABLE railway (ObjectNumber VARCHAR, Railway_ID VARCHAR)
|
Can you tell me the Location that has the Mascot of lakers?
|
SELECT location FROM table_name_69 WHERE mascot = "lakers"
|
CREATE TABLE table_name_69 (location VARCHAR, mascot VARCHAR)
|
Which player had a position of OT during round 27?
|
SELECT name FROM table_name_43 WHERE position = "ot" AND round = 27
|
CREATE TABLE table_name_43 (name VARCHAR, position VARCHAR, round VARCHAR)
|
Who is the R1st that has 36 RYds?
|
SELECT r1st FROM table_name_49 WHERE ryds = "36"
|
CREATE TABLE table_name_49 (r1st VARCHAR, ryds VARCHAR)
|
Name the Report of tourist trophy?
|
SELECT report FROM table_name_77 WHERE name = "tourist trophy"
|
CREATE TABLE table_name_77 (report VARCHAR, name VARCHAR)
|
According to the February 2009 poll by the Corporate Research Associates that reported 31% Liberal., what percentage aligned with the Prog. Cons. party?
|
SELECT prog_cons FROM table_name_63 WHERE polling_firm = "corporate research associates" AND liberal = "31%" AND dates = "february 2009"
|
CREATE TABLE table_name_63 (prog_cons VARCHAR, dates VARCHAR, polling_firm VARCHAR, liberal VARCHAR)
|
What is the incumbent for 1932?
|
SELECT incumbent FROM table_1342149_13 WHERE first_elected = 1932
|
CREATE TABLE table_1342149_13 (incumbent VARCHAR, first_elected VARCHAR)
|
what is the lowest position when the name is esv türkheim, and Drawn more than 0?
|
SELECT MIN(position) FROM table_name_12 WHERE name = "esv türkheim" AND drawn > 0
|
CREATE TABLE table_name_12 (position INTEGER, name VARCHAR, drawn VARCHAR)
|
Binary of θ(log n), and a Fibonacci of θ(1) has what binomial?
|
SELECT binomial FROM table_name_7 WHERE binary = "θ(log n)" AND fibonacci = "θ(1)"
|
CREATE TABLE table_name_7 (binomial VARCHAR, binary VARCHAR, fibonacci VARCHAR)
|
What was the highest lap count for Walker Racing with a grid larger than 15?
|
SELECT MAX(laps) FROM table_name_34 WHERE team = "walker racing" AND grid > 15
|
CREATE TABLE table_name_34 (laps INTEGER, team VARCHAR, grid VARCHAR)
|
Who had the most assists and how many did they have in game 35?
|
SELECT high_assists FROM table_27744844_7 WHERE game = 35
|
CREATE TABLE table_27744844_7 (high_assists VARCHAR, game VARCHAR)
|
What's cameron dantley's total avg/g for loss less than 35?
|
SELECT COUNT(avg_g) FROM table_name_69 WHERE name = "cameron dantley" AND loss < 35
|
CREATE TABLE table_name_69 (avg_g VARCHAR, name VARCHAR, loss VARCHAR)
|
What are all the winning records when the result is Scotland won on points table and the Runner-Up result is [[|]] 4 points?
|
SELECT winner FROM table_28601467_1 WHERE result = "Scotland won on points table" AND runner_up = "[[|]] 4 points"
|
CREATE TABLE table_28601467_1 (winner VARCHAR, result VARCHAR, runner_up VARCHAR)
|
Which Location has Floors smaller than 27, and a Building of 150 elgin?
|
SELECT location FROM table_name_71 WHERE floors < 27 AND building = "150 elgin"
|
CREATE TABLE table_name_71 (location VARCHAR, floors VARCHAR, building VARCHAR)
|
Name the jury of 10 points
|
SELECT professional_jury FROM table_14977252_2 WHERE points = 10
|
CREATE TABLE table_14977252_2 (professional_jury VARCHAR, points VARCHAR)
|
Who write episode number 48 in the series?
|
SELECT written_by FROM table_2453243_5 WHERE no_in_series = "48"
|
CREATE TABLE table_2453243_5 (written_by VARCHAR, no_in_series VARCHAR)
|
What is the First Publisher prior to 1999?
|
SELECT first_publisher FROM table_name_31 WHERE year < 1999
|
CREATE TABLE table_name_31 (first_publisher VARCHAR, year INTEGER)
|
What is the most wins for a position with more than 30 played and a goal difference of 11?
|
SELECT MAX(wins) FROM table_name_46 WHERE goal_difference = 11 AND played > 30
|
CREATE TABLE table_name_46 (wins INTEGER, goal_difference VARCHAR, played VARCHAR)
|
Who direcred the episode with production code 7d03?
|
SELECT directed_by FROM table_25604014_5 WHERE production_code = "7D03"
|
CREATE TABLE table_25604014_5 (directed_by VARCHAR, production_code VARCHAR)
|
Which school has a decile of 8 and a roll of 705?
|
SELECT name FROM table_name_27 WHERE decile = 8 AND roll = 705
|
CREATE TABLE table_name_27 (name VARCHAR, decile VARCHAR, roll VARCHAR)
|
Which state is frederick bamford a member of?
|
SELECT state FROM table_name_24 WHERE member = "frederick bamford"
|
CREATE TABLE table_name_24 (state VARCHAR, member VARCHAR)
|
What predecessor has a district less than 11, 68th as the Congress, and may 1, 1923 as the date?
|
SELECT predecessor FROM table_name_54 WHERE district < 11 AND congress = "68th" AND date = "may 1, 1923"
|
CREATE TABLE table_name_54 (predecessor VARCHAR, date VARCHAR, district VARCHAR, congress VARCHAR)
|
what is the county where the market income per capita is $25,006?
|
SELECT county FROM table_22815568_13 WHERE market_income_per_capita = "$25,006"
|
CREATE TABLE table_22815568_13 (county VARCHAR, market_income_per_capita VARCHAR)
|
On what date was the record 21-25?
|
SELECT date FROM table_name_79 WHERE record = "21-25"
|
CREATE TABLE table_name_79 (date VARCHAR, record VARCHAR)
|
Find the name of the club that has the most female students.
|
SELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.sex = "F" GROUP BY t1.clubname ORDER BY COUNT(*) DESC LIMIT 1
|
CREATE TABLE student (stuid VARCHAR, sex VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR)
|
What's the lowest capacity when the margin is 03:30?
|
SELECT MIN(capacity) FROM table_name_77 WHERE margin = "03:30"
|
CREATE TABLE table_name_77 (capacity INTEGER, margin VARCHAR)
|
What was the result when Dundee was the opponent?
|
SELECT result FROM table_name_74 WHERE opponent = "dundee"
|
CREATE TABLE table_name_74 (result VARCHAR, opponent VARCHAR)
|
What is the area of the corporation named the powell river, the corporation of the city of?
|
SELECT area__km²_ FROM table_28367242_1 WHERE corporate_name = "Powell River, The Corporation of the City of"
|
CREATE TABLE table_28367242_1 (area__km²_ VARCHAR, corporate_name VARCHAR)
|
At Time Warner Cable Arena 12,096, what was the high points?
|
SELECT high_points FROM table_name_85 WHERE location_attendance = "time warner cable arena 12,096"
|
CREATE TABLE table_name_85 (high_points VARCHAR, location_attendance VARCHAR)
|
How many intro dates have the price of 686€?
|
SELECT COUNT(intro_date) FROM table_29778616_1 WHERE price = "686€"
|
CREATE TABLE table_29778616_1 (intro_date VARCHAR, price VARCHAR)
|
Who constructed the I Italian Republic Grand Prix?
|
SELECT constructor FROM table_1140088_6 WHERE race_name = "I Italian Republic Grand Prix"
|
CREATE TABLE table_1140088_6 (constructor VARCHAR, race_name VARCHAR)
|
Which position has a pick greater than 28?
|
SELECT position FROM table_name_31 WHERE pick > 28
|
CREATE TABLE table_name_31 (position VARCHAR, pick INTEGER)
|
What are the cities whose population is between 160000 and 900000?
|
SELECT name FROM city WHERE Population BETWEEN 160000 AND 900000
|
CREATE TABLE city (name VARCHAR, Population INTEGER)
|
What is the number of tries for that has 30 tries against?
|
SELECT tries_for FROM table_name_74 WHERE tries_against = "30"
|
CREATE TABLE table_name_74 (tries_for VARCHAR, tries_against VARCHAR)
|
What Trainer had Jockey William Jenkins in a race with Time of 1:44.80?
|
SELECT trainer FROM table_name_54 WHERE time = "1:44.80" AND jockey = "william jenkins"
|
CREATE TABLE table_name_54 (trainer VARCHAR, time VARCHAR, jockey VARCHAR)
|
Who was the athlete with a wind of 1.8?
|
SELECT athlete FROM table_name_45 WHERE wind = "1.8"
|
CREATE TABLE table_name_45 (athlete VARCHAR, wind VARCHAR)
|
Which game did was Bud Eley a player in?
|
SELECT games FROM table_name_88 WHERE name = "bud eley"
|
CREATE TABLE table_name_88 (games VARCHAR, name VARCHAR)
|
Which school is in Riverside, CA?
|
SELECT school FROM table_name_76 WHERE hometown = "riverside, ca"
|
CREATE TABLE table_name_76 (school VARCHAR, hometown VARCHAR)
|
What city and state are the miners located in?
|
SELECT location FROM table_11044765_1 WHERE mascot = "Miners"
|
CREATE TABLE table_11044765_1 (location VARCHAR, mascot VARCHAR)
|
What was the partner count when the opponents in the final was forget leconte?
|
SELECT COUNT(partner) FROM table_22597626_17 WHERE opponents_in_the_final = "Forget Leconte"
|
CREATE TABLE table_22597626_17 (partner VARCHAR, opponents_in_the_final VARCHAR)
|
List the number of cores for ddr3-1333 with frequencies between 2.66-2.8ghz.
|
SELECT cores_threads FROM table_24018112_1 WHERE max_memory_speed = "DDR3-1333" AND frequency = "2.66-2.8GHz"
|
CREATE TABLE table_24018112_1 (cores_threads VARCHAR, max_memory_speed VARCHAR, frequency VARCHAR)
|
Matches of 127 has how many total number of inns?
|
SELECT COUNT(inns) FROM table_name_56 WHERE matches = 127
|
CREATE TABLE table_name_56 (inns VARCHAR, matches VARCHAR)
|
Who was the home team of the game with manu ginóbili (34) as the leading scorer?
|
SELECT home FROM table_name_74 WHERE leading_scorer = "manu ginóbili (34)"
|
CREATE TABLE table_name_74 (home VARCHAR, leading_scorer VARCHAR)
|
Which Location has a Method of decision?
|
SELECT location FROM table_name_40 WHERE method = "decision"
|
CREATE TABLE table_name_40 (location VARCHAR, method VARCHAR)
|
Find the number of pets for each student who has any pet and student id.
|
SELECT COUNT(*), T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid GROUP BY T1.stuid
|
CREATE TABLE has_pet (stuid VARCHAR); CREATE TABLE student (stuid VARCHAR)
|
What positions were drafted from Las Vegas, NV?
|
SELECT position FROM table_11677100_16 WHERE hometown = "Las Vegas, NV"
|
CREATE TABLE table_11677100_16 (position VARCHAR, hometown VARCHAR)
|
What percentage of the votes did McCain get in Hinds?
|
SELECT mccain_percentage FROM table_20799587_1 WHERE county = "Hinds"
|
CREATE TABLE table_20799587_1 (mccain_percentage VARCHAR, county VARCHAR)
|
what is the commissioned date with laid down of 17 dec 1951?
|
SELECT commissioned FROM table_name_8 WHERE laid_down = "17 dec 1951"
|
CREATE TABLE table_name_8 (commissioned VARCHAR, laid_down VARCHAR)
|
What is the finish of Australia?
|
SELECT finish FROM table_name_52 WHERE country = "australia"
|
CREATE TABLE table_name_52 (finish VARCHAR, country VARCHAR)
|
On what date was the game played when the Western Bulldogs were in 8th ladder position and hawthorn was the opposing team?
|
SELECT date FROM table_24919137_2 WHERE ladder_position = "8th" AND opposition = "Hawthorn"
|
CREATE TABLE table_24919137_2 (date VARCHAR, ladder_position VARCHAR, opposition VARCHAR)
|
What episode is directed by Bryan Spicer and written by Terence Paul Winter?
|
SELECT title FROM table_23958944_5 WHERE directed_by = "Bryan Spicer" AND written_by = "Terence Paul Winter"
|
CREATE TABLE table_23958944_5 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR)
|
What's the total enrollment of public schools located in Buffalo, New York that were founded after 1846?
|
SELECT SUM(enrollment) FROM table_name_62 WHERE location = "buffalo, new york" AND affiliation = "public" AND founded > 1846
|
CREATE TABLE table_name_62 (enrollment INTEGER, founded VARCHAR, location VARCHAR, affiliation VARCHAR)
|
How many laps had a time of +2.987?
|
SELECT COUNT(laps) FROM table_name_37 WHERE time = "+2.987"
|
CREATE TABLE table_name_37 (laps VARCHAR, time VARCHAR)
|
How many seasons had a rank of 16?
|
SELECT COUNT(season) FROM table_1218784_1 WHERE rank = 16
|
CREATE TABLE table_1218784_1 (season VARCHAR, rank VARCHAR)
|
What round pick was pick number 101 who plays defensive back?
|
SELECT round FROM table_name_92 WHERE position = "defensive back" AND pick__number = "101"
|
CREATE TABLE table_name_92 (round VARCHAR, position VARCHAR, pick__number VARCHAR)
|
Name the 125cc winner with circuit of estoril
|
SELECT 125 AS cc_winner FROM table_name_2 WHERE circuit = "estoril"
|
CREATE TABLE table_name_2 (circuit VARCHAR)
|
What date has 1 for the game?
|
SELECT date FROM table_name_84 WHERE game = 1
|
CREATE TABLE table_name_84 (date VARCHAR, game VARCHAR)
|
Name the total number in attendance for when the bulls visited
|
SELECT COUNT(attendance) FROM table_name_50 WHERE visitor = "bulls"
|
CREATE TABLE table_name_50 (attendance VARCHAR, visitor VARCHAR)
|
what are the details of the cmi masters that have the cross reference code 'Tax'?
|
SELECT T1.cmi_details FROM Customer_Master_Index AS T1 JOIN CMI_Cross_References AS T2 ON T1.master_customer_id = T2.master_customer_id WHERE T2.source_system_code = 'Tax'
|
CREATE TABLE CMI_Cross_References (master_customer_id VARCHAR, source_system_code VARCHAR); CREATE TABLE Customer_Master_Index (cmi_details VARCHAR, master_customer_id VARCHAR)
|
how many matches were played that average goals scored 1.25?
|
SELECT COUNT(matches_played) FROM table_27708484_3 WHERE average_goals_scored_per_match = "1.25"
|
CREATE TABLE table_27708484_3 (matches_played VARCHAR, average_goals_scored_per_match VARCHAR)
|
What position has 14 rounds?
|
SELECT position FROM table_name_15 WHERE round = 14
|
CREATE TABLE table_name_15 (position VARCHAR, round VARCHAR)
|
When 21 is the number in series what is the air date?
|
SELECT original_air_date FROM table_2409041_2 WHERE no_in_series = 21
|
CREATE TABLE table_2409041_2 (original_air_date VARCHAR, no_in_series VARCHAR)
|
Who was the leading scorer on the game played on February 25?
|
SELECT leading_scorer FROM table_name_28 WHERE date = "february 25"
|
CREATE TABLE table_name_28 (leading_scorer VARCHAR, date VARCHAR)
|
On what date did the Rockets play Memphis?
|
SELECT date FROM table_17288825_9 WHERE team = "Memphis"
|
CREATE TABLE table_17288825_9 (date VARCHAR, team VARCHAR)
|
What's the maximum game in the javale mcgee (5) high rebounds?
|
SELECT MAX(game) FROM table_27721131_2 WHERE high_rebounds = "JaVale McGee (5)"
|
CREATE TABLE table_27721131_2 (game INTEGER, high_rebounds VARCHAR)
|
How many games had 2 goals scored?
|
SELECT SUM(games_played) FROM table_name_89 WHERE goals_scored = "2"
|
CREATE TABLE table_name_89 (games_played INTEGER, goals_scored VARCHAR)
|
Who played the home team during the game on January 6?
|
SELECT home FROM table_name_56 WHERE date = "january 6"
|
CREATE TABLE table_name_56 (home VARCHAR, date VARCHAR)
|
What is the rank associated with a Height feet / m of 427 / 130?
|
SELECT rank FROM table_name_76 WHERE height_feet___m = "427 / 130"
|
CREATE TABLE table_name_76 (rank VARCHAR, height_feet___m VARCHAR)
|
What is the Place that has a Date of 22 august 2004?
|
SELECT place FROM table_name_92 WHERE date = "22 august 2004"
|
CREATE TABLE table_name_92 (place VARCHAR, date VARCHAR)
|
What was the original name of the restaurant located in Orillia, ON?
|
SELECT original_name FROM table_name_50 WHERE location = "orillia, on"
|
CREATE TABLE table_name_50 (original_name VARCHAR, location VARCHAR)
|
What was the first elected year that featured incumbent andrew r. govan?
|
SELECT first_elected FROM table_2668264_22 WHERE incumbent = "Andrew R. Govan"
|
CREATE TABLE table_2668264_22 (first_elected VARCHAR, incumbent VARCHAR)
|
What is the result at the Masters for the player who finished R16 at the PGA Ch.?
|
SELECT masters FROM table_1506950_9 WHERE pga_ch = "R16"
|
CREATE TABLE table_1506950_9 (masters VARCHAR, pga_ch VARCHAR)
|
What is the number of points associated with 165 laps?
|
SELECT points FROM table_name_12 WHERE laps = 165
|
CREATE TABLE table_name_12 (points VARCHAR, laps VARCHAR)
|
How big was the crowd size, at the Junction Oval venue?
|
SELECT SUM(crowd) FROM table_name_30 WHERE venue = "junction oval"
|
CREATE TABLE table_name_30 (crowd INTEGER, venue VARCHAR)
|
What actor won in 1978?
|
SELECT actor FROM table_name_22 WHERE year = "1978"
|
CREATE TABLE table_name_22 (actor VARCHAR, year VARCHAR)
|
What is the highest crowd population when the away team is Geelong?
|
SELECT MAX(crowd) FROM table_name_33 WHERE away_team = "geelong"
|
CREATE TABLE table_name_33 (crowd INTEGER, away_team VARCHAR)
|
What is the highest value of Total Goals?
|
SELECT MAX(total_goals) FROM table_10240125_1
|
CREATE TABLE table_10240125_1 (total_goals INTEGER)
|
Find the first and last name of students who are living in the dorms that have amenity TV Lounge.
|
SELECT T1.fname, T1.lname FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid WHERE T2.dormid IN (SELECT T3.dormid FROM has_amenity AS T3 JOIN dorm_amenity AS T4 ON T3.amenid = T4.amenid WHERE T4.amenity_name = 'TV Lounge')
|
CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (fname VARCHAR, lname VARCHAR, stuid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR)
|
What is the timeslot for the episode that aired April 28, 2009?
|
SELECT timeslot FROM table_name_26 WHERE air_date = "april 28, 2009"
|
CREATE TABLE table_name_26 (timeslot VARCHAR, air_date VARCHAR)
|
How many mixed doubles were there in the year that Olga Koseli won the women's singles?
|
SELECT COUNT(mixed_doubles) FROM table_15002177_1 WHERE womens_singles = "Olga Koseli"
|
CREATE TABLE table_15002177_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)
|
How many different roles are there in the club "Bootup Baltimore"?
|
SELECT COUNT(DISTINCT t2.position) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid WHERE t1.clubname = "Bootup Baltimore"
|
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE member_of_club (position VARCHAR, clubid VARCHAR)
|
How many touchdowns did the player with less than 4495 yards, long of less than 80, and yds/att less than 5.5 have?
|
SELECT COUNT(touchdowns) FROM table_name_65 WHERE net_yds < 4495 AND long < 80 AND yds_att < 5.5
|
CREATE TABLE table_name_65 (touchdowns VARCHAR, yds_att VARCHAR, net_yds VARCHAR, long VARCHAR)
|
Show the station name with greatest number of trains.
|
SELECT T2.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id GROUP BY T1.station_id ORDER BY COUNT(*) DESC LIMIT 1
|
CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR)
|
What is Ernie Els' Score?
|
SELECT score FROM table_name_43 WHERE player = "ernie els"
|
CREATE TABLE table_name_43 (score VARCHAR, player VARCHAR)
|
What are names for top three branches with most number of membership?
|
SELECT name FROM branch ORDER BY membership_amount DESC LIMIT 3
|
CREATE TABLE branch (name VARCHAR, membership_amount VARCHAR)
|
What was the average year that Thuppakki movies came out?
|
SELECT AVG(year) FROM table_name_12 WHERE movie = "thuppakki"
|
CREATE TABLE table_name_12 (year INTEGER, movie VARCHAR)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.