VishalCh/book-train huggingface dataset:
Schema:
CREATE TABLE table_4876 (
    "Place" real,
    "Team" text,
    "Points" real,
    "Played" real,
    "Drawn" real,
    "Lost" real,
    "Goals For" real,
    "Goals Against" real
)

Question: How many goals scored against the opposing team occurred with more than 7 losses, less than 27 goals scored for the team and drawn more than 1?

SQL:
SELECT COUNT("Goals Against") FROM table_4876 WHERE "Lost" > '7' AND "Goals For" < '27' AND "Drawn" > '1'
Schema:
CREATE TABLE table_8435 (
    "Place" text,
    "Player" text,
    "Country" text,
    "Score" text,
    "To par" text
)

Question: What is the score for Billy Andrade?

SQL:
SELECT "Score" FROM table_8435 WHERE "Player" = 'billy andrade'
Schema:
CREATE TABLE table_70544 (
    "Production year" text,
    "2001" real,
    "2002" real,
    "2003" real,
    "2004" real,
    "2005" real,
    "2006" real,
    "2007" real,
    "2008" real,
    "2009" real,
    "2010" real,
    "2011" real
)

Question: What is the average 2002 value for Sunflower, which had a 2010 value less than 5587 and a 2007 value greater than 546?

SQL:
SELECT AVG("2002") FROM table_70544 WHERE "2010" < '5587' AND "Production year" = 'sunflower' AND "2007" > '546'
Schema:
CREATE TABLE table_27700530_15 (
    high_points VARCHAR,
    date VARCHAR
)

Question: Who had the most points and how many did they have on April 22?

SQL:
SELECT high_points FROM table_27700530_15 WHERE date = "April 22"
Schema:
CREATE TABLE table_203_777 (
    id number,
    "years" text,
    "building" text,
    "city" text,
    "height (ctbuh)" text,
    "floors" number
)

Question: which building held the record before the current holder ?

SQL:
SELECT "building" FROM table_203_777 WHERE "years" < present_ref ORDER BY "years" DESC LIMIT 1
Schema:
CREATE TABLE table_name_1 (
    attendance INTEGER,
    date VARCHAR
)

Question: What is the attendance of the game on July 26?

SQL:
SELECT SUM(attendance) FROM table_name_1 WHERE date = "july 26"
Schema:
CREATE TABLE table_name_26 (
    site VARCHAR,
    game VARCHAR
)

Question: Name the site for game of game 2

SQL:
SELECT site FROM table_name_26 WHERE game = "game 2"
Schema:
CREATE TABLE table_dev_42 (
    "id" int,
    "gender" string,
    "depression" bool,
    "familial_hypercholesterolemia" bool,
    "microalbuminuria" int,
    "renal_disease" bool,
    "diabetic" string,
    "estimated_glomerular_filtration_rate_egfr" int,
    "serum_creatinine" float,
    "fbg" int,
    "body_mass_index_bmi" float,
    "triglyceride_tg" float,
    "a1c" float,
    "age" float,
    "NOUSE" float
)

Question: microalbuminuria up to 300 mg / 24 hours is acceptable if serum creatinine is < 1.4 for female , < 1.5 for male and estimated gfr ( egfr ) is > 60 )

SQL:
SELECT * FROM table_dev_42 WHERE microalbuminuria <= 300 OR ((gender = 'male' AND serum_creatinine < 1.5) OR (gender = 'female' AND serum_creatinine < 1.4)) AND estimated_glomerular_filtration_rate_egfr > 60
Schema:
CREATE TABLE table_204_302 (
    id number,
    "rank" number,
    "nation" text,
    "gold" number,
    "silver" number,
    "bronze" number,
    "total" number
)

Question: how many total medals did brazil received ?

SQL:
SELECT "total" FROM table_204_302 WHERE "nation" = 'brazil'
Schema:
CREATE TABLE table_name_67 (
    play VARCHAR,
    author VARCHAR,
    base VARCHAR
)

Question: What play has a base of Athens and was written by Aeschylus?

SQL:
SELECT play FROM table_name_67 WHERE author = "aeschylus" AND base = "athens"
Schema:
CREATE TABLE wedding (
    church_id number,
    male_id number,
    female_id number,
    year number
)

CREATE TABLE people (
    people_id number,
    name text,
    country text,
    is_male text,
    age number
)

