instruction
stringlengths
151
7.46k
output
stringlengths
2
4.44k
source
stringclasses
26 values
CREATE TABLE school_details ( school_id number, nickname text, colors text, league text, class text, division text ) CREATE TABLE school ( school_id number, school text, location text, enrollment number, founded number, denomination text, boys_or_girls text, day_...
SELECT denomination FROM school WHERE founded < 1890 INTERSECT SELECT denomination FROM school WHERE founded > 1900
spider
CREATE TABLE table_28821 ( "Category" text, "Player" text, "Games played" real, "Totals" text, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the average for assists per game
SELECT "Average" FROM table_28821 WHERE "Category" = 'Assists per game'
wikisql
CREATE TABLE table_name_22 ( entrant VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which entrant has 25th as the rank?
SELECT entrant FROM table_name_22 WHERE rank = "25th"
sql_create_context
CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JYJSQM text, JY...
SELECT jybgb.BGDH FROM person_info JOIN hz_info JOIN txmzjzjlb JOIN jybgb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = txmzjzjlb.YLJGDM AND hz_info.KH = txmzjzjlb.KH AND hz_info.KLX = txmzjzjlb.KLX AND txmzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND txmzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB WHERE person_info.XM = '华...
css
CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC text, MZZYZDZZBM...
SELECT jybgb.BBCJBW FROM person_info JOIN hz_info JOIN txmzjzjlb JOIN jybgb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = txmzjzjlb.YLJGDM AND hz_info.KH = txmzjzjlb.KH AND hz_info.KLX = txmzjzjlb.KLX AND txmzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND txmzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB WHERE person_info.XM = ...
css
CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, h...
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'diabetes mellitus' AND DATETIME(diagnosis.diagnosistime) <= DATETIME(CURR...
eicu
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE vitalperiodic ( ...
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'ondansetron hcl 4 mg po tabs' AND STRFTIME('%y', me...
eicu
CREATE TABLE t_kc22 ( MED_EXP_DET_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, MED_EXP_BILL_ID text, SOC_SRT_DIRE_CD text, SOC_SRT_DIRE_NM text, DIRE_TYPE number, CHA_ITEM_LEV number, MED_INV_ITEM_TYPE text, MED_DIRE_CD text, MED_DIRE_NM text,...
SELECT AVG(MED_AMOUT) FROM t_kc21 WHERE MED_ORG_DEPT_NM = '泌尿肿瘤科' AND IN_HOSP_DATE BETWEEN '2000-02-11' AND '2021-08-09' AND IN_DIAG_DIS_NM = '瘙痒症' AND CLINIC_TYPE = '住院'
css
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 patient ( uniquep...
SELECT t1.drugstarttime FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'heparin sod (porcine)' AND patient.uniquepid = '016-24379' AND DATETIME(medication.drugstarttime, 'start of month') = DAT...
eicu
CREATE TABLE table_204_659 ( id number, "seat" text, "state" text, "majority" number, "member" text, "party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total of seats ?
SELECT COUNT("seat") FROM table_204_659
squall
CREATE TABLE table_name_3 ( host_country___countries VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the host country in 2007?
SELECT host_country___countries FROM table_name_3 WHERE year = "2007"
sql_create_context
CREATE TABLE table_76381 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What t...
SELECT "Team" FROM table_76381 WHERE "High assists" = 'tony parker (10)' AND "High rebounds" = 'kurt thomas (12)'
wikisql
CREATE TABLE table_name_85 ( venue VARCHAR, league VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which venue hosted the Gridiron Development Football League?
SELECT venue FROM table_name_85 WHERE league = "gridiron development football league"
sql_create_context
CREATE TABLE table_75169 ( "Volume:Issue" text, "Issue Date(s)" text, "Weeks on Top" real, "Song" text, "Artist" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Weeks on Top have an Issue Date(s) of 20 november?
SELECT SUM("Weeks on Top") FROM table_75169 WHERE "Issue Date(s)" = '20 november'
wikisql
CREATE TABLE t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY number, COM_PAY number, DATA_ID text, ENT_ACC_PAY number, ENT_PAY number, F...
SELECT gwyjzb.MED_CLINIC_ID FROM gwyjzb WHERE gwyjzb.PERSON_NM = '冯开朗' AND NOT gwyjzb.MED_CLINIC_ID IN (SELECT t_kc22.MED_CLINIC_ID FROM t_kc22 WHERE t_kc22.AMOUNT < 516.98) UNION SELECT fgwyjzb.MED_CLINIC_ID FROM fgwyjzb WHERE fgwyjzb.PERSON_NM = '冯开朗' AND NOT fgwyjzb.MED_CLINIC_ID IN (SELECT t_kc22.MED_CLINIC_ID FROM...
css
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 microbiologyevents...
SELECT admissions.admission_type FROM admissions WHERE admissions.subject_id = 13329 AND DATETIME(admissions.admittime) <= DATETIME(CURRENT_TIME(), '-3 year') ORDER BY admissions.admittime DESC LIMIT 1
mimic_iii
CREATE TABLE table_name_14 ( elevator VARCHAR, cardinalatial_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the elevator with the cardinalatial title of Deacon of SS. Sergio e Bacco?
SELECT elevator FROM table_name_14 WHERE cardinalatial_title = "deacon of ss. sergio e bacco"
sql_create_context
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 procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, ...
SELECT COUNT(DISTINCT t1.subject_id) 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 = 'rad pancrea...
mimic_iii
CREATE TABLE Dorm ( dormid INTEGER, dorm_name VARCHAR(20), student_capacity INTEGER, gender VARCHAR(1) ) CREATE TABLE Lives_in ( stuid INTEGER, dormid INTEGER, room_number INTEGER ) CREATE TABLE Dorm_amenity ( amenid INTEGER, amenity_name VARCHAR(25) ) CREATE TABLE Has_amenity ( ...
SELECT gender, SUM(student_capacity) FROM Dorm GROUP BY gender
nvbench
CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XLMC text, XM text...
SELECT jyjgzbb.JCZBJGDL, jyjgzbb.JCZBJGDW FROM person_info JOIN hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb JOIN hz_info_mzjzjlb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = hz_info_mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND hz_info_mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND...
css
CREATE TABLE table_13857700_1 ( mens_singles VARCHAR, mens_doubles VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many mens singles with mens doubles being pontus jantti lasse lindel f
SELECT COUNT(mens_singles) FROM table_13857700_1 WHERE mens_doubles = "Pontus Jantti Lasse Lindelöf"
sql_create_context
CREATE TABLE table_name_13 ( match_report VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the match report for the game that was played on 23 august 2008 in stark's park during the second divis...
SELECT match_report FROM table_name_13 WHERE venue = "stark's park" AND competition = "second division" AND date = "23 august 2008"
sql_create_context
CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE SuggestedEditVotes ( ...
SELECT * FROM PostHistory WHERE Comment LIKE '%s/%/%/'
sede
CREATE TABLE table_name_68 ( lead_tpt VARCHAR, bass VARCHAR, alto_1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the lead tpt for bass of kevin tomanka and alto 1 of alan moffett
SELECT lead_tpt FROM table_name_68 WHERE bass = "kevin tomanka" AND alto_1 = "alan moffett"
sql_create_context
CREATE TABLE table_53469 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want to know the home team for mcg venue
SELECT "Home team" FROM table_53469 WHERE "Venue" = 'mcg'
wikisql
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 ...
SELECT (SELECT SUM(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 14611)) AND STRFTIME('%y-%m-%d', inputevents_cv.charttime) <= '2105-11-05') - (SEL...
mimic_iii
CREATE TABLE t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY number, COM_PAY number, DATA_ID text, ENT_ACC_PAY number, ENT_PAY number, F...
SELECT t_kc21.MED_CLINIC_ID FROM t_kc21 WHERE t_kc21.PERSON_NM = '任雅昶' AND t_kc21.MED_CLINIC_ID IN (SELECT t_kc21_t_kc22.MED_CLINIC_ID FROM t_kc22 WHERE t_kc22.AMOUNT > 2237.38)
css
CREATE TABLE table_name_72 ( long INTEGER, player VARCHAR, yards VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the longest carry for kevin clemens with under 31 yards total?
SELECT MAX(long) FROM table_name_72 WHERE player = "kevin clemens" AND yards < 31
sql_create_context
CREATE TABLE table_21979779_1 ( no INTEGER, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the biggest series episode number whose production code is 2t7211?
SELECT MAX(no) FROM table_21979779_1 WHERE production_code = "2T7211"
sql_create_context
CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetake...
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'anemia' AND STRFTIME('%y', diagnosis.diagnosistime...
eicu
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 ( Scho...
SELECT Team_ID, All_Games_Percent FROM basketball_match GROUP BY All_Games
nvbench
CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number int, dual_airline varchar, service_name text ) CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar ) CREATE TABLE ground_service ( city_code text, airport...
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PHILADELPHIA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'B...
atis
CREATE TABLE table_68231 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average attendance San Jose home games?
SELECT AVG("Attendance") FROM table_68231 WHERE "Home" = 'san jose'
wikisql
CREATE TABLE procedures ( 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 ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "45" AND lab.fluid = "Blood"
mimicsql_data
CREATE TABLE table_48819 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What game was played on May 29?
SELECT "Game" FROM table_48819 WHERE "Date" = 'may 29'
wikisql
CREATE TABLE table_20715 ( "Institution" text, "Location" text, "Team Nickname" text, "Joined TSCHL" real, "Home Arena" text, "Capacity" real, "Team Website" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year did the university of Pitt...
SELECT "Joined TSCHL" FROM table_20715 WHERE "Institution" = 'University of Pittsburgh'
wikisql
CREATE TABLE jybgb ( YLJGDM text, YLJGDM_MZJZJLB text, YLJGDM_ZYJZJLB text, BGDH text, BGRQ time, JYLX number, JZLSH text, JZLSH_MZJZJLB text, JZLSH_ZYJZJLB text, JZLX number, KSBM text, KSMC text, SQRGH text, SQRXM text, BGRGH text, BGRXM text, SHRGH ...
SELECT COUNT(*) FROM mzjzjlb WHERE YLJGDM = '5779181' AND JZKSRQ BETWEEN '2014-12-11' AND '2018-04-18' AND ZSEBZ > 0
css
CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XLMC text, XM text, ZYLBDM text, ZYMC text ) CREATE TABLE jyjgzbb ( BGDH text, BGRQ tim...
SELECT AVG(jyjgzbb.JCZBJGDL), MIN(jyjgzbb.JCZBJGDL), MAX(jyjgzbb.JCZBJGDL) FROM mzjzjlb JOIN jyjgzbb ON mzjzjlb.YLJGDM = jyjgzbb.jybgb_YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jyjgzbb.jybgb_JZLSH_MZJZJLB WHERE mzjzjlb.JZZDBM = 'X67.195' AND jyjgzbb.JCZBDM = '691450'
css
CREATE TABLE table_name_34 ( conductor VARCHAR, production VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Conductor of the Three Pintos (Die Drei Pintos) Production?
SELECT conductor FROM table_name_34 WHERE production = "the three pintos (die drei pintos)"
sql_create_context
CREATE TABLE table_33400 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest crowd size when the away tea...
SELECT MIN("Crowd") FROM table_33400 WHERE "Away team score" = '7.19 (61)'
wikisql
CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemics...
SELECT t1.drugname FROM (SELECT medication.drugname, COUNT(medication.drugstarttime) AS c1 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015...
eicu
CREATE TABLE table_51928 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the Kings game attended by more than 18,630 ...
SELECT "Score" FROM table_51928 WHERE "Attendance" > '18,630'
wikisql
CREATE TABLE table_name_8 ( date VARCHAR, winner__title__number_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Date when has robert smith (7)?
SELECT date FROM table_name_8 WHERE winner__title__number_ = "robert smith (7)"
sql_create_context
CREATE TABLE trained_in ( physician number, treatment number, certificationdate time, certificationexpires time ) CREATE TABLE nurse ( employeeid number, name text, position text, registered boolean, ssn number ) CREATE TABLE medication ( code number, name text, brand t...
SELECT patient FROM stay WHERE room = 111 ORDER BY staystart DESC LIMIT 1
spider
CREATE TABLE Stay ( StayID INTEGER, Patient INTEGER, Room INTEGER, StayStart DATETIME, StayEnd DATETIME ) CREATE TABLE On_Call ( Nurse INTEGER, BlockFloor INTEGER, BlockCode INTEGER, OnCallStart DATETIME, OnCallEnd DATETIME ) CREATE TABLE Medication ( Code INTEGER, Name...
SELECT T1.Name, COUNT(*) FROM Physician AS T1 JOIN Patient AS T2 ON T1.EmployeeID = T2.PCP GROUP BY T1.EmployeeID ORDER BY T1.Name DESC
nvbench
CREATE TABLE procedures ( 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 prescription...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "74" AND procedures.icd9_code = "14"
mimicsql_data
CREATE TABLE table_56066 ( "Rank" real, "Name" text, "City" text, "Height" text, "Floors" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of floors for buildings in mecca ranked above 12?
SELECT AVG("Floors") FROM table_56066 WHERE "City" = 'mecca' AND "Rank" < '12'
wikisql
CREATE TABLE table_name_45 ( season INTEGER, rank INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest season that had rank under 1?
SELECT MAX(season) FROM table_name_45 WHERE rank < 1
sql_create_context
CREATE TABLE table_64983 ( "Tournament" text, "1986" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text ) -- Using valid SQLite, answer the following qu...
SELECT "1994" FROM table_64983 WHERE "1995" = '1r'
wikisql
CREATE TABLE table_203_108 ( id number, "kilometers" number, "name" text, "location" text, "intersecting routes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which location comes after kfar yona ?
SELECT "location" FROM table_203_108 WHERE id = (SELECT id FROM table_203_108 WHERE "location" = 'kfar yona' ORDER BY id DESC LIMIT 1) + 1
squall
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, ...
SELECT c.Text, c.Score, p.Id AS "post_link" FROM Comments AS c JOIN Posts AS p ON p.Id = c.PostId WHERE LOWER(Text) LIKE '%what have you tried%' ORDER BY c.Score DESC
sede
CREATE TABLE table_name_44 ( margin_of_victory VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the margin of victory at the Texas International Open?
SELECT margin_of_victory FROM table_name_44 WHERE tournament = "texas international open"
sql_create_context
CREATE TABLE affected_region ( Region_id int, Storm_ID int, Number_city_affected real ) CREATE TABLE region ( Region_id int, Region_code text, Region_name text ) CREATE TABLE storm ( Storm_ID int, Name text, Dates_active text, Max_speed int, Damage_millions_USD real, Nu...
SELECT Dates_active, Number_Deaths FROM storm WHERE Number_Deaths >= 1 ORDER BY Number_Deaths DESC
nvbench
CREATE TABLE table_1342331_11 ( result VARCHAR, first_elected VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the election held in 1914?
SELECT result FROM table_1342331_11 WHERE first_elected = 1914
sql_create_context
CREATE TABLE table_67662 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record after the April 15 game?
SELECT "Record" FROM table_67662 WHERE "Date" = 'april 15'
wikisql
CREATE TABLE table_name_61 ( player VARCHAR, school_club_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player played for Western Kentucky?
SELECT player FROM table_name_61 WHERE school_club_team = "western kentucky"
sql_create_context
CREATE TABLE table_25055040_22 ( mountains_classification VARCHAR, most_courageous VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the mountains classification when Maarten Tjallingii won most corageous?
SELECT mountains_classification FROM table_25055040_22 WHERE most_courageous = "Maarten Tjallingii"
sql_create_context
CREATE TABLE table_50389 ( "Year" real, "Class" text, "Team" text, "Points" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team was in 1951?
SELECT "Team" FROM table_50389 WHERE "Year" = '1951'
wikisql
CREATE TABLE member ( member_id text, name text, nationality text, role text ) CREATE TABLE performance ( performance_id number, date text, host text, location text, attendance number ) CREATE TABLE member_attendance ( member_id number, performance_id number, num_of_pie...
SELECT T3.date FROM member_attendance AS T1 JOIN member AS T2 ON T1.member_id = T2.member_id JOIN performance AS T3 ON T1.performance_id = T3.performance_id WHERE T2.role = "Violin"
spider
CREATE TABLE txmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text, MZZYZDZ...
SELECT jyjgzbb.CKZFWXX, jyjgzbb.CKZFWSX FROM txmzjzjlb JOIN jybgb JOIN jyjgzbb ON txmzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND txmzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM AND jybgb.BGDH = jyjgzbb.BGDH WHERE txmzjzjlb.JZZDSM = '急性支气管炎' AND jyjgzbb.JCZBMC = '触珠蛋白' UNION SELECT jyjgzbb.CKZFWXX, ...
css
CREATE TABLE jyjgzbb ( JYZBLSH text, YLJGDM text, BGDH text, BGRQ time, JYRQ time, JCRGH text, JCRXM text, SHRGH text, SHRXM text, JCXMMC text, JCZBDM text, JCFF text, JCZBMC text, JCZBJGDX text, JCZBJGDL number, JCZBJGDW text, SBBM text, YQBH text...
SELECT RZBQDM, RZBQMC, RYCWH FROM zyjzjlb WHERE JZLSH = '08011688869'
css
CREATE TABLE jyjgzbb ( BGDH text, BGRQ time, CKZFWDX text, CKZFWSX number, CKZFWXX number, JCFF text, JCRGH text, JCRXM text, JCXMMC text, JCZBDM text, JCZBJGDL number, JCZBJGDW text, JCZBJGDX text, JCZBMC text, JLDW text, JYRQ time, JYZBLSH text, ...
SELECT COUNT(*) FROM mzjzjlb WHERE mzjzjlb.YLJGDM = '1552619' AND mzjzjlb.JZKSRQ BETWEEN '2005-04-17' AND '2019-12-11' AND mzjzjlb.ZZBZ > 0
css
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 ...
SELECT DISTINCT course_offering.end_time, course_offering.section_number, course_offering.start_time FROM course, course_offering, semester WHERE course_offering.start_time > '16:15' AND course.course_id = course_offering.course_id AND course.department = 'NURS' AND course.number = 541 AND semester.semester = 'WN' AND ...
advising
CREATE TABLE table_name_79 ( cabinet VARCHAR, chair VARCHAR, fractievoorzitter VARCHAR, year VARCHAR, lijsttrekker VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Cabinet, when Year is before 2001, when Lijsttrekker is 'No Elections', when...
SELECT cabinet FROM table_name_79 WHERE year < 2001 AND lijsttrekker = "no elections" AND fractievoorzitter = "hans van mierlo" AND chair = "s. van der loo"
sql_create_context
CREATE TABLE jyjgzbb ( BGDH text, BGRQ time, CKZFWDX text, CKZFWSX number, CKZFWXX number, JCFF text, JCRGH text, JCRXM text, JCXMMC text, JCZBDM text, JCZBJGDL number, JCZBJGDW text, JCZBJGDX text, JCZBMC text, JLDW text, JYRQ time, JYZBLSH text, ...
SELECT jyjgzbb.JCRGH, jyjgzbb.JCRXM FROM person_info JOIN hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jy...
css
CREATE TABLE table_204_282 ( id number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text, "#" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many games were played after 2009 ?
SELECT COUNT(*) FROM table_204_282 WHERE "date" > 2009
squall
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, ...
SELECT AVG(q.Score * 1.0) FROM Votes AS v INNER JOIN Posts AS q ON q.Id = v.PostId WHERE VoteTypeId = 8 AND q.CreationDate >= '2009-01-27' AND q.CreationDate < '2009-11-08'
sede
CREATE TABLE table_name_80 ( date VARCHAR, tie_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date has 7 as the tie no.?
SELECT date FROM table_name_80 WHERE tie_no = "7"
sql_create_context
CREATE TABLE table_20345624_2 ( original_airdate VARCHAR, director VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the original airdate for guy verney
SELECT original_airdate FROM table_20345624_2 WHERE director = "Guy Verney"
sql_create_context
CREATE TABLE d_labitems ( row_id number, itemid number, label 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 ti...
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT procedures_icd.icd9_code FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 95088) AND DATETIME(procedures_icd.charttime, 'start of year') = DAT...
mimic_iii
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, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.ethnicity = "HISPANIC/LATINO - PUERTO RICAN" AND lab.itemid = "51478"
mimicsql_data
CREATE TABLE date_day ( month_number int, day_number int, year int, day_name varchar ) CREATE TABLE ground_service ( city_code text, airport_code text, transport_type text, ground_fare int ) CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_dista...
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'SAN FRANCISCO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = ...
atis
CREATE TABLE table_name_24 ( nominated_work VARCHAR, award VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nominated work has seattle international film festival as the award?
SELECT nominated_work FROM table_name_24 WHERE award = "seattle international film festival"
sql_create_context
CREATE TABLE table_17289604_38 ( quarterfinals VARCHAR, round_of_32 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the quarterfinals in the round of 32 was S williams / V williams ( usa ) l 6 4, 5 7, 1 6?
SELECT quarterfinals FROM table_17289604_38 WHERE round_of_32 = "S Williams / V Williams ( USA ) L 6–4, 5–7, 1–6"
sql_create_context
CREATE TABLE table_47678 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country scored 69-69-73=211?
SELECT "Country" FROM table_47678 WHERE "Score" = '69-69-73=211'
wikisql
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 diagnoses ( ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND prescriptions.drug = "0.9% Sodium Chloride (Mini Bag Plus)"
mimicsql_data
CREATE TABLE t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY number, COM_PAY number, DATA_ID text, ENT_ACC_PAY number, ENT_PAY number, F...
SELECT t_kc22.MED_INV_ITEM_TYPE FROM t_kc22 JOIN t_kc21_t_kc22 JOIN t_kc21 ON t_kc21_t_kc22.MED_EXP_DET_ID = t_kc22.MED_EXP_DET_ID AND t_kc21_t_kc22.MED_CLINIC_ID = t_kc21.MED_CLINIC_ID WHERE t_kc21.MED_CLINIC_ID = '16302626785' AND t_kc22.SOC_SRT_DIRE_NM = '碳酸钙D3片(薄膜衣)'
css
CREATE TABLE person_info ( RYBH text, XBDM number, XBMC text, XM text, CSRQ time, CSD text, MZDM text, MZMC text, GJDM text, GJMC text, JGDM text, JGMC text, XLDM text, XLMC text, ZYLBDM text, ZYMC text ) CREATE TABLE hz_info ( KH text, KLX number...
SELECT jyjgzbb.JCZBJGDL, jyjgzbb.JCZBJGDW FROM hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM AND jybgb.BGDH = jy...
css
CREATE TABLE table_name_77 ( crowd VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people attended the game at Junction Oval?
SELECT crowd FROM table_name_77 WHERE venue = "junction oval"
sql_create_context
CREATE TABLE flight ( id number, vehicle_flight_number text, date text, pilot text, velocity number, altitude number, airport_id number, company_id number ) CREATE TABLE airport ( id number, city text, country text, iata text, icao text, name text ) CREATE TABLE...
SELECT COUNT(*) FROM airport WHERE NOT id IN (SELECT airport_id FROM flight WHERE pilot = 'Thompson')
spider
CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE...
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE DATETIME(admissions.admittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')
mimic_iii
CREATE TABLE t_kc22 ( AMOUNT number, CHA_ITEM_LEV number, DATA_ID text, DIRE_TYPE number, DOSE_FORM text, DOSE_UNIT text, EACH_DOSAGE text, EXP_OCC_DATE time, FLX_MED_ORG_ID text, FXBZ number, HOSP_DOC_CD text, HOSP_DOC_NM text, MED_CLINIC_ID text, MED_DIRE_CD tex...
SELECT t_kc21.MED_ORG_DEPT_CD, t_kc21.OUT_DIAG_DIS_CD, AVG(t_kc21.PERSON_AGE) FROM t_kc21 WHERE t_kc21.MED_SER_ORG_NO = '8332581' GROUP BY t_kc21.MED_ORG_DEPT_CD, t_kc21.OUT_DIAG_DIS_CD
css
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE vitalperiodic ( ...
SELECT COUNT(DISTINCT patient.patienthealthsystemstayid) FROM patient WHERE patient.uniquepid = '030-10407'
eicu
CREATE TABLE table_name_79 ( year INTEGER, winner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest year for TCU?
SELECT MIN(year) FROM table_name_79 WHERE winner = "tcu"
sql_create_context
CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugsto...
SELECT medication.drugstarttime FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-48105' AND patient.hospitaldischargetime IS NULL)) ORDER B...
eicu
CREATE TABLE table_29105 ( "Series #" real, "Season #" real, "Title" text, "Director" text, "Writer" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who wrote episode 122 in the series?
SELECT "Writer" FROM table_29105 WHERE "Series #" = '122'
wikisql
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, ...
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.wardid = 874 AND DATETIME(patient.unitadmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')
eicu
CREATE TABLE table_203_501 ( id number, "title" text, "genre" text, "sub\u00addivisions" text, "libretto" text, "premiere date" text, "place, theatre" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which genre is featured the most in this ch...
SELECT "genre" FROM table_203_501 GROUP BY "genre" ORDER BY COUNT(*) DESC LIMIT 1
squall
CREATE TABLE mzjzjlb_jybgb ( YLJGDM_MZJZJLB text, BGDH number, YLJGDM number ) CREATE TABLE mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH text, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, ...
SELECT mzjzjlb.SG, mzjzjlb.TZ, mzjzjlb.TW, mzjzjlb.SSY, mzjzjlb.SZY, mzjzjlb.XL, mzjzjlb.HXPLC, mzjzjlb.ML FROM mzjzjlb WHERE mzjzjlb.JZLSH = '59680222876'
css
CREATE TABLE table_69049 ( "Stage" text, "Time (EEST)" text, "Name" text, "Length" text, "Winner" text, "Rally leader" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the stage for m. gr nholm and winner of s.loeb with time of 17:57
SELECT "Stage" FROM table_69049 WHERE "Rally leader" = 'm. grönholm' AND "Winner" = 's.loeb' AND "Time (EEST)" = '17:57'
wikisql
CREATE TABLE table_50472 ( "Rank" real, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many silver for the team with more than 2 bronze and more than 7 gold?
SELECT COUNT("Silver") FROM table_50472 WHERE "Bronze" > '2' AND "Gold" > '7'
wikisql
CREATE TABLE t_kc22 ( AMOUNT number, CHA_ITEM_LEV number, DATA_ID text, DIRE_TYPE number, DOSE_FORM text, DOSE_UNIT text, EACH_DOSAGE text, EXP_OCC_DATE time, FLX_MED_ORG_ID text, FXBZ number, HOSP_DOC_CD text, HOSP_DOC_NM text, MED_CLINIC_ID text, MED_DIRE_CD tex...
SELECT COUNT(*) FROM t_kc21 JOIN t_kc22 ON t_kc21.MED_CLINIC_ID = t_kc22.MED_CLINIC_ID WHERE t_kc21.PERSON_ID = '29536209' AND t_kc22.STA_DATE BETWEEN '2016-09-15' AND '2019-01-13' AND t_kc21.MED_SER_ORG_NO = '8557813' AND t_kc22.MED_INV_ITEM_TYPE = '西药费'
css
CREATE TABLE table_20614 ( "Missouri vs." text, "Overall Record" text, "at Columbia" text, "at Opponents Venue" text, "at Neutral Site" text, "Last 5 Meetings" text, "Last 10 Meetings" text, "Current Streak" text, "During Time in Big 12" text ) -- Using valid SQLite, answer the fol...
SELECT COUNT("Last 5 Meetings") FROM table_20614 WHERE "Missouri vs." = 'Texas Tech'
wikisql
CREATE TABLE table_26986076_6 ( sat_21_aug VARCHAR, thurs_26_aug VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Sat 21 Aug time for the driver whose Thurs 26 Aug time was 20' 56.01 108.143mph?
SELECT sat_21_aug FROM table_26986076_6 WHERE thurs_26_aug = "20' 56.01 108.143mph"
sql_create_context
CREATE TABLE table_28138035_20 ( mens_doubles VARCHAR, year_location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who played mens doubles for the 1999 kobe tour?
SELECT mens_doubles FROM table_28138035_20 WHERE year_location = "1999 Kobe"
sql_create_context
CREATE TABLE table_name_41 ( pole_position VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who held the pole position in SPA-Francorchamps?
SELECT pole_position FROM table_name_41 WHERE location = "spa-francorchamps"
sql_create_context
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND demographic.admityear < "2148"
mimicsql_data
CREATE TABLE table_25461827_2 ( height__ft_ VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the height associated with Paraguay?
SELECT height__ft_ FROM table_25461827_2 WHERE country = "Paraguay"
sql_create_context
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 ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "71" AND prescriptions.formulary_drug_cd = "CLIN300L"
mimicsql_data
CREATE TABLE table_78316 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many laps did Jos Verstappen do on Grid 2?
SELECT SUM("Laps") FROM table_78316 WHERE "Grid" > '2' AND "Driver" = 'jos verstappen'
wikisql