answer
stringlengths
6
3.91k
question
stringlengths
7
766
context
stringlengths
27
7.14k
SELECT COUNT(elevation__m_) FROM table_2251578_4 WHERE district = "Paratia"
How many elevations are listed for Paratia?
CREATE TABLE table_2251578_4 (elevation__m_ VARCHAR, district VARCHAR)
SELECT MAX(points) FROM table_name_34 WHERE grid < 13 AND time_retired = "+7.538 secs"
What is the biggest points when the grid is less than 13 and the time/retired is +7.538 secs?
CREATE TABLE table_name_34 ( points INTEGER, grid VARCHAR, time_retired VARCHAR )
SELECT COUNT(silver) FROM table_name_18 WHERE gold < 1 AND bronze = 0 AND total < 2
Name the number of silver when gold is less than 1 and bronze is 0 when total is less than 2
CREATE TABLE table_name_18 (silver VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT province FROM table_2251578_4 WHERE district = "Condoroma"
What province is in the district of Condoroma?
CREATE TABLE table_2251578_4 (province VARCHAR, district VARCHAR)
SELECT senior_status FROM table_name_30 WHERE chief_judge = "1991–1995"
Which Senior status has a Chief Judge of 1991 1995?
CREATE TABLE table_name_30 ( senior_status VARCHAR, chief_judge VARCHAR )
SELECT traffic_direction FROM table_name_88 WHERE street = "70th street"
What is the traffic direction of 70th street?
CREATE TABLE table_name_88 (traffic_direction VARCHAR, street VARCHAR)
SELECT reporters FROM table_22514845_2 WHERE year = 2003
Name the reporters for 2003
CREATE TABLE table_22514845_2 (reporters VARCHAR, year VARCHAR)
SELECT t1.labname FROM (SELECT lab.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM lab WHERE DATETIME(lab.labresulttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY lab.labname) AS t1 WHERE t1.c1 <= 4
what were the four most commonly performed lab tests during the last year?
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text )
SELECT traffic_direction FROM table_name_8 WHERE west = "2nd avenue" AND _number_of_lanes = "1" AND street = "64th street"
What is the traffic direction of 64th street with 2nd avenue to the west and 1 lane?
CREATE TABLE table_name_8 (traffic_direction VARCHAR, street VARCHAR, west VARCHAR, _number_of_lanes VARCHAR)
SELECT COUNT(race_caller) FROM table_22514845_2 WHERE trophy_presentation = "Bob Costas and Charlsie Cantey"
Name the total number for race caller for bob costas and charlsie cantey
CREATE TABLE table_22514845_2 (race_caller VARCHAR, trophy_presentation VARCHAR)
SELECT All_Home, Team_ID FROM basketball_match GROUP BY ACC_Road, All_Home ORDER BY All_Home
Stacked bar chart of team_id for with each ACC_Road in each all home, I want to sort from low to high by the x-axis.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT traffic_direction FROM table_name_94 WHERE street = "97th street"
What is the traffic direction of 97th street?
CREATE TABLE table_name_94 (traffic_direction VARCHAR, street VARCHAR)
SELECT race_caller FROM table_22514845_3 WHERE year = 1994
Who is the race caller for the year 1994?
CREATE TABLE table_22514845_3 (race_caller VARCHAR, year VARCHAR)
SELECT status FROM table_name_11 WHERE monarch = "henry i" AND reason = "succession unclear 1100-1103"
What is the Status when Henry I is the Monarch and the Reason is succession unclear 1100-1103?
CREATE TABLE table_name_11 ( status VARCHAR, monarch VARCHAR, reason VARCHAR )
SELECT _number_of_lanes FROM table_name_43 WHERE street = "20th street"
What is the # of lanes on 20th street?
CREATE TABLE table_name_43 (_number_of_lanes VARCHAR, street VARCHAR)
SELECT COUNT(reporters) FROM table_22514845_3 WHERE year = 1993
How many reporters for the year 1993?
CREATE TABLE table_22514845_3 (reporters VARCHAR, year VARCHAR)
SELECT scored_1, 500 AS _points FROM table_name_34 WHERE years_played = "2004–2008" AND name = "jolene anderson"
WHich Scored 1,500 Points has a Years Played of 2004 2008 and a Name of jolene anderson?
CREATE TABLE table_name_34 ( scored_1 VARCHAR, years_played VARCHAR, name VARCHAR )
SELECT driver FROM table_name_40 WHERE entrant = "marlboro mclaren peugeot"
Who drove the Marlboro Mclaren Peugeot?
CREATE TABLE table_name_40 (driver VARCHAR, entrant VARCHAR)
SELECT starting_odds FROM table_22517564_3 WHERE opening_odds = "2-1"
What were the starting odds for the opening odds of 2-1?
CREATE TABLE table_22517564_3 (starting_odds VARCHAR, opening_odds VARCHAR)
SELECT DISTINCT dataset.datasetid, paper.year FROM dataset, keyphrase, paper, paperdataset, paperkeyphrase WHERE keyphrase.keyphrasename = 'deep learning' AND paperdataset.datasetid = dataset.datasetid AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paperkeyphrase.paperid = paperdataset.paperid AND paper.paperid = paperdataset.paperid ORDER BY paper.year
what was the first deep learning paper ?
CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE field ( fieldid int ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE paperfield ( fieldid int, paperid int )
SELECT tyre FROM table_name_93 WHERE entrant = "team lotus" AND driver = "mika salo"
What tyre did Mika Salo use for team Lotus?
CREATE TABLE table_name_93 (tyre VARCHAR, entrant VARCHAR, driver VARCHAR)
SELECT jockey FROM table_22517564_3 WHERE opening_odds = "4-1"
Who was the jockey with opening odds of 4-1?
CREATE TABLE table_22517564_3 (jockey VARCHAR, opening_odds VARCHAR)
SELECT lmpc_winning_team FROM table_24037660_2 WHERE rnd = 3
What was the winning team lmpc in rnd 3?
CREATE TABLE table_24037660_2 ( lmpc_winning_team VARCHAR, rnd VARCHAR )
SELECT driver FROM table_name_99 WHERE entrant = "tourtel larrousse f1"
Which driver drove the Tourtel Larrousse F1?
CREATE TABLE table_name_99 (driver VARCHAR, entrant VARCHAR)
SELECT COUNT(jockey) FROM table_22517564_3 WHERE trainer = "Eoin Harty"
HOw many jockeys had eoin harty as a trainer
CREATE TABLE table_22517564_3 (jockey VARCHAR, trainer VARCHAR)
SELECT booking_status_code, COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code
How many bookings does each booking status have? List the booking status code and the number of corresponding bookings in a pie chart.
CREATE TABLE Apartment_Bookings ( apt_booking_id INTEGER, apt_id INTEGER, guest_id INTEGER, booking_status_code CHAR(15), booking_start_date DATETIME, booking_end_date DATETIME ) CREATE TABLE View_Unit_Status ( apt_id INTEGER, apt_booking_id INTEGER, status_date DATETIME, available_yn BIT ) CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), apt_number CHAR(10), bathroom_count INTEGER, bedroom_count INTEGER, room_count CHAR(5) ) CREATE TABLE Guests ( guest_id INTEGER, gender_code CHAR(1), guest_first_name VARCHAR(80), guest_last_name VARCHAR(80), date_of_birth DATETIME ) CREATE TABLE Apartment_Facilities ( apt_id INTEGER, facility_code CHAR(15) ) CREATE TABLE Apartment_Buildings ( building_id INTEGER, building_short_name CHAR(15), building_full_name VARCHAR(80), building_description VARCHAR(255), building_address VARCHAR(255), building_manager VARCHAR(50), building_phone VARCHAR(80) )
SELECT constructor FROM table_name_92 WHERE rounds = "all" AND driver = "gerhard berger"
Who constructed Gerhard Berger car that went all rounds?
CREATE TABLE table_name_92 (constructor VARCHAR, rounds VARCHAR, driver VARCHAR)
SELECT post FROM table_22517564_3 WHERE horse_name = "Chocolate Candy"
Which post had the horse named chocolate candy?
CREATE TABLE table_22517564_3 (post VARCHAR, horse_name VARCHAR)
SELECT date FROM table_name_55 WHERE matches < 32 AND round = "fifth round proper"
What is Date, when Matches is less than 32, and when Round is Fifth Round Proper?
CREATE TABLE table_name_55 ( date VARCHAR, matches VARCHAR, round VARCHAR )
SELECT visitor FROM table_name_64 WHERE home = "phoenix" AND record = "2–5–0"
Who visited phoenix with a Record of 2–5–0?
CREATE TABLE table_name_64 (visitor VARCHAR, home VARCHAR, record VARCHAR)
SELECT date_successor_seated FROM table_225199_4 WHERE district = "Virginia 11th"
What is every date successor seated for the Virginia 11th District?
CREATE TABLE table_225199_4 (date_successor_seated VARCHAR, district VARCHAR)
SELECT "Coefficient" FROM table_74455 WHERE "Tournament" = '2010 Clausura'
the 2010 clausura tournament?
CREATE TABLE table_74455 ( "Tournament" text, "Player" text, "Nationality" text, "Team" text, "Games played" real, "Goals conceded" real, "Coefficient" text )
SELECT decision FROM table_name_17 WHERE record = "3–5–0"
What decision had a Record of 3–5–0?
CREATE TABLE table_name_17 (decision VARCHAR, record VARCHAR)
SELECT successor FROM table_225200_4 WHERE date_successor_seated = "Not filled this congress"
Name the successor for not filled this congress
CREATE TABLE table_225200_4 (successor VARCHAR, date_successor_seated VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "11" AND diagnoses.long_title = "Aftercare for healing traumatic fracture of lower leg"
provide the number of patients whose days of hospital stay is greater than 11 and diagnoses long title is aftercare for healing traumatic fracture of lower leg?
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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid 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 ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT MIN(attendance) FROM table_name_38 WHERE home = "phoenix" AND record = "1–0–0"
What is the low attendance was based in phoenix with a Record of 1–0–0?
CREATE TABLE table_name_38 (attendance INTEGER, home VARCHAR, record VARCHAR)
SELECT district FROM table_225200_4 WHERE reason_for_change = "Rep. Warren R. Davis died during previous congress"
Name the district for rep. warren r. davis died during previous congress
CREATE TABLE table_225200_4 (district VARCHAR, reason_for_change VARCHAR)
SELECT points_classification_navy_blue_jersey FROM table_name_8 WHERE general_classification_yellow_jersey = "graeme brown"
Which Points Classification Navy Blue Jersey that has a Jersey of Graeme Brown
CREATE TABLE table_name_8 ( points_classification_navy_blue_jersey VARCHAR, general_classification_yellow_jersey VARCHAR )
SELECT score FROM table_name_88 WHERE home = "phoenix" AND record = "3–6–0"
What was the score did phoenix have with a Record of 3–6–0 at home?
CREATE TABLE table_name_88 (score VARCHAR, home VARCHAR, record VARCHAR)
SELECT COUNT(reason_for_change) FROM table_225200_4 WHERE date_successor_seated = "Not filled this congress"
Name the total number of reason for change for not filled this congress
CREATE TABLE table_225200_4 (reason_for_change VARCHAR, date_successor_seated VARCHAR)
SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t3.itemid FROM (SELECT t2.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'cv cath plcmt w guidance') AND STRFTIME('%y', procedures_icd.charttime) = '2105') AS t1 JOIN (SELECT admissions.subject_id, labevents.itemid, labevents.charttime FROM labevents JOIN admissions ON labevents.hadm_id = admissions.hadm_id WHERE STRFTIME('%y', labevents.charttime) = '2105') AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.charttime AND DATETIME(t1.charttime, 'start of month') = DATETIME(t2.charttime, 'start of month') GROUP BY t2.itemid) AS t3 WHERE t3.c1 <= 3)
in 2105, what are the three most frequent laboratory tests ordered for patients during the same month after receiving cv cath plcmt w guidance?
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 patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value 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 cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) 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 d_labitems ( row_id number, itemid number, label text ) CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) 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 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 d_items ( row_id number, itemid number, label text, linksto 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 labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text )
SELECT record FROM table_name_95 WHERE home = "anaheim"
What was the record while at home in Anaheim?
CREATE TABLE table_name_95 (record VARCHAR, home VARCHAR)
SELECT vacator FROM table_225200_4 WHERE reason_for_change = "Resigned February 26, 1836 because of ill health"
Name the vacator for resigned february 26, 1836 because of ill health
CREATE TABLE table_225200_4 (vacator VARCHAR, reason_for_change VARCHAR)
SELECT "Surface" FROM table_47414 WHERE "Score" = '4–6, 6–4, 3–6'
What is the Surface of the court in the match with a Score of 4 6, 6 4, 3 6?
CREATE TABLE table_47414 ( "Outcome" text, "Year" real, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text )
SELECT inning FROM table_name_86 WHERE team = "minnesota twins" AND date = "06-07-1961"
Which inning were the Minnesota Twins in on 06-07-1961?
CREATE TABLE table_name_86 (inning VARCHAR, team VARCHAR, date 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 COUNT(*) > 0 FROM semester WHERE NOT semester IN (SELECT DISTINCT SEMESTERalias1.semester FROM course AS COURSEalias0, course_offering AS COURSE_OFFERINGalias0, semester AS SEMESTERalias1 WHERE COURSEalias0.course_id = COURSE_OFFERINGalias0.course_id AND COURSEalias0.department = 'SPANISH' AND COURSEalias0.number = 278 AND SEMESTERalias1.semester_id = COURSE_OFFERINGalias0.semester)
SPANISH 278 is offered every semester , correct ?
CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varchar, country varchar, zip int ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE area ( course_id int, area varchar ) CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE program_course ( program_id int, course_id int, workload int, category varchar ) CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, enforced_requirement varchar, description varchar, num_semesters int, num_enrolled int, has_discussion varchar, has_lab varchar, has_projects varchar, has_exams varchar, num_reviews int, clarity_score int, easiness_score int, helpfulness_score int ) CREATE TABLE instructor ( instructor_id int, name varchar, uniqname varchar ) CREATE TABLE course_offering ( offering_id int, course_id int, semester int, section_number int, start_time time, end_time time, monday varchar, tuesday varchar, wednesday varchar, thursday varchar, friday varchar, saturday varchar, sunday varchar, has_final_project varchar, has_final_exam varchar, textbook varchar, class_address varchar, allow_audit varchar ) CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int ) CREATE TABLE course_tags_count ( course_id int, clear_grading int, pop_quiz int, group_projects int, inspirational int, long_lectures int, extra_credit int, few_tests int, good_feedback int, tough_tests int, heavy_papers int, cares_for_students int, heavy_assignments int, respected int, participation int, heavy_reading int, tough_grader int, hilarious int, would_take_again int, good_lecture int, no_skip int ) CREATE TABLE student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varchar, test_id varchar ) CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE student ( student_id int, lastname varchar, firstname varchar, program_id int, declare_major varchar, total_credit int, total_gpa float, entered_as varchar, admit_term int, predicted_graduation_semester int, degree varchar, minor varchar, internship varchar )
SELECT away_team FROM table_name_16 WHERE venue = "arden street oval"
Who was the away team at the game held at Arden Street Oval?
CREATE TABLE table_name_16 (away_team VARCHAR, venue VARCHAR)
SELECT state__class_ FROM table_225205_3 WHERE reason_for_change = "Iowa admitted to the Union December 28, 1846"
Name the state class for iowa admitted to the union december 28, 1846
CREATE TABLE table_225205_3 (state__class_ VARCHAR, reason_for_change VARCHAR)
SELECT finished FROM table_14345690_5 WHERE exited = "Day 11"
What is the finished place where exited is day 11?
CREATE TABLE table_14345690_5 ( finished VARCHAR, exited VARCHAR )
SELECT venue FROM table_name_91 WHERE away_team = "footscray"
What is the name of the venue that away team footscray played at?
CREATE TABLE table_name_91 (venue VARCHAR, away_team VARCHAR)
SELECT vacator FROM table_225206_3 WHERE reason_for_change = "Failure to elect"
Who was the vacator when the reason for change was failure to elect?
CREATE TABLE table_225206_3 (vacator VARCHAR, reason_for_change VARCHAR)
SELECT time FROM table_26842217_8 WHERE visiting_team = "Clemson"
If the visiting team is Clemson, when was the time?
CREATE TABLE table_26842217_8 ( time VARCHAR, visiting_team VARCHAR )
SELECT date FROM table_name_74 WHERE venue = "princes park"
What date was the game played at princes park?
CREATE TABLE table_name_74 (date VARCHAR, venue VARCHAR)
SELECT COUNT(nat) FROM table_22542179_3 WHERE total_g = 6
Name the number of nat for total g of 6
CREATE TABLE table_22542179_3 (nat VARCHAR, total_g VARCHAR)
SELECT "Tries against" FROM table_22022 WHERE "Points for" = '150'
How many tries against were there with points of 150?
CREATE TABLE table_22022 ( "Club" text, "Played" text, "Won" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text )
SELECT COUNT(track) FROM table_name_75 WHERE recorded = "1964-01-08"
How many tracks were Recorded 1964-01-08?
CREATE TABLE table_name_75 (track VARCHAR, recorded VARCHAR)
SELECT l_g FROM table_22542179_3 WHERE player = "Rubio"
Name the l g for rubio
CREATE TABLE table_22542179_3 (l_g VARCHAR, player VARCHAR)
SELECT COUNT("Outgoing manager") FROM table_30340 WHERE "Team" = 'Sunshine Stars'
how many managers left sunshine stars?
CREATE TABLE table_30340 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Incoming manager" text, "Date of appointment" text )
SELECT translation FROM table_name_61 WHERE composer = "jacques brel, rod mckuen"
WhatTranslation has a Composer of jacques brel, rod mckuen?
CREATE TABLE table_name_61 (translation VARCHAR, composer VARCHAR)
SELECT MIN(total_apps) FROM table_22542179_3 WHERE player = "Txema"
Name the least total apaps for txema
CREATE TABLE table_22542179_3 (total_apps INTEGER, player VARCHAR)
SELECT london_borough FROM table_19149550_9 WHERE pakistani_population = 7797
What's the London borough with 7797 Pakistani citizens?
CREATE TABLE table_19149550_9 ( london_borough VARCHAR, pakistani_population VARCHAR )
SELECT recorded FROM table_name_31 WHERE track > 2 AND translation = "the last meal"
Which recording has a Track larger than 2, and a Translation of the last meal?
CREATE TABLE table_name_31 (recorded VARCHAR, track VARCHAR, translation VARCHAR)
SELECT COUNT(pop__km²) FROM table_2252745_1 WHERE administrative_centre = "Egilsstaðir"
when administrative centre is egilsstaðir, what is the pop./ km²?
CREATE TABLE table_2252745_1 (pop__km² VARCHAR, administrative_centre VARCHAR)
SELECT "High assists" FROM table_1352 WHERE "Date" = 'December 14'
Name the high assists for december 14
CREATE TABLE table_1352 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT title FROM table_name_90 WHERE track = 3
Which title has a Track of 3?
CREATE TABLE table_name_90 (title VARCHAR, track VARCHAR)
SELECT pop__km² FROM table_2252745_1 WHERE area__km²_ = 22721
when the area (km²) is 22721, what is the pop./ km²?
CREATE TABLE table_2252745_1 (pop__km² VARCHAR, area__km²_ VARCHAR)
SELECT "Margin of victory" FROM table_41402 WHERE "Runner(s)-up" = 'jack nicklaus'
By how many strokes did Lema beat Jack Nicklaus?
CREATE TABLE table_41402 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text )
SELECT date FROM table_name_9 WHERE home = "new jersey" AND record = "7-23-7"
When was the home game when the New Jersey team's record became 7-23-7?
CREATE TABLE table_name_9 (date VARCHAR, home VARCHAR, record VARCHAR)
SELECT MAX(population_2008_07_01) FROM table_2252745_1 WHERE administrative_centre = "Selfoss"
What is the max pop of 2008 for selfoss?
CREATE TABLE table_2252745_1 (population_2008_07_01 INTEGER, administrative_centre VARCHAR)
SELECT COUNT(title) FROM table_10718631_2 WHERE no_in_series = 113
How many titles were there for the 113 episode?
CREATE TABLE table_10718631_2 ( title VARCHAR, no_in_series VARCHAR )
SELECT college FROM table_name_86 WHERE pick = 11
What college has a pick of 11?
CREATE TABLE table_name_86 (college VARCHAR, pick VARCHAR)
SELECT pop__km² FROM table_2252745_1 WHERE _number = 4
When the # is 4, what is the pop./ km²?
CREATE TABLE table_2252745_1 (pop__km² VARCHAR, _number VARCHAR)
SELECT q.Id AS "post_link", q.Tags FROM Posts AS q INNER JOIN Posts AS a ON q.Id = a.ParentId WHERE a.OwnerUserId = @UserId AND NOT q.Tags LIKE '%<python>%'
My answers for questions not containing Python tag.
CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ApprovalDate time, ApprovalModeratorId number, DeactivationDate time, DeactivationModeratorId number ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE FlagTypes ( Id number, Name text, Description text ) CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount number, LastAutoRename time, Score number, ApprovedByUserId number, ApprovalDate time ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId number ) CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text, RevisionGUID other ) CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDisplayName text, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense text ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, ContentLicense text ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ProfileImageUrl text, EmailHash text, AccountId number ) CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDisplayName text, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense text ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number )
SELECT AVG(pick) FROM table_name_28 WHERE college = "florida state"
What is the average pick of Florida State?
CREATE TABLE table_name_28 (pick INTEGER, college VARCHAR)
SELECT player FROM table_22538587_3 WHERE l_apps = 17
Name the player for l apps for 17
CREATE TABLE table_22538587_3 (player VARCHAR, l_apps VARCHAR)
SELECT intakeoutput.celllabel FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-77687')) AND intakeoutput.cellpath LIKE '%intake%' AND DATETIME(intakeoutput.intakeoutputtime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month') AND STRFTIME('%d', intakeoutput.intakeoutputtime) = '30' ORDER BY intakeoutput.intakeoutputtime LIMIT 1
what was the name of the intake that patient 005-77687 on last month/30 first had?
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time )
SELECT AVG(pick) FROM table_name_63 WHERE college = "san diego state"
What is the average pick of San Diego State?
CREATE TABLE table_name_63 (pick INTEGER, college VARCHAR)
SELECT MIN(total_apps) FROM table_22538587_3 WHERE player = "Jaime"
Name the least total apps for jaime
CREATE TABLE table_22538587_3 (total_apps INTEGER, player VARCHAR)
SELECT COUNT(stadium) FROM table_11208143_9 WHERE capacity = 7500
How many stadiums are there with a capacity of 7500?
CREATE TABLE table_11208143_9 ( stadium VARCHAR, capacity VARCHAR )
SELECT MIN(sp) + fs FROM table_name_64 WHERE name = "miljan begovic" AND placings > 189
What is the lowest value for SP+FS for Miljan Begovic with a greater than 189 place?
CREATE TABLE table_name_64 (fs VARCHAR, sp INTEGER, name VARCHAR, placings VARCHAR)
SELECT COUNT(l_g) FROM table_22538587_3 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_22538587_3 (l_g VARCHAR, c_g VARCHAR, c_apps VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2170" AND lab.label = "Other Cells"
How many patients born before the year 2170 had a lab test named other cells?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid 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 )
SELECT AVG(points) FROM table_name_42 WHERE rank < 12 AND name = "david santee"
What is the average points value for a rank less than 12 for David Santee?
CREATE TABLE table_name_42 (points INTEGER, rank VARCHAR, name VARCHAR)
SELECT result FROM table_22577693_1 WHERE runner_up = "[[|]] 151/8 (50.0 overs)"
If the runner-up is [[|]] 151/8 (50.0 overs), what were the results?
CREATE TABLE table_22577693_1 (result VARCHAR, runner_up VARCHAR)
SELECT diagnoses.long_title, procedures.short_title FROM diagnoses INNER JOIN procedures ON diagnoses.hadm_id = procedures.hadm_id WHERE diagnoses.subject_id = "23733"
what is diagnoses long title and procedure short title of subject id 23733?
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 ) 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 )
SELECT COUNT(rank) FROM table_name_44 WHERE points = 185.16 AND sp + fs > 5
What is the total number for Rank with 185.16 points and a SP+FS value greater than 5?
CREATE TABLE table_name_44 (rank VARCHAR, points VARCHAR, sp VARCHAR, fs VARCHAR)
SELECT host_nation_s_ FROM table_22577693_1 WHERE winner = "Hong Kong 207/6 (47.1 overs)"
What is the name of the host nations if the winner was Hong Kong 207/6 (47.1 overs)?
CREATE TABLE table_22577693_1 (host_nation_s_ VARCHAR, winner VARCHAR)
SELECT JOB_ID, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of job_id and department_id in a bar chart.
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) )
SELECT MAX(sp) + fs FROM table_name_27 WHERE points > 164.56 AND rank > 1 AND name = "mitsuru matsumura"
What is the largest value for SP+FS with more than 164.56 points for Mitsuru Matsumura in a Rank greater than 1?
CREATE TABLE table_name_27 (fs VARCHAR, sp INTEGER, name VARCHAR, points VARCHAR, rank VARCHAR)
SELECT details FROM table_22577693_1 WHERE result = "Kuwait won by 72 runs Scorecard"
If the results are Kuwait won by 72 runs scorecard, what are the details?
CREATE TABLE table_22577693_1 (details VARCHAR, result VARCHAR)
SELECT * FROM table_train_42 WHERE allergy_to_vitamin_c = 1 OR allergy_to_thiamine = 1
patients with a history of hypersensitivity to vitamin c or thiamine
CREATE TABLE table_train_42 ( "id" int, "taking_vitamin_c" bool, "do_not_resuscitate_dnr" bool, "allergy_to_thiamine" bool, "taking_thiamine" bool, "receiving_vasopressor" bool, "sepsis" bool, "hypotension" bool, "allergy_to_vitamin_c" bool, "glucose_6_phosphate_dehydrogenase_deficiency_g6pd" int, "limited_care" bool, "septic_shock" bool, "NOUSE" float )
SELECT variant__with_niqqud__ FROM table_name_84 WHERE phonetic_realisation = "[[[|u]]]"
When phonetic realisation is [[[|u]]], what is the variant with niqqud?
CREATE TABLE table_name_84 (variant__with_niqqud__ VARCHAR, phonetic_realisation VARCHAR)
SELECT winner FROM table_22577693_1 WHERE final_venue = "Kowloon Cricket Club"
Who was the winner if the final venue is Kowloon Cricket Club?
CREATE TABLE table_22577693_1 (winner VARCHAR, final_venue VARCHAR)
SELECT dorm_name, AVG(T1.Age) FROM Student AS T1 JOIN Lives_in AS T2 ON T1.stuid = T2.stuid JOIN Dorm AS T3 ON T3.dormid = T2.dormid GROUP BY T3.dorm_name ORDER BY dorm_name
Find the average age of students living in each dorm and the name of dorm Plot them as bar chart, rank by the bars in asc.
CREATE TABLE Has_amenity ( dormid INTEGER, amenid INTEGER ) CREATE TABLE Dorm_amenity ( amenid INTEGER, amenity_name VARCHAR(25) ) CREATE TABLE Lives_in ( stuid INTEGER, dormid INTEGER, room_number INTEGER ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Dorm ( dormid INTEGER, dorm_name VARCHAR(20), student_capacity INTEGER, gender VARCHAR(1) )
SELECT variant__with_niqqud__ FROM table_name_53 WHERE phonemic_value = "/v/" AND without_niqqud = "as middle letter: וו"
When a variant without niqqud is as middle letter: וו with a phonemic value of /v/, what is the variant with niqqud?
CREATE TABLE table_name_53 (variant__with_niqqud__ VARCHAR, phonemic_value VARCHAR, without_niqqud VARCHAR)
SELECT us_viewers__millions_ FROM table_22570439_1 WHERE series__number = 83
How many u.s. viewers (million) have a series # 83?
CREATE TABLE table_22570439_1 (us_viewers__millions_ VARCHAR, series__number VARCHAR)
SELECT Id FROM Comments WHERE Text = 'http://whathaveyoutried.com'
what have you tried comments.
CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ProfileImageUrl text, EmailHash text, AccountId number ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ApprovalDate time, ApprovalModeratorId number, DeactivationDate time, DeactivationModeratorId number ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDisplayName text, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense text ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId number ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount number, LastAutoRename time, Score number, ApprovedByUserId number, ApprovalDate time ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number ) CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDisplayName text, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense text ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, ContentLicense text ) CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text, RevisionGUID other ) CREATE TABLE FlagTypes ( Id number, Name text, Description text ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text )
SELECT phonetic_realisation FROM table_name_12 WHERE phonemic_value = "/v/" AND without_niqqud = "as initial letter: ו"
What is the phonetic realisation if the phonemic value is /v/ and the without niqqud is as initial letter: ו?
CREATE TABLE table_name_12 (phonetic_realisation VARCHAR, phonemic_value VARCHAR, without_niqqud VARCHAR)
SELECT us_viewers__millions_ FROM table_22570439_1 WHERE season__number = 5
How many u.s. viewers (millions) have 5 as the season #?
CREATE TABLE table_22570439_1 (us_viewers__millions_ VARCHAR, season__number VARCHAR)