CREATE TABLE church (
    church_id number,
    name text,
    organized_by text,
    open_date number,
    continuation_of text
)

Question: List all church names in descending order of opening date.

SQL:
SELECT name FROM church ORDER BY open_date DESC
Schema:
CREATE TABLE table_name_10 (
    attendance INTEGER,
    week INTEGER
)

Question: What is the average attendance after week 16?

SQL:
SELECT AVG(attendance) FROM table_name_10 WHERE week > 16
Schema:
CREATE TABLE injury_accident (
    game_id VARCHAR,
    injury VARCHAR
)

CREATE TABLE stadium (
    name VARCHAR,
    id VARCHAR
)

CREATE TABLE game (
    season VARCHAR,
    stadium_id VARCHAR,
    id VARCHAR
)

Question: In which season and which stadium did any player have an injury of 'Foot injury' or 'Knee problem'?

SQL:
SELECT T1.season, T2.name FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.id JOIN injury_accident AS T3 ON T1.id = T3.game_id WHERE T3.injury = 'Foot injury' OR T3.injury = 'Knee problem'
Schema:
CREATE TABLE table_61959 (
    "President" text,
    "Treasurer" text,
    "Secretary" text,
    "Social AO" text,
    "Academic AO" text,
    "Internal CO" text,
    "External CO" text
)

Question: What Secretary has an Internal CO of isabel voets?

SQL:
SELECT "Secretary" FROM table_61959 WHERE "Internal CO" = 'isabel voets'
Schema:
CREATE TABLE d_labitems (
    row_id number,
    itemid number,
    label text
)

CREATE TABLE microbiologyevents (
    row_id number,
    subject_id number,
    hadm_id number,
    charttime time,
    spec_type_desc text,
    org_name text
)

CREATE TABLE cost (
    row_id number,
    subject_id number,
    hadm_id number,
    event_type text,
    event_id number,
    chargetime time,
    cost number
)

CREATE TABLE d_icd_diagnoses (
    row_id number,
    icd9_code text,
    short_title text,
    long_title text
)

CREATE TABLE admissions (
    row_id number,
    subject_id number,
    hadm_id number,
    admittime time,
    dischtime time,
    admission_type text,
    admission_location text,
    discharge_location text,
    insurance text,
    language text,
    marital_status text,
    ethnicity text,
    age number
)

CREATE TABLE transfers (
    row_id number,
    subject_id number,
    hadm_id number,
    icustay_id number,
    eventtype text,
    careunit text,
    wardid number,
    intime time,
    outtime time
)

CREATE TABLE d_items (
    row_id number,
    itemid number,
    label text,
    linksto text
)

CREATE TABLE outputevents (
    row_id number,
    subject_id number,
    hadm_id number,
    icustay_id number,
    charttime time,
    itemid number,
    value number
)

CREATE TABLE chartevents (
    row_id number,
    subject_id number,
    hadm_id number,
    icustay_id number,
    itemid number,
    charttime time,
    valuenum number,
    valueuom text
)

CREATE TABLE patients (
    row_id number,
    subject_id number,
    gender text,
    dob time,
    dod time
)

CREATE TABLE procedures_icd (
    row_id number,
    subject_id number,
    hadm_id number,
    icd9_code text,
    charttime 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
)

CREATE TABLE inputevents_cv (
    row_id number,
    subject_id number,
    hadm_id number,
    icustay_id number,
    charttime time,
    itemid number,
    amount number
)

CREATE TABLE d_icd_procedures (
    row_id number,
    icd9_code text,
    short_title text,
    long_title text
)

CREATE TABLE labevents (
    row_id number,
    subject_id number,
    hadm_id number,
    itemid number,
    charttime time,
    valuenum number,
    valueuom text
)

CREATE TABLE icustays (
    row_id number,
    subject_id number,
    hadm_id number,
    icustay_id number,
    first_careunit text,
    last_careunit text,
    first_wardid number,
    last_wardid number,
    intime time,
    outtime time
)

CREATE TABLE diagnoses_icd (
    row_id number,
    subject_id number,
    hadm_id number,
    icd9_code text,
    charttime time
)

Question: how much does it cost for the hospital stay of patient 29540?

SQL:
SELECT SUM(cost.cost) FROM cost WHERE cost.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 29540)
Schema:
CREATE TABLE ref_budget_codes (
    budget_type_code text,
    budget_type_description text
)

CREATE TABLE accounts (
    account_id number,
    statement_id number,
    account_details text
)

