answer
stringlengths
6
3.91k
question
stringlengths
7
766
context
stringlengths
27
7.14k
SELECT points_for FROM table_name_24 WHERE points = "60" AND club = "bedwas rfc"
What is Points, when Points is 60, and when Club is Bedwas RFC?
CREATE TABLE table_name_24 ( points_for VARCHAR, points VARCHAR, club VARCHAR )
SELECT score FROM table_name_27 WHERE leading_scorer = "manu ginóbili (44)"
What is the score of the game with Manu ginóbili (44) as the leading scorer?
CREATE TABLE table_name_27 (score VARCHAR, leading_scorer VARCHAR)
SELECT MIN(enrollment) FROM table_15851155_1 WHERE school = "Montana Tech of the University of Montana"
Name the minimum enrollment for montana tech of the university of montana
CREATE TABLE table_15851155_1 (enrollment INTEGER, school VARCHAR)
SELECT AVG(year) FROM table_name_27 WHERE inglewood < 2 OFFSET 575
What is the average year that had a value less than 2,575 in Inglewood?
CREATE TABLE table_name_27 ( year INTEGER, inglewood INTEGER )
SELECT record FROM table_name_60 WHERE date = "february 21, 2008"
What is the record of the game on February 21, 2008?
CREATE TABLE table_name_60 (record VARCHAR, date VARCHAR)
SELECT location FROM table_15851155_1 WHERE control = "Private" AND founded = 1870
Name the location when control is private and founded is 1870
CREATE TABLE table_15851155_1 (location VARCHAR, control VARCHAR, founded VARCHAR)
SELECT Location, COUNT(Location) FROM wrestler GROUP BY Location ORDER BY Location
A bar chart for what is the number of locations of the wrestlers, and could you order in asc by the Location?
CREATE TABLE wrestler ( Wrestler_ID int, Name text, Reign text, Days_held text, Location text, Event text ) CREATE TABLE Elimination ( Elimination_ID text, Wrestler_ID text, Team text, Eliminated_By text, Elimination_Move text, Time text )
SELECT home FROM table_name_74 WHERE leading_scorer = "manu ginóbili (34)"
Who was the home team of the game with manu ginóbili (34) as the leading scorer?
CREATE TABLE table_name_74 (home VARCHAR, leading_scorer VARCHAR)
SELECT directed_by FROM table_15861776_1 WHERE tv_broadcast = "S03E19"
Who directed the TV broadcast s03e19?
CREATE TABLE table_15861776_1 (directed_by VARCHAR, tv_broadcast VARCHAR)
SELECT prescriptions.drug, prescriptions.route FROM prescriptions WHERE prescriptions.formulary_drug_cd = "AMID200"
what is the drug name and route for the drug code amid200?
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 record FROM table_name_59 WHERE date = "february 25, 2008"
What is the record of the game on February 25, 2008?
CREATE TABLE table_name_59 (record VARCHAR, date VARCHAR)
SELECT no_in_series FROM table_15861776_1 WHERE tv_broadcast = "S03E20"
What episode in the series is TV broadcast s03e20?
CREATE TABLE table_15861776_1 (no_in_series VARCHAR, tv_broadcast VARCHAR)
SELECT County, COUNT(County) FROM appellations GROUP BY County ORDER BY County
Plot the number of county by grouped by county as a bar graph, and I want to list in ascending by the bars.
CREATE TABLE grapes ( ID INTEGER, Grape TEXT, Color TEXT ) CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT ) CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TE...
SELECT type FROM table_name_7 WHERE moving_to = "valenciennes"
What type is shown with a moving to of valenciennes?
CREATE TABLE table_name_7 (type VARCHAR, moving_to VARCHAR)
SELECT score FROM table_15869204_6 WHERE game = 31
WHAT WAS THE SCORE FOR GAME 31?
CREATE TABLE table_15869204_6 (score VARCHAR, game VARCHAR)
SELECT "Trainer" FROM table_74529 WHERE "Year" < '2009' AND "Time" = '1:10.09'
Which trainer had a time of 1:10.09 with a year less than 2009?
CREATE TABLE table_74529 ( "Year" real, "Winner" text, "Jockey" text, "Trainer" text, "Time" text, "Grade" text )
SELECT transfer_window FROM table_name_63 WHERE transfer_fee = "n/a" AND moving_to = "free agent" AND name = "joe sagar"
What is the transfer window with n/a as the Transfer fee, free agent for the Moving to, and Joe Sagar as the name?
CREATE TABLE table_name_63 (transfer_window VARCHAR, name VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR)
SELECT team FROM table_15869204_6 WHERE date = "January 9"
WHO DID THE RAPTORS PLAY ON JANUARY 9?
CREATE TABLE table_15869204_6 (team VARCHAR, date VARCHAR)
SELECT F.goals FROM table_name_31 WHERE games = "22 22" AND points = "012 12"
Name the F. Goals for games of 22 22 and points of 012 12
CREATE TABLE table_name_31 ( games VARCHAR, points VARCHAR )
SELECT name FROM table_name_81 WHERE type = "end of contract" AND nat = "sco" AND moving_to = "cardiff city"
What is the name of the person with a type of end of contract, nat of sco, and the Moving to is cardiff city?
CREATE TABLE table_name_81 (name VARCHAR, moving_to VARCHAR, type VARCHAR, nat VARCHAR)
SELECT name FROM table_1585609_2 WHERE date_of_designation = "2002-04-01"
Name thenames for 2002-04-01
CREATE TABLE table_1585609_2 (name VARCHAR, date_of_designation VARCHAR)
SELECT MAX(t1.c1) FROM (SELECT COUNT(DISTINCT diagnoses_icd.hadm_id) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'abn find-stool contents') AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_TI...
what was the maximum monthly number of patients who had abn find-stool contents this year?
CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, ...
SELECT transfer_window FROM table_name_54 WHERE transfer_fee = "free" AND moving_to = "derby county"
What Transfer window that has a Transfer fee of free, with a Moving to of derby county?
CREATE TABLE table_name_54 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR)
SELECT date_of_designation FROM table_1585609_2 WHERE name = "Kurume"
Name all the date of designations for kurume
CREATE TABLE table_1585609_2 (date_of_designation VARCHAR, name VARCHAR)
SELECT SUM(points) FROM table_name_43 WHERE record = "11-6-0" AND game__number < 17
What is the number of points of the game less than number 17 with an 11-6-0 record?
CREATE TABLE table_name_43 ( points INTEGER, record VARCHAR, game__number VARCHAR )
SELECT MIN(game) FROM table_name_98 WHERE attendance = 56 OFFSET 505
What is the first game number that had attendance of 56,505?
CREATE TABLE table_name_98 (game INTEGER, attendance VARCHAR)
SELECT COUNT(japanese) FROM table_1585609_2 WHERE name = "Amagasaki"
Name the total number of japanese for amagasaki
CREATE TABLE table_1585609_2 (japanese VARCHAR, name VARCHAR)
SELECT COUNT("Going to") FROM table_21415 WHERE "Calling at" = 'Thurlby, Braceborough Spa' AND "Departure" = '16.50'
Name the number of going to for thurlby, braceborough spa at departure being 16.50
CREATE TABLE table_21415 ( "Departure" text, "Going to" text, "Calling at" text, "Arrival" text, "Operator" text )
SELECT crowd FROM table_name_59 WHERE away_team = "footscray"
What was the crowd size for the away team footscray?
CREATE TABLE table_name_59 (crowd VARCHAR, away_team VARCHAR)
SELECT region FROM table_1585609_2 WHERE prefecture = "Iwate"
Name the region for iwate
CREATE TABLE table_1585609_2 (region VARCHAR, prefecture VARCHAR)
SELECT "High assists" FROM table_72891 WHERE "High rebounds" = 'Matt Barnes (11)'
Who did the most assists when Matt Barnes (11) got the most rebounds?
CREATE TABLE table_72891 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT race_name FROM table_name_4 WHERE circuit = "goodwood"
Which Race Name has Goodwood in the Curcuit?
CREATE TABLE table_name_4 (race_name VARCHAR, circuit VARCHAR)
SELECT high_rebounds FROM table_15869204_9 WHERE team = "Chicago"
Who scored the most rebounds in the game against Chicago?
CREATE TABLE table_15869204_9 (high_rebounds VARCHAR, team VARCHAR)
SELECT "Arena" FROM table_14137 WHERE "Date" = 'september 21'
At what arena was the September 21 game?
CREATE TABLE table_14137 ( "Date" text, "Opponent" text, "Score" text, "Record" text, "Arena" text )
SELECT constructor FROM table_name_6 WHERE winning_driver = "jim clark" AND circuit = "syracuse"
Which Constructor has the Winning Driver, Jim Clark and the Circuit, Syracuse?
CREATE TABLE table_name_6 (constructor VARCHAR, winning_driver VARCHAR, circuit VARCHAR)
SELECT date FROM table_15872814_5 WHERE high_points = "Jalen Rose (32)"
What were the dates of the games where Jalen Rose (32) had the highest points?
CREATE TABLE table_15872814_5 (date VARCHAR, high_points VARCHAR)
SELECT AVG(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'anticonvulsant - lamotrigine')) AND STRFTIME...
what is the average total hospital cost involving a procedure called a anticonvulsant - lamotrigine until 2104?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE patient ( uniquepid text, pati...
SELECT constructor FROM table_name_72 WHERE winning_driver = "jo siffert"
Which Constructor has the Winning Driver, Jo Siffert?
CREATE TABLE table_name_72 (constructor VARCHAR, winning_driver VARCHAR)
SELECT location_attendance FROM table_15872814_5 WHERE team = "New Orleans"
What is the location and total attendance for games played against New Orleans?
CREATE TABLE table_15872814_5 (location_attendance VARCHAR, team VARCHAR)
SELECT australian_role FROM table_10121127_1 WHERE un_operation_name = "UNAMA"
What is Australia's role in the UN operation Unama?
CREATE TABLE table_10121127_1 ( australian_role VARCHAR, un_operation_name VARCHAR )
SELECT constructor FROM table_name_49 WHERE circuit = "pergusa"
Which Constructor has Pergusa in the Circuit?
CREATE TABLE table_name_49 (constructor VARCHAR, circuit VARCHAR)
SELECT COUNT(team) FROM table_15869204_7 WHERE date = "February 18"
How many teams are listed for February 18?
CREATE TABLE table_15869204_7 (team VARCHAR, date VARCHAR)
SELECT LOCATION FROM station GROUP BY LOCATION ORDER BY COUNT(*) DESC LIMIT 1
Show the location with most number of train stations.
CREATE TABLE station ( LOCATION VARCHAR )
SELECT date FROM table_name_89 WHERE venue = "mcg"
On what date was a game played at MCG?
CREATE TABLE table_name_89 (date VARCHAR, venue VARCHAR)
SELECT high_rebounds FROM table_15869204_7 WHERE date = "February 24"
What were the high rebounds on February 24?
CREATE TABLE table_15869204_7 (high_rebounds VARCHAR, date VARCHAR)
SELECT "Episode" FROM table_50505 WHERE "Year" = '2009' AND "Show" = 'dexter'
What is the Episode number of Ernest Dickerson in 2009 when the show was dexter?
CREATE TABLE table_50505 ( "Year" real, "Show" text, "Season" text, "Episode" text, "Notes" text )
SELECT AVG(total) FROM table_name_93 WHERE gold = 2 AND silver < 1
What is the average total medals of the team with 2 gold and less than 1 silver?
CREATE TABLE table_name_93 (total INTEGER, gold VARCHAR, silver VARCHAR)
SELECT score FROM table_15869204_7 WHERE game = 51
What was the score in game 51?
CREATE TABLE table_15869204_7 (score VARCHAR, game VARCHAR)
SELECT "Fastest Laps" FROM table_33644 WHERE "Season" < '1979'
What is the fastest lap for a season smaller than 1979?
CREATE TABLE table_33644 ( "Season" real, "Series Name" text, "Champion" text, "Races \u2020" text, "Pole Positions" text, "Wins" text, "Podiums" text, "Fastest Laps" text, "Points" text, "Margin (pts)" text )
SELECT MIN(silver) FROM table_name_95 WHERE nation = "iceland" AND total < 87
What is the lowest amount of silver medals Iceland, who has less than 87 medals, has?
CREATE TABLE table_name_95 (silver INTEGER, nation VARCHAR, total VARCHAR)
SELECT score FROM table_15869204_7 WHERE team = "San Antonio"
What was the score when they played against San Antonio?
CREATE TABLE table_15869204_7 (score VARCHAR, team VARCHAR)
SELECT AVG(gold) FROM table_name_27 WHERE rank < 5 AND silver > 0 AND total = 2
How many gold medals for a nation with rank less than 5, more than 0 silvers and a total of 2 medals?
CREATE TABLE table_name_27 ( gold INTEGER, total VARCHAR, rank VARCHAR, silver VARCHAR )
SELECT MIN(bronze) FROM table_name_86 WHERE nation = "andorra" AND total > 6
What is the least amount of bronze Andorra, who has more than 6 total medals, has?
CREATE TABLE table_name_86 (bronze INTEGER, nation VARCHAR, total VARCHAR)
SELECT high_points FROM table_15869204_8 WHERE game = 68
Who was the high point scorer in game number 68?
CREATE TABLE table_15869204_8 (high_points VARCHAR, game VARCHAR)
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND instructor.name LIKE '%Kristina Daugirdas%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offering...
What does Prof. Kristina Daugirdas teach ?
CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varchar, country varchar, zip int ) CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE requirement ( ...
SELECT MIN(bronze) FROM table_name_75 WHERE nation = "liechtenstein" AND gold > 11
What is the lowest amount of bronze Liechtenstein, who has more than 11 gold, has?
CREATE TABLE table_name_75 (bronze INTEGER, nation VARCHAR, gold VARCHAR)
SELECT COUNT(high_assists) FROM table_15873014_3 WHERE team = "New Jersey"
How many players had the most assists against New Jersey?
CREATE TABLE table_15873014_3 (high_assists VARCHAR, team VARCHAR)
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT diagnoses_icd.icd9_code FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 32606) AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(C...
what is the name of the diagnosis patient 32606 last was received during this year?
CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug text, dose_val_rx text, dose_unit_rx text, route text ) ...
SELECT AVG(silver) FROM table_name_87 WHERE bronze < 15 AND nation = "montenegro" AND total > 11
What is the average amount of silver medals Montenegro, who has less than 15 bronze and more than 11 total medals, has?
CREATE TABLE table_name_87 (silver INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR)
SELECT MAX(game) FROM table_15873014_3
How many games were played in the season?
CREATE TABLE table_15873014_3 (game INTEGER)
SELECT MAX(game) FROM table_27713030_3 WHERE date = "October 13"
Which game was played on October 13?
CREATE TABLE table_27713030_3 ( game INTEGER, date VARCHAR )
SELECT MIN(voter_turnout) FROM table_name_62 WHERE byut = 50.7 AND ou_psd < 36.8
What is the lower turnout that has a byut of 50.7 and an ou psd smaller than 36.8?
CREATE TABLE table_name_62 (voter_turnout INTEGER, byut VARCHAR, ou_psd VARCHAR)
SELECT team FROM table_15872814_7 WHERE high_assists = "Rafer Alston (5)"
What team had high assists Rafer Alston (5)?
CREATE TABLE table_15872814_7 (team VARCHAR, high_assists VARCHAR)
SELECT type FROM table_name_89 WHERE transfer_window = "summer" AND moving_from = "free agent"
What is the type if the transfer window is summer and the moving from category is free agent?
CREATE TABLE table_name_89 ( type VARCHAR, transfer_window VARCHAR, moving_from VARCHAR )
SELECT COUNT(voter_registration) FROM table_name_78 WHERE byut = 48.2
What is the voter registration that has a BYut of 48.2?
CREATE TABLE table_name_78 (voter_registration VARCHAR, byut VARCHAR)
SELECT high_assists FROM table_15873014_5 WHERE date = "January 3"
Who has the most assists on January 3?
CREATE TABLE table_15873014_5 (high_assists VARCHAR, date VARCHAR)
SELECT COUNT(games) FROM table_name_20 WHERE goals = 5 AND assists < 8
How many games have 5 goals and less than 8 assists?
CREATE TABLE table_name_20 ( games VARCHAR, goals VARCHAR, assists VARCHAR )
SELECT home_team FROM table_name_22 WHERE venue = "vfl park"
Who was the home team at VFL Park?
CREATE TABLE table_name_22 (home_team VARCHAR, venue VARCHAR)
SELECT rector FROM table_15873547_1 WHERE mascot = "Phoxes"
Who is the rector of the residence hall who's mascot is the phoxes?
CREATE TABLE table_15873547_1 (rector VARCHAR, mascot VARCHAR)
SELECT COUNT("award") FROM table_204_838 WHERE "result" = 'won'
what is the total number of awards that he has won ?
CREATE TABLE table_204_838 ( id number, "year" number, "award" text, "category" text, "nominated work" text, "result" text )
SELECT home_team FROM table_name_78 WHERE venue = "kardinia park"
Who was the home team at Kardinia Park?
CREATE TABLE table_name_78 (home_team VARCHAR, venue VARCHAR)
SELECT mascot FROM table_15873547_1 WHERE colors = "Green and Navy"
What is the mascot with the colors green and navy?
CREATE TABLE table_15873547_1 (mascot VARCHAR, colors VARCHAR)
SELECT "Points" FROM table_57589 WHERE "Year" < '1977' AND "Engine" = 'cosworth v8' AND "Entrant" = 'hb bewaking alarm systems'
How many points were there in a year earlier than 1977, a Cosworth V8 engine, and an entry from HB Bewaking alarm systems?
CREATE TABLE table_57589 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real )
SELECT paper_type FROM table_name_3 WHERE denomination = "1 cent"
What type of paper is the 1 cent denominations made on?
CREATE TABLE table_name_3 (paper_type VARCHAR, denomination VARCHAR)
SELECT residence_hall FROM table_15873547_1 WHERE mascot = "Vermin"
What residence hall has the vermin mascot?
CREATE TABLE table_15873547_1 (residence_hall VARCHAR, mascot VARCHAR)
SELECT MIN("Silver") FROM table_51110 WHERE "Bronze" = '19' AND "Total" > '58'
Name the Silver which has a Bronze of 19, and a Total larger than 58?
CREATE TABLE table_51110 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT paper_type FROM table_name_7 WHERE date_of_issue = "26 july 2007"
What is the paper type that the one that was issued on 26 july 2007 done on?
CREATE TABLE table_name_7 (paper_type VARCHAR, date_of_issue VARCHAR)
SELECT colors FROM table_15873547_1 WHERE residence_hall = "Howard Hall"
What are the colors of Howard Hall?
CREATE TABLE table_15873547_1 (colors VARCHAR, residence_hall VARCHAR)
SELECT "League" FROM table_22801 WHERE "Playoffs" = 'Semifinals'
in what playoffs the league was in the semifinals
CREATE TABLE table_22801 ( "Year" text, "League" text, "Reg. Season" text, "Playoffs" text, "Owner(s)" text, "Avg. Attendance" real )
SELECT home_team AS score FROM table_name_65 WHERE home_team = "footscray"
What did the home team footscray score?
CREATE TABLE table_name_65 (home_team VARCHAR)
SELECT content FROM table_15887683_1 WHERE television_service = "LA7"
What is the content of la7 television service?
CREATE TABLE table_15887683_1 (content VARCHAR, television_service VARCHAR)
SELECT MIN("population") FROM table_204_64
what is the least population listed in the table ?
CREATE TABLE table_204_64 ( id number, "place" text, "code" number, "area (km2)" number, "population" number, "most spoken language" text )
SELECT COUNT(crowd) FROM table_name_95 WHERE home_team = "footscray"
What was the total crowd size for the him team footscray?
CREATE TABLE table_name_95 (crowd VARCHAR, home_team VARCHAR)
SELECT content FROM table_15887683_1 WHERE television_service = "Rai 1"
What is the content of the rai 1 television service?
CREATE TABLE table_15887683_1 (content VARCHAR, television_service VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.admityear < "2179"
count the number of unmarried patients admitted before the year 2179.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) C...
SELECT home_team FROM table_name_57 WHERE venue = "corio oval"
What is the Home team at corio oval?
CREATE TABLE table_name_57 (home_team VARCHAR, venue VARCHAR)
SELECT package_option FROM table_15887683_1 WHERE television_service = "Rai 3"
What are the package/options when the TV service is rai 3?
CREATE TABLE table_15887683_1 (package_option VARCHAR, television_service VARCHAR)
SELECT "class" FROM table_203_201 WHERE "class" IN ('ut507 class', 'ut515 class') ORDER BY "displacement" DESC LIMIT 1
which weights more a ut507 salvage tug or a ut515 salvage tug ?
CREATE TABLE table_203_201 ( id number, "class" text, "type" text, "ships" text, "displacement" text, "note" text )
SELECT livery FROM table_name_82 WHERE date < 1936 AND description = "gresley rf"
What livery was worn on the date before 1936, with the description of Gresley RF?
CREATE TABLE table_name_82 (livery VARCHAR, date VARCHAR, description VARCHAR)
SELECT hdtv FROM table_15887683_1 WHERE television_service = "Italia 1"
What high definition television options are available for Italia 1?
CREATE TABLE table_15887683_1 (hdtv VARCHAR, television_service VARCHAR)
SELECT location FROM table_name_96 WHERE competition = "europe/africa zone, group i, round robin" AND result = "win" AND year < 1998
What location did the team win before 1998 in the europe/africa zone, group i, round robin?
CREATE TABLE table_name_96 ( location VARCHAR, year VARCHAR, competition VARCHAR, result VARCHAR )
SELECT number_ & _name FROM table_name_16 WHERE description = "gresley rb" AND date < 1937
Which number and name has the description Gresley RB and a date before 1937?
CREATE TABLE table_name_16 (number_ VARCHAR, _name VARCHAR, description VARCHAR, date VARCHAR)
SELECT COUNT(hdtv) FROM table_15887683_16 WHERE television_service = "Elite Shopping TV"
How many values of HDTV apply when television service is elite shopping tv?
CREATE TABLE table_15887683_16 (hdtv VARCHAR, television_service VARCHAR)
SELECT COUNT(branding) FROM table_2610582_2 WHERE power_kw__erp_ = "1kW (29.94kW ERP)"
How many brandings are there where the Power kW (ERP) is 1kW (29.94kW ERP)?
CREATE TABLE table_2610582_2 ( branding VARCHAR, power_kw__erp_ VARCHAR )
SELECT owner_s_ FROM table_name_60 WHERE date < 1940 AND number_ & _name = "no. 1222"
Who is the owner before 1940, who had a number and name of no. 1222?
CREATE TABLE table_name_60 (owner_s_ VARCHAR, date VARCHAR, number_ VARCHAR, _name VARCHAR)
SELECT COUNT(country) FROM table_15887683_16 WHERE content = "arte"
How many countries have content of arte?
CREATE TABLE table_15887683_16 (country VARCHAR, content VARCHAR)
SELECT "nation" FROM table_204_979 WHERE "total" < 38
tell me the only country to schore below 38 total points .
CREATE TABLE table_204_979 ( id number, "place" number, "nation" text, "5 hoops" text, "3 balls,\n2 ribbons" text, "total" number )
SELECT type FROM table_name_2 WHERE scratch = "750 gb"
What type has a scratch of 750 GB?
CREATE TABLE table_name_2 (type VARCHAR, scratch VARCHAR)
SELECT COUNT(hdtv) FROM table_15887683_16 WHERE television_service = "La Sorgente Sat 1"
How many values of HDTV correspond to television service of la sorgente sat 1?
CREATE TABLE table_15887683_16 (hdtv VARCHAR, television_service VARCHAR)
SELECT "Opponent" FROM table_50814 WHERE "Against" = 'norway'
who is the opponent when norway is against?
CREATE TABLE table_50814 ( "Edition" text, "Round" text, "Date" text, "Against" text, "Surface" text, "Opponent" text, "Result" text )