answer
stringlengths 18
557
| question
stringlengths 12
244
| context
stringlengths 27
489
|
|---|---|---|
SELECT MIN(rank) FROM table_name_68 WHERE location = "university park, pa"
|
What is the lowest rank that has university park, pa as the location?
|
CREATE TABLE table_name_68 (rank INTEGER, location VARCHAR)
|
SELECT engine_code FROM table_name_9 WHERE model = "xdrive35i"
|
What is the engine code for the model xdrive35i?
|
CREATE TABLE table_name_9 (engine_code VARCHAR, model VARCHAR)
|
SELECT MIN(stolen_ends) FROM table_29565541_2 WHERE l = 5
|
When 5 is the l what is the lowest amount of stolen ends?
|
CREATE TABLE table_29565541_2 (stolen_ends INTEGER, l VARCHAR)
|
SELECT carrier FROM table_name_25 WHERE package_version = "4.7.0.208"
|
WHAT IS THE CARRIER FOR 4.7.0.208 VERSION?
|
CREATE TABLE table_name_25 (carrier VARCHAR, package_version VARCHAR)
|
SELECT high_assists FROM table_name_69 WHERE date = "march 25"
|
What is the High assists for march 25?
|
CREATE TABLE table_name_69 (high_assists VARCHAR, date VARCHAR)
|
SELECT opponent FROM table_16677887_2 WHERE bills_first_downs = 23
|
What team were the bills playing where their first down was 23?
|
CREATE TABLE table_16677887_2 (opponent VARCHAR, bills_first_downs VARCHAR)
|
SELECT MAX(enrollment) FROM table_16432543_3 WHERE nickname = "Cavaliers"
|
what is the enrollment for the Cavaliers?
|
CREATE TABLE table_16432543_3 (enrollment INTEGER, nickname VARCHAR)
|
SELECT COUNT(district) FROM table_17503169_1 WHERE republican = "Bob Goodlatte"
|
How many districts had republican Bob Goodlatte as a candidate?
|
CREATE TABLE table_17503169_1 (district VARCHAR, republican VARCHAR)
|
SELECT played FROM table_17369472_2 WHERE tries_for = "39"
|
How many were played when there were 39 tries for?
|
CREATE TABLE table_17369472_2 (played VARCHAR, tries_for VARCHAR)
|
SELECT opponent FROM table_name_89 WHERE week = 6
|
Who was the opponent in week 6?
|
CREATE TABLE table_name_89 (opponent VARCHAR, week VARCHAR)
|
SELECT year_left FROM table_name_68 WHERE team_name = "hornets"
|
What year did the Hornets leave the conference?
|
CREATE TABLE table_name_68 (year_left VARCHAR, team_name VARCHAR)
|
SELECT record FROM table_name_78 WHERE year = "1997"
|
Name the record for 1997
|
CREATE TABLE table_name_78 (record VARCHAR, year VARCHAR)
|
SELECT prefix_class FROM table_30011_2 WHERE equivalent = "NTE101"
|
What is every prefix class for the equivalent of NTE101?
|
CREATE TABLE table_30011_2 (prefix_class VARCHAR, equivalent VARCHAR)
|
SELECT event FROM table_name_76 WHERE notes = "53.76"
|
What Event goes with Notes 53.76?
|
CREATE TABLE table_name_76 (event VARCHAR, notes VARCHAR)
|
SELECT MAX(lost) FROM table_name_37 WHERE played = 2 AND first_game > 1997 AND drawn > 0
|
What is the highest number of losses associated with 2 matches played, a first game after 1997, and more than 0 draws?
|
CREATE TABLE table_name_37 (lost INTEGER, drawn VARCHAR, played VARCHAR, first_game VARCHAR)
|
SELECT basis_for_team_song FROM table_28243323_1 WHERE writer_composer = "Ken Walther"
|
What is the name of the team song written by ken walther?
|
CREATE TABLE table_28243323_1 (basis_for_team_song VARCHAR, writer_composer VARCHAR)
|
SELECT tries_for FROM table_28204447_3 WHERE l < 2.0
|
Name the tries for when L is less than 2.0
|
CREATE TABLE table_28204447_3 (tries_for VARCHAR, l INTEGER)
|
SELECT 2009 FROM table_name_60 WHERE 2011 = "4r" AND 2008 = "2r"
|
How many sets were played in the tournament that had 4R in 2011 and 2R in 2008?
|
CREATE TABLE table_name_60 (Id VARCHAR)
|
SELECT T1.name, T2.balance + T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid WHERE T3.balance > (SELECT AVG(balance) FROM savings)
|
Find the names and total checking and savings balances of accounts whose savings balance is higher than the average savings balance.
|
CREATE TABLE checking (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
|
SELECT vacator FROM table_225205_3 WHERE reason_for_change = "Failure to elect"
|
Name the vacator for failure to elect
|
CREATE TABLE table_225205_3 (vacator VARCHAR, reason_for_change VARCHAR)
|
SELECT MAX(laps) FROM table_name_94 WHERE grid = 1
|
what is the highest laps when the grid is 1?
|
CREATE TABLE table_name_94 (laps INTEGER, grid VARCHAR)
|
SELECT employee_id, job_id FROM employees WHERE salary < (SELECT MIN(salary) FROM employees WHERE job_id = 'MK_MAN')
|
display the employee number and job id for all employees whose salary is smaller than any salary of those employees whose job title is MK_MAN.
|
CREATE TABLE employees (employee_id VARCHAR, job_id VARCHAR, salary INTEGER)
|
SELECT start_source FROM table_name_72 WHERE ended = "4 may"
|
What was the start source that ended on 4 May?
|
CREATE TABLE table_name_72 (start_source VARCHAR, ended VARCHAR)
|
SELECT SUM(works_number) FROM table_name_78 WHERE type = "0-6-4t" AND date > 1875
|
What is the total works number of the locomotive with 0-6-4t type after 1875?
|
CREATE TABLE table_name_78 (works_number INTEGER, type VARCHAR, date VARCHAR)
|
SELECT record FROM table_name_50 WHERE week = 2
|
What is the Record in Week 2?
|
CREATE TABLE table_name_50 (record VARCHAR, week VARCHAR)
|
SELECT episode FROM table_23292220_4 WHERE seans_team = "Ulrika Jonsson and Michael McIntyre"
|
Which episode has ulrika jonsson and michael mcintyre on sean's team?
|
CREATE TABLE table_23292220_4 (episode VARCHAR, seans_team VARCHAR)
|
SELECT make FROM table_name_58 WHERE pos = 3
|
Which Make has a Pos of 3?
|
CREATE TABLE table_name_58 (make VARCHAR, pos VARCHAR)
|
SELECT name FROM table_name_51 WHERE round > 5 AND position = "defensive end"
|
Which name had more than 5 rounds and was a defensive end?
|
CREATE TABLE table_name_51 (name VARCHAR, round VARCHAR, position VARCHAR)
|
SELECT written_by FROM table_name_58 WHERE directed_by = "terry ingram"
|
Who wrote the episode that was directed by Terry Ingram?
|
CREATE TABLE table_name_58 (written_by VARCHAR, directed_by VARCHAR)
|
SELECT open_cup FROM table_2357201_1 WHERE year = 2009
|
How did Cleveland do in the Open Cup in 2009?
|
CREATE TABLE table_2357201_1 (open_cup VARCHAR, year VARCHAR)
|
SELECT MAX(no_in_series) FROM table_25668962_1 WHERE us_viewers__million_ = "13.66"
|
What episode number in the series was viewed by 13.66 million people in the U.S.?
|
CREATE TABLE table_25668962_1 (no_in_series INTEGER, us_viewers__million_ VARCHAR)
|
SELECT position FROM table_name_68 WHERE weight > 200 AND number < 44 AND years_exp = "9" AND college = "university of new mexico"
|
What is Position, when Weight is greater than 200, when Number is less than 44, when Years Exp is 9, and when College is "University of New Mexico"?
|
CREATE TABLE table_name_68 (position VARCHAR, college VARCHAR, years_exp VARCHAR, weight VARCHAR, number VARCHAR)
|
SELECT mountains_classification FROM table_29077342_19 WHERE team_classification = "Rabobank" AND general_classification = "Damiano Cunego"
|
Name the mountains classification for rabobank and damiano cunego
|
CREATE TABLE table_29077342_19 (mountains_classification VARCHAR, team_classification VARCHAR, general_classification VARCHAR)
|
SELECT callsign FROM table_27914076_1 WHERE coverage = "Davao Mindanao Region"
|
Name the callsign for davao mindanao region
|
CREATE TABLE table_27914076_1 (callsign VARCHAR, coverage VARCHAR)
|
SELECT hometown FROM table_name_11 WHERE college = "villanova"
|
What is the Hometown for Villanova College?
|
CREATE TABLE table_name_11 (hometown VARCHAR, college VARCHAR)
|
SELECT year FROM table_name_4 WHERE notes = "200 m" AND position = "3rd"
|
What year did Naoki Tsukahara finish 3rd in the 200 m race?
|
CREATE TABLE table_name_4 (year VARCHAR, notes VARCHAR, position VARCHAR)
|
SELECT job_title, AVG(salary) FROM employees AS T1 JOIN jobs AS T2 ON T1.job_id = T2.job_id GROUP BY T2.job_title
|
display job title and average salary of employees.
|
CREATE TABLE jobs (job_title VARCHAR, job_id VARCHAR); CREATE TABLE employees (job_id VARCHAR)
|
SELECT 1881 FROM table_name_54 WHERE 1851 = "1961"
|
What's the 1881 with 1961 in 1851?
|
CREATE TABLE table_name_54 (Id VARCHAR)
|
SELECT date FROM table_name_3 WHERE visitor = "rockets"
|
What is the date of the game with the Rockets as the visitor team?
|
CREATE TABLE table_name_3 (date VARCHAR, visitor VARCHAR)
|
SELECT memory FROM table_name_32 WHERE turbo = "2/2/4/5" AND release_date = "may 2010"
|
What Memory has a Turbo of 2/2/4/5 and the Release date of May 2010?
|
CREATE TABLE table_name_32 (memory VARCHAR, turbo VARCHAR, release_date VARCHAR)
|
SELECT language FROM table_name_82 WHERE package_option = "sky famiglia"
|
What language has sky famiglia as the package/option?
|
CREATE TABLE table_name_82 (language VARCHAR, package_option VARCHAR)
|
SELECT week_of FROM table_name_71 WHERE winner = "jana novotná arantxa sánchez vicario 5–7, 7–5, 6–4"
|
In which week is the winner listed as Jana Novotná Arantxa Sánchez Vicario 5–7, 7–5, 6–4?
|
CREATE TABLE table_name_71 (week_of VARCHAR, winner VARCHAR)
|
SELECT score FROM table_name_9 WHERE player = "bob murphy"
|
What is Score, when Player is "Bob Murphy"?
|
CREATE TABLE table_name_9 (score VARCHAR, player VARCHAR)
|
SELECT AVG(attendance) FROM table_name_71 WHERE result_f___a = "0 – 2" AND date = "31 january 1903"
|
How many Attendances have a Result F – A of 0 – 2, and a Date of 31 january 1903?
|
CREATE TABLE table_name_71 (attendance INTEGER, result_f___a VARCHAR, date VARCHAR)
|
SELECT conference FROM table_name_80 WHERE city = "portland, oregon"
|
Which conference is in Portland, Oregon?
|
CREATE TABLE table_name_80 (conference VARCHAR, city VARCHAR)
|
SELECT constructor FROM table_name_7 WHERE laps < 65 AND time_retired = "suspension"
|
Who built the car that retired due to suspension before 65 laps?
|
CREATE TABLE table_name_7 (constructor VARCHAR, laps VARCHAR, time_retired VARCHAR)
|
SELECT MAX(loses) FROM table_name_90 WHERE wins > 3 AND pos > 3
|
What's the highest Loses, with Wins that's larger than 3 and a Pos. Larger than 3?
|
CREATE TABLE table_name_90 (loses INTEGER, wins VARCHAR, pos VARCHAR)
|
SELECT nominee FROM table_name_67 WHERE category = "best musical"
|
what was the nominee of best musical
|
CREATE TABLE table_name_67 (nominee VARCHAR, category VARCHAR)
|
SELECT acquisition_via FROM table_name_82 WHERE school_club_team = "state"
|
Which is the acquisition via that has a school or club team of state?
|
CREATE TABLE table_name_82 (acquisition_via VARCHAR, school_club_team VARCHAR)
|
SELECT ihsaa_class FROM table_name_97 WHERE city = "batesville"
|
What is the IHSAA class in Batesville?
|
CREATE TABLE table_name_97 (ihsaa_class VARCHAR, city VARCHAR)
|
SELECT position FROM table_name_31 WHERE nationality = "canada" AND round > 3
|
What is Position, when Nationality is "Canada", and when Round is greater than 3?
|
CREATE TABLE table_name_31 (position VARCHAR, nationality VARCHAR, round VARCHAR)
|
SELECT event FROM table_name_82 WHERE result = "7th (5-6)"
|
What event has the result of 7th (5-6)?
|
CREATE TABLE table_name_82 (event VARCHAR, result VARCHAR)
|
SELECT COUNT(end_of_term) FROM table_12134383_1 WHERE age_at_inauguration = "64-066 64years, 66days"
|
how many end of term with age at inauguration being 64-066 64years, 66days
|
CREATE TABLE table_12134383_1 (end_of_term VARCHAR, age_at_inauguration VARCHAR)
|
SELECT package_version FROM table_name_9 WHERE device = "blackberry storm 9530" AND applications = "5.0.0.419" AND carrier = "mts mobility"
|
WHAT IS THE PACKAGE VERSION FOR blackberry storm 9530, APPLICATION 5.0.0.419, AND MTS MOBILITY?
|
CREATE TABLE table_name_9 (package_version VARCHAR, carrier VARCHAR, device VARCHAR, applications VARCHAR)
|
SELECT 2009 FROM table_name_20 WHERE 2010 = "1r" AND 2011 = "a"
|
What is the 2009 value with a 1r in 2010 and A in 2011?
|
CREATE TABLE table_name_20 (Id VARCHAR)
|
SELECT moving_to FROM table_name_17 WHERE name = "rory loy"
|
Where is rory loy moving to?
|
CREATE TABLE table_name_17 (moving_to VARCHAR, name VARCHAR)
|
SELECT COUNT(grid) FROM table_name_86 WHERE driver = "bob evans" AND laps < 68
|
Tell me the total number of Grid for Bob Evans and Laps less than 68
|
CREATE TABLE table_name_86 (grid VARCHAR, driver VARCHAR, laps VARCHAR)
|
SELECT AVG(apps) FROM table_name_64 WHERE country = "indonesia" AND goals < 1000
|
What is the average Apps of indonesia with Goals smaller than 1000?
|
CREATE TABLE table_name_64 (apps INTEGER, country VARCHAR, goals VARCHAR)
|
SELECT format FROM table_name_11 WHERE owner = "cherry creek radio" AND frequency = "0 92.1 fm"
|
What is the format for Cherry Creek Radio with frequency of 0 92.1 fm?
|
CREATE TABLE table_name_11 (format VARCHAR, owner VARCHAR, frequency VARCHAR)
|
SELECT built FROM table_name_61 WHERE name = "sargent bridge"
|
When was the sargent bridge built?
|
CREATE TABLE table_name_61 (built VARCHAR, name VARCHAR)
|
SELECT third_place FROM table_name_79 WHERE host = "japan" AND season < 2006
|
What was the third place of the performance in 2006 with the host Japan?
|
CREATE TABLE table_name_79 (third_place VARCHAR, host VARCHAR, season VARCHAR)
|
SELECT SUM(matches) FROM table_name_30 WHERE goals = 18 AND average > 0.55
|
What is the total of Matches with Goals of 18, and an Average larger than 0.55?
|
CREATE TABLE table_name_30 (matches INTEGER, goals VARCHAR, average VARCHAR)
|
SELECT loss FROM table_name_83 WHERE record = "10-16"
|
What loss has 10-16 as the record?
|
CREATE TABLE table_name_83 (loss VARCHAR, record VARCHAR)
|
SELECT venue FROM table_name_83 WHERE away_team = "essendon"
|
Where did Essendon play as the away team?
|
CREATE TABLE table_name_83 (venue VARCHAR, away_team VARCHAR)
|
SELECT MIN(week) FROM table_name_3 WHERE attendance = 64 OFFSET 146
|
What week had attendance of 64,146?
|
CREATE TABLE table_name_3 (week INTEGER, attendance VARCHAR)
|
SELECT high_points FROM table_name_81 WHERE game = 3
|
What is High Points, when Game is "3"?
|
CREATE TABLE table_name_81 (high_points VARCHAR, game VARCHAR)
|
SELECT venue FROM table_name_40 WHERE home_team = "melbourne"
|
What is the stadium of melbourne?
|
CREATE TABLE table_name_40 (venue VARCHAR, home_team VARCHAR)
|
SELECT driver_s_ FROM table_1266602_1 WHERE primary_sponsor_s_ = "Quicken Loans / Haas Automation"
|
What is the driver for the team whose primary sponsor is Quicken Loans / Haas Automation?
|
CREATE TABLE table_1266602_1 (driver_s_ VARCHAR, primary_sponsor_s_ VARCHAR)
|
SELECT away_team AS score FROM table_name_83 WHERE home_team = "richmond"
|
What was the scored of the Away team that played against Richmond?
|
CREATE TABLE table_name_83 (away_team VARCHAR, home_team VARCHAR)
|
SELECT MIN(play_offs) FROM table_name_43 WHERE fa_cup = 2
|
What is the least number of goals scored in the play-offs among the players that have scored 2 in the FA Cup?
|
CREATE TABLE table_name_43 (play_offs INTEGER, fa_cup VARCHAR)
|
SELECT tie_no FROM table_name_59 WHERE away_team = "bolton wanderers"
|
Which tie number has Bolton Wanderers as away?
|
CREATE TABLE table_name_59 (tie_no VARCHAR, away_team VARCHAR)
|
SELECT score FROM table_name_3 WHERE competition = "2008 africa cup of nations"
|
What was the Score of the 2008 Africa Cup of Nations Competition?
|
CREATE TABLE table_name_3 (score VARCHAR, competition VARCHAR)
|
SELECT result FROM table_name_40 WHERE competition = "south american championship" AND date = "december 13, 1925"
|
What was the score for the South American Championship dated December 13, 1925?
|
CREATE TABLE table_name_40 (result VARCHAR, competition VARCHAR, date VARCHAR)
|
SELECT SUM(race_1) FROM table_name_45 WHERE race_3 = "5" AND points < 59
|
How many race 1's have 5 as the race 3, with points less than 59?
|
CREATE TABLE table_name_45 (race_1 INTEGER, race_3 VARCHAR, points VARCHAR)
|
SELECT tues_25_aug FROM table_23465864_6 WHERE mon_24_aug = "22' 24.56 101.021mph"
|
What was the Tues 25 Aug time and speed when Mon 24 Aug was 22' 24.56 101.021mph?
|
CREATE TABLE table_23465864_6 (tues_25_aug VARCHAR, mon_24_aug VARCHAR)
|
SELECT t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t1.shop_id ORDER BY COUNT(*) DESC LIMIT 1
|
What is the name of the shop that is hiring the largest number of employees?
|
CREATE TABLE shop (name VARCHAR, shop_id VARCHAR); CREATE TABLE hiring (shop_id VARCHAR)
|
SELECT score FROM table_name_14 WHERE tournament = "budapest"
|
What was the score for the tournament in Budapest?
|
CREATE TABLE table_name_14 (score VARCHAR, tournament VARCHAR)
|
SELECT percentage FROM table_177766_1 WHERE abbreviation = "Nor"
|
What is the percentage of this constellation abbreviated as 'nor'?
|
CREATE TABLE table_177766_1 (percentage VARCHAR, abbreviation VARCHAR)
|
SELECT T1.service_id, T1.service_details, COUNT(*) FROM Services AS T1 JOIN Residents_Services AS T2 ON T1.service_id = T2.service_id GROUP BY T1.service_id ORDER BY COUNT(*) DESC LIMIT 1
|
What is the maximum number that a certain service is provided? List the service id, details and number.
|
CREATE TABLE Services (service_id VARCHAR, service_details VARCHAR); CREATE TABLE Residents_Services (service_id VARCHAR)
|
SELECT original_air_date FROM table_12030612_3 WHERE written_by = "Michael Poryes"
|
What is the date of the episode written by Michael Poryes?
|
CREATE TABLE table_12030612_3 (original_air_date VARCHAR, written_by VARCHAR)
|
SELECT appointed FROM table_24490665_1 WHERE name = "Jack Watson"
|
When was jack watson appointed?
|
CREATE TABLE table_24490665_1 (appointed VARCHAR, name VARCHAR)
|
SELECT tenure FROM table_name_79 WHERE character = "kerry vincent"
|
What is Character Kerry Vincent's Tenure?
|
CREATE TABLE table_name_79 (tenure VARCHAR, character VARCHAR)
|
SELECT result_score FROM table_name_45 WHERE record = "6-5"
|
What is the result/score that has 6-5 as the record?
|
CREATE TABLE table_name_45 (result_score VARCHAR, record VARCHAR)
|
SELECT premiere_date FROM table_name_53 WHERE cycle < 2
|
What is Premier Date, when Cycle is less than 2?
|
CREATE TABLE table_name_53 (premiere_date VARCHAR, cycle INTEGER)
|
SELECT poles FROM table_1708014_1 WHERE team_s_ = "#14 Ginn Racing"
|
How many poles did team #14 ginn racing have?
|
CREATE TABLE table_1708014_1 (poles VARCHAR, team_s_ VARCHAR)
|
SELECT office FROM table_name_8 WHERE socialist_labor_ticket = "(none)" AND liberal_ticket = "stanley h. fuld"
|
What office has (none) as the socialist labor ticket, and stanley h. fuld as the liberal ticket?
|
CREATE TABLE table_name_8 (office VARCHAR, socialist_labor_ticket VARCHAR, liberal_ticket VARCHAR)
|
SELECT date FROM table_name_44 WHERE home_team = "hawthorn"
|
When the home team was hawthorn, what was the date?
|
CREATE TABLE table_name_44 (date VARCHAR, home_team VARCHAR)
|
SELECT COUNT(official_name) FROM table_170961_2 WHERE area_km_2 = "508.30"
|
What is the name of the parish where the area is 508.30?
|
CREATE TABLE table_170961_2 (official_name VARCHAR, area_km_2 VARCHAR)
|
SELECT date FROM table_name_24 WHERE surface = "carpet"
|
What is Date, when Surface is "Carpet"?
|
CREATE TABLE table_name_24 (date VARCHAR, surface VARCHAR)
|
SELECT SUM(laps) FROM table_name_77 WHERE grid > 4 AND driver = "nick heidfeld"
|
How many laps did Nick Heidfeld drive on grids larger than 4?
|
CREATE TABLE table_name_77 (laps INTEGER, grid VARCHAR, driver VARCHAR)
|
SELECT MIN(year) FROM table_2009095_2 WHERE opponents = "Evonne Goolagong Helen Gourlay"
|
Name the least year for evonne goolagong helen gourlay
|
CREATE TABLE table_2009095_2 (year INTEGER, opponents VARCHAR)
|
SELECT revenue__us_$million_ FROM table_18077713_1 WHERE net_profit__us_$m_ = "55.4"
|
How many dollars is the revenue when the net profit is 55.4 million dollars?
|
CREATE TABLE table_18077713_1 (revenue__us_$million_ VARCHAR, net_profit__us_$m_ VARCHAR)
|
SELECT incumbent FROM table_name_64 WHERE district = "south carolina 3"
|
Who was the incumbent for south carolina 3 district?
|
CREATE TABLE table_name_64 (incumbent VARCHAR, district VARCHAR)
|
SELECT driver FROM table_name_3 WHERE engine = "7.1 l6" AND chassis = "mercedes-benz ssk l"
|
Who was the Driver, when the Engine was 7.1 l6, and when the Chassis was Mercedes-Benz SSK l?
|
CREATE TABLE table_name_3 (driver VARCHAR, engine VARCHAR, chassis VARCHAR)
|
SELECT SUM(bronze) FROM table_name_43 WHERE silver > 5 AND gold < 20
|
What is the sum of bronzes having silvers over 5 and golds under 20?
|
CREATE TABLE table_name_43 (bronze INTEGER, silver VARCHAR, gold VARCHAR)
|
SELECT prize__eur_ FROM table_20195922_3 WHERE number_of_winning_tickets = 1
|
What are the prizes when 1 is the number of winning tickets?
|
CREATE TABLE table_20195922_3 (prize__eur_ VARCHAR, number_of_winning_tickets VARCHAR)
|
SELECT week FROM table_name_41 WHERE status = "bottom 2" AND artist = "celine dion"
|
What week did the contestant finish in the bottom 2 with a Celine Dion song?
|
CREATE TABLE table_name_41 (week VARCHAR, status VARCHAR, artist VARCHAR)
|
SELECT COUNT(position) FROM table_2850912_8 WHERE nhl_team = "Detroit Red Wings" AND player = "Urban Nordin"
|
how many parts does detroit red wings person urban nordin play
|
CREATE TABLE table_2850912_8 (position VARCHAR, nhl_team VARCHAR, player VARCHAR)
|
SELECT nominated_work FROM table_name_7 WHERE year = 1996 AND festival = "black maria film and video festival"
|
Name the nominated work for 1996 and festival of black maria film and video festival
|
CREATE TABLE table_name_7 (nominated_work VARCHAR, year VARCHAR, festival VARCHAR)
|
SELECT COUNT(points) FROM table_name_39 WHERE goals_scored < 20
|
What were the total number of points when the amount of goals scored was less than 20?
|
CREATE TABLE table_name_39 (points VARCHAR, goals_scored INTEGER)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.