CREATE TABLE ref_document_types (
    document_type_code text,
    document_type_name text,
    document_type_description text
)

CREATE TABLE projects (
    project_id number,
    project_details text
)

CREATE TABLE statements (
    statement_id number,
    statement_details text
)

CREATE TABLE documents_with_expenses (
    document_id number,
    budget_type_code text,
    document_details text
)

CREATE TABLE documents (
    document_id number,
    document_type_code text,
    project_id number,
    document_date time,
    document_name text,
    document_description text,
    other_details text
)

Question: Give the ids of documents with expenses that have the budget code 'SF'.

SQL:
SELECT document_id FROM documents_with_expenses WHERE budget_type_code = 'SF'
Schema:
CREATE TABLE Skills_Required_To_Fix (
    skill_id VARCHAR
)

CREATE TABLE Skills (
    skill_id VARCHAR,
    skill_description VARCHAR
)

Question: Which skill is used in fixing the most number of faults? List the skill id and description.

SQL:
SELECT T1.skill_id, T1.skill_description FROM Skills AS T1 JOIN Skills_Required_To_Fix AS T2 ON T1.skill_id = T2.skill_id GROUP BY T1.skill_id ORDER BY COUNT(*) DESC LIMIT 1
Schema:
CREATE TABLE paperfield (
    fieldid int,
    paperid int
)

CREATE TABLE paperdataset (
    paperid int,
    datasetid int
)

CREATE TABLE field (
    fieldid int
)

CREATE TABLE paper (
    paperid int,
    title varchar,
    venueid int,
    year int,
    numciting int,
    numcitedby int,
    journalid int
)

CREATE TABLE cite (
    citingpaperid int,
    citedpaperid int
)

CREATE TABLE dataset (
    datasetid int,
    datasetname varchar
)

CREATE TABLE paperkeyphrase (
    paperid int,
    keyphraseid int
)

CREATE TABLE journal (
    journalid int,
    journalname varchar
)

CREATE TABLE writes (
    paperid int,
    authorid int
)

CREATE TABLE venue (
    venueid int,
    venuename varchar
)

CREATE TABLE keyphrase (
    keyphraseid int,
    keyphrasename varchar
)

CREATE TABLE author (
    authorid int,
    authorname varchar
)

Question: who wrote the most ACL papers in 2010

SQL:
SELECT DISTINCT COUNT(paper.paperid), writes.authorid FROM paper, venue, writes WHERE paper.year = 2010 AND venue.venueid = paper.venueid AND venue.venuename = 'ACL' AND writes.paperid = paper.paperid GROUP BY writes.authorid ORDER BY COUNT(paper.paperid) DESC
Schema:
CREATE TABLE table_25065 (
    "District" text,
    "Vacator" text,
    "Reason for change" text,
    "Successor" text,
    "Date successor seated" text
)

Question: How many Vacators were listed when the district was North Carolina 3rd?

SQL:
SELECT COUNT("Vacator") FROM table_25065 WHERE "District" = 'North Carolina 3rd'
Schema:
CREATE TABLE table_73158 (
    "School" text,
    "City / Town" text,
    "Website" text,
    "Size" real,
    "Principal" text,
    "Grades" text,
    "IDOE Profile" text
)

Question: Where is Bloomington High School North?

SQL:
SELECT "City / Town" FROM table_73158 WHERE "School" = 'Bloomington High School North'
Schema:
CREATE TABLE table_28140141_1 (
    artist VARCHAR,
    show VARCHAR
)

Question: How many artists were there for the show thoroughly modern millie?

SQL:
SELECT COUNT(artist) FROM table_28140141_1 WHERE show = "Thoroughly Modern Millie"
Schema:
CREATE TABLE table_20849830_1 (
    result VARCHAR,
    record VARCHAR
)

Question: What was the result of the game with the record of 3-1?

SQL:
SELECT result FROM table_20849830_1 WHERE record = "3-1"
Schema:
CREATE TABLE table_name_28 (
    player VARCHAR,
    score VARCHAR
)

Question: Which player scored 76-68=144?

SQL:
SELECT player FROM table_name_28 WHERE score = 76 - 68 = 144
Schema:
CREATE TABLE table_46830 (
    "Game" real,
    "November" real,
    "Opponent" text,
    "Score" text,
    "Record" text
)

Question: Can you tell me the Record that has the Game of 19?

