answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT berlin FROM table_name_60 WHERE südwest = "fk pirmasens" AND west = "westfalia herne" | What was Berlin when fk pirmasens was Südwest and westfalia herne was west? | CREATE TABLE table_name_60 (berlin VARCHAR, südwest VARCHAR, west VARCHAR) |
SELECT mixed_doubles FROM table_14496232_2 WHERE tour = "Hong Kong Super Series" | Name the mixed doubles when tour is hong kong super series | CREATE TABLE table_14496232_2 (mixed_doubles VARCHAR, tour VARCHAR) |
SELECT "Kerry%" FROM table_21806 WHERE "Kerry#" = '199060' | When Kerry# was 199060, what was the percentage? | CREATE TABLE table_21806 (
"County" text,
"Kerry%" text,
"Kerry#" real,
"Bush%" text,
"Bush#" real,
"Others%" text,
"Others#" real,
"2000 result" text
) |
SELECT MIN(year) FROM table_name_90 WHERE west = "borussia dortmund" AND berlin = "bfc viktoria 1889" | What is the earliest year borussia dortmund was west and bfc viktoria 1889 was Berlin? | CREATE TABLE table_name_90 (year INTEGER, west VARCHAR, berlin VARCHAR) |
SELECT mixed_doubles FROM table_14496232_2 WHERE womens_singles = "Zhu Lin" | Name the mixed doubles for zhu lin | CREATE TABLE table_14496232_2 (mixed_doubles VARCHAR, womens_singles VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.dob_year < "2087" | provide me the number of female patients born before 2087. | 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
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob te... |
SELECT nord FROM table_name_3 WHERE berlin = "tennis borussia berlin" AND year = 1952 | What is the Nord in 1952, when tennis borussia berlin was Berlin? | CREATE TABLE table_name_3 (nord VARCHAR, berlin VARCHAR, year VARCHAR) |
SELECT week FROM table_14520977_1 WHERE location = "Kingdome" | Name the week for kingdome | CREATE TABLE table_14520977_1 (week VARCHAR, location VARCHAR) |
SELECT home_team FROM table_name_50 WHERE date = "may 20" | what team played on may 20 on the home side | CREATE TABLE table_name_50 (
home_team VARCHAR,
date VARCHAR
) |
SELECT place FROM table_name_19 WHERE country = "japan" | Where did Japan place? | CREATE TABLE table_name_19 (place VARCHAR, country VARCHAR) |
SELECT date FROM table_14520977_1 WHERE result = "L 13–10 OT" | Name the date when result is l 13–10 ot | CREATE TABLE table_14520977_1 (date VARCHAR, result VARCHAR) |
SELECT MIN(money___) AS $__ FROM table_name_2 WHERE score = 74 - 74 - 76 - 74 = 298 | WHAT IS THE LOWEST MONEY WITH 74-74-76-74=298 SCORE? | CREATE TABLE table_name_2 (
money___ INTEGER,
score 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 record FROM table_14520977_1 WHERE result = "L 24–22" | Name the record for l 24–22 | CREATE TABLE table_14520977_1 (record VARCHAR, result VARCHAR) |
SELECT "Composition" FROM table_40147 WHERE "Weight" = '3 g' | What is the coin that weighs 3 g made of? | CREATE TABLE table_40147 (
"Value" text,
"\u20ac equiv." text,
"Diameter" text,
"Weight" text,
"Composition" text
) |
SELECT away_team FROM table_name_29 WHERE tie_no = "34" | Who was the away team when the Tie no was 34? | CREATE TABLE table_name_29 (away_team VARCHAR, tie_no VARCHAR) |
SELECT country FROM table_14523485_9 WHERE channel = "Fox" | Which Country is the show aired on Fox? | CREATE TABLE table_14523485_9 (country VARCHAR, channel VARCHAR) |
SELECT record FROM table_21839208_4 WHERE opponent = "Stampeders" | What was their record when they played the stampeders? | CREATE TABLE table_21839208_4 (
record VARCHAR,
opponent VARCHAR
) |
SELECT away_team FROM table_name_16 WHERE attendance = "76" | Who was the away team when the attendance was 76? | CREATE TABLE table_name_16 (away_team VARCHAR, attendance VARCHAR) |
SELECT channel FROM table_14523485_9 WHERE country = "New Zealand" | Where is the show aired in New Zealand? | CREATE TABLE table_14523485_9 (channel VARCHAR, country VARCHAR) |
SELECT Rank, COUNT(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.Advisor GROUP BY T1.Rank ORDER BY COUNT(*) | Show me a bar chart for how many students are advised by each rank of faculty? List the rank and the number of students, and order in ascending by the Y-axis please. | CREATE TABLE Participates_in (
stuid INTEGER,
actid INTEGER
)
CREATE TABLE Faculty_Participates_in (
FacID INTEGER,
actid INTEGER
)
CREATE TABLE Faculty (
FacID INTEGER,
Lname VARCHAR(15),
Fname VARCHAR(15),
Rank VARCHAR(15),
Sex VARCHAR(1),
Phone INTEGER,
Room VARCHAR(5),
... |
SELECT home_team FROM table_name_60 WHERE tie_no = "7" | Who was the home team when the Tie no was 7? | CREATE TABLE table_name_60 (home_team VARCHAR, tie_no VARCHAR) |
SELECT channel FROM table_14523485_9 WHERE top_prize = "€100,000" | What channel had the prize of €100,000? | CREATE TABLE table_14523485_9 (channel VARCHAR, top_prize VARCHAR) |
SELECT semi_finalists FROM table_name_25 WHERE runner_up = "gigi fernández natalia zvereva" AND week_of = "26 june 2 weeks" | When the runner-up is listed as Gigi Fern ndez Natalia Zvereva and the week is 26 June 2 weeks, who are the semi finalists? | CREATE TABLE table_name_25 (
semi_finalists VARCHAR,
runner_up VARCHAR,
week_of VARCHAR
) |
SELECT tie_no FROM table_name_8 WHERE away_team = "east thurrock united" | What was the Tie no when the away team was east thurrock united? | CREATE TABLE table_name_8 (tie_no VARCHAR, away_team VARCHAR) |
SELECT COUNT(host) FROM table_14523485_9 WHERE channel = "Seven Network" | How many hosts were on Seven Network? | CREATE TABLE table_14523485_9 (host VARCHAR, channel VARCHAR) |
SELECT All_Neutral, School_ID FROM basketball_match | A pie chart shows the proportion of All_Neutral and School_ID. | CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Per... |
SELECT AVG(votes) FROM table_name_14 WHERE constituency = "dublin south" AND spoilt < 3 OFFSET 387 | WHAT IS THE AVERAGE VOTE FOR DUBLIN SOUTH, AND SPOILT SMALLER THAN 3,387? | CREATE TABLE table_name_14 (votes INTEGER, constituency VARCHAR, spoilt VARCHAR) |
SELECT country FROM table_14523485_9 WHERE channel = "TVNZ" | What country is the show aired on TVNZ? | CREATE TABLE table_14523485_9 (country VARCHAR, channel VARCHAR) |
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', treatment.treatmenttime)) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-6959'... | what amount of hours have passed since patient 022-6959 had the last procedure on this hospital visit? | CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TA... |
SELECT location FROM table_name_8 WHERE date = "january 23, 2008" | Where was the game played on January 23, 2008? | CREATE TABLE table_name_8 (location VARCHAR, date VARCHAR) |
SELECT capital FROM table_14532_1 WHERE region = "Umbria" | What is the capital of Umbria? | CREATE TABLE table_14532_1 (capital VARCHAR, region VARCHAR) |
SELECT score FROM table_name_50 WHERE outcome = "winner" AND partnering = "nicole sewell" AND opponent_in_final = "victoria davies / kate warne-holland" | What is Score, when Outcome is 'winner', when Partnering is 'Nicole Sewell', and when Opponent in Final is 'Victoria Davies / Kate Warne-Holland'? | CREATE TABLE table_name_50 (
score VARCHAR,
opponent_in_final VARCHAR,
outcome VARCHAR,
partnering VARCHAR
) |
SELECT location FROM table_name_8 WHERE tournament = "singapore charity shield" | Where was the Singapore Charity Shield tournament played? | CREATE TABLE table_name_8 (location VARCHAR, tournament VARCHAR) |
SELECT region FROM table_14532_1 WHERE capital = "Milan" | What is the region where Milan is located? | CREATE TABLE table_14532_1 (region VARCHAR, capital VARCHAR) |
SELECT "Entrant" FROM table_53662 WHERE "Constructor" = 'maserati' AND "Tyre" = 'p' AND "Chassis" = '250f a6gcm' AND "Driver" = 'luigi villoresi' | Can you say what was the entrant of maserati built item with a Tyre of p with a chassis of 250f a6gcm that was driven by Luigi Villoresi? | CREATE TABLE table_53662 (
"Entrant" text,
"Constructor" text,
"Chassis" text,
"Tyre" text,
"Driver" text,
"Rounds" text
) |
SELECT location FROM table_name_93 WHERE date = "january 23, 2008" | Where was the game located on January 23, 2008? | CREATE TABLE table_name_93 (location VARCHAR, date VARCHAR) |
SELECT MAX(area__km²_) FROM table_14532_1 WHERE region = "Tuscany" | What is the area of Tuscany? | CREATE TABLE table_14532_1 (area__km²_ INTEGER, region VARCHAR) |
SELECT COUNT("title") FROM table_204_927 WHERE "year" = 2011 | what is the total number of titles in 2011 ? | CREATE TABLE table_204_927 (
id number,
"title" text,
"year" number,
"artist(s)" text,
"album" text,
"writer(s)" text,
"producer(s)" text
) |
SELECT location FROM table_name_87 WHERE match > 1 AND tournament = "friendly" AND opponent_team = "super reds" | Where is the location of the friendly match larger than 1 where the Super Reds were the opponent? | CREATE TABLE table_name_87 (location VARCHAR, opponent_team VARCHAR, match VARCHAR, tournament VARCHAR) |
SELECT MIN(2500 AS _3000ft) FROM table_1456056_1 WHERE country = "Scotland" | Name the minimum for 2500-3000 ft for scotland | CREATE TABLE table_1456056_1 (country VARCHAR) |
SELECT outcome FROM table_name_81 WHERE partner = "yoo sang-hee" AND venue = "malaysia open" | What is the Outcome in the Malaysia Open with Partner Yoo Sang-Hee? | CREATE TABLE table_name_81 (
outcome VARCHAR,
partner VARCHAR,
venue VARCHAR
) |
SELECT location_attendance FROM table_name_78 WHERE team = "@ milwaukee" | When the team is @ Milwaukee, what is the name of the location where the game is played? | CREATE TABLE table_name_78 (location_attendance VARCHAR, team VARCHAR) |
SELECT MAX(2500 AS _3000ft) FROM table_1456056_1 | Name the most of 2500-3000ft | CREATE TABLE table_1456056_1 (Id VARCHAR) |
SELECT "Career Win-Loss" FROM table_15060 WHERE "2008" = 'q1' AND "Tournament" = 'australian open' | What is the win-loss when 2008 has a value of Q1 at Australian Open? | CREATE TABLE table_15060 (
"Tournament" text,
"2007" text,
"2008" text,
"2009" text,
"Career Win-Loss" text
) |
SELECT score FROM table_name_19 WHERE team = "@ chicago" | For the game with team of @ Chicago, what was the final score? | CREATE TABLE table_name_19 (score VARCHAR, team VARCHAR) |
SELECT MIN(total) FROM table_1456056_1 WHERE country = "Ireland" | Name the minimum total for ireland | CREATE TABLE table_1456056_1 (total INTEGER, country VARCHAR) |
SELECT "Occupation" FROM table_55678 WHERE "Residence" = 'windsor junction' | What is the occupation of the candidate that resides in Windsor Junction? | CREATE TABLE table_55678 (
"Riding" text,
"Candidate" text,
"Gender" text,
"Residence" text,
"Occupation" text,
"Votes" real,
"Rank" text
) |
SELECT rank FROM table_name_90 WHERE title = "best friends" | What rank did Best Friends receive? | CREATE TABLE table_name_90 (rank VARCHAR, title VARCHAR) |
SELECT directed_by FROM table_14562722_1 WHERE written_by = "Aaron Ehasz & John O'Bryan" | Who directed all the episodes that were written by aaron ehasz & john o'bryan? | CREATE TABLE table_14562722_1 (directed_by VARCHAR, written_by VARCHAR) |
SELECT eviction_result FROM table_name_10 WHERE net_vote = "31.86%" | Which Eviction result has a Net vote of 31.86%? | CREATE TABLE table_name_10 (
eviction_result VARCHAR,
net_vote VARCHAR
) |
SELECT points_for FROM table_name_91 WHERE club = "fall bay rfc" | How many points are for the Fall Bay RFC club? | CREATE TABLE table_name_91 (points_for VARCHAR, club VARCHAR) |
SELECT production_code FROM table_14562722_1 WHERE written_by = "Michael Dante DiMartino" AND directed_by = "Lauren MacMullan" | What was the production code of the episode that was written by michael dante dimartino and directed by lauren macmullan? | CREATE TABLE table_14562722_1 (production_code VARCHAR, written_by VARCHAR, directed_by VARCHAR) |
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE ... | what were the four most frequent drugs prescribed within the same month to the patients aged 40s after having been diagnosed with acute kidney failure nos this year? | CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE admissions (
ro... |
SELECT drawn FROM table_name_87 WHERE bonus_points = "6" AND points_against = "410" | What was drawn for 6 bonus points and is against 410 points? | CREATE TABLE table_name_87 (drawn VARCHAR, bonus_points VARCHAR, points_against VARCHAR) |
SELECT original_air_date FROM table_14562722_1 WHERE directed_by = "Giancarlo Volpe" AND written_by = "John O'Bryan" | What was the airdate of the episode that was directed by giancarlo volpe and written by is john o'bryan? | CREATE TABLE table_14562722_1 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR) |
SELECT "Opponent" FROM table_46947 WHERE "Score" = '7–5, 7–6 (8–6)' | who is the opponent when the score is 7 5, 7 6 (8 6)? | CREATE TABLE table_46947 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
) |
SELECT club FROM table_name_63 WHERE points_against = "431" | What is the club had 431 points against them? | CREATE TABLE table_name_63 (club VARCHAR, points_against VARCHAR) |
SELECT situation FROM table_14570857_1 WHERE original_us_airdate = "December 5, 2007" | Which situation has an original u.s. airdate of December 5, 2007? | CREATE TABLE table_14570857_1 (situation VARCHAR, original_us_airdate VARCHAR) |
SELECT AVG("Rank") FROM table_76069 WHERE "Bronze" < '0' | What is the rank with 0 bronze? | CREATE TABLE table_76069 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) |
SELECT points_against FROM table_name_34 WHERE points_difference = "points difference" | What are the points against with a points difference? | CREATE TABLE table_name_34 (points_against VARCHAR, points_difference VARCHAR) |
SELECT circuit FROM table_14574130_3 WHERE gt3_winner = "Alex Mortimer Bradley Ellis" | Name the circuit for gt3 alex mortimer bradley ellis | CREATE TABLE table_14574130_3 (circuit VARCHAR, gt3_winner VARCHAR) |
SELECT "Venue" FROM table_34960 WHERE "Outcome" = '13' AND "Year" = '2007' | Outcome of 13, and a Year of 2007 happened in what venue? | CREATE TABLE table_34960 (
"Outcome" text,
"Year" text,
"Venue" text,
"Last opponent" text,
"Score" text
) |
SELECT played FROM table_name_82 WHERE points_difference = "points difference" | What are the played points difference? | CREATE TABLE table_name_82 (played VARCHAR, points_difference VARCHAR) |
SELECT episodes FROM table_14562722_2 WHERE region_1 = "September 19, 2006" | Name the episodes when region 1 is september 19, 2006 | CREATE TABLE table_14562722_2 (episodes VARCHAR, region_1 VARCHAR) |
SELECT email FROM employees WHERE commission_pct = "null" AND salary BETWEEN 7000 AND 12000 AND department_id = 50 | What are the emails of employees with null commission, salary between 7000 and 12000, and who work in department 50? | CREATE TABLE regions (
region_id number,
region_name text
)
CREATE TABLE job_history (
employee_id number,
start_date time,
end_date time,
job_id text,
department_id number
)
CREATE TABLE employees (
employee_id number,
first_name text,
last_name text,
email text,
phone... |
SELECT away_team AS score FROM table_name_41 WHERE home_team = "sydney" | When the Home Team was Sydney, what did the Away team score? | CREATE TABLE table_name_41 (away_team VARCHAR, home_team VARCHAR) |
SELECT MAX(discs) FROM table_14562722_2 | Name the maximum discs | CREATE TABLE table_14562722_2 (discs INTEGER) |
SELECT COUNT(*) FROM table_204_258 WHERE "frequency" >= 88 AND "frequency" <= 92 | how many stations have frequencies between 88 and 92 ? | CREATE TABLE table_204_258 (
id number,
"location" text,
"frequency" number,
"call sign" text,
"network" text,
"call sign meaning" text
) |
SELECT ground FROM table_name_55 WHERE home_team = "carlton" | What was the Home team Carlton's Ground? | CREATE TABLE table_name_55 (ground VARCHAR, home_team VARCHAR) |
SELECT MAX(episodes) FROM table_14562722_2 WHERE region_4 = "March 13, 2008" | Name the most epiosdes when region 4 is march 13, 2008 | CREATE TABLE table_14562722_2 (episodes INTEGER, region_4 VARCHAR) |
SELECT MIN(round) FROM table_name_74 WHERE grand_prix = "indian gp" | What is the smallest round with a Grand Prix of indian gp? | CREATE TABLE table_name_74 (
round INTEGER,
grand_prix VARCHAR
) |
SELECT player FROM table_name_4 WHERE score = 71 | Which player scored 71? | CREATE TABLE table_name_4 (player VARCHAR, score VARCHAR) |
SELECT individual_winners FROM table_1458666_4 WHERE nation = "Australia" | what's the individual winners with nation being australia | CREATE TABLE table_1458666_4 (individual_winners VARCHAR, nation VARCHAR) |
SELECT MIN(year) FROM table_name_93 WHERE playoffs = "did not qualify" | Which year is the lowest one when the playoffs did not qualify? | CREATE TABLE table_name_93 (
year INTEGER,
playoffs VARCHAR
) |
SELECT circuit FROM table_name_84 WHERE winner = "craig lowndes" AND date = "19 apr" | What is the circuit on 19 Apr with Craig Lowndes as the winner? | CREATE TABLE table_name_84 (circuit VARCHAR, winner VARCHAR, date VARCHAR) |
SELECT MIN(total_wins) FROM table_1458666_4 | what is the value for minimum total wins | CREATE TABLE table_1458666_4 (total_wins INTEGER) |
SELECT product_category_description, COUNT(product_category_description) FROM Ref_Product_Categories AS T1 JOIN Products AS T2 ON T1.product_category_code = T2.product_category_code WHERE T2.product_description LIKE '%t%' GROUP BY product_category_description ORDER BY product_category_description DESC | Find the category descriptions of the products whose descriptions include letter 't', and count them by a bar chart, and I want to display by the names in descending please. | CREATE TABLE Product_Characteristics (
product_id INTEGER,
characteristic_id INTEGER,
product_characteristic_value VARCHAR(50)
)
CREATE TABLE Ref_Characteristic_Types (
characteristic_type_code VARCHAR(15),
characteristic_type_description VARCHAR(80)
)
CREATE TABLE Ref_Colors (
color_code VARC... |
SELECT circuit FROM table_name_15 WHERE team = "volvo cars australia" | What circuit has volvo cars australia as the team? | CREATE TABLE table_name_15 (circuit VARCHAR, team VARCHAR) |
SELECT COUNT(team_s_) FROM table_1458412_1 WHERE winnings = "$1,752,299" | What is the total amount o teams where winnings is $1,752,299? | CREATE TABLE table_1458412_1 (team_s_ VARCHAR, winnings VARCHAR) |
SELECT COUNT("Total") FROM table_46263 WHERE "To par" = '+9' | How much total has a To par of +9? | CREATE TABLE table_46263 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
) |
SELECT series FROM table_name_8 WHERE team = "dick johnson racing" | What series was Dick Johnson Racing the team? | CREATE TABLE table_name_8 (series VARCHAR, team VARCHAR) |
SELECT avg_start FROM table_1458412_1 WHERE starts = 30 | What is the avg start that starts at 30? | CREATE TABLE table_1458412_1 (avg_start VARCHAR, starts VARCHAR) |
SELECT district_attorney FROM table_name_22 WHERE position = "bureau chief ada" | Tell me the DA for bureau chief ada | CREATE TABLE table_name_22 (
district_attorney VARCHAR,
position VARCHAR
) |
SELECT city___state FROM table_name_87 WHERE winner = "russell ingall larry perkins" | What is the city/state of the circuit where Russell Ingall Larry Perkins was the winner? | CREATE TABLE table_name_87 (city___state VARCHAR, winner VARCHAR) |
SELECT COUNT(year) FROM table_1458412_1 WHERE avg_start = "27.3" | What is the totl amount of years where avg start is 27.3? | CREATE TABLE table_1458412_1 (year VARCHAR, avg_start VARCHAR) |
SELECT SUM("Round") FROM table_43064 WHERE "Selection" = '165' | How many rounds had a selection of 165? | CREATE TABLE table_43064 (
"Round" real,
"Selection" real,
"Player" text,
"Position" text,
"College" text
) |
SELECT date FROM table_name_64 WHERE away_team = "gillingham" | What date was the away team, team Gillingham? | CREATE TABLE table_name_64 (date VARCHAR, away_team VARCHAR) |
SELECT name__alma_mater_ FROM table_14594528_6 WHERE wins = 15 | What coach had 15 wins? | CREATE TABLE table_14594528_6 (name__alma_mater_ VARCHAR, wins VARCHAR) |
SELECT "Right ascension ( J2000 )" FROM table_10403 WHERE "Constellation" = 'sagittarius' AND "NGC number" > '6522' AND "Object type" = 'open cluster' AND "Declination ( J2000 )" = '°22′' | Name the right ascension for sagittarius and NGC number larger than 6522 for open cluster and declination of 22 | CREATE TABLE table_10403 (
"NGC number" real,
"Object type" text,
"Constellation" text,
"Right ascension ( J2000 )" text,
"Declination ( J2000 )" text
) |
SELECT score FROM table_name_6 WHERE tie_no = "21" | What was the score for a no. 21 tie? | CREATE TABLE table_name_6 (score VARCHAR, tie_no VARCHAR) |
SELECT losses FROM table_14594528_6 WHERE games = 19 | How many losses for the coach that coached 19 games? | CREATE TABLE table_14594528_6 (losses VARCHAR, games VARCHAR) |
SELECT COUNT("L G") FROM table_25117 WHERE "C G" > '1.0' AND "C Apps" = '3' | Name the total number of lg for cg is larger than 1.0 for c apps is 3 | CREATE TABLE table_25117 (
"Player" text,
"Nat" text,
"Pos" text,
"L Apps" real,
"L G" real,
"C Apps" real,
"C G" real,
"Total Apps" real,
"Total G" real
) |
SELECT date FROM table_name_80 WHERE away_team = "southport" | What was the date for the away team, team Southport? | CREATE TABLE table_name_80 (date VARCHAR, away_team VARCHAR) |
SELECT COUNT(class_aA) FROM table_14601528_2 WHERE class_aAA = Bridgeport AND school_year = "1999-2000" | Name the number of class aa for bridgeport and 1999-2000 | CREATE TABLE table_14601528_2 (class_aA VARCHAR, class_aAA VARCHAR, Bridgeport VARCHAR, school_year VARCHAR) |
SELECT COUNT("Gold") FROM table_64830 WHERE "Nation" = 'denmark' AND "Total" < '1' | How many golds have denmark as the nation, with a total less than 1? | CREATE TABLE table_64830 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) |
SELECT score FROM table_name_19 WHERE away_team = "southport" | What was the score for the away team, southport? | CREATE TABLE table_name_19 (score VARCHAR, away_team VARCHAR) |
SELECT class_aA FROM table_14601528_2 WHERE school_year = "1998-99" | Name the class aa for 1998-99 | CREATE TABLE table_14601528_2 (class_aA VARCHAR, school_year VARCHAR) |
SELECT part_number_s_ FROM table_name_89 WHERE model_number = "athlon x2 4850e" | What is the part number of athlon x2 4850e? | CREATE TABLE table_name_89 (
part_number_s_ VARCHAR,
model_number VARCHAR
) |
SELECT result FROM table_name_65 WHERE attendance = "47,971" | What was the result when the attendance was 47,971? | CREATE TABLE table_name_65 (result VARCHAR, attendance VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.