SQL:
SELECT "Record" FROM table_46830 WHERE "Game" = '19'
Schema:
CREATE TABLE table_name_75 (
    class VARCHAR,
    name VARCHAR
)

Question: What's the class of the HMS Heartsease?

SQL:
SELECT class FROM table_name_75 WHERE name = "hms heartsease"
Schema:
CREATE TABLE lab (
    subject_id text,
    hadm_id text,
    itemid text,
    charttime text,
    flag text,
    value_unit text,
    label text,
    fluid text
)

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 text,
    discharge_location text,
    diagnosis text,
    dod text,
    dob_year text,
    dod_year text,
    admittime text,
    dischtime text,
    admityear text
)

CREATE TABLE procedures (
    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
)

CREATE TABLE diagnoses (
    subject_id text,
    hadm_id text,
    icd9_code text,
    short_title text,
    long_title text
)

Question: give me the number of patients whose admission type is elective and procedure icd9 code is 3613?

SQL:
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND procedures.icd9_code = "3613"
Schema:
CREATE TABLE table_61774 (
    "Year [e ] (Ceremony)" text,
    "Film title used in nomination" text,
    "Original title" text,
    "Director" text,
    "Main Language(s)" text,
    "Result" text
)

Question: What was the original title for the film used in nomination of street days?

SQL:
SELECT "Original title" FROM table_61774 WHERE "Film title used in nomination" = 'street days'
Schema:
CREATE TABLE table_name_58 (
    points_against VARCHAR,
    club VARCHAR
)

Question: What is the Points against for the ystradgynlais rfc club?

SQL:
SELECT points_against FROM table_name_58 WHERE club = "ystradgynlais rfc"
Schema:
CREATE TABLE table_name_55 (
    round VARCHAR,
    name VARCHAR
)

Question: Which Round has a Name of john goodyear?

SQL:
SELECT round FROM table_name_55 WHERE name = "john goodyear"
Schema:
CREATE TABLE table_name_22 (
    birth VARCHAR,
    ceased_to_be_duke_of_girona VARCHAR
)

Question: WHAT IS THE BIRTH DATE THAT HAS Ceased to be Duke of Girona OF 21 NOVEMBER 1582?

SQL:
SELECT birth FROM table_name_22 WHERE ceased_to_be_duke_of_girona = "21 november 1582"
Schema:
CREATE TABLE table_name_37 (
    italian VARCHAR,
    french VARCHAR
)

Question: what is the italian word for the french word 'mer

SQL:
SELECT italian FROM table_name_37 WHERE french = "mer"
Schema:
CREATE TABLE EMPLOYEE (
    EMP_NUM int,
    EMP_LNAME varchar(15),
    EMP_FNAME varchar(12),
    EMP_INITIAL varchar(1),
    EMP_JOBCODE varchar(5),
    EMP_HIREDATE datetime,
    EMP_DOB datetime
)

CREATE TABLE PROFESSOR (
    EMP_NUM int,
    DEPT_CODE varchar(10),
    PROF_OFFICE varchar(50),
    PROF_EXTENSION varchar(4),
    PROF_HIGH_DEGREE varchar(5)
)

CREATE TABLE COURSE (
    CRS_CODE varchar(10),
    DEPT_CODE varchar(10),
    CRS_DESCRIPTION varchar(35),
    CRS_CREDIT float(8)
)

CREATE TABLE STUDENT (
    STU_NUM int,
    STU_LNAME varchar(15),
    STU_FNAME varchar(15),
    STU_INIT varchar(1),
    STU_DOB datetime,
    STU_HRS int,
    STU_CLASS varchar(2),
    STU_GPA float(8),
    STU_TRANSFER numeric,
    DEPT_CODE varchar(18),
    STU_PHONE varchar(4),
    PROF_NUM int
)

CREATE TABLE CLASS (
    CLASS_CODE varchar(5),
    CRS_CODE varchar(10),
    CLASS_SECTION varchar(2),
    CLASS_TIME varchar(20),
    CLASS_ROOM varchar(8),
    PROF_NUM int
)

CREATE TABLE ENROLL (
    CLASS_CODE varchar(5),
    STU_NUM int,
    ENROLL_GRADE varchar(50)
)

CREATE TABLE DEPARTMENT (
    DEPT_CODE varchar(10),
    DEPT_NAME varchar(30),
    SCHOOL_CODE varchar(8),
    EMP_NUM int,
    DEPT_ADDRESS varchar(20),
    DEPT_EXTENSION varchar(4)
)

Question: Find the number of professors with a PhD degree in each department Show bar chart, I want to display by the Y from low to high.

SQL:
SELECT DEPT_CODE, COUNT(*) FROM PROFESSOR WHERE PROF_HIGH_DEGREE = 'Ph.D.' GROUP BY DEPT_CODE ORDER BY COUNT(*)
Schema:
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 text,
    gender text,
    language text,
    religion text,
    admission_type text,
    days_stay text,
    insurance text,
    ethnicity text,
    expire_flag text,
    admission_location text,
    discharge_location text,
    diagnosis text,
    dod text,
    dob_year text,
    dod_year text,
    admittime text,
    dischtime text,
    admityear text
)

CREATE TABLE procedures (
    subject_id text,
    hadm_id text,
    icd9_code text,
    short_title text,
    long_title text
)

CREATE TABLE diagnoses (
    subject_id text,
    hadm_id text,
    icd9_code text,
    short_title text,
    long_title text
)

CREATE TABLE lab (
    subject_id text,
    hadm_id text,
    itemid text,
    charttime text,
    flag text,
    value_unit text,
    label text,
    fluid text
)

Question: what is admission time and lab test name of subject id 22377?

SQL:
SELECT demographic.admittime, lab.label FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.subject_id = "22377"
Schema:
CREATE TABLE table_11951237_3 (
    season__number INTEGER,
    production_code VARCHAR
)

Question: What is the season # where production code is k1505?

SQL:
SELECT MIN(season__number) FROM table_11951237_3 WHERE production_code = "K1505"
Schema:
CREATE TABLE table_name_13 (
    nationality VARCHAR,
    ranking VARCHAR,
    name VARCHAR
)

Question: What nationality has a ranking less than 7 with tony stenson as the name?

SQL:
SELECT nationality FROM table_name_13 WHERE ranking < 7 AND name = "tony stenson"
Schema:
CREATE TABLE table_55647 (
    "Player" text,
    "Pos." text,
    "From" real,
    "School/Country" text,
    "Rebs" real,
    "Asts" real
)

Question: What is the earliest year a SG has over 650 assists?

SQL:
SELECT MIN("From") FROM table_55647 WHERE "Pos." = 'sg' AND "Asts" > '650'
Schema:
CREATE TABLE table_298883_5 (
    reverse VARCHAR,
    value VARCHAR
)

Question: What is on the reverse side of the 100 coin?

SQL:
SELECT reverse FROM table_298883_5 WHERE value = "₩100"
Schema:
CREATE TABLE table_23887174_1 (
    number_of_cantons__gavars_ VARCHAR,
    armenian_name VARCHAR
)

Question: How many different numbers of cantons does the province with the Armenian name have?

SQL:
SELECT COUNT(number_of_cantons__gavars_) FROM table_23887174_1 WHERE armenian_name = "Վասպուրական"
Schema:
CREATE TABLE table_name_67 (
    name VARCHAR,
    rank VARCHAR
)

Question: What is the Name of the Players with a Rank of 18?

SQL:
SELECT name FROM table_name_67 WHERE rank = 18
Schema:
CREATE TABLE table_name_77 (
    year VARCHAR,
    opponent VARCHAR,
    player VARCHAR
)

Question: What year for geelong player john roberts?

SQL:
SELECT year FROM table_name_77 WHERE opponent = "geelong" AND player = "john roberts"
Schema:
CREATE TABLE table_46537 (
    "Name" text,
    "Country" text,
    "Loan Club" text,
    "Started" text,
    "Ended" text,
    "Start Source" text
)

Question: What is the start source of the irl country, which ended on 13 April?

SQL:
SELECT "Start Source" FROM table_46537 WHERE "Country" = 'irl' AND "Ended" = '13 april'
Schema:
CREATE TABLE table_name_68 (
    country VARCHAR,
    time VARCHAR
)

Question: What is Country, when Time is 1:29.43.60?

SQL:
SELECT country FROM table_name_68 WHERE time = "1:29.43.60"
Schema:
CREATE TABLE table_name_38 (
    distance VARCHAR,
    stages VARCHAR,
    year VARCHAR
)

Question: How long was the 16 staged event in 1997?

SQL:
SELECT distance FROM table_name_38 WHERE stages = "16" AND year = "1997"
Schema:
CREATE TABLE table_name_80 (
    wu_xing___五行__ VARCHAR,
    korean___rr__ VARCHAR
)

Question: What is Wu Xing ( ) with Korean (RR) of (im)?

SQL:
SELECT wu_xing___五行__ FROM table_name_80 WHERE korean___rr__ = "임 (im)"
Schema:
CREATE TABLE table_62584 (
    "Player" text,
    "Country" text,
    "Year(s) won" text,
    "Total" real,
    "To par" real
)

Question: Which player is from south africa?

SQL:
SELECT "Player" FROM table_62584 WHERE "Country" = 'south africa'
Schema:
CREATE TABLE table_44728 (
    "Internet Plan" text,
    "Downstream" text,
    "Upstream" text,
    "Bandwidth Included" text,
    "Price" text
)

Question: What is the upstream with the price 65 chf?

SQL:
SELECT "Upstream" FROM table_44728 WHERE "Price" = '65 chf'
Schema:
CREATE TABLE table_71578 (
    "Elector" text,
    "Order" text,
    "Title" text,
    "Elevated" text,
    "Elevator" text
)

Question: What's the Order with an Elector of Marino Bulcani?

SQL:
SELECT "Order" FROM table_71578 WHERE "Elector" = 'marino bulcani'
Schema:
CREATE TABLE table_name_61 (
    finish VARCHAR,
    to_par VARCHAR,
    year_s__won VARCHAR
)

Question: Which Finish has a To par of 1, and a Year(s) won of 1955?

SQL:
SELECT finish FROM table_name_61 WHERE to_par = "–1" AND year_s__won = "1955"
Schema:
CREATE TABLE table_name_32 (
    nationality VARCHAR,
    year VARCHAR,
    position VARCHAR
)

Question: What nationality has a year larger than 2009 with a position of power forward?

SQL:
SELECT nationality FROM table_name_32 WHERE year > 2009 AND position = "power forward"
Schema:
CREATE TABLE table_8150 (
    "Game" real,
    "Date" text,
    "Team" text,
    "Score" text,
    "High points" text,
    "High rebounds" text,
    "High assists" text,
    "Location Attendance" text,
    "Record" text
)

Question: Where was the location attendance when Minnesota played?

SQL:
SELECT "Location Attendance" FROM table_8150 WHERE "Team" = 'minnesota'
Schema:
CREATE TABLE customer (
    customerid number,
    firstname text,
    lastname text,
    company text,
    address text,
    city text,
    state text,
    country text,
    postalcode text,
    phone text,
    fax text,
    email text,
    supportrepid number
)

CREATE TABLE employee (
    employeeid number,
    lastname text,
    firstname text,
    title text,
    reportsto number,
    birthdate time,
    hiredate time,
    address text,
    city text,
    state text,
    country text,
    postalcode text,
    phone text,
    fax text,
    email text
)

CREATE TABLE playlist (
    playlistid number,
    name text
)

CREATE TABLE invoice (
    invoiceid number,
    customerid number,
    invoicedate time,
    billingaddress text,
    billingcity text,
    billingstate text,
    billingcountry text,
    billingpostalcode text,
    total number
)

CREATE TABLE invoiceline (
    invoicelineid number,
    invoiceid number,
    trackid number,
    unitprice number,
    quantity number
)

CREATE TABLE playlisttrack (
    playlistid number,
    trackid number
)

CREATE TABLE mediatype (
    mediatypeid number,
    name text
)

CREATE TABLE artist (
    artistid number,
    name text
)

CREATE TABLE album (
    albumid number,
    title text,
    artistid number
)

CREATE TABLE genre (
    genreid number,
    name text
)

CREATE TABLE track (
    trackid number,
    name text,
    albumid number,
    mediatypeid number,
    genreid number,
    composer text,
    milliseconds number,
    bytes number,
    unitprice number
)

Question: Find the names of all the tracks that contain the word 'you'.

SQL:
SELECT name FROM track WHERE name LIKE '%you%'
Schema:
CREATE TABLE table_2031 (
    "Year" real,
    "Division" real,
    "League" text,
    "Regular Season" text,
    "Playoffs" text,
    "Open Cup" text
)

Question: In what season did the team get in the conference finals of the playoffs?

SQL:
SELECT "Regular Season" FROM table_2031 WHERE "Playoffs" = 'Conference Finals'