prompt
stringlengths 843
3.37k
| query
stringlengths 67
589
|
---|---|
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:After June 16, 2022, at 2:16:52 PM, please provide the title and contents of the homepage course post created in a child and youth organization., schema : CREATE TABLE "ODBLR_DSPSN_CVNTL" ( "LINE" TEXT, "STATN_NM" TEXT, "EXTRL_ELVTR" TEXT, "INNER_ELVTR" TEXT, "EXTRL_ESCLTR" TEXT, "INNER_ESCLTR" TEXT, "WHEELCHAIR_LIFT" TEXT, "HRZNTLTY_ATMC_FTPTH" TEXT, "RM" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072209_S_C" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNAME" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "MONAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); CREATE TABLE "NOWON_NEWS_NOTICE_LIST" ( "NOW_LIST_ID" NUMERIC, "TITLE" TEXT, "NOW_LINK" TEXT, "NOW_PUBDATE" TEXT, "DEPARTMENT" TEXT, "NOW_MANAGER" TEXT ); After June 16, 2022, at 2:16:52 PM, please provide the title and contents of the homepage course post created in a child and youth organization. CREATE TABLE "INFO_C_STS_REPAIR_RATE_T_ELECAL_EQ_KR_ELECAL_SAFE_C" ( "TYPEP" TEXT, "R_I_I_N_CV" NUMERIC, "R_S_L_N_C_S_L_DE" NUMERIC, "COUNTING_RATES" TEXT ); | SELECT TITLE,DESCRIPTION FROM SEOCHO_NEWS_EDU_LIST WHERE DEPARTMENT = '์๋์ฒญ๋
๊ณผ' OR PUBDATE >= '2022-06-16 14:16:52' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Please provide the average operating months and closing months for dynamic business areas where school is included in the business district code name and the change index is dynamic., schema : CREATE TABLE "CHILD_SCHOOL_BUILDING_SM" ( "OFFICEEDU" TEXT, "SUBOFFICEEDU" TEXT, "KINDERCODE" TEXT, "KINDERNAME" TEXT, "ARCHYY" TEXT, "FLOORCNT" TEXT, "GROTTAR" TEXT, "PBNTTMNG" NUMERIC, "ADDR" TEXT ); CREATE TABLE "JUNGGU_PUBLIC_HYGIENE_BIZ_PUBLIC_USE_FACILITY" ( "CGG_CODE" NUMERIC, "SNT_COB_CODE" NUMERIC, "YY" TEXT, "UPSO_SNO" NUMERIC, "SNT_COB_NM" TEXT, "UPSO_GSL_YMD" TEXT, "UPSO_NM" TEXT, "TRDP_AREA" NUMERIC, "UPSO_SITE_TELNO" TEXT, "BMAN_STDT" TEXT, "BUP_NM" TEXT, "SITE_STDT" TEXT, "ADMDNG_NM" TEXT, "ED_FIN_YMD" TEXT, "GAEKSIL" TEXT, "HANSHIL" TEXT, "CHAIR_NUM" TEXT, "YOKSIL" TEXT, "BALHANSIL_YN" TEXT, "WASHMC_NUM" TEXT, "PERM_NT_NO" TEXT, "KOR_FRGNR_GBN" TEXT, "NTN" TEXT, "SITE_ADDR_RD" TEXT, "SITE_ADDR" TEXT ); Please provide the average operating months and closing months for dynamic business areas where school is included in the business district code name and the change index is dynamic. CREATE TABLE "BUK_GU_DAEGU_FOOD_SERVICE_I" ( "INDUSTRY_NAME" TEXT, "BUSINESS_NAME" TEXT, "LOCATION_MAP_NAME_ADDRESS" TEXT, "LOCATION_NUMBER_ADDRESS" TEXT, "DATA_BASE_DATE" TEXT ); CREATE TABLE "HRDK_N_QUALIFICATION_LIST_INFO" ( "QUALIFICATION_CODE" TEXT, "CLEAR_QUALIFICATION" TEXT, "AFFILIATED_NAME" TEXT, "STOCK_NAME" TEXT ); CREATE TABLE "STS_TEST_INFO_HRDK_PROFESSIONAL_AFFAIRS_CATEGORY" ( "STOCK_NAME" TEXT, "ITEM" TEXT, "CONTENTS" TEXT, "ATTRIBUTE" TEXT, FOREIGN KEY ("STOCK_NAME") REFERENCES "HRDK_N_QUALIFICATION_LIST_INFO"("STOCK_NAME") ); | SELECT OPR_SALE_MT_AVRG, CLS_SALE_MT_AVRG FROM VWSM_TRDAR_IX_QQ WHERE TRDAR_CD_NM LIKE '%ํ๊ต%' AND TRDAR_CHNGE_IX_NM = '๋ค์ด๋๋ฏน' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the maximum and minimum expected order amounts for projects with service or goods contract types, divided by the ordering department name., schema : CREATE TABLE "TB_MEASURE_MOUNT_PLAN_V" ( "PLAN_MANAGE_NO" TEXT, "DISCUSS_YEAR" TEXT, "MGC_CODE" NUMERIC, "MGC_NM" TEXT, "VALUE_LAND_AREA" TEXT, "VALUE_MEASURE_AREA" TEXT, "VALUE_GREEN_AREA" TEXT, "VALUE_NEED" TEXT, "TOTAL_NEED" TEXT ); Show the maximum and minimum expected order amounts for projects with service or goods contract types, divided by the ordering department name. CREATE TABLE "GN_ADMIN_MESURE_PUBLIC" ( "CGG_CODE" NUMERIC, "ADM_DISPO_YMD" TEXT, "GNT_NO" TEXT, "SNT_COB_NM" TEXT, "SNT_UPTAE_NM" TEXT, "UPSO_NM" TEXT, "SITE_ADDR_RD" TEXT, "SITE_ADDR" TEXT, "DRT_INSP_YMD" TEXT, "DISPO_CTN" TEXT, "VIOR_SORT" TEXT, "BAS_LAW" TEXT, "VIOR_YMD" TEXT, "VIOL_CN" TEXT, "DISPO_CTN_DT" TEXT, "DISPO_GIGAN" TEXT, "NT_GBN_CODE" TEXT, "JB_ORG" TEXT, "TRDP_AREA" NUMERIC ); CREATE TABLE "GENDER_INFO_AGE_GROUP_LH_RENTAL_HOUSING_COMPLEX" ( "RENTAL_HOUSING_TYPER" TEXT, "NM_SUPPLIERS" TEXT, "HOUSING_NMT" TEXT, "HOUSING_TYPEU" TEXT, "ROAD_NM_ADDRESSV" TEXT, "TOTAL_NUM_HOUSEHOLDSW" NUMERIC, "WOMAN_UNDER_HER_TEENSX" NUMERIC, "MAN_UNDER_HIS_TEENSY" NUMERIC, "TEENAGE_WOMANZ" NUMERIC, "TEENAGE_MANA" NUMERIC, "WOMAN_HER_20SB" NUMERIC, "MAN_HIS_20SC" NUMERIC, "WOMAN_HER_THIRTIESD" NUMERIC, "MAN_HIS_30SE" NUMERIC, "WOMAN_HER_40SF" NUMERIC, "MAN_HIS_40SG" NUMERIC, "WOMAN_HER_FIFTIESH" NUMERIC, "MAN_HIS_50SI" NUMERIC, "WOMAN_HER_60SJ" NUMERIC, "MAN_HIS_60SK" NUMERIC, "WOMAN_HER_70SL" NUMERIC, "MAN_HIS_70SM" NUMERIC, "WOMAN_HER_80SN" NUMERIC, "MAN_HIS_80SO" NUMERIC, "WOMAN_HER_90SP" NUMERIC, "MAN_HIS_90SQ" NUMERIC, "WOMAN_HER_100SR" NUMERIC, "MAN_HIS_100SS" NUMERIC ); CREATE TABLE "SD_FOOD_COLLECT_CHECK" ( "CGG_CODE" NUMERIC, "SNT_COB_CODE" NUMERIC, "SNT_COB_NM" TEXT, "PLN_SE_CODE" NUMERIC, "PLN_SE_NM" TEXT, "COL_PLN_NM" TEXT, "COL_WHY_CODE" TEXT, "UPSO_NM" TEXT, "ATCL_GUN_CODE" TEXT, "ATCL_GUN_NM" TEXT, "ATCL_NM" TEXT, "PRDT_NM" TEXT, "EDF_NM" TEXT, "PDT_UPSO_NM" TEXT, "COL_YMD" TEXT, "COL_QUA" NUMERIC, "PRDT_SIZE" TEXT, "COL_QY_IPT" TEXT, "LOT_NO" TEXT, "PRDT_YUTONG_DLN" TEXT, "YUTONG_DLN_PRD_YMD_FROM" TEXT, "DEPO_STATE_CODE" TEXT, "BCE_CODE" TEXT, "CHD_SMBL_FD_KD_CODE" TEXT, "ISP_REQ_ORG_NM" TEXT, "FACTORY_NM" TEXT, "NATIV_FRGNR_SE" TEXT, "NTN" TEXT, "ISP_REQ_YMD" TEXT, "COL_ISP_RT_GBN" TEXT, "DEAL_SE" TEXT, "COL_ISP_SE" TEXT, "COL_PLC_SE" TEXT, "DEAL_RT" TEXT, "COL_PDT_DEAL" TEXT, "GNT_NO" NUMERIC, "SITE_ADDR_RD" TEXT, "UPSO_TELNO" TEXT, "DRT_INSP_YMD" TEXT ); | SELECT DEPT_NM, MAX(BYP_AMT), MIN(BYP_AMT) FROM V_TV_CBYFMST WHERE BIZ_GB = '์ฉ์ญ' OR BIZ_GB = '๋ฌผํ' GROUP BY DEPT_NM |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:If the safe address is in Gunja-dong and the use is illegal parking, what are the latitude and longitude where CCTV is installed?, schema : If the safe address is in Gunja-dong and the use is illegal parking, what are the latitude and longitude where CCTV is installed? CREATE TABLE "TERMINOLOGY_DEFINITION_KORAIL_RAILWAY_STS" ( "SORTATIONL" TEXT, "STATISTICAL_NMM" TEXT, "TERM_NMN" TEXT, "TERMINOLOGY_DESCRIPTIONO" TEXT ); CREATE TABLE "STS_RESTAURANT_BUSINESS_CHUNCHEON_SI_GANGWONM" ( "INDUSTRY_NAME" TEXT, "BUSINESS_NAME" TEXT, "LOCATION_ROAD_NAME" TEXT, "LOCATION_NUMBER" TEXT, "TELEPHONE" TEXT, "NAME" TEXT, "DATA_STANDARD_DATE" TEXT ); CREATE TABLE "SEOUL_NEWS_LIST" ( "BLOG_ID" NUMERIC, "BLOG_NAME" TEXT, "POST_ID" NUMERIC, "POST_TITLE" TEXT, "THUMB_URI" TEXT, "POST_EXCERPT" TEXT, "PUBLISH_DATE" TEXT, "MODIFY_DATE" TEXT, "POST_STATUS" TEXT, "POST_CONTENT" TEXT, "MANAGER_NAME" TEXT, "MANAGER_PHONE" TEXT, "MANAGER_DEPT" TEXT ); CREATE TABLE "HFMBS_UNDERLYING_ASSET_REPAYMENT_DELINQUENCY_STS" ( "PRODUCT_NMZ" TEXT, "L_B_P_M_DE" TEXT, "EARLY_REPAY_AMTB" TEXT, "EARLY_REPAY_RATEC" NUMERIC, "B_M_L_B_G" TEXT, "LATE_PAY_AMTE" TEXT, "DELINQUENCY_RATEF" NUMERIC ); | SELECT WGSXPT,WGSYPT FROM SAFE_OPEN_C_C_T_V_GJ WHERE ADDR LIKE '๊ตฐ์๋%' AND CCTVUSE = '๋ถ๋ฒ์ฃผ์ ์ฐจ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Please provide the title and file name of the post created in the design policy and/or startup policy in the public notice information., schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_030506_D_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "X" TEXT, "Y" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "UNDERNUMLAY" TEXT, "BDNGSRVNM" TEXT, "PASGBRETH" TEXT, "LGHTFACILINILLU" TEXT, "NOROOMCNT" TEXT, "EMEXYN" TEXT, "BGROOMYN" TEXT ); CREATE TABLE "BIG_JTY_EXPOSPU_BUSE_AREA" ( "MGM_EXPOS_PUBUSE_PK" TEXT, "MGM_TYPE_OULN_PK" TEXT, "MGM_HO_DETL_PK" TEXT, "EXPOS_PUBUSE_GB_CD" TEXT, "MAIN_ATCH_GB_CD" TEXT, "FLR_GB_CD" NUMERIC, "FLR_NO" TEXT, "STRCT_CD" NUMERIC, "ETC_STRCT" TEXT, "PURPS_CD" NUMERIC, "ETC_PURPS" TEXT, "AREA" NUMERIC, "WORK_DAY" TEXT ); CREATE TABLE "KOSAF_YOUTH_EDU_MNG_APP_PERIOD_UNIV_BASIC" ( "NM_UNIVERSITYS" TEXT, "PRODUCT_NMT" TEXT, "S_P_T_U" TEXT, "SCHOLARSHIP_SCHOOLV" NUMERIC, "SCHOLARSHIP_SEMESTERW" NUMERIC, "SCHOLARSHIP_MEETINGX" NUMERIC, "S_B_P_C_Y" TEXT, "USAGE_STAZ" TEXT, "I_R_T_C_1_ZZ" TEXT, "I_R_T_C_2_VA" TEXT ); Please provide the title and file name of the post created in the design policy and/or startup policy in the public notice information. CREATE TABLE "L_O_C_A_L_D_A_T_A_010203_S_B" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SJYN" TEXT, "TOTSCP" TEXT, "TRDSCP" TEXT ); | SELECT APPD_FILE_NAME, TITLE FROM LIST_NEWS_NOTICE WHERE POSITION = '๋์์ธ์ ์ฑ
๊ณผ' OR POSITION = '์ฐฝ์
์ ์ฑ
๊ณผ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the registration date and content of the public notice title containing "new" in the attachment file name, with one attachment file., schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_030507_Y_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "BDNGSRVNM" TEXT, "PASGBRETH" TEXT, "LGHTFACILINILLU" TEXT, "NOROOMCNT" TEXT, "BGROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "BGROOMYN" TEXT, "TOTGASYSCNT" TEXT, "PRVDGATHINNM" TEXT ); Show the registration date and content of the public notice title containing "new" in the attachment file name, with one attachment file. CREATE TABLE "STS_REAL_ESTATE_BROKERAGE_SUYEONG_GU_REP_KR" ( "REGISTRATION_NUMBER" TEXT, "BUSINESS_STATUS" TEXT, "MUTUAL_NAME" TEXT, "NOMINATION" TEXT, "LOCATION" TEXT, "OFFICE_PHONE_NUMBER" TEXT, "REGISTRATION_DATE" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072208_G_J" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "MANEIPCNT" TEXT, "TOTEPNUM" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT ); CREATE TABLE "YS_PUBLIC_HYGIENE_BIZ_LOC_MANAGE_DONG" ( "CGG_CODE" NUMERIC, "CGG_NM" TEXT, "REGN_NM" TEXT, "CNT" TEXT ); | SELECT TITLE, WRITEDAY FROM GWANAK_GOSI_LIST WHERE FILE_COUNT = 1 AND FILE_NAME LIKE '%์ ๊ท%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Provide the registration date and content of the event recruitment post in the Cultural Tourism Department with "hiring" in the title., schema : CREATE TABLE "I_L_C_M_I_B_K_C_R_E_S_C" ( "MATERIAL_NUMM" TEXT, "INF_RELIABILITYN" TEXT, "SECURITY_LEVELO" TEXT, "MATERIAL_NMP" TEXT, "MATERIAL_SERIAL_NUMQ" TEXT, "CHEMICAL_FORMULAR" TEXT, "CONSTRUCTORS" TEXT, "MANAGERT" TEXT, "NOTEU" TEXT, "DT_TIME_CREATIONV" TEXT, "MODIFIERW" TEXT, "MODIFIED_DT_TIMEX" TEXT, "INPUTER_COMMENTSY" TEXT, "COMMENTS_PERSONZ" TEXT, "EDITORA" TEXT, "EDITOR_COMMENTSB" TEXT, "RELIABILITY_STAC" NUMERIC, "PROCESS_NOTED" TEXT, "MATERIAL_GROUP_NUME" TEXT, "NOTEF" TEXT, "GLASS_ITEMG" TEXT, "MATERIAL_SOURCE_NOTEH" TEXT, "APPROVAL_DTI" TEXT, "MATERIAL_LEVELJ" TEXT, "SORTATIONK" NUMERIC, "FILEL" TEXT, "STARTING_MATERIALM" TEXT, "ADDITIVESN" TEXT, "KEYWORDSO" TEXT, "TEMPORARYP" TEXT, "FORMQ" TEXT, "MATERIAL_COMPOSITIONR" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_030502_M_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "PASGBRETH" TEXT, "LGHTFACILINILLU" TEXT, "BGROOMCNT" TEXT, "EMEXYN" TEXT, "BGROOMYN" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031001_G_A" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "FACILAR" NUMERIC, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "BDNGSRVNM" TEXT, "LGHTFACILINILLU" TEXT, "NOROOMCNT" TEXT, "BGROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "AUTOCHAAIRYN" TEXT, "REGNSENM" TEXT ); CREATE TABLE "GBGM_BUS_INFO_SYS_BUS_STOP" ( "STOP_IDENTIFIERY" NUMERIC, "S_S_I_F" NUMERIC, "BUS_STOP_TYPEA" NUMERIC, "CENTRAL_LANE_CLASB" NUMERIC, "KOREAN_NMC" TEXT, "SHORT_NMD" TEXT, "LATITUDEE" NUMERIC, "HARDNESSF" NUMERIC, "DETECTION_HEADER_VALUEG" NUMERIC, "LINK_IDENTIFIERH" NUMERIC, "LATITUDE_LINK_LINEI" NUMERIC, "HARDNESS_LINK_LINEJ" NUMERIC, "LINK_STOP_ORDERK" NUMERIC, "I_R_D_RC" NUMERIC, "STARTING_DISTANCEM" NUMERIC, "A_J_D_T" NUMERIC, "REVISED_NUMO" NUMERIC, "COMPETENT_AUTHORITYP" TEXT, "STOP_SERVICE_IDENTIFIERQ" NUMERIC, "STOP_SERVICE_NMR" TEXT ); Provide the registration date and content of the event recruitment post in the Cultural Tourism Department with "hiring" in the title. | SELECT PUBDATE, DESCRIPTION FROM DOBONG_NEWS_EVENT_LIST WHERE DEPARTMENT = '๋ฌธํ๊ด๊ด๊ณผ' AND TITLE LIKE '%์ฑ์ฉ%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the departments and the number of posts in descending order of the number of posts by department., schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_041701_N_W" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "FACILAR" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "BDNGSRVNM" TEXT, "PASGBRETH" TEXT, "LGHTFACILINILLU" TEXT, "EMERSTAIRYN" TEXT, "EMEXYN" TEXT, "AUTOCHAAIRYN" TEXT, "BGROOMYN" TEXT, "SPECLGHTYN" TEXT, "SOUARFACILYN" TEXT, "VDORETORNM" TEXT, "LGHTFACILYN" TEXT, "SOUNDFACILYN" TEXT, "CNVEFACILYN" TEXT, "FIREFACILYN" TEXT, "TOTGASYSCNT" TEXT, "BFGAMEOCPTECTCOBNM" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_041701_G_A" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "FACILAR" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "BDNGSRVNM" TEXT, "PASGBRETH" TEXT, "LGHTFACILINILLU" TEXT, "NOROOMCNT" TEXT, "BGROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "EMEXYN" TEXT, "AUTOCHAAIRYN" TEXT, "BGROOMYN" TEXT, "SPECLGHTYN" TEXT, "VDORETORNM" TEXT, "LGHTFACILYN" TEXT, "SOUNDFACILYN" TEXT, "CNVEFACILYN" TEXT, "FIREFACILYN" TEXT, "TOTGASYSCNT" TEXT, "BFGAMEOCPTECTCOBNM" TEXT ); CREATE TABLE "AVG_PRECIPITATION_F_FORECAST_BASIN_ME_HAN_R_F_C_CNT" ( "NM_GREAT_REGIONG" TEXT, "STANDARD_CATCHMENT_NMH" TEXT, "OBSERVATION_TIMEI" TEXT, "GOOD_QUALITY_DATAJ" NUMERIC ); Show the departments and the number of posts in descending order of the number of posts by department. CREATE TABLE "L_O_C_A_L_D_A_T_A_041501_D_D" ( "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "TRDCTN" TEXT ); | SELECT DEPARTMENT, COUNT(TITLE) FROM DOBONG_NEWS_EVENT_LIST GROUP BY DEPARTMENT ORDER BY COUNT(TITLE) DESC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the total grocery expenses and total clothing and shoe expenses for Myeongil Station 1 or Cheonho Station 6., schema : CREATE TABLE "LIST_CONSTRUCTION_WORK_SERVICE" ( "PJT_NAME" TEXT, "FCT_F25_NM" TEXT, "PJT_BGN_DATE" TEXT, "PJT_DATE" TEXT, "PJT_END_DIV" TEXT, "OFFICE_ADDR" TEXT, "SITE_ADDR" TEXT, "LAT" NUMERIC, "LNG" NUMERIC, "TOT_PJT_AMT" TEXT ); CREATE TABLE "PRE_USE_INSPECTION_RESULTS_KR_ELECAL_SAFE_C_REGION" ( "SORTATIONK" TEXT, "YEARL" NUMERIC, "ACCEPTANCEM" NUMERIC, "FAILUREN" NUMERIC ); CREATE TABLE "HF_JUYEONBO_CONTRIBUTION_DATA_INST" ( "ENGINE_CDE" TEXT, "STATEF" TEXT, "DT_CREATEDG" TEXT, "NUMH" NUMERIC, "LAST_REVISION_DTI" TEXT, "SUBMISSION_STAJ" TEXT ); CREATE TABLE "CURRENT_STS_STEERING_COMMITTEE_GWANGYANG_CITY_JEONNAM" ( "DIVISION" NUMERIC, "COMMITTEE" TEXT, "FUNCTION" TEXT, "ESTABLISHMENT_BASIS" TEXT, "GROUNDS" TEXT, "CHAIRMAN" TEXT, "DEPARTMENT" TEXT, "DATA_STANDARD_DATE" TEXT ); Show the total grocery expenses and total clothing and shoe expenses for Myeongil Station 1 or Cheonho Station 6. | SELECT FDSTFFS_EXPNDTR_TOTAMT, CLTHS_FTWR_EXPNDTR_TOTAMT FROM VWSM_TRDHL_NCM_CNSMP_QQ WHERE TRDAR_CD_NM = '๋ช
์ผ์ญ 1๋ฒ' OR TRDAR_CD_NM = '์ฒํธ์ญ 6๋ฒ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:List the female workforce and business district code name of places with a total workforce of over 30,000 in developed business districts in descending order of female workforce., schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_051901_J_G" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "USEJISGENDFLR" TEXT, "USEUNDERSTFLR" TEXT, "HANSHILCNT" TEXT, "YANGSILCNT" TEXT, "YOKSILCNT" TEXT, "BALHANSILYN" TEXT, "CHAIRCNT" TEXT, "CNDPERMNTWHY" TEXT, "CNDPERMSTYMD" TEXT, "CNDPERMENDYMD" TEXT, "BDNGOWNSENM" TEXT, "WASHMCCNT" TEXT, "WMEIPCNT" TEXT, "RCVDRYNCNT" TEXT, "ABEDCNT" TEXT ); CREATE TABLE "GBE_GBE_GUMI_LIBRARY_LARGEST_MONTHLY_LOAN" ( "RANKING" NUMERIC, "REGISTRATION_NUMBER" TEXT, "SIGNATURE" TEXT, "AUTHOR" TEXT, "CLAIM" TEXT, "PUBLISHER" TEXT, "PUBLISHING_YEAR" NUMERIC, "COLLECTION" TEXT, "REFERENCE_ROOM" TEXT, "LOAN" NUMERIC ); List the female workforce and business district code name of places with a total workforce of over 30,000 in developed business districts in descending order of female workforce. CREATE TABLE "C_I_C_M_I_B_K_C_R_E_S_N" ( "VIDEO_SERIAL_NUMK" NUMERIC, "CLAS_COURSESL" TEXT, "COURSE_NMM" TEXT, "PROGRAM_NMN" TEXT, "AFFILIATIONP" TEXT, "DT_LECTUREQ" TEXT, "ATTACHED_FILER" TEXT, "LINK_ADDRESSS" TEXT, "IMAGE_FILET" NUMERIC, "RE_DTU" TEXT, "NUM_VIEWSV" NUMERIC ); CREATE TABLE "GG_SN_TANCHEON_SPORTS_COMPLEX_SPORTS_PROGRAM_INFO" ( "CLAST" TEXT, "COURSE_NMU" TEXT, "COURSE_PERIODV" TEXT, "COURSE_TIMEW" TEXT, "DAY_CLASSX" TEXT, "GARDENY" NUMERIC, "AMTZ" NUMERIC, "DATA_BASE_DTA" TEXT ); | SELECT TRDAR_CD_NM, FML_WRC_POPLTN_CO FROM VWSM_TRDAR_WRC_POPLTN_QQ WHERE TRDAR_SE_CD_NM = '๋ฐ๋ฌ์๊ถ' AND TOT_WRC_POPLTN_CO >= 30000 ORDER BY FML_WRC_POPLTN_CO |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the number of posts by department in order of the number of posts, schema : CREATE TABLE "MOLIT_DICTIONARY_AERONAUTICAL_TERMS" ( "TERM" TEXT, "KOREAN_NAME" TEXT, "ABBREVIATIONS" TEXT, "COMMENTARY" TEXT ); CREATE TABLE "INVESTIGATION_CONTRACT_FARMS_E_HANDOVER_MNG_SYS_LS_EX" ( "T_P_C_N_M" NUMERIC, "NUMH" NUMERIC, "COMPANY_FARM_NUMI" NUMERIC, "ADDRESS_1J" TEXT, "ADDRESS_2K" TEXT, "AXIAL_BELL_CDL" TEXT, "ACCUMULATION_CDM" NUMERIC, "PROCESSING_METHOD_CDN" TEXT, "CARRIER_CDO" NUMERIC, "PROCESSING_COMPANY_NUMP" NUMERIC, "CARRIER_TRUST_STAQ" TEXT, "P_C_T_S_X" TEXT, "PROCESSING_CLASS" NUMERIC, "HANDOVER_BUSINESS_CLAST" TEXT ); CREATE TABLE "YC_PBHLTH_HEALTH" ( "LECTURE_SEQ" TEXT, "LECTURE_NM" TEXT, "LECTURE_TEACHER_NM" TEXT, "LC_RECEIVE_SDATE" TEXT, "LC_RECEIVE_EDATE" TEXT, "LECTURE_DT" TEXT, "LECTURE_END_DT" TEXT, "LECTURE_PLACE" TEXT, "LECTURE_LIMIT" TEXT, "LECTURE_CONTENTS" TEXT, "LECTURE_REG_DT" TEXT ); Show the number of posts by department in order of the number of posts CREATE TABLE "KOGAS_TECH_NATURAL_GAS_MAINTENANCE_CUR_LIST" ( "SERIAL_NUMT" NUMERIC, "EDU_NMU" TEXT, "TRAINING_SCHEDULE_MONTHV" NUMERIC, "TARGET_NUM_PEOPLEW" NUMERIC, "TRAINING_TIME_HRX" NUMERIC ); | SELECT DEPT_NM, COUNT(SUBJECT) FROM YDP_NEWS_NOTICE_LIST GROUP BY DEPT_NM ORDER BY COUNT(SUBJECT) DESC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the service industry code names and number of stores for areas with 20 or more store locations or 30 or more similar industry store locations, schema : CREATE TABLE "LIFETIME_EDU_ORGAN" ( "DEPT_NM" TEXT, "TEL" TEXT, "ADDR" TEXT, "HOMEPAGE_URL" TEXT, "MAP_LAT" NUMERIC, "MAP_LNG" TEXT ); Show the service industry code names and number of stores for areas with 20 or more store locations or 30 or more similar industry store locations CREATE TABLE "BIG_JTY_HO_DETL" ( "MGM_HO_DETL_PK" TEXT, "MGM_DONG_OULN_PK" TEXT, "HO_NO" TEXT, "HO_NM" TEXT, "PNGTYP_GB_NM" TEXT, "FLR_NO" TEXT, "FLR_GB_CD" NUMERIC, "MGM_BLDRGST_REF_PK" TEXT, "CHANG_GB_CD" TEXT, "WORK_DAY" TEXT ); CREATE TABLE "CURRENT_STS_PUBLISHING_PRINTING_OFFICE_SEONGNAM_SI_GYEONGGI" ( "DISTINCTION" TEXT, "DYNAMIC" TEXT, "SECTORS" TEXT, "BUSINESS" TEXT, "MATERIAL_MAP_NAME_ADDRESS" TEXT, "DATA_STANDARD_DATE" TEXT ); CREATE TABLE "KHNP_HD_TECHNICAL_INFO_MNG_O_LIST_OUTSIDE_PATIONS" ( "NUMU" NUMERIC, "PROVIDERV" TEXT, "PUBLICATION_NMW" TEXT, "PUBLICATION_CYCLEX" TEXT, "FIELDY" TEXT ); | SELECT TRDAR_CD_NM, STOR_CO FROM VWSM_TRDHL_STOR_QQ WHERE STOR_CO >= 20 OR SIMILR_INDUTY_STOR_CO >= 30 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the number of long-term foreign residents and total population for areas with administrative district codes 11110530 or 11110540, schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_115002" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "BUPGBNNM" TEXT, "SENM" TEXT ); CREATE TABLE "DOBONG_NEWS_EVENT_LIST" ( "EVENT_RECRUT_LIST_ID" NUMERIC, "TITLE" TEXT, "LINK" TEXT, "PUBDATE" TEXT, "DEPARTMENT" TEXT, "MANAGER" TEXT, "DESCRIPTION" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_041601_S_C" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "MNFACTREARTCLCN" TEXT, "FACILAR" TEXT, "JISGNUMLAY" TEXT, "PASGBRETH" TEXT, "NOROOMCNT" TEXT, "BGROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "EMEXYN" TEXT, "AUTOCHAAIRYN" TEXT, "BGROOMYN" TEXT ); Show the number of long-term foreign residents and total population for areas with administrative district codes 11110530 or 11110540 CREATE TABLE "L_O_C_A_L_D_A_T_A_072213_G_R" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "TOTEPNUM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "ISREAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); | SELECT TOT_LVPOP_CO, LNGTR_STAY_FRGNR_CO FROM SPOP_ORGN_CT_IN_SE WHERE ADSTRD_CODE_SE = 11110530 OR ADSTRD_CODE_SE = 11110540 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the titles and contents of posts with 0 or more than 2 attached files, schema : CREATE TABLE "CURRENT_P_STS_GEUMSAN_GUN_CHUNGNAM" ( "DIVISION" TEXT, "HOUSEHOLD" NUMERIC, "TOTAL" NUMERIC, "MAN" NUMERIC, "WOMAN" NUMERIC, "ADMINISTRATIVE_NAME" TEXT, "STANDARD_DATE" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_114701" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" NUMERIC, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "MWSRNM" TEXT, "CAPTSCALE" NUMERIC, "DEPBANKNM" TEXT, "DEPUCORGNM" TEXT, "DEPUCORGETCNM" TEXT, "INSUR" TEXT, "DEBTPAYISRE" TEXT ); CREATE TABLE "SC_CHLDCR_NOTICE" ( "BOARD_IDX" NUMERIC, "BOARD_NAME" TEXT, "BOARD_SUBJECT" TEXT, "BOARD_CONTENT" TEXT, "BOARD_HIT" TEXT, "BOARD_REGDATE" TEXT ); CREATE TABLE "NEIS_ACADEMY_INFO_SM" ( "ADMST_ZONE_NM" TEXT, "ACA_INSTI_SC_NM" TEXT, "ACA_ASNUM" NUMERIC, "ACA_NM" TEXT, "ESTBL_YMD" TEXT, "REG_YMD" TEXT, "CAA_BEGIN_YMD" TEXT, "TOFOR_SMTOT" TEXT, "DTM_RCPTN_ABLTY_NMPR_SMTOT" TEXT, "REALM_SC_NM" TEXT, "LE_ORD_NM" TEXT, "LE_CRSE_NM" TEXT, "PSNBY_THCC_CNTNT" TEXT, "THCC_OTHBC_YN" TEXT, "BRHS_ACA_YN" TEXT, "FA_RDNMA" TEXT, "LOAD_DTM" TEXT ); Show the titles and contents of posts with 0 or more than 2 attached files | SELECT TITLE, CONTENT FROM GWANAK_NEWS_LIST WHERE FILE_COUNT >= 2 OR FILE_COUNT = 0 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the start and end times of counting for CCTV including "Gyedong-gil" in the camera name as of May 20, 2022, schema : Show the start and end times of counting for CCTV including "Gyedong-gil" in the camera name as of May 20, 2022 CREATE TABLE "JUNGNANG_LIST_ENV_GUIDE_CHECK" ( "WRKP_NM" TEXT, "APV_PERM_MGT_NO" NUMERIC, "JNG_ENV_GUIDE_UPCH_COB_CODE" NUMERIC, "JNG_ENV_GUIDE_UPCH_COB_NM" TEXT, "JNG_ENV_GUIDE_DRT_INSP_YMD" TEXT, "JNG_ENV_GUIDE_DRT_INSP_SE_NM" TEXT, "DRT_INSP_ITEM" TEXT, "JNG_ENV_GUIDE_WRKP_NADDR" TEXT, "JNG_ENV_GUIDE_WRKP_ADDR" TEXT ); CREATE TABLE "CURRENT_STS_TRAVEL_I_DONG_GU_BUSAN" ( "REGISTRATION_DATE" TEXT, "INDUSTRY" TEXT, "MUTUAL" TEXT, "POSTAL_CODE" NUMERIC, "LOCATION_ROAD_NAME" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_030601_E_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "REGNSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "INSURORGNM" TEXT, "BDNGSRVNM" TEXT, "UNDERNUMLAY" TEXT, "STROOMCNT" TEXT, "CNSTYAREA" TEXT, "ENGSTNTRNMNM" TEXT, "SHPTOTTONS" TEXT, "SHPCNT" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_093014_E_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "BDNGYAREA" TEXT, "CLSTGTSTDT" TEXT, "CASWHY" TEXT, "BSNGBNNM" TEXT ); | SELECT STARTTIME, ENDTIME FROM BUKCHON_CCTV2019 WHERE DEVICENAME LIKE '%๊ณ๋๊ธธ%' AND CHECKTIME = 20220520000000 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the issuance date and closure date for establishments with "playstation room" in the business name and postal code 157280, schema : CREATE TABLE "C_STS_GBE_GB_GJES_TRAINING_CNT" ( "NM_TEACHING_CALLO" TEXT, "NM_INSTRUCTORP" TEXT, "PHONE_NUMQ" TEXT, "TEACHING_ADDRESSR" TEXT, "TEACHING_COURSES" TEXT ); Show the issuance date and closure date for establishments with "playstation room" in the business name and postal code 157280 CREATE TABLE "C_STS_LMO_ONLINE_ING_SYS_KRIBB_TEST_RESEARCH" ( "CLASJ" TEXT, "DANGEROUS_GROUPK" NUMERIC, "SORTATIONL" TEXT, "LIVING_THINGSM" TEXT, "RATINGN" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_062001" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "BDNGJISGFLRCNT" TEXT, "BDNGUNDERFLRCNT" TEXT, "USEJISGSTFLR" TEXT, "USEJISGENDFLR" TEXT, "USEUNDERSTFLR" TEXT, "USEUNDERENDFLR" TEXT, "YANGSILCNT" TEXT, "BALHANSILYN" TEXT, "CHAIRCNT" TEXT, "CNDPERMSTYMD" TEXT, "BDNGOWNSENM" TEXT, "WASHMCCNT" TEXT, "WMEIPCNT" TEXT, "MANEIPCNT" TEXT, "RCVDRYNCNT" TEXT, "MULTUSNUPSOYN" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031203_S_M" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "REGNSENM" TEXT, "TOTNUMLAY" TEXT, "MNFACTREARTCLCN" TEXT, "INSURORGNM" TEXT, "BDNGSRVNM" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "STROOMCNT" TEXT, "ENGSTNTRNMNM" TEXT, "SHPTOTTONS" TEXT, "INSURSTDT" TEXT, "INSURENDDT" TEXT ); | SELECT APVPERMYMD, DCBYMD FROM L_O_C_A_L_D_A_T_A_030507_G_S WHERE BPLCNM LIKE '%ํ์ค๋ฐฉ%' AND SITEPOSTNO = 157280 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the issuance date and facility area of places with 11 or more noraebang rooms or facilities for youth, schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_072405_D_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "CLGSTDT" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "ISREAM" TEXT, "MONAM" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT ); CREATE TABLE "FLUB_MARKS2011" ( "OBJECTID" NUMERIC, "GU_NAM" TEXT, "AREA" TEXT, "ETC" TEXT ); Show the issuance date and facility area of places with 11 or more noraebang rooms or facilities for youth CREATE TABLE "EP_ADMIN_MESURE_PUBLIC" ( "CGG_CODE" NUMERIC, "ADM_DISPO_YMD" TEXT, "GNT_NO" TEXT, "SNT_COB_NM" TEXT, "SNT_UPTAE_NM" TEXT, "UPSO_NM" TEXT, "SITE_ADDR_RD" TEXT, "SITE_ADDR" TEXT, "DRT_INSP_YMD" TEXT, "DISPO_CTN" TEXT, "VIOR_YMD" TEXT, "VIOL_CN" TEXT, "DISPO_CTN_DT" TEXT, "DISPO_GIGAN" TEXT, "INSP_GBN_CODE" TEXT, "NT_GBN_CODE" TEXT, "JB_ORG" TEXT, "TAKE_YMD" TEXT, "TRDP_AREA" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_030702" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "REGNSENM" TEXT, "TOTNUMLAY" TEXT, "MNFACTREARTCLCN" TEXT, "INSURORGNM" TEXT, "CNSTYAREA" TEXT, "SHPTOTTONS" TEXT, "SHPINFO" TEXT, "CAPT" TEXT, "INSURSTDT" NUMERIC, "INSURENDDT" TEXT ); | SELECT APVPERMYMD, FACILAR FROM L_O_C_A_L_D_A_T_A_030901_G_A WHERE NOROOMCNT >= 11 OR BGROOMYN = 'Y' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the issuance date and data update date for places with 3 floors and "Jangchung-dong" in the land lot address, schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_031403_E_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "SITETEL" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "FACILAR" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "BDNGSRVNM" TEXT, "PASGBRETH" TEXT, "LGHTFACILINILLU" TEXT, "BGROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "AUTOCHAAIRYN" TEXT, "BGROOMYN" TEXT ); Show the issuance date and data update date for places with 3 floors and "Jangchung-dong" in the land lot address CREATE TABLE "L_O_C_A_L_D_A_T_A_010201_S_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "SAMPLENSNUM" TEXT, "MSMCHAIRNUM" TEXT, "PUPILDISTMEASNUM" TEXT, "DEFPTRFRTGGNUM" TEXT, "PPTNUSEGRNDNUM" TEXT, "HEATNUM" TEXT, "GLSWASHERNUM" TEXT, "TOTAR" NUMERIC ); CREATE TABLE "JUNGNANG_FOOD_COLLECT_CHECK_HYGIENE_BIZ" ( "CGG_CODE" NUMERIC, "SNT_COB_CODE" NUMERIC, "SNT_COB_NM" TEXT, "PLN_SE_CODE" NUMERIC, "PLN_SE_NM" TEXT, "COL_PLN_NM" TEXT, "COL_PRFDOC_NO" TEXT, "COL_WHY_CODE" TEXT, "UPSO_NM" TEXT, "ATCL_NM" TEXT, "PRDT_NM" TEXT, "EDF_NM" TEXT, "RM_NM" TEXT, "PDT_UPSO_NM" TEXT, "COL_YMD" TEXT, "COL_QUA" NUMERIC, "COL_UNIT" TEXT, "COL_QY_IPT" TEXT, "PRD_YMD" TEXT, "YUTONG_DLN_PRD_YMD_FROM" TEXT, "ISP_REQ_ORG_NM" TEXT, "FACTORY_NM" TEXT, "NTN" TEXT, "ISP_SE" TEXT, "ISP_REQ_YMD" TEXT, "DEAL_SE" TEXT, "CTL_REGN_SE" TEXT, "COL_PLC_SE" TEXT, "COL_PDT_DEAL" TEXT, "GNT_NO" NUMERIC, "SITE_ADDR" TEXT ); CREATE TABLE "SSIS_SOCIAL_SERVICE_PROVIDER_INFO" ( "NUMR" NUMERIC, "AREA_NMS" TEXT, "N_I_C_C_D_DE" NUMERIC ); | SELECT UPDATEDT, APVPERMYMD FROM L_O_C_A_L_D_A_T_A_030601_J_G WHERE JISGNUMLAY = 3 AND SITEWHLADDR LIKE '%์ฅ์ถฉ๋%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Find the X and Y coordinate information for places where tourism is included in the business name among updated data, schema : CREATE TABLE "BASIC_UNIVERSITIES_S_KSAF_YOUTH_EDU_MNG_ASSIGNMENT" ( "PRODUCT_NAME" TEXT, "ALLOCATION" NUMERIC, "DIVISION_OF_ASSIGNMENT" TEXT, "ASSIGNED_SERIAL_NUMBER" NUMERIC, "UNIVERSITY_NAME" TEXT ); CREATE TABLE "CURRENT_STS_LOCAL_TAXPAYERS_ANYANG_SI_GYEONGGI" ( "TRIAL_NAME" TEXT, "CITIES_AND_COUNTIES" TEXT, "MUNICIPALITY" NUMERIC, "TAXATION_YEAR" NUMERIC, "THREE_NAME_NAME" TEXT, "TAX_PAYMENT_FREESTYLE" TEXT, "TAXPAYER" NUMERIC ); CREATE TABLE "IOT_VDATA019" ( "ORGAN_NM" TEXT, "TRNSMIT_SERVER_NO" NUMERIC, "DATA_NO" TEXT, "COLUMN0" TEXT, "COLUMN1" TEXT, "COLUMN2" TEXT, "REGIST_DT" TEXT ); CREATE TABLE "STS_HOUSING_PENSION_SPL_HF_REGION" ( "YEARS" NUMERIC, "MONTHT" NUMERIC, "NATIONWIDEU" NUMERIC, "SEOULV" NUMERIC, "BUSANW" NUMERIC, "DAEGUX" NUMERIC, "INCHEONY" NUMERIC, "GWANGJUZ" NUMERIC, "DAEJEONA" NUMERIC, "ULSANB" NUMERIC, "SEJONGC" TEXT, "GAMED" NUMERIC, "GANGWON_PROVINCEE" NUMERIC, "CHUNGBUKF" NUMERIC, "CHUNGNAMG" NUMERIC, "NORTH_JEOLLA_PROVINCEH" NUMERIC, "JEONNAMI" NUMERIC, "GYEONGBUKJ" NUMERIC, "GYEONGNAMK" NUMERIC, "JEJUL" NUMERIC ); Find the X and Y coordinate information for places where tourism is included in the business name among updated data | SELECT X, Y FROM L_O_C_A_L_D_A_T_A_031203_J_G WHERE UPDATEGBN = 'U' AND BPLCNM LIKE '%๊ด๊ด%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the business name and insurance company name for establishments that have been deregistered or closed, schema : CREATE TABLE "SEBC_HERITAGE_INFO_CNG" ( "MNG_NO" NUMERIC, "NAME_CNG" TEXT, "QUANTITY_SCALE" TEXT, "H_CNG_GU" TEXT, "H_CNG_DONG" TEXT, "WGS84_X" NUMERIC, "WGS84_Y" NUMERIC, "DESIGNATION_DATE" TEXT, "UNDESIGN_DATE" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072217_D_J" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "UPDATEGBN" TEXT, "UPTAENM" TEXT, "Y" TEXT, "MANEIPCNT" TEXT, "WTRSPLYFACILSENM" TEXT, "TOTEPNUM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "MONAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_041701_M_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "FACILAR" TEXT, "JISGNUMLAY" TEXT, "BDNGSRVNM" TEXT, "LGHTFACILINILLU" TEXT, "EMERSTAIRYN" TEXT, "EMEXYN" TEXT, "AUTOCHAAIRYN" TEXT, "BGROOMYN" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031201_D_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "REGNSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "INSURORGNM" TEXT, "BDNGSRVNM" TEXT, "UNDERNUMLAY" TEXT, "STROOMCNT" TEXT, "ENGSTNTRNMNM" TEXT, "SHPCNT" TEXT, "SHPINFO" TEXT, "FACILSCP" TEXT ); Show the business name and insurance company name for establishments that have been deregistered or closed | SELECT BPLCNM, INSURORGNM FROM L_O_C_A_L_D_A_T_A_031203_J_G WHERE DTLSTATENM = '๋ฑ๋ก์ทจ์' OR DTLSTATENM = 'ํ์
' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Among the general travel agencies located in Yeoksam-dong, please provide the phone number and business name of establishments permitted after 2000., schema : CREATE TABLE "CURRENT_STS_ADM_HISTORY_OFFICE_SUSEONG_GU_DAEGU" ( "NAME" TEXT, "DATE_REPORT" TEXT, "PHONE_NUMBER" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072218_J_G" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "LVSENM" TEXT, "TOTEPNUM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "HOMEPAGE" TEXT ); CREATE TABLE "EP_BOARD_VIEW_AUTN_NT" ( "BOARD_DATA_ID" NUMERIC, "BOARD_ID" TEXT, "TITLE" TEXT, "REGISTER_NAME" TEXT, "REGISTER_DATE" TEXT, "MODIFY_DATE" TEXT, "CONTENT" TEXT, "FILE_NAME" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072210_J_G" ( "OPNSFTEAMCODE" NUMERIC, "JG_MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "HOFFEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "MONAM" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT ); Among the general travel agencies located in Yeoksam-dong, please provide the phone number and business name of establishments permitted after 2000. | SELECT SITETEL, BPLCNM FROM L_O_C_A_L_D_A_T_A_031203_G_N WHERE SITEWHLADDR LIKE '%์ญ์ผ๋%' AND APVPERMYMD >= 20000000000000 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:What is the number of monks and worshippers in traditional temples named Myogaksa or Mitas when translated into English?, schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_114601_N_W" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "ROPNYMD" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "EMERFACILLOC" TEXT, "FACILSENM" TEXT, "FACILNMBDNGNM" TEXT, "DSVYMD" TEXT ); CREATE TABLE "YDP_FOOD_COLLECT_CHECK" ( "CGG_CODE" NUMERIC, "SNT_COB_CODE" NUMERIC, "SNT_COB_NM" TEXT, "PLN_SE_CODE" NUMERIC, "PLN_SE_NM" TEXT, "CHK_PLN_NM" TEXT, "COL_PRFDOC_NO" TEXT, "UPSO_NM" TEXT, "ATCL_GUN_CODE" TEXT, "ATCL_NM" TEXT, "PRDT_NM" TEXT, "EDF_NM" TEXT, "PDT_UPSO_NM" TEXT, "COL_YMD" TEXT, "COL_QUA" NUMERIC, "PRDT_SIZE" TEXT, "COL_QY_IPT" TEXT, "PRD_YMD" TEXT, "LOT_NO" TEXT, "YUTONG_DLN_PRD_YMD_FROM" TEXT, "DEPO_STATE_CODE" TEXT, "CHD_SMBL_FD_KD_CODE" TEXT, "ISP_REQ_ORG_NM" TEXT, "FACTORY_NM" TEXT, "NATIV_FRGNR_SE" TEXT, "ISP_REQ_YMD" TEXT, "COL_ISP_SE" TEXT, "COL_PLC_SE" TEXT, "DEAL_RT" TEXT, "GNT_NO" NUMERIC, "SITE_ADDR_RD" TEXT, "SITE_ADDR" TEXT ); CREATE TABLE "C_JEJU_WIND_PW_GENERATION_KPX_HOUR" ( "DTX" TEXT, "NUM_TIMESY" NUMERIC, "H_1Z" NUMERIC, "H_2A" NUMERIC, "H_3B" NUMERIC, "H_4C" NUMERIC, "H_5D" NUMERIC, "H_6E" NUMERIC, "H_7F" NUMERIC, "H_8G" NUMERIC, "H_9H" NUMERIC, "H_10I" NUMERIC, "H_11J" NUMERIC, "H_12K" NUMERIC, "H_13L" NUMERIC, "H_14M" NUMERIC, "H_15N" NUMERIC, "H_16O" NUMERIC, "H_17P" NUMERIC, "H_18Q" NUMERIC, "H_19R" NUMERIC, "H_20S" NUMERIC, "H_21T" NUMERIC, "H_22U" NUMERIC, "H_23V" NUMERIC, "H_24W" NUMERIC, "TOTAL_CONTROL_VOLUMEX" NUMERIC ); What is the number of monks and worshippers in traditional temples named Myogaksa or Mitas when translated into English? CREATE TABLE "YC_PUBLIC_HYGIENE_BIZ_LOC_MANAGE" ( "YC_FOOD_HYGIENE_CGG_CODE" NUMERIC, "YC_FOOD_HYGIENE_CGG_NM" TEXT, "REGN_NM" TEXT, "SNT_COB_NM" TEXT, "CNT" TEXT ); | SELECT MONKNUM, BELVNUM FROM L_O_C_A_L_D_A_T_A_030711 WHERE TDTPNM = '๋ฌ๊ฐ์ฌ' OR TDTPNM = '๋ฏธํ์ฌ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Find the business name and closure date of establishments with names ending in "video" and having a total of 5 floors., schema : CREATE TABLE "NEIS_ACADEMY_INFO_JR" ( "ADMST_ZONE_NM" TEXT, "ACA_INSTI_SC_NM" TEXT, "ACA_ASNUM" NUMERIC, "ACA_NM" TEXT, "ESTBL_YMD" TEXT, "REG_STTUS_NM" TEXT, "CAA_BEGIN_YMD" TEXT, "LE_ORD_NM" TEXT, "LE_CRSE_LIST_NM" TEXT, "LE_CRSE_NM" TEXT, "PSNBY_THCC_CNTNT" TEXT, "THCC_OTHBC_YN" TEXT, "FA_RDNZC" NUMERIC, "FA_RDNMA" TEXT, "FA_RDNDA" TEXT ); CREATE TABLE "GGGJ_MEDIAN_STRIP" ( "GEOGRAPHICAL_FEATURE_CDJ" TEXT, "MANAGEMENT_NUMK" NUMERIC, "A_D_O" TEXT, "LEGAL_AREAM" TEXT, "ADMINISTRATIVE_AGENCYN" TEXT, "ROAD_SET_NUMO" NUMERIC, "POINT_LOCP" TEXT, "LOC_END_POINTQ" TEXT, "INS_DTR" TEXT, "KINDS" TEXT, "EXTT" TEXT, "STORM_SURGEU" NUMERIC, "HEIGHTV" NUMERIC, "NOTEW" TEXT, "NUMX" TEXT ); Find the business name and closure date of establishments with names ending in "video" and having a total of 5 floors. CREATE TABLE "DOBONG_ADMIN_MESURE" ( "CGG_CODE" NUMERIC, "ADM_DISPO_YMD" TEXT, "GNT_NO" TEXT, "SNT_COB_NM" TEXT, "SNT_UPTAE_NM" TEXT, "UPSO_NM" TEXT, "SITE_ADDR_RD" TEXT, "SITE_ADDR" TEXT, "DRT_INSP_YMD" TEXT, "DISPO_CTN" TEXT, "VIOR_SORT" TEXT, "BAS_LAW" TEXT, "VIOR_YMD" TEXT, "VIOL_CN" TEXT, "DISPO_CTN_DT" TEXT, "DISPO_GIGAN" TEXT, "INSP_GBN_CODE" TEXT, "JB_ORG" TEXT, "TAKE_YMD" TEXT, "TRDP_AREA" NUMERIC ); CREATE TABLE "MONTHLY_STS_ILLEGAL_PARKING_CONTROL_GANGBUK_GU_SEOUL" ( "TRIAL_NAME" TEXT, "CITIES_AND_COUNTIES" TEXT, "CRACKDOWN" TEXT, "NUMBER_OF_CRACKDOWNS" NUMERIC ); | SELECT BPLCNM, DCBYMD FROM L_O_C_A_L_D_A_T_A_031004 WHERE BPLCNM LIKE '%๋น๋์ค' AND TOTNUMLAY = 5 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:When are the permit date and data update date of establishments with a four-letter business name among private fitness centers?, schema : CREATE TABLE "I_M_C_M_I_B_K_C_R_E_S_DE" ( "CORPORATE_NMH" TEXT, "REPRESENTATIVE_NMI" TEXT, "POSTAL_CDJ" TEXT, "ADDRESSK" TEXT, "DETAILED_ADDRESSL" TEXT, "PHONE_NUMM" TEXT, "FAX_NUMN" TEXT, "HOMEPAGEO" TEXT, "STAPLE_PRODUCTP" TEXT, "M_C_M_P" TEXT, "KEY_CUSTOMERSR" TEXT, "CONSORTIUM_SERIAL_NUMS" NUMERIC, "PERMISSION_SERIAL_NUMT" NUMERIC, "RE_DTU" TEXT, "REGISTRARV" TEXT, "REVISION_DTW" TEXT, "MODIFIERX" TEXT, "INF_DISCLOSURE_GRADEY" NUMERIC, "WITHDRAWAL_STAZ" TEXT, "MEMBER_NMA" TEXT, "MEMBER_COMPANY_CLASB" TEXT, "NEW_ADDRESS_2D" TEXT ); When are the permit date and data update date of establishments with a four-letter business name among private fitness centers? CREATE TABLE "DJ_JUVENILE_HARMFUL_BIZ" ( "PROC_YMD" TEXT, "YOUTH_CTA_COB_CODE" NUMERIC, "YOUTH_CTA_COB_NM" TEXT, "TOTAL_CNT" TEXT, "DJ_HARMFUL_JUVENILE_SF_TEAM_CODE" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_082602_N_W" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "CAPT" TEXT, "SILMETNM" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031103_G_B" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "BDNGJISGFLRCNT" TEXT, "BDNGUNDERFLRCNT" TEXT, "USEJISGENDFLR" TEXT, "USEUNDERSTFLR" TEXT, "USEUNDERENDFLR" TEXT, "HANSHILCNT" TEXT, "YANGSILCNT" TEXT, "YOKSILCNT" TEXT, "CHAIRCNT" TEXT, "CNDPERMNTWHY" TEXT, "CNDPERMENDYMD" TEXT, "BDNGOWNSENM" TEXT, "WASHMCCNT" TEXT, "MANEIPCNT" TEXT, "MULTUSNUPSOYN" TEXT ); | SELECT UPDATEDT, APVPERMYMD FROM L_O_C_A_L_D_A_T_A_104201_G_B WHERE PUPRSENM = '์ฌ๋ฆฝ' AND BPLCNM LIKE '_' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:When are the permit date and closure date of privately-owned billiard halls with business names ending in "billiard hall"?, schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_051901_S_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "CLGSTDT" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "BDNGJISGFLRCNT" TEXT, "BDNGUNDERFLRCNT" TEXT, "USEJISGSTFLR" TEXT, "USEUNDERSTFLR" TEXT, "HANSHILCNT" TEXT, "BALHANSILYN" TEXT, "CHAIRCNT" TEXT, "CNDPERMSTYMD" TEXT, "CNDPERMENDYMD" TEXT, "BDNGOWNSENM" TEXT, "WASHMCCNT" TEXT, "WMEIPCNT" TEXT, "MANEIPCNT" TEXT, "RCVDRYNCNT" TEXT, "ABEDCNT" TEXT, "MULTUSNUPSOYN" TEXT ); CREATE TABLE "GGPT_STANDARD_M_PRICE_NON_RESIDENTIAL_BUILDINGS" ( "MUNICIPAL_GOVERNMENTI" TEXT, "BASE_YEARJ" NUMERIC, "BUILDING_TYPEK" TEXT, "BUILDING_STRUCTUREL" NUMERIC, "BUILDING_LOCM" NUMERIC, "BUILDING_ROOFN" NUMERIC, "ITEM_NUM_ADDRESSO" TEXT, "GROSS_FLOOR_AREAP" NUMERIC, "DEDICATED_AREAQ" NUMERIC, "ACADEMIC_APPOINTMENTR" TEXT, "STANDARD_MARKET_PRICES" NUMERIC ); CREATE TABLE "INF_OU_DATA_SED002" ( "PARTCPTN_YEAR" TEXT, "SE_CD" NUMERIC, "DRVNG_DSTNC" TEXT, "REG_ATDRC_CD" NUMERIC, "REG_ADSTRD_CD" TEXT, "RGSDE" TEXT ); CREATE TABLE "CSCY_PUBLIC_VIEW_G_B" ( "GB_CAR_CUSTODY_CSDY_YYYY" TEXT, "CSDY_MM" NUMERIC, "SIDO" TEXT, "GB_CAR_CUSTODY_ATDRC_CODE" NUMERIC, "CSDY_COUNT" NUMERIC ); When are the permit date and closure date of privately-owned billiard halls with business names ending in "billiard hall"? | SELECT APVPERMYMD, DCBYMD FROM L_O_C_A_L_D_A_T_A_103201_D_D WHERE BPLCNM LIKE '%๋น๊ตฌ์ฅ' AND PUPRSENM = '์ฌ๋ฆฝ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the phone number of a movie production company under the entertainment industry with the business name including "entertainment" and the business type being film production, categorized by operating status., schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_092808_S_C" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CAPT" TEXT, "UPCHNM" TEXT ); CREATE TABLE "KW_DROUGHT_ANL_ADM_REGION_SPECIFICATION_INFO" ( "ADMINISTRATIVE_DONG_CDL" NUMERIC, "ADMINISTRATIVE_NMM" TEXT, "PPN" NUMERIC, "WATER_SUPPLY_RATEO" NUMERIC, "WATER_SUPPLY_PPP" NUMERIC ); CREATE TABLE "ROAD_SIGNAL_INFO" ( "MANAGE_NM" TEXT, "ROAD_TYPE" TEXT, "ROAD_NM" TEXT, "ROAD_INPUT" TEXT, "ROAD_HOLD" TEXT, "ROAD_RATIO" TEXT, "TRAVEL_INPUT" TEXT, "TRAVEL_HOLD" TEXT, "TRAVEL_RATIO" TEXT, "PRI_INPUT" TEXT, "PRI_HOLD" TEXT, "PRI_RATIO" TEXT, "TOTAL_INPUT" TEXT, "TOTAL_HOLD" TEXT, "TOTAL_RATIO" TEXT ); Show the phone number of a movie production company under the entertainment industry with the business name including "entertainment" and the business type being film production, categorized by operating status. CREATE TABLE "STS_N_VACCINATION_DESIGNATED_MEDICAL_INST_JEJU" ( "HOSPITAL_NAME" TEXT, "PHONE_NUMBER" TEXT, "ADDRESS" TEXT, "DATA_STANDARD_DATE" TEXT ); | SELECT DISTINCT TRDSTATENM, SITETEL FROM L_O_C_A_L_D_A_T_A_031305_Y_S WHERE BPLCNM LIKE '%์ํฐํ
์ธ๋จผํธ%' AND CULPHYEDCOBNM = '์ํ์ ์์
' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:When are the permit date and data update date of Upper Music and All-Star Planning?, schema : CREATE TABLE "KEPCO_SAFE_MNG_INFO" ( "CLAS_NUMO" TEXT, "BREAKDOWNP" TEXT, "UNITQ" TEXT, "USAGE_CLASR" TEXT, "ACCOUNT_CLASS" TEXT, "FACILITY_CLAST" TEXT, "RE_DTU" TEXT, "REGISTRARV" NUMERIC, "NOTEW" TEXT ); CREATE TABLE "PHARMACY_ANSAN_GYEONGGI_PROVINCE" ( "PHARMACY" TEXT, "MAIN_PHONE" TEXT, "ADDRESS" TEXT, "DATA_STANDARD_DATE" TEXT ); CREATE TABLE "MOGEF_VIOLENCE_PREVENTION_EDU_CONTENT_LIST" ( "ANNUAL" NUMERIC, "TITLE" TEXT, "MANUFACTURER" TEXT, "PRODUCTION_YEAR" NUMERIC, "FIELD" TEXT, "EDUCATION" TEXT, "FORM" TEXT, "PUBLIC_NURI_TYPE" TEXT ); CREATE TABLE "CARD_SUBWAY_TIME" ( "USE_MON" TEXT, "LINE_NUM" TEXT, "SUB_STA_NM" TEXT, "FOUR_RIDE_NUM" TEXT, "FOUR_ALIGHT_NUM" TEXT, "FIVE_RIDE_NUM" TEXT, "FIVE_ALIGHT_NUM" TEXT, "SIX_RIDE_NUM" TEXT, "SIX_ALIGHT_NUM" TEXT, "SEVEN_RIDE_NUM" TEXT, "SEVEN_ALIGHT_NUM" TEXT, "EIGHT_RIDE_NUM" TEXT, "EIGHT_ALIGHT_NUM" TEXT, "NINE_RIDE_NUM" TEXT, "NINE_ALIGHT_NUM" TEXT, "TEN_RIDE_NUM" TEXT, "TEN_ALIGHT_NUM" TEXT, "ELEVEN_RIDE_NUM" TEXT, "ELEVEN_ALIGHT_NUM" TEXT, "TWELVE_RIDE_NUM" TEXT, "TWELVE_ALIGHT_NUM" TEXT, "THIRTEEN_RIDE_NUM" TEXT, "THIRTEEN_ALIGHT_NUM" TEXT, "FOURTEEN_RIDE_NUM" TEXT, "FOURTEEN_ALIGHT_NUM" TEXT, "FIFTEEN_RIDE_NUM" TEXT, "FIFTEEN_ALIGHT_NUM" TEXT, "SIXTEEN_RIDE_NUM" TEXT, "SIXTEEN_ALIGHT_NUM" TEXT, "SEVENTEEN_RIDE_NUM" TEXT, "SEVENTEEN_ALIGHT_NUM" TEXT, "EIGHTEEN_RIDE_NUM" TEXT, "EIGHTEEN_ALIGHT_NUM" TEXT, "NINETEEN_RIDE_NUM" TEXT, "NINETEEN_ALIGHT_NUM" TEXT, "TWENTY_RIDE_NUM" TEXT, "TWENTY_ALIGHT_NUM" TEXT, "TWENTY_ONE_RIDE_NUM" TEXT, "TWENTY_ONE_ALIGHT_NUM" TEXT, "TWENTY_TWO_RIDE_NUM" TEXT, "TWENTY_TWO_ALIGHT_NUM" TEXT, "TWENTY_THREE_RIDE_NUM" TEXT, "TWENTY_THREE_ALIGHT_NUM" TEXT, "MIDNIGHT_RIDE_NUM" TEXT, "MIDNIGHT_ALIGHT_NUM" TEXT, "ONE_RIDE_NUM" TEXT, "ONE_ALIGHT_NUM" TEXT, "WORK_DT" TEXT ); When are the permit date and data update date of Upper Music and All-Star Planning? | SELECT UPDATEDT, APVPERMYMD FROM L_O_C_A_L_D_A_T_A_031402 WHERE BPLCNM = '์ดํผ๋ฎค์ง' OR BPLCNM = '์ฌ์คํ๊ธฐํ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Please provide the final modification date and data update date of a game content production company with a permit received in 2003 and an operating status code of 1., schema : CREATE TABLE "GGHN_BUILDING_ASBESTOS_INVESTIGATION_TARGETS" ( "NUMA" NUMERIC, "SORTATIONB" TEXT, "NM_BUILDINGC" TEXT, "SAME_NMD" TEXT, "ADDRESSE" TEXT, "ASBESTOS_BUILDING_STAF" TEXT, "GROSS_FLOOR_AREAG" NUMERIC, "ASBESTOS_MATERIAL_AREAH" NUMERIC ); CREATE TABLE "WEATHER_INFO_GNGH_SMART_F_SYS" ( "AREA_NMU" TEXT, "YEAR_MONTHV" TEXT, "MILLIMETER_RAINFALLW" NUMERIC, "AVG_TEMPERATURE_CELSIUSX" NUMERIC, "M_T_D_C_T" NUMERIC, "L_T_C_U" TEXT, "A_W_S_M_P_V" NUMERIC, "A_W_D_M_P_W" TEXT, "I_M_W_S_M_P_X" NUMERIC, "I_M_W_D_M_P_Y" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_051901_S_C" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "BDNGUNDERFLRCNT" TEXT, "USEJISGSTFLR" TEXT, "USEJISGENDFLR" TEXT, "USEUNDERSTFLR" TEXT, "USEUNDERENDFLR" TEXT, "YANGSILCNT" TEXT, "YOKSILCNT" TEXT, "CHAIRCNT" TEXT, "CNDPERMSTYMD" TEXT, "WMEIPCNT" TEXT, "RCVDRYNCNT" TEXT, "ABEDCNT" TEXT ); Please provide the final modification date and data update date of a game content production company with a permit received in 2003 and an operating status code of 1. CREATE TABLE "L_O_C_A_L_D_A_T_A_072205_S_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "RGTMBDSNO" TEXT, "TOTEPNUM" TEXT ); | SELECT LASTMODTS, UPDATEDT FROM L_O_C_A_L_D_A_T_A_030502_G_S WHERE APVPERMYMD LIKE '2003%' AND TRDSTATEGBN = 1 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Find the permit date and final modification date of sports studios with activity types categorized as boxing or taekwondo., schema : CREATE TABLE "STS_GG_SU_SIZED_CONST_I" ( "COMPANY_NMW" TEXT, "INDUSTRYX" TEXT, "ROAD_NM_ADDRESSY" TEXT, "PHONE_NUMZ" TEXT ); CREATE TABLE "DJ_ADMIN_MESURE_FOOD" ( "CGG_CODE" NUMERIC, "ADM_DISPO_YMD" TEXT, "GNT_NO" NUMERIC, "SNT_COB_NM" TEXT, "SNT_UPTAE_NM" TEXT, "UPSO_NM" TEXT, "SITE_ADDR" TEXT, "DRT_INSP_YMD" TEXT, "ADMM_STATE" TEXT, "DISPO_CTN" TEXT, "BAS_LAW" TEXT, "VIOR_YMD" TEXT, "VIOL_CN" TEXT, "DISPO_CTN_DT" TEXT, "INSP_GBN_CODE" TEXT, "NT_GBN_CODE" TEXT, "JB_ORG" TEXT, "TAKE_YMD" TEXT, "TRDP_AREA" NUMERIC, "MNG_GBN_NM" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_082603_Y_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "BCTOTAM" TEXT, "CAPT" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_115001_G_C" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENAME" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "SENM" TEXT ); Find the permit date and final modification date of sports studios with activity types categorized as boxing or taekwondo. | SELECT APVPERMYMD, LASTMODTS FROM L_O_C_A_L_D_A_T_A_104101_G_A WHERE UPTAENM = 'ํ๊ถ๋' OR UPTAENM = '๊ถํฌ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Please provide the business name and phone number of establishments whose data has been updated after 2019., schema : Please provide the business name and phone number of establishments whose data has been updated after 2019. CREATE TABLE "EP_PUBLIC_HYGIENE_BIZ_LOC_MANAGE" ( "EP_FOOD_HYGIENE_CGG_CODE" NUMERIC, "EP_FOOD_HYGIENE_CGG_NM" TEXT, "REGN_NM" TEXT, "SNT_COB_NM" TEXT, "CNT" TEXT ); CREATE TABLE "KDN_GREEN_PROD_PURCHASE_P" ( "CLAS_NMJ" TEXT, "P_P_P_T_P_A_M" NUMERIC, "P_P_P_G_P_A_N" NUMERIC, "T_P_A_A_N_P_O" NUMERIC, "N_P_A_G_P_A_P" NUMERIC, "T_P_P_T_P_A_Q" NUMERIC, "T_P_P_G_P_A_RC" NUMERIC ); CREATE TABLE "GGGJ_APT_PRICE" ( "BASE_MONTHH" NUMERIC, "LOCI" TEXT, "LOC_DETAILSJ" TEXT, "APARTMENTK" TEXT, "NM_CLUBL" TEXT, "DEDICATED_AREAM" NUMERIC, "READING_PRICEN" NUMERIC, "LAND_CDO" NUMERIC, "ROAD_NMP" TEXT, "ROAD_NM_NUMQ" NUMERIC, "ROAD_LIST_NUMR" NUMERIC, "E_M_DS" NUMERIC, "ONE_REAL_LIFET" NUMERIC, "SERIAL_NUMU" NUMERIC ); CREATE TABLE "INFO_CWMA_CONST_SKILLS_TRAINING_I" ( "TRAINING_INSTITUTION_NMH" TEXT, "TRAINING_PROFESSIONI" TEXT, "TRAINING_CLASJ" TEXT, "NUM_TRAINING_SESSIONSK" NUMERIC, "OPENING_DTL" TEXT, "END_DTM" TEXT, "PERSONNELN" NUMERIC, "TRAINING_AGENCY_ADDRESSO" TEXT, "T_I_P_N_DE" TEXT ); | SELECT BPLCNM, SITETEL FROM L_O_C_A_L_D_A_T_A_031005_G_C WHERE UPDATEDT LIKE '2019%' AND UPDATEGBN = 'U' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:The licensing date and final modification date of Hyundai Advertising, which closed in April 2005, when are they?, schema : CREATE TABLE "SMRT_SCN_FCLTS_INFO" ( "SN" TEXT, "LINE_NUM" TEXT, "STATN_NM" TEXT, "EQPMN" TEXT, "ISSNO" TEXT, "LIFTING_STROKE" TEXT, "INSTL_HG" TEXT, "OPRAT_LT" TEXT ); The licensing date and final modification date of Hyundai Advertising, which closed in April 2005, when are they? CREATE TABLE "TB_PUBLIC_WIFI_INFO_S_B" ( "X_SWIFI_MGR_NO" TEXT, "X_SWIFI_WRDOFC" TEXT, "X_SWIFI_MAIN_NM" TEXT, "X_SWIFI_ADRES1" TEXT, "X_SWIFI_INSTL_FLOOR" TEXT, "X_SWIFI_INSTL_TY" TEXT, "X_SWIFI_SVC_SE" TEXT, "X_SWIFI_CMCWR" TEXT, "X_SWIFI_CNSTC_YEAR" TEXT, "X_SWIFI_INOUT_DOOR" TEXT, "LAT" NUMERIC, "LNT" NUMERIC, "WORK_DTTM" TEXT ); CREATE TABLE "STS_LOST_FOUND_MNG_KGLAND_RESORT" ( "RECEPTION_NUMQ" TEXT, "DT_RECEPTIONR" TEXT, "ITEM_CLASS" TEXT, "ITEM_DETAILST" TEXT, "ACQUISITION_LOCU" TEXT, "LAST_PROCESSING_DTV" TEXT, "FINAL_PROCESSING_TYPEW" TEXT ); CREATE TABLE "BIG_JTY_FLR_OULN_INFO" ( "MGM_FLR_OULN_PK" TEXT, "MGM_DONG_OULN_PK" TEXT, "FLR_NO" TEXT, "PURPS_CD" TEXT, "ETC_PURPS" TEXT, "STRCT_CD" NUMERIC, "ETC_STRCT" TEXT, "FLR_AREA" TEXT, "FLR_GB_CD" NUMERIC, "WORK_DAY" TEXT ); | SELECT LASTMODTS, APVPERMYMD FROM L_O_C_A_L_D_A_T_A_041501_D_B WHERE BPLCNM = 'ํ๋๊ด๊ณ ' AND DCBYMD LIKE '200504%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Please provide the licensing date and management number of places with a ground floor of 1 and a facility area of 100 or more in order of the latest licensing date., schema : CREATE TABLE "STS_A_M_GGJ_A_TECH_CNT" ( "SERIAL_NUMU" NUMERIC, "MODEL_NMV" TEXT, "MODEL_NMW" TEXT, "QUANTITYX" NUMERIC, "RENTY" NUMERIC, "YEAR_PURCHASEZ" TEXT, "DATA_BASE_DTA" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072208_S_M" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "BPLCNM" TEXT, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "FCTYOWKEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "MONAM" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); Please provide the licensing date and management number of places with a ground floor of 1 and a facility area of 100 or more in order of the latest licensing date. CREATE TABLE "LIST_KOICA_GLOBAL_TRAINING_PRO" ( "ANNUAL" NUMERIC, "CATEGORY" TEXT, "REGION" TEXT, "COUNTRY" TEXT, "PROJECT_NAME_KOREAN" TEXT, "BUSINESS_NAME_ENGLISH" TEXT, "STARTING_YEAR" NUMERIC, "END" NUMERIC, "TRAINING_INSTITUTION" TEXT ); CREATE TABLE "HF_GUARANTEE_PAYMENT_AMBASSADOR" ( "W_I_D_O_T_D_G" TEXT, "WARRANTY_NUMH" TEXT, "NOTEI" TEXT ); | SELECT MGTNO, APVPERMYMD FROM L_O_C_A_L_D_A_T_A_041601_G_R WHERE JISGNUMLAY = 1 AND FACILAR >= 100 ORDER BY APVPERMYMD DESC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Sort the final modification date and licensing date of places with the performance facility type as a movie theater and data newly generated in alphanumeric order based on the land address., schema : Sort the final modification date and licensing date of places with the performance facility type as a movie theater and data newly generated in alphanumeric order based on the land address. CREATE TABLE "C_STS_GGHN_W_BILL_IMPOSITION" ( "IMPOSITION_YEAR_MONTHC" TEXT, "ADMINISTRATIVE_BUILDINGD" TEXT, "WATER_INDUSTRYE" TEXT, "SEWAGE_INDUSTRYF" TEXT, "UNDERGROUND_INDUSTRYG" TEXT, "CONSTANT_USAGE_TONEH" NUMERIC, "SEWAGE_USAGE_TONEI" NUMERIC, "IMPOSITION_AMTJ" NUMERIC ); CREATE TABLE "VWSM_TRDHL_WRC_POPLTN_QQ" ( "STDR_YY_CD" TEXT, "STDR_QU_CD" TEXT, "TRDAR_SE_CD" TEXT, "TRDAR_SE_CD_NM" TEXT, "TRDAR_CD" NUMERIC, "TRDAR_CD_NM" TEXT, "TOT_WRC_POPLTN_CO" NUMERIC, "ML_WRC_POPLTN_CO" NUMERIC, "FML_WRC_POPLTN_CO" NUMERIC, "AGRDE_10_WRC_POPLTN_CO" TEXT, "AGRDE_20_WRC_POPLTN_CO" TEXT, "AGRDE_30_WRC_POPLTN_CO" NUMERIC, "AGRDE_40_WRC_POPLTN_CO" NUMERIC, "AGRDE_50_WRC_POPLTN_CO" NUMERIC, "AGRDE_60_ABOVE_WRC_POPLTN_CO" TEXT, "MAG_10_WRC_POPLTN_CO" TEXT, "MAG_20_WRC_POPLTN_CO" TEXT, "MAG_30_WRC_POPLTN_CO" NUMERIC, "MAG_40_WRC_POPLTN_CO" TEXT, "MAG_50_WRC_POPLTN_CO" TEXT, "MAG_60_ABOVE_WRC_POPLTN_CO" TEXT, "FAG_10_WRC_POPLTN_CO" TEXT, "FAG_20_WRC_POPLTN_CO" TEXT, "FAG_30_WRC_POPLTN_CO" NUMERIC, "FAG_40_WRC_POPLTN_CO" TEXT, "FAG_50_WRC_POPLTN_CO" TEXT, "FAG_60_ABOVE_WRC_POPLTN_CO" TEXT ); CREATE TABLE "KDHC_GREENHOUSE_GAS_ES_INFO" ( "BASE_DTV" TEXT, "FIXED_EMISSIONS_TCO2EW" TEXT, "I_E_T_DE" TEXT, "OTHER_EMISSIONS_TCO2EY" NUMERIC, "PROCESS_EMISSIONS_TCO2EZ" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_051801_Y_S" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "Y" TEXT, "BDNGUNDERFLRCNT" TEXT, "USEJISGSTFLR" TEXT, "USEUNDERSTFLR" TEXT, "USEUNDERENDFLR" TEXT, "YOKSILCNT" TEXT, "BALHANSILYN" TEXT, "CHAIRCNT" TEXT, "CNDPERMSTYMD" TEXT, "CNDPERMENDYMD" TEXT, "BDNGOWNSENM" TEXT, "WASHMCCNT" TEXT, "MANEIPCNT" TEXT, "RCVDRYNCNT" TEXT, "ABEDCNT" TEXT ); | SELECT LASTMODTS, APVPERMYMD FROM L_O_C_A_L_D_A_T_A_031302_G_N WHERE PERPLAFORMSENM = '์ํ๊ด' AND UPDATEGBN = 'I' ORDER BY SITEWHLADDR |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the business name and phone number of a travel agency in Yeongdeungpo-gu with a detailed business status of closure and a licensing date of 2020., schema : CREATE TABLE "GURO_MODEL_RESTAURANT_DESIGNATE" ( "CGG_CODE" NUMERIC, "ASGN_YY" TEXT, "ASGN_SNO" TEXT, "APPL_YMD" TEXT, "ASGN_YMD" TEXT, "UPSO_NM" TEXT, "SITE_ADDR_RD" TEXT, "SITE_ADDR" TEXT, "SNT_UPTAE_NM" TEXT, "MAIN_EDF" TEXT, "TRDP_AREA" TEXT, "ADMDNG_NM" TEXT, "GRADE_FACIL_GBN" TEXT, "UPSO_SITE_TELNO" TEXT ); Show the business name and phone number of a travel agency in Yeongdeungpo-gu with a detailed business status of closure and a licensing date of 2020. CREATE TABLE "L_O_C_A_L_D_A_T_A_082603_S_C" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "ASETSCP" TEXT, "CAPT" TEXT, "SILMETNM" TEXT ); CREATE TABLE "SDE_DRL_DPI_LS_W" ( "OBJECTID" TEXT, "BIPA_IDN" TEXT, "YEAR" TEXT, "LAT" TEXT, "LNG" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072211_G_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "MONAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "HOMEPAGE" TEXT ); | SELECT BPLCNM,SITETEL FROM L_O_C_A_L_D_A_T_A_031201_Y_D WHERE DTLSTATENM = 'ํ์
' AND APVPERMYMD LIKE '2020%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the road address and land address of travel agencies in Yeongdeungpo-gu that are currently operating with a licensing date after 2015 in reverse chronological order of licensing date., schema : CREATE TABLE "CURRENT_STS_CHILDREN_PLAY_FAC_SEOUL_METROPOLITAN_OFFICE_EDU" ( "ANNUAL" NUMERIC, "FACILITY_NUMBER" NUMERIC, "PLACEMENT" TEXT, "NAMES_OF_PLAY_FACILITIES" TEXT, "REGIONAL_CLASSIFICATION" TEXT, "INDOOR" TEXT ); Show the road address and land address of travel agencies in Yeongdeungpo-gu that are currently operating with a licensing date after 2015 in reverse chronological order of licensing date. CREATE TABLE "CURRENT_STS_LOCAL_TAX_EXEMPTION_RATE_SEONGNAM_SI_GYEONGGI" ( "TRIAL_NAME" TEXT, "CITIES_AND_COUNTIES" TEXT, "MUNICIPALITY" NUMERIC, "THREE_NAME_NAME" TEXT, "TAXATION_YEAR" NUMERIC, "RAIN_AND_THREE_AMOUNTS" NUMERIC, "REDUCTION_AMOUNT" NUMERIC, "IMPOSITION" NUMERIC, "NON_TAX_REDUCTION_RATE" NUMERIC ); CREATE TABLE "BTC_NOISE_MET_INFO" ( "LINE" TEXT, "SECTION" TEXT, "AVERAGE_LEQ" NUMERIC, "MAXIMUM_LMAX" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031002_Y_S" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DCBYMD" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "MNFACTREARTCLCN" TEXT, "UNDERNUMLAY" TEXT, "BDNGSRVNM" TEXT, "NOROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "EMEXYN" TEXT, "AUTOCHAAIRYN" TEXT, "BGROOMYN" TEXT ); | SELECT RDNWHLADDR,SITEWHLADDR FROM L_O_C_A_L_D_A_T_A_031201_Y_D WHERE DTLSTATENM = '์์
์ค' AND APVPERMYMD >= 20150000000000 ORDER BY APVPERMYMD DESC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:When are the licensing date and data refresh date of a place with a total of 15 floors and a postal code starting with 1428?, schema : CREATE TABLE "VW_REPAIR_EDU_INFO" ( "REPAIR_EDU_NAME" TEXT, "CENTER_NAME" TEXT, "REPAIR_EDU_AREA" TEXT, "REPAIR_EDUREQ_STDATE" NUMERIC, "REPAIR_EDUREQ_EDDATE" NUMERIC, "REPAIR_EDU_STDATE" TEXT, "REPAIR_EDU_EDDATE" TEXT, "REPAIR_EDU_LIMIT" NUMERIC, "REPAIR_EDU_REQUEST_CNT" NUMERIC, "REPAIR_EDU_PEE" NUMERIC, "REPAIR_EDU_CHOICEDATE" TEXT, "REPAIR_EDU_REFTEL" TEXT ); When are the licensing date and data refresh date of a place with a total of 15 floors and a postal code starting with 1428? CREATE TABLE "STS_GG_DDC_LS_PROD_CO" ( "SALES_BUSINESS_CLAS_NMX" TEXT, "B_E_N_V" TEXT, "LOC_MAP_NM_ADDRESSZ" TEXT, "LOC_NUM_ADDRESSA" TEXT, "LATITUDEB" NUMERIC, "HARDNESSC" NUMERIC, "NM_MANAGEMENT_AGENCYD" TEXT, "M_A_P_N_VA" TEXT, "DATA_BASE_DTF" TEXT ); CREATE TABLE "STS_GB_H_CLINIC" ( "SERIAL_NUMB" NUMERIC, "CITIES_COUNTIESC" TEXT, "NM_HEALTH_CLINICD" TEXT, "ADDRESSE" TEXT, "PHONE_NUMF" TEXT ); CREATE TABLE "CULTURAL_DISTRIBUTION_BUSINESS_GURI_SI_GYEONGGI" ( "MUTUAL" TEXT, "INDUSTRY_NAME" TEXT, "LOCATION" TEXT, "LATITUDE" NUMERIC, "HARDNESS" NUMERIC, "MANAGEMENT_NAME" TEXT, "DATA_STANDARD_DATE" TEXT ); | SELECT APVPERMYMD, UPDATEDT FROM L_O_C_A_L_D_A_T_A_031202_G_B WHERE TOTNUMLAY = 15 AND SITEPOSTNO LIKE '1428%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Please provide the management number and business name of an establishment with a licensing date of 1995 and a detailed business status code of 3., schema : CREATE TABLE "TB_PUBLIC_WIFI_INFO_S_C" ( "X_SWIFI_MGR_NO" TEXT, "X_SWIFI_WRDOFC" TEXT, "X_SWIFI_MAIN_NM" TEXT, "X_SWIFI_ADRES1" TEXT, "X_SWIFI_ADRES2" TEXT, "X_SWIFI_INSTL_FLOOR" TEXT, "X_SWIFI_INSTL_MBY" TEXT, "X_SWIFI_CMCWR" TEXT, "X_SWIFI_CNSTC_YEAR" TEXT, "X_SWIFI_INOUT_DOOR" TEXT, "LAT" NUMERIC, "LNT" NUMERIC, "WORK_DTTM" TEXT ); CREATE TABLE "M_BOARDING_LEAVING_P_KORAIL_PYEONGCHANG_STATION" ( "OPERATION_YEAR_MONTHU" TEXT, "UP_DOWN_CLASV" TEXT, "UNITW" TEXT, "NUM_PASSENGERSX" NUMERIC, "N_P_W_G_O_T_DE" NUMERIC ); Please provide the management number and business name of an establishment with a licensing date of 1995 and a detailed business status code of 3. CREATE TABLE "C_STS_GNGH_ADM_PRO" ( "T_A_H_K" TEXT, "B_E_N_L" TEXT, "BUSINESS_STA_NMZ" TEXT, "PHONE_NUMA" TEXT, "ROAD_NM_ADDRESSB" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_010102_G_R" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" NUMERIC, "Y" NUMERIC, "METRPNUM" TEXT, "HSTRMNUM" TEXT, "TOTAR" NUMERIC, "MEDEXTRITEMSCN" TEXT, "MEDEXTRITEMSCNNM" TEXT, "EMERCARSPEC" TEXT, "TOTEPNUM" TEXT, "RESCNT" TEXT, "PMTBEDNUM" TEXT, "FRSTASGNYMD" TEXT ); | SELECT MGTNO, BPLCNM FROM L_O_C_A_L_D_A_T_A_031201_J_G WHERE APVPERMYMD LIKE '1995%' AND DTLSTATEGBN = 3 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the name and production handling item description of an establishment where the data was updated and the update date is 2018., schema : CREATE TABLE "TOY_LIST_TOY_LIBRARIES_HAENAM_GUN_JEONNAM_TOY_LIBRARY" ( "AREA" TEXT, "TOY" TEXT, "USAGE_AGE_MONTHS" NUMERIC, "DATA_STANDARD_DATE" TEXT ); Show the name and production handling item description of an establishment where the data was updated and the update date is 2018. CREATE TABLE "KDHC_ELECITY_PRODION_INFO" ( "AREA_CDF" TEXT, "YEAR_MONTH_PRODUCTIONG" TEXT, "FCTR_CDH" TEXT, "ELECTRICITY_PRODUCTIONI" NUMERIC, "UNITJ" TEXT ); CREATE TABLE "GW_DH_SMART_W_METER_L" ( "SERIAL_NUMH" NUMERIC, "ROAD_NM_ADDRESSI" TEXT, "METER_READING_SYSJ" TEXT, "NM_COMPETENT_AUTHORITYK" TEXT, "P_N_C_A_A" TEXT, "DATA_BASE_DTM" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_082604_S_M" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "ASETSCP" TEXT, "BCTOTAM" TEXT, "CAPT" TEXT, "SILMETNM" TEXT ); | SELECT BPLCNM, MNFACTREARTCLCN FROM L_O_C_A_L_D_A_T_A_030802_J_N WHERE UPDATEGBN = 'U' AND UPDATEDT LIKE '2018%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Provide the business name and phone number of places where the data was updated or the final modification date is after 2018., schema : Provide the business name and phone number of places where the data was updated or the final modification date is after 2018. CREATE TABLE "KF_OVERSEAS_POLICY_RESEARCH_INSTITUTE_PRO_SU_PERFORMANCE" ( "YEAR" NUMERIC, "STATE_NAME" TEXT, "RESEARCH_CALL" TEXT, "BUSINESS_NAME" TEXT ); CREATE TABLE "MAFRA_NSEED_GOV_SPL_INTEGRATED_GROWTH_DISTRIBUTION" ( "YEARLY_CALCULATION" NUMERIC, "SUPPORT_NAME" TEXT, "NAME_CROP" TEXT, "VARIETY_NAME" TEXT, "SUPPLY_SUPPORT" TEXT, "SUPPLY_VOLUME" NUMERIC, "SORTATION" TEXT ); CREATE TABLE "GNARES_RD_PRO" ( "DEPARTMENTC" TEXT, "TASK_CLASD" TEXT, "ASSIGNMENT_NME" TEXT, "FIELDF" TEXT, "LABORATORYG" TEXT ); CREATE TABLE "NEIS_ACADEMY_INFO_GS" ( "ADMST_ZONE_NM" TEXT, "ACA_INSTI_SC_NM" TEXT, "ACA_NM" TEXT, "ESTBL_YMD" TEXT, "REG_YMD" TEXT, "TOFOR_SMTOT" TEXT, "DTM_RCPTN_ABLTY_NMPR_SMTOT" TEXT, "REALM_SC_NM" TEXT, "LE_ORD_NM" TEXT, "LE_CRSE_NM" TEXT, "PSNBY_THCC_CNTNT" TEXT, "THCC_OTHBC_YN" TEXT, "BRHS_ACA_YN" TEXT, "FA_RDNZC" NUMERIC, "FA_RDNMA" TEXT, "FA_RDNDA" TEXT, "LOAD_DTM" TEXT ); | SELECT BPLCNM, SITETEL FROM L_O_C_A_L_D_A_T_A_030801_S_P WHERE LASTMODTS LIKE '2018%' AND UPDATEGBN = 'U' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the business status name and business name of a billiard establishment that received a license in 1992 with a culture and sports category name as a billiard business., schema : CREATE TABLE "JUNGGU_LIST_LOAN_COMPANY" ( "BSNS_SE" TEXT, "MNG_STATE_CODE" TEXT, "OLD_APV_NO" TEXT, "BUP_NM" TEXT, "REP_NM" TEXT, "UPCHE_GBN" TEXT, "WRKR_BUP_TELNO" TEXT, "WRKR_BUP_ADDR" TEXT, "WRKR_RD_FULL_ADDR" TEXT, "APV_YMD" TEXT, "LAST_CLS_YMD" TEXT, "WRKR_ESBMNT_YMD" TEXT, "HOFF_YN" TEXT, "LAST_MOD_YMD" TEXT ); CREATE TABLE "KENERGY_PW_EFFICIENCY_IMPROVEMENT_PRO_LOAD_MNG_EQ_SPL_RESULTS" ( "INS_AREAK" TEXT, "SUPPORT_ITEML" TEXT, "SUPPORT_QUANTITY_NUMM" NUMERIC, "TOTAL_SUBSIDYN" NUMERIC ); Show the business status name and business name of a billiard establishment that received a license in 1992 with a culture and sports category name as a billiard business. CREATE TABLE "STS_VOLUNTEER_FAC_SUYEONG_GU_BUSAN" ( "ANNUAL" NUMERIC, "DEMAND" TEXT, "FACILITY" TEXT, "PHONE_NUMBER" TEXT, "ADDRESS" TEXT ); CREATE TABLE "CURRENT_STS_WATER_SPL_USAGE_GIMHAE_GYEONGNAM" ( "YEAR" NUMERIC, "MONTH" NUMERIC, "ADMINISTRATIVE_NAME" TEXT, "NUMBER_OF_CASES" NUMERIC, "USAGE_TONE" NUMERIC ); | SELECT BPLCNM, TRDSTATENM FROM L_O_C_A_L_D_A_T_A_103201_M_P WHERE CULPHYEDCOBNM = '๋น๊ตฌ์ฅ์
' AND APVPERMYMD LIKE '1992%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Find the data renewal date of businesses located in Yeoksam-dong in road addresses or with "DVD" in their names., schema : CREATE TABLE "STS_GG_OS_SPORTS_FAC_I" ( "INDUSTRYB" TEXT, "MUTUALC" TEXT, "F_A_R_N_A" TEXT, "FACILITY_PHONE_NUME" TEXT, "DATA_BASE_DTF" TEXT ); CREATE TABLE "HRDK_N_SKILLS_COMPETITION_PROFESSIONAL_HIGH_SCHOOL_AWARD_INFO" ( "YEARC" NUMERIC, "CITY_PROVINCED" TEXT, "AFFILIATIONE" TEXT, "GOLDF" NUMERIC, "SILVERG" NUMERIC, "DONGH" NUMERIC, "AWARD_EXCELLENCEI" NUMERIC, "ENCOURAGEMENT_AWARDJ" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_051801_J_G" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "BDNGJISGFLRCNT" TEXT, "USEJISGENDFLR" TEXT, "USEUNDERENDFLR" TEXT, "HANSHILCNT" TEXT, "YANGSILCNT" TEXT, "BALHANSILYN" TEXT, "CHAIRCNT" TEXT, "CNDPERMNTWHY" TEXT, "CNDPERMENDYMD" TEXT, "BDNGOWNSENM" TEXT, "WMEIPCNT" TEXT, "MANEIPCNT" TEXT, "RCVDRYNCNT" TEXT, "ABEDCNT" TEXT, "MULTUSNUPSOYN" TEXT ); Find the data renewal date of businesses located in Yeoksam-dong in road addresses or with "DVD" in their names. CREATE TABLE "L_O_C_A_L_D_A_T_A_072219_E_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "TOTEPNUM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "MONAM" TEXT, "MULTUSNUPSOYN" TEXT, "JTUPSOASGNNO" TEXT, "HOMEPAGE" TEXT ); | SELECT UPDATEDT FROM L_O_C_A_L_D_A_T_A_031001_G_N WHERE RDNWHLADDR LIKE '%์ญ์ผ๋%' OR BPLCNM LIKE '%DVD%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show me the business names and road addresses of places that were licensed in 1996 and are currently in operation., schema : CREATE TABLE "GBYC_M_RESTAURANT_STS" ( "SERIAL_NUME" NUMERIC, "MUTUALF" TEXT, "TYPE_BUSINESSG" TEXT, "MAIN_DISHH" TEXT, "LOCI" TEXT, "BUSINESS_AREAJ" NUMERIC, "DELIBERATION_CLASK" TEXT, "PHONE_NUML" TEXT ); CREATE TABLE "STS_BASIC_LIVING_SECURITY_RECIPIENTS_NAM_GU_BUSAN" ( "TOWNSHIP_AND_TOWNSHIP" TEXT, "QUALIFICATION" TEXT, "NUMBER_HOUSEHOLDS" NUMERIC, "NUMBER_BENEFICIARIES" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031202_D_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "REGNSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "INSURORGNM" TEXT, "BDNGSRVNM" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "STROOMCNT" TEXT, "CNSTYAREA" TEXT, "ENGSTNTRNMNM" TEXT, "SHPTOTTONS" TEXT, "SHPCNT" TEXT, "CAPT" NUMERIC, "FACILSCP" TEXT ); Show me the business names and road addresses of places that were licensed in 1996 and are currently in operation. CREATE TABLE "STS_OFFLINE_CRACKDOWN_ILLEGAL_COPIES_KCOPA" ( "DT_CRACKDOWNS" TEXT, "METROPOLITAN_CITYT" TEXT, "C_C_C_D_ZZ" TEXT, "ADDRESSV" TEXT, "CONTROL_CLASW" TEXT, "I_C_G_C_DE" TEXT, "N_M_C_W_XZ" NUMERIC, "NUM_MUSIC_CD_WORKSZ" NUMERIC, "NUM_MUSIC_SD_CARD_WORKSA" NUMERIC, "MUSIC_USB_AUTHOR_COUNTB" NUMERIC, "MUSIC_OTHER_WORKS_COUNTC" NUMERIC, "NUM_VIDEO_DVD_WORKSD" NUMERIC, "NUM_SD_CARD_WORKS_VIDEOE" NUMERIC, "NUM_USB_WORKS_FORF" NUMERIC, "NUM_VIDEOS_OTHER_WORKSG" NUMERIC, "NUM_PUBLISHED_WORKSH" NUMERIC, "N_B_S_P_J" NUMERIC, "N_O_W_P_K" NUMERIC, "NUM_GAME_CD_WORKSK" NUMERIC, "NUM_GAME_CHIP_WORKSL" NUMERIC, "NUM_GAME_SD_CARD_WORKSM" NUMERIC, "NUM_GAMES_OTHER_WORKSN" NUMERIC, "N_C_D_W_P" NUMERIC, "NUM_CHARACTER_TOY_WORKSP" NUMERIC, "C_O_W_C_RC" NUMERIC ); | SELECT BPLCNM, RDNWHLADDR FROM L_O_C_A_L_D_A_T_A_031001_S_B WHERE APVPERMYMD LIKE '1996%' AND DTLSTATENM = '์์
์ค' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the X and Y coordinates of the video viewing rooms located in Seokgwan-dong with phone number 925., schema : CREATE TABLE "FLUB_MARKS2011" ( "OBJECTID" NUMERIC, "GU_NAM" TEXT, "AREA" TEXT, "ETC" TEXT ); CREATE TABLE "SYS_MNG_DATA_KASFO_UNIV_FINANCIAL_ACCOUNTING_CNT" ( "POSTPOSITION_ORDER" NUMERIC, "TRIAL" TEXT, "CITY_GUN" TEXT, "EUPMYEON_DONG" TEXT ); CREATE TABLE "CHILD_CARE_INFO_Y_D" ( "SIGUNNAME" TEXT, "STCODE" NUMERIC, "CRNAME" TEXT, "CRTYPENAME" TEXT, "CRSTATUSNAME" TEXT, "ZIPCODE" NUMERIC, "CRADDR" TEXT, "CRTELNO" TEXT, "CRFAXNO" TEXT, "NRTRROOMCNT" TEXT, "NRTRROOMSIZE" TEXT, "PLGRDCO" TEXT, "CCTVINSTLCNT" TEXT, "CHCRTESCNT" TEXT, "CRCAPAT" TEXT, "LO" NUMERIC, "CRCARGBNAME" TEXT, "CRPAUSEBEGINDT" TEXT, "CRPAUSEENDDT" TEXT, "CRABLDT" TEXT, "DATASTDRDT" TEXT, "CRSPEC" TEXT, "CLASS_CNT_00" TEXT, "CLASS_CNT_01" TEXT, "CLASS_CNT_02" TEXT, "CLASS_CNT_04" TEXT, "CLASS_CNT_05" TEXT, "CLASS_CNT_M5" TEXT, "CLASS_CNT_SP" TEXT, "CLASS_CNT_TOT" TEXT, "CHILD_CNT_03" TEXT, "CHILD_CNT_04" TEXT, "CHILD_CNT_05" TEXT, "CHILD_CNT_M2" TEXT ); CREATE TABLE "UPIS_SHP_CUL210" ( "OBJECTID" NUMERIC, "LAYER" TEXT, "NAME" TEXT ); Show the X and Y coordinates of the video viewing rooms located in Seokgwan-dong with phone number 925. | SELECT DISTINCT X, Y FROM L_O_C_A_L_D_A_T_A_031001_S_B WHERE SITETEL LIKE '%925%' OR SITEWHLADDR LIKE '%์๊ด๋%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:What is the licensing date and cultural business operator classification of a multimedia distribution gaming provider located near residential areas with phone numbers starting with 0?, schema : CREATE TABLE "TERMINOLOGY_KORAIL_RAILWAY" ( "NUMD" NUMERIC, "TERM_NME" TEXT, "GLOSSARY_TERMSF" TEXT ); CREATE TABLE "HRDK_N_QUALIFICATION_LIST_INFO" ( "QUALIFICATION_CODE" TEXT, "CLEAR_QUALIFICATION" TEXT, "AFFILIATED_NAME" TEXT, "STOCK_NAME" TEXT ); CREATE TABLE "STS_TEST_INFO_HRDK_TECHNICIAN" ( "STOCK_NAME" TEXT, "ITEM" TEXT, "CONTENTS" TEXT, "DATA_TYPE" TEXT, FOREIGN KEY ("STOCK_NAME") REFERENCES "HRDK_N_QUALIFICATION_LIST_INFO"("STOCK_NAME") ); What is the licensing date and cultural business operator classification of a multimedia distribution gaming provider located near residential areas with phone numbers starting with 0? CREATE TABLE "FCLT_OPEN_INFO_O_L_W_I" ( "FCLT_NM" TEXT, "ELDERLY_WELFARE_FCLT_CD" TEXT, "ELDERLY_WELFARE_FCLT_KIND_NM" TEXT, "ELDERLY_WELFARE_FCLT_KIND_DTL_NM" TEXT, "FCLT_ADDR" TEXT ); CREATE TABLE "CONTENT_DB_RULING_INDEPENDENCE_MOVEMENT_MOIS_N_ARCHIVES" ( "SERIAL_NUMZ" NUMERIC, "NM_NICKNMA" TEXT, "AGE_THAT_TIMEB" TEXT, "ONE_DOMICILEC" TEXT, "CHARGE_CRIMED" TEXT, "ORDERE" TEXT, "DT_JUDGMENTF" TEXT, "INCIDENT_OVERVIEWG" TEXT, "P_O_T_J_H" TEXT, "P_T_J_I" TEXT, "PRODUCTION_YEARJ" NUMERIC, "MANAGEMENT_NUMK" TEXT, "MICROFILM_NUML" NUMERIC ); | SELECT APVPERMYMD, CULWRKRSENM FROM L_O_C_A_L_D_A_T_A_030504_J_R WHERE NEARENVNM = '์ฃผํ๊ฐ์ฃผ๋ณ' AND SITETEL LIKE '0%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the total sum of business establishment counts in descending order along with the total sum of establishment counts by type of business with the names of youth harmful business types., schema : Show the total sum of business establishment counts in descending order along with the total sum of establishment counts by type of business with the names of youth harmful business types. CREATE TABLE "STS_BALANCE_HF_HOUSING_FINANCE_CREDIT_GUARANTEE_GUARANTEE_T" ( "YEARR" NUMERIC, "N_H_P_S" NUMERIC, "PURCHASE_AMTT" NUMERIC, "NUM_CHARTER_HOUSEHOLDSU" NUMERIC, "AMT_LEASEV" NUMERIC, "NUM_M_INCOME_HOUSEHOLDSW" NUMERIC, "INTERMEDIATE_PAYX" NUMERIC, "N_H_R_R_D_Y" NUMERIC, "R_A_R_D_Z" NUMERIC, "IMPROVED_HOUSEHOLD_PRA" NUMERIC, "AMT_IMPROVEMENTB" NUMERIC, "B_G_H_P_CV" NUMERIC, "BUSINESS_SECURITY_AMTD" NUMERIC ); CREATE TABLE "VW_SCC_STATS_AGE_SEXDSTN" ( "DALY_DE" TEXT, "A0019_1" NUMERIC, "A0019_2" NUMERIC, "A2029_1" NUMERIC, "A2029_2" NUMERIC, "A3039_1" NUMERIC, "A3039_2" NUMERIC, "A4049_1" NUMERIC, "A4049_2" NUMERIC, "A5059_1" NUMERIC, "A5059_2" NUMERIC, "A6000_1" NUMERIC, "A6000_2" NUMERIC ); CREATE TABLE "NEGO_CONTRACT_INFO" ( "RNUM" NUMERIC, "T2_OFFICE_CD" NUMERIC, "VIEW_OFFICE_NM" TEXT, "SET_OFFICE_CD" NUMERIC, "SET_OFFICE_NM" TEXT, "PROPOSE_DEPT_NM" TEXT, "GOV_OFFICE_CD" NUMERIC, "GOV_OFFICE_NM" TEXT, "UNT_GRP" TEXT, "FIS_YEAR" TEXT, "CON_TTL" TEXT, "CTRT_KIND" NUMERIC, "CON_KD_NM" TEXT, "DEPT_CD" TEXT, "APP_YMD" TEXT, "APPRAISE_PLACE" TEXT, "APPRAISE_MEMBER" NUMERIC, "PROPOSAL_ENTERPRISE" NUMERIC, "APPRAISE_RESULT" TEXT, "INS_DATE" TEXT, "UPD_DATE" TEXT, "ORIGINAL_FILENAME" TEXT, "GCC_DEPT_CD" NUMERIC ); CREATE TABLE "EDUAL_BACKGROUND_INFO_KISED_START_UP_ENTREPRENEURS" ( "CATEGOTY_1" TEXT, "CATEGOTY_2" TEXT, "MID_SCH" NUMERIC, "HIG_SCH" NUMERIC, "COL_SCH" NUMERIC, "UNIV_SCH" NUMERIC, "MASTER" NUMERIC, "DOCTOR" NUMERIC ); CREATE TABLE "FMT_WORKING_KISED_START_UP_ENTREPRENEURS" ( "CATEGOTY_1" TEXT, "CATEGOTY_2" TEXT, "EMP_STATUS" NUMERIC, "LEV_STATUS" NUMERIC, "PLA_STATUS" NUMERIC, "RET_STATUS" NUMERIC, FOREIGN KEY ("CATEGOTY_2") REFERENCES "EDUAL_BACKGROUND_INFO_KISED_START_UP_ENTREPRENEURS"("CATEGOTY_2") ); | SELECT YOUTH_CTA_COB_NM, SUM(TOTAL_CNT) FROM EP_JUVENILE_HARMFUL_BIZ GROUP BY YOUTH_CTA_COB_NM ORDER BY SUM(TOTAL_CNT) DESC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:When are the insurance start and end dates of the business that belongs to the cultural and sports industry and has "Seoul" in the insurance company name under the comprehensive travel business type?, schema : CREATE TABLE "TB_OPENDATA_FIXEDCCTV_S_M" ( "ADRES" TEXT, "LATITUDE" NUMERIC, "LONGITUDE" NUMERIC, "S_M_PSTINST_CD" TEXT, "REGLT_SPOT_NM" TEXT ); When are the insurance start and end dates of the business that belongs to the cultural and sports industry and has "Seoul" in the insurance company name under the comprehensive travel business type? CREATE TABLE "L_O_C_A_L_D_A_T_A_031202_D_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "REGNSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "INSURORGNM" TEXT, "BDNGSRVNM" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "STROOMCNT" TEXT, "CNSTYAREA" TEXT, "ENGSTNTRNMNM" TEXT, "SHPTOTTONS" TEXT, "SHPCNT" TEXT, "CAPT" NUMERIC, "FACILSCP" TEXT ); CREATE TABLE "KHNP_HD_TECHNICAL_INFO_MNG_O_LIST_OUTSIDE_PATIONS" ( "NUMU" NUMERIC, "PROVIDERV" TEXT, "PUBLICATION_NMW" TEXT, "PUBLICATION_CYCLEX" TEXT, "FIELDY" TEXT ); CREATE TABLE "SUBWAY_TOUR_INFO" ( "NO" TEXT, "LINE" TEXT, "LINE_NAME" TEXT, "STATION" TEXT, "STATION_IMAGE" TEXT, "COURSE1" TEXT, "COURSE2" TEXT, "ELEVATER" TEXT, "ELEVATER_TXT" TEXT, "STATION_IMAGE2" TEXT, "USEYN" TEXT, "ICON_PATH" TEXT, "EXIT_INFO" TEXT, "TELNO_INFO" TEXT, "TIME_INFO1" TEXT, "TIME_INFO2" TEXT, "TIME_INFO3" TEXT, "TIME_INFO4" TEXT ); | SELECT INSURSTDT, INSURENDDT FROM L_O_C_A_L_D_A_T_A_031203_J_N WHERE INSURORGNM LIKE '%์์ธ%' AND CULPHYEDCOBNM = '์ข
ํฉ์ฌํ์
' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Provide the parcel address and road address of businesses with "tourism" in the name and in normal operating status., schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_072217_D_J" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "UPDATEGBN" TEXT, "UPTAENM" TEXT, "Y" TEXT, "MANEIPCNT" TEXT, "WTRSPLYFACILSENM" TEXT, "TOTEPNUM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "MONAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); Provide the parcel address and road address of businesses with "tourism" in the name and in normal operating status. CREATE TABLE "CURRENT_STS_WOMEN_ENT_DALSEO_GU_DAEGU" ( "LATITUDE" NUMERIC, "HARDNESS" NUMERIC, "COMPANY_NAME" TEXT, "REPRESENTATIVE" TEXT, "FULL_TIME_WORKER" NUMERIC, "LOCATION" TEXT, "MAIN_BUSINESS" TEXT, "PHONE_NUMBER" TEXT, "MAJOR_PRODUCTION_ITEMS" TEXT, "DEPARTMENT_CHARGE" TEXT, "BASE_DATE" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_030505" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "FACILAR" TEXT, "UNDERNUMLAY" TEXT, "PASGBRETH" TEXT, "BGROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "AUTOCHAAIRYN" TEXT ); CREATE TABLE "FAC_S_INDOOR_AIR_QUALITY_MNG_DALSEO_GU_DAEGU" ( "FACILITY_CLASSIFICATION" TEXT, "FACILITY_NAME" TEXT, "ADDRESS" TEXT, "ADMINISTRATIVE_DONG" TEXT, "HARDNESS" NUMERIC, "LATITUDE" NUMERIC, "DATA_BASE_DATE" TEXT ); | SELECT SITEWHLADDR, RDNWHLADDR FROM L_O_C_A_L_D_A_T_A_031203_J_N WHERE BPLCNM LIKE '%๊ด๊ด%' AND TRDSTATENM = '์์
/์ ์' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Find the parcel address and road address of a publishing company in Gwangjin-gu that was licensed in 1994 and is currently in operation., schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_093014_M_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "Y" TEXT, "BSNGBN" NUMERIC, "BDNGNM" TEXT, "BDNGYAREA" TEXT, "BDNGSTATENM" TEXT, "CLSTGTSTDT" TEXT, "CLSTGTENDDT" TEXT, "CASWHY" TEXT, "BSNGBNNM" TEXT ); CREATE TABLE "CURRENT_STS_AUTOMOBILE_DEALERS_JEJU" ( "ADMINISTRATION" TEXT, "COMPANY_NAME" TEXT, "REGISTRATION_DATE" TEXT, "LOCATION" TEXT, "CONTACT" TEXT, "NOTE" TEXT, "DATA_STANDARD_DATE" TEXT ); Find the parcel address and road address of a publishing company in Gwangjin-gu that was licensed in 1994 and is currently in operation. CREATE TABLE "L_O_C_A_L_D_A_T_A_093004_S_M" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "BDNGJISGFLRCNT" TEXT, "BDNGUNDERFLRCNT" TEXT, "USEJISGSTFLR" TEXT, "USEJISGENDFLR" TEXT, "USEUNDERSTFLR" TEXT, "HANSHILCNT" TEXT, "YOKSILCNT" TEXT, "BALHANSILYN" TEXT, "CNDPERMNTWHY" TEXT, "CNDPERMENDYMD" TEXT, "BDNGOWNSENM" TEXT, "WASHMCCNT" TEXT, "MANEIPCNT" TEXT, "RCVDRYNCNT" TEXT, "MULTUSNUPSOYN" TEXT ); CREATE TABLE "STS_GENERAL_RESTING_RESTAURANTS_SASANG_GU_BUSAN" ( "INDUSTRY_NAME" TEXT, "BUSINESS_NAME" TEXT, "LOCATION_ROAD_NAME" TEXT, "TELEPHONE" TEXT ); | SELECT SITEWHLADDR, RDNWHLADDR FROM L_O_C_A_L_D_A_T_A_041701_G_J WHERE APVPERMYMD LIKE '1994%' AND DTLSTATENM = '์์
์ค' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Tell me the parcel address and road address of the publishing company Osun Publishing and Dapge in Gwangjin-gu., schema : Tell me the parcel address and road address of the publishing company Osun Publishing and Dapge in Gwangjin-gu. CREATE TABLE "GGPJ_DELINQUENCY_C_STS" ( "RETENTION_DTV" TEXT, "ADMINISTRATIVE_BUILDINGW" TEXT, "NUM_ARREARSX" NUMERIC, "AMT_ARREARSY" NUMERIC, "NUM_AUTOMOBILE_TAX_PAYSZ" NUMERIC, "AUTOMOBILE_TAX_ARREARSA" NUMERIC, "DATA_BASE_DTB" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072202_Y_C" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "HOFFEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "MONAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); CREATE TABLE "KOSIS_SEASONAL_THEME_TRAVEL_DETAIL_CUR_INFO" ( "TURN" NUMERIC, "TRAVEL_NOMINATION" TEXT, "PHOTO_FILE" TEXT, "LATITUDE" NUMERIC, "HARDNESS" NUMERIC, "CONTACT" TEXT, "ADDRESS" TEXT, "TRAVEL_DAY" NUMERIC, "EXPLANATION" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072404_D_J" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "TOTEPNUM" TEXT, "HOFFEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "MONAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "HOMEPAGE" TEXT ); | SELECT SITEWHLADDR,RDNWHLADDR FROM L_O_C_A_L_D_A_T_A_041701_G_J WHERE BPLCNM = '์ค์ ์ถํ์ฌ' OR BPLCNM = '๋ต๊ฒ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Inform me of the name and administrative district of places where "gallery" is in the search keyword and the administrative district is Gangnam-gu., schema : CREATE TABLE "PPS_LOCAL_RESD" ( "STDR_DE_ID" TEXT, "TMZON_PD_SE" NUMERIC, "ADSTRD_CODE_SE" NUMERIC, "OA_CD" NUMERIC, "TOT_LVPOP_CO" NUMERIC, "MALE_F0T9_LVPOP_CO" TEXT, "MALE_F10T14_LVPOP_CO" TEXT, "MALE_F15T19_LVPOP_CO" TEXT, "MALE_F20T24_LVPOP_CO" TEXT, "MALE_F25T29_LVPOP_CO" TEXT, "MALE_F30T34_LVPOP_CO" TEXT, "MALE_F35T39_LVPOP_CO" TEXT, "MALE_F40T44_LVPOP_CO" TEXT, "MALE_F45T49_LVPOP_CO" TEXT, "MALE_F50T54_LVPOP_CO" TEXT, "MALE_F55T59_LVPOP_CO" TEXT, "MALE_F60T64_LVPOP_CO" TEXT, "MALE_F65T69_LVPOP_CO" TEXT, "MALE_F70T74_LVPOP_CO" TEXT, "FEMALE_F0T9_LVPOP_CO" TEXT, "FEMALE_F10T14_LVPOP_CO" TEXT, "FEMALE_F15T19_LVPOP_CO" TEXT, "FEMALE_F20T24_LVPOP_CO" TEXT, "FEMALE_F25T29_LVPOP_CO" TEXT, "FEMALE_F30T34_LVPOP_CO" TEXT, "FEMALE_F35T39_LVPOP_CO" TEXT, "FEMALE_F40T44_LVPOP_CO" TEXT, "FEMALE_F45T49_LVPOP_CO" TEXT, "FEMALE_F50T54_LVPOP_CO" TEXT, "FEMALE_F55T59_LVPOP_CO" TEXT, "FEMALE_F60T64_LVPOP_CO" TEXT, "FEMALE_F65T69_LVPOP_CO" TEXT, "FEMALE_F70T74_LVPOP_CO" TEXT ); Inform me of the name and administrative district of places where "gallery" is in the search keyword and the administrative district is Gangnam-gu. CREATE TABLE "L_O_C_A_L_D_A_T_A_030505_J_G" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "FACILAR" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "BDNGSRVNM" TEXT, "LGHTFACILINILLU" TEXT, "NOROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "EMEXYN" TEXT, "AUTOCHAAIRYN" TEXT ); CREATE TABLE "KPX_D_PW_GENERATION_FAC" ( "KITEI" NUMERIC, "MONTHJ" NUMERIC, "WORKK" NUMERIC, "ATOMIC_ENERGYL" NUMERIC, "BITUMINOUS_COALM" NUMERIC, "ANTHRACITE_COALN" NUMERIC, "OIL_FIELDO" NUMERIC, "L_N_G_L_M" NUMERIC, "AMNIOTIC_FLUIDQ" NUMERIC, "FUEL_CELLR" NUMERIC, "COAL_GASIFICATIONS" NUMERIC, "SUNT" NUMERIC, "WIND_POWERU" NUMERIC, "WATER_POWERV" NUMERIC, "OCEANW" NUMERIC, "BIOX" NUMERIC, "WASTEY" NUMERIC, "ETCZ" NUMERIC, "SUMA" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_010201_D_B" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "CLGSTDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "EYEPYONUM" TEXT, "SAMPLENSNUM" TEXT, "MSMCHAIRNUM" TEXT, "PUPILDISTMEASNUM" TEXT, "DEFPTRFRTGGNUM" TEXT, "PPTNUSEGRNDNUM" TEXT, "LENSCUTNUM" TEXT, "HEATNUM" TEXT, "GLSWASHERNUM" TEXT, "TOTAR" TEXT ); | SELECT NAME_KOR, H_KOR_DONG FROM SEBC_ART_GALLERY_KOR WHERE NM_DP LIKE '%๊ฐค๋ฌ๋ฆฌ%' AND H_KOR_GU = '๊ฐ๋จ๊ตฌ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:In order of the largest number of search terms by administrative district, show the administrative district and the number of search terms. , schema : CREATE TABLE "CHILD_CARE_INFO_Y_S" ( "SIGUNNAME" TEXT, "STCODE" NUMERIC, "CRNAME" TEXT, "CRTYPENAME" TEXT, "CRSTATUSNAME" TEXT, "ZIPCODE" NUMERIC, "CRADDR" TEXT, "CRTELNO" TEXT, "CRHOME" TEXT, "NRTRROOMSIZE" TEXT, "PLGRDCO" TEXT, "CCTVINSTLCNT" TEXT, "CHCRTESCNT" TEXT, "CRCAPAT" TEXT, "CRCHCNT" TEXT, "LA" NUMERIC, "LO" NUMERIC, "CRCARGBNAME" TEXT, "CRCNFMDT" TEXT, "CRPAUSEBEGINDT" TEXT, "CRABLDT" TEXT, "DATASTDRDT" TEXT, "CRSPEC" TEXT, "CLASS_CNT_00" TEXT, "CLASS_CNT_01" TEXT, "CLASS_CNT_02" TEXT, "CLASS_CNT_03" TEXT, "CLASS_CNT_05" TEXT, "CLASS_CNT_M2" TEXT, "CLASS_CNT_M5" TEXT, "CLASS_CNT_SP" TEXT, "CLASS_CNT_TOT" TEXT, "CHILD_CNT_01" TEXT, "CHILD_CNT_02" TEXT, "CHILD_CNT_03" TEXT, "CHILD_CNT_04" TEXT, "CHILD_CNT_05" TEXT ); In order of the largest number of search terms by administrative district, show the administrative district and the number of search terms. CREATE TABLE "GGHN_MUSEUM_COL_RELICS_INFO" ( "COLLECTION_NUMQ" NUMERIC, "COLLECTION_CLASR" TEXT, "NMS" TEXT, "AMT_DRINKING_WATERT" NUMERIC, "AGE_NATIONALITYU" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_051901_G_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "BDNGJISGFLRCNT" TEXT, "BDNGUNDERFLRCNT" TEXT, "USEJISGSTFLR" TEXT, "USEJISGENDFLR" TEXT, "USEUNDERSTFLR" TEXT, "HANSHILCNT" TEXT, "YANGSILCNT" TEXT, "BALHANSILYN" TEXT, "CHAIRCNT" TEXT, "CNDPERMNTWHY" TEXT, "CNDPERMSTYMD" TEXT, "BDNGOWNSENM" TEXT, "WASHMCCNT" TEXT, "WMEIPCNT" TEXT, "RCVDRYNCNT" TEXT, "ABEDCNT" TEXT, "MULTUSNUPSOYN" TEXT ); CREATE TABLE "GNH_MANUFACTURING_PLANT_STS" ( "NUME" NUMERIC, "CORPORATE_NMF" TEXT, "NM_REPRESENTATIVEG" TEXT, "F_R_A_ZZ" TEXT, "PHONE_NUMI" TEXT, "FAX_NUMJ" TEXT, "BUSINESS_NMK" TEXT, "PRODUCTION_PRODUCTL" TEXT ); | SELECT H_KOR_GU, COUNT(NM_DP) FROM SEBC_ART_GALLERY_KOR GROUP BY H_KOR_GU ORDER BY COUNT(NM_DP) DESC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Inquire about the permit date and the final modification date of the permit information for a sports facility with a business name ending in "Taekwondo Center" and with at least one instructor. , schema : CREATE TABLE "GD_TN_BBS_SEONGNAE2DONG" ( "GD_NTT_ID" NUMERIC, "GD_NTT_SN" NUMERIC, "NTT_SJ" TEXT, "GD_BBSCTT_CN" TEXT, "INQIRE_CO" TEXT, "REGIST_DT_HM" TEXT, "UPDT_DT_HM" TEXT ); Inquire about the permit date and the final modification date of the permit information for a sports facility with a business name ending in "Taekwondo Center" and with at least one instructor. CREATE TABLE "L_O_C_A_L_D_A_T_A_114602_G_C" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "EMERFACILLOC" TEXT, "FACILNMBDNGNM" TEXT, "DSVYMD" TEXT ); CREATE TABLE "RESIDUAL_PESTICIDE_ANL_MAFRA_NAQS_AGRICULTURAL_PROD" ( "ITEM_NAME" TEXT, "COLLECTION_STAGE" TEXT, "CULTIVATION" TEXT, "ADDRESS" TEXT, "CULTIVATION_AREA" NUMERIC, "SURVEY_VOLUME" NUMERIC, "REGISTRATION_DATE" TEXT, "ANALYSIS_RESULTS" TEXT ); CREATE TABLE "GLOBAL_GALLERY" ( "ARTICLE_SEQ" NUMERIC, "BOARD_SEQ" NUMERIC, "TITLE" TEXT, "CONTS" TEXT, "VIEW_CNT" NUMERIC, "REG_DT" TEXT, "REG_NM" TEXT, "THUMB" TEXT ); | SELECT APVPERMYMD, LASTMODTS FROM L_O_C_A_L_D_A_T_A_104101_M_P WHERE BPLCNM LIKE '%ํ๊ถ๋์ฅ' AND LDERCNT >= 1 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Provide the management number and permit date for businesses with the data update type set to "update" or the detailed business status set to "closed." , schema : CREATE TABLE "KIOM_OASIS_ONTOLOGY_KEYWORD_INFO" ( "O_K_C_N_S" TEXT, "KEYWORD_CLASQ" TEXT, "IDENTIFIER_CIDR" TEXT, "P_N_L_N_V" TEXT, "CHINESE_CIVILIZATIONT" TEXT, "O_S_C_X" TEXT ); Provide the management number and permit date for businesses with the data update type set to "update" or the detailed business status set to "closed." CREATE TABLE "L_O_C_A_L_D_A_T_A_072217_S_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "FCTYSILJOBEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "ISREAM" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_010204_J_G" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CTPLCTMCENUM" TEXT, "CRFTUSEMOTNUM" TEXT, "DENTIUSEPRESSNUM" TEXT, "EFURNUM" TEXT, "PCANNUM" TEXT, "SPWVCLERNUM" TEXT, "SUVYNUM" TEXT, "VITRNUM" TEXT, "TRMNUM" TEXT, "CRFTUSECOMPRECNT" TEXT, "SBMCNT" TEXT, "BURYCNT" TEXT, "PINDEXCNT" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_020306_M_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" NUMERIC, "Y" NUMERIC, "LINDJOBGBNNM" TEXT, "LINDSEQNO" TEXT, "RGTMBDSNO" TEXT ); | SELECT MGTNO , APVPERMYMD FROM L_O_C_A_L_D_A_T_A_031403_Y_S WHERE UPDATEGBN = 'U' OR DTLSTATENM = 'ํ์
' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Find the X and Y coordinate information for a location where the business status is "normal operation" or where the information was first registered before May 21, 2007. , schema : Find the X and Y coordinate information for a location where the business status is "normal operation" or where the information was first registered before May 21, 2007. CREATE TABLE "C_STS_GGAY_SPATIAL_INFO_SYS_CROSSING" ( "MANAGEMENT_NUMJ" NUMERIC, "WIDTH_CROSSWALKK" NUMERIC, "CROSSWALK_LENGTHL" NUMERIC, "JURISDICTIONM" TEXT, "INS_DTN" TEXT ); CREATE TABLE "VW_NEWS" ( "N_SEQ" TEXT, "N_GU_CODE" NUMERIC, "N_GU_NAME" TEXT, "N_EVENT_CODE" NUMERIC, "N_EVENT_NAME" TEXT, "N_TITLE" TEXT, "N_CONTENTS" TEXT, "N_VIEW_COUNT" TEXT, "REG_DATE" TEXT, "FILE_PATH" TEXT ); CREATE TABLE "IMPORT_EXPORT_STS_MARINE_PROD_MOF_COUNTRY" ( "BASE_YEAR_MONTHF" TEXT, "COUNTRY_CDG" TEXT, "HSK_ITEM_CDH" NUMERIC, "IMPORT_EXPORT_CLAS_CDI" TEXT, "E_I_C_C" TEXT, "COUNTRY_NMK" TEXT, "NM_ECONOMIC_ZONEL" TEXT, "M_P_I_E_I_N_F" TEXT, "W_I_E_M_G" NUMERIC, "I_E_A_U_D_C_M_H" NUMERIC, "C_I_W_R_P_I" NUMERIC, "C_E_A_U_D_J" NUMERIC, "DATA_BASE_DTR" TEXT ); CREATE TABLE "STS_OVERALL_NOTIFICATION_KODA_BRAIN_TSIM_SHA_TSUI" ( "KITEA" NUMERIC, "MONTHB" NUMERIC, "NT_BRAIN_TSIM_SHA_TSUIC" NUMERIC, "P_M_N_P_T_D_CV" NUMERIC ); | SELECT X,Y FROM L_O_C_A_L_D_A_T_A_031301_S_C WHERE FRSTREGTS <= '20070521' OR TRDSTATENM = '์์
/์ ์' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Get the road address and road postal code for KiimSMNTi and ZIL Companies from the permit information of an international conference planning business in Gangnam-gu. , schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_030505_J_G" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "FACILAR" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "BDNGSRVNM" TEXT, "LGHTFACILINILLU" TEXT, "NOROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "EMEXYN" TEXT, "AUTOCHAAIRYN" TEXT ); CREATE TABLE "LOCAL_TAX_DELINQUENCY_STS_GG_UI" ( "CITY_PROVINCEK" TEXT, "NM_CITY_COUNTY_DISTRICTL" TEXT, "TAX_YEARN" NUMERIC, "NM_DETAILO" TEXT, "NUM_ARREARSQ" NUMERIC, "AMT_ARREARSR" NUMERIC, "CUMULATIVE_NUM_ARREARSS" NUMERIC, "C_D_P_A_K" NUMERIC ); CREATE TABLE "STS_LOCAL_TAX_ARREARS_BUSAN" ( "TRIAL_NAME" TEXT, "CITIES_AND_COUNTIES" TEXT, "MUNICIPALITY" NUMERIC, "TAXATION_YEAR" NUMERIC, "THREE_NAME_NAME" TEXT, "ARREARS" TEXT, "NUMBER_OF_ARREARS" NUMERIC, "DELINQUENCY" NUMERIC, "CUMULATIVE_ARREARS" NUMERIC ); CREATE TABLE "STS_HEAT_TRANSPORT_PIPE_CONST_SCHEDULED_BE_ORDERED_KDHC" ( "SORTATIONL" TEXT, "BRANCHM" TEXT, "CONSTRUCTION_NMN" TEXT, "M_WON_CONSTRUCTIONO" NUMERIC, "MATERIAL_COST_1_M_WONP" NUMERIC, "PIPELINE_LENGTH_KMQ" NUMERIC, "PROJECTED_YEAR_MONTHR" TEXT, "S_Y_M_C_Q" TEXT ); Get the road address and road postal code for KiimSMNTi and ZIL Companies from the permit information of an international conference planning business in Gangnam-gu. | SELECT RDNWHLADDR, RDNPOSTNO FROM L_O_C_A_L_D_A_T_A_030801_G_N WHERE BPLCNM = '์ง์ด์ ์ฃผ์ํ์ฌ' OR BPLCNM = '์ฃผ์ํ์ฌ ํด์ค์ ์คํฐ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Show the business name and phone number for printing businesses classified as publishing and printing, with building usage as community facilities, in order of the most recent permit date. , schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_020301_J_R" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "LINDPRCBGBNNM" TEXT, "RGTMBDSNO" TEXT ); CREATE TABLE "C_STS_GG_PC_SINGING_PRACTICE_ROOM" ( "TRADE_NMR" TEXT, "NM_LOC_BUSINESS_ROADS" TEXT, "LOC_BUSINESS_ADDRESST" TEXT, "INDUSTRYU" TEXT, "PHONE_NUMV" TEXT, "DATA_BASE_DTW" TEXT ); CREATE TABLE "M_L_F_S_B_O_N_W_S_B_O" ( "SERIAL_NUML" NUMERIC, "YEARM" NUMERIC, "MUNICIPAL_GOVERNMENTN" TEXT, "M_WON_BUDGETO" NUMERIC ); CREATE TABLE "TB_V_ENTERPRISE" ( "POSTSEQ" NUMERIC, "SECONDCATETYPE" TEXT, "SECONDCATENAME" TEXT, "GROUPLEVEL" TEXT, "GROUPLEVELNAME" TEXT, "GROUPNAME" TEXT, "STARTDATE" TEXT, "ENDDATE" TEXT, "WEBSITE" TEXT, "SUMMARY" TEXT, "DETAILADDR" TEXT, "ADDRMAP" TEXT, "ADDRMAPLAT" NUMERIC, "ADDRMAPLNG" NUMERIC, "CREATEDATE" NUMERIC ); Show the business name and phone number for printing businesses classified as publishing and printing, with building usage as community facilities, in order of the most recent permit date. | SELECT BPLCNM, SITETEL FROM L_O_C_A_L_D_A_T_A_041601_S_M WHERE CULWRKRSENM = '์ถํ์ธ์์
' AND BDNGSRVNM = '๊ทผ๋ฆฐ์ํ์์ค' ORDER BY APVPERMYMD DESC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Show the X and Y coordinate information for printing businesses in Seodaemun-gu where the permit information was last updated in 2003 and the business status is "normal operation." , schema : Show the X and Y coordinate information for printing businesses in Seodaemun-gu where the permit information was last updated in 2003 and the business status is "normal operation." CREATE TABLE "C_STS_GGBC_BUS_ONLY_LANE_TF_FINES_INFO" ( "DT_TIME_CRACKDOWNV" TEXT, "LAW_VIOLATIONW" TEXT, "INTERRUPT_CLAS_OUTPUTX" TEXT, "VEHICLE_CLASY" TEXT, "BORROWED_NMZ" TEXT, "MAIN_TAX_IMPOSEDA" NUMERIC, "PROCESSING_STAB" TEXT, "PRE_NT_SENDING_DTC" TEXT, "D_D_A_N_ZZ" TEXT, "DATA_CLASE" TEXT, "CONTROL_GROUPF" NUMERIC, "BUYING_PHOTOSG" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_041701_S_M" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "FACILAR" TEXT, "UNDERNUMLAY" TEXT, "BDNGSRVNM" TEXT, "PASGBRETH" TEXT, "LGHTFACILINILLU" TEXT, "NOROOMCNT" TEXT, "BGROOMCNT" TEXT, "EMEXYN" TEXT, "AUTOCHAAIRYN" TEXT, "BGROOMYN" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_030504_G_J" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "JISGNUMLAY" TEXT, "BDNGSRVNM" TEXT, "PASGBRETH" TEXT, "LGHTFACILINILLU" TEXT, "NOROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "EMEXYN" TEXT, "AUTOCHAAIRYN" TEXT, "BGROOMYN" TEXT ); CREATE TABLE "KORAIL_GYEONGIN_LINE_NUM_PEOPLE_GETTING_OFF" ( "OPERATION_DTU" TEXT, "RAILWAY_LINEV" TEXT, "TIME_ZONE_CLASW" TEXT, "SUBWAY_STATIONX" TEXT, "NUM_PASSENGERS_TRAINY" NUMERIC, "N_P_G_O_T_J" NUMERIC ); | SELECT X, Y FROM L_O_C_A_L_D_A_T_A_041601_S_M WHERE LASTMODTS LIKE '2003%' AND TRDSTATENM = '์์
/์ ์' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Show the land-lot address and road address for businesses with "video content" in the product description and facility area of 50 or more. , schema : CREATE TABLE "CHILD_SCHOOL_LESSON_GB" ( "OFFICEEDU" TEXT, "SUBOFFICEEDU" TEXT, "KINDERCODE" TEXT, "KINDERNAME" TEXT, "AG3_LSN_DCNT" NUMERIC, "AG4_LSN_DCNT" NUMERIC, "AG5_LSN_DCNT" NUMERIC, "MIX_AGE_LSN_DCNT" NUMERIC, "AFSC_PROS_LSN_DCNT" NUMERIC, "LDNUM_BLW_YN" TEXT, "FDTN_KNDR_YN" TEXT, "ADDR" TEXT ); CREATE TABLE "CURRENT_STS_WOMEN_ENT_DALSEO_GU_DAEGU" ( "LATITUDE" NUMERIC, "HARDNESS" NUMERIC, "COMPANY_NAME" TEXT, "REPRESENTATIVE" TEXT, "FULL_TIME_WORKER" NUMERIC, "LOCATION" TEXT, "MAIN_BUSINESS" TEXT, "PHONE_NUMBER" TEXT, "MAJOR_PRODUCTION_ITEMS" TEXT, "DEPARTMENT_CHARGE" TEXT, "BASE_DATE" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_020301_G_R" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNAME" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "LINDJOBGBNNM" TEXT, "LINDPRCBGBNNM" TEXT, "RGTMBDSNO" TEXT ); CREATE TABLE "M_ELECITY_TRANSACTION_VOLUME_KPX_GG_CITY_COUNTY" ( "AREAK" TEXT, "DTL" TEXT, "E_T_V_Y" NUMERIC ); Show the land-lot address and road address for businesses with "video content" in the product description and facility area of 50 or more. | SELECT SITEWHLADDR, RDNWHLADDR FROM L_O_C_A_L_D_A_T_A_031005_S_M WHERE MNFACTREARTCLCN LIKE '%๋น๋์ค๋ฌผ%' AND FACILAR >= 50 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Display the start date and registration date for Tower Hotel and Shilla Hotel from the historical and cultural resources compilation target list status in Jung-gu. , schema : CREATE TABLE "STS_GGBC_MANDATORY_MULTI_FAMILY_HOUSING" ( "SERIAL_NUMZ" NUMERIC, "JUST_NMA" TEXT, "LAND_NUM_ADDRESSB" TEXT, "NUM_HOUSEHOLDSC" NUMERIC, "DT_APPROVAL_USED" TEXT, "M_O_C_C" TEXT, "FAX_NUMF" TEXT, "ROAD_NM_ADDRESSG" TEXT ); CREATE TABLE "GB_ADMIN_MESURE_FOOD" ( "CGG_CODE" NUMERIC, "ADM_DISPO_YMD" TEXT, "GNT_NO" NUMERIC, "SNT_COB_NM" TEXT, "SNT_UPTAE_NM" TEXT, "UPSO_NM" TEXT, "SITE_ADDR" TEXT, "DRT_INSP_YMD" TEXT, "ADMM_STATE" TEXT, "DISPO_CTN" TEXT, "VIOR_SORT" TEXT, "BAS_LAW" TEXT, "VIOR_YMD" NUMERIC, "VIOL_CN" TEXT, "DISPO_CTN_DT" TEXT, "DISPO_GIGAN" TEXT, "NT_GBN_CODE" TEXT, "JB_ORG" TEXT, "TRDP_AREA" NUMERIC, "MNG_GBN_NM" TEXT ); Display the start date and registration date for Tower Hotel and Shilla Hotel from the historical and cultural resources compilation target list status in Jung-gu. CREATE TABLE "SMART_WORK_SELF_DIAGNOSIS_USER_ANSWERS_KR_I_INFO_SOCIETY_AGENCY" ( "USER_ANSWER_SERIAL_NUMM" NUMERIC, "USER_INF_SERIAL_NUMN" NUMERIC, "Q_S_N_P" NUMERIC, "QUESTION_SERIAL_NUMP" NUMERIC, "ANSWER_SERIAL_NUMQ" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_093008_S_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "ENVBSNSENM" TEXT, "COBGBNNM" TEXT, "JONGGBNNM" TEXT, "PDTATCLNM" TEXT, "DISCFACILOPRTNPD" TEXT, "DISCFACILYEAROPRDAYCNT" TEXT, "PVTFACILOPRTNPD" TEXT, "PVTFACILYEAROPRDAYCNT" TEXT ); | SELECT DTH_TIME,CREAT_DT FROM JUNGGU_HISTORY_KOR WHERE DTH_NM = 'ํ์ํธํ
' OR DTH_NM = '์ ๋ผํธํ
' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Provide the service status and service category for paid public services related to golf., schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_010201_D_J" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "SITETEL" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "EYEPYONUM" TEXT, "SAMPLENSNUM" TEXT, "PPTNUSEGRNDNUM" TEXT, "LENSCUTNUM" TEXT, "HEATNUM" TEXT, "GLSWASHERNUM" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031101_J_G" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITEWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "REGNSENM" TEXT, "TOTNUMLAY" TEXT, "MNFACTREARTCLCN" TEXT, "INSURORGNM" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "STROOMCNT" TEXT, "CNSTYAREA" TEXT, "ENGSTNTRNMNM" TEXT, "ENGSTNTRNMADDR" TEXT, "SHPINFO" TEXT, "FACILAR" TEXT, "FACILSCP" TEXT, "TRSTLODGCLNM" TEXT ); CREATE TABLE "DOBONG_PUBLIC_HYGIENE_BIZ_PUBLIC_USE_FACILITY" ( "CGG_CODE" NUMERIC, "SNT_COB_CODE" NUMERIC, "YY" TEXT, "UPSO_SNO" NUMERIC, "UPSO_GSL_YMD" TEXT, "UPSO_NM" TEXT, "TRDP_AREA" NUMERIC, "UPSO_SITE_TELNO" TEXT, "BMAN_STDT" TEXT, "BUP_NM" TEXT, "ADMDNG_NM" TEXT, "DCB_YMD" TEXT, "SNT_UPTAE_NM" TEXT, "ED_FIN_YMD" TEXT, "GAEKSIL" TEXT, "HANSHIL" TEXT, "YANGSIL" TEXT, "CHAIR_NUM" TEXT, "YOKSIL" TEXT, "BALHANSIL_YN" TEXT, "WASHMC_NUM" TEXT, "KOR_FRGNR_GBN" TEXT, "NTN" TEXT, "SITE_ADDR" TEXT ); CREATE TABLE "HF_LIQUIDATION_TARGET_CD_INFO" ( "S_T_C_C" TEXT, "LIQUIDATION_TARGET_NMW" TEXT, "PLAN_START_DTX" TEXT, "ESTIMATED_END_DTY" TEXT, "LIQUIDATION_PLAN_CDZ" TEXT, "PUMPING_ORDERA" TEXT, "Q_E_O_I" TEXT, "E_O_A_D_D_J" TEXT, "E_S_D_E_K" TEXT, "E_E_D_E_L" TEXT, "E_S_D_D_D_M" TEXT, "E_E_D_D_D_N" TEXT, "NT_EXPECTED_START_DTH" TEXT, "NT_EXPECTED_END_DTI" TEXT, "ESTIMATED_DT_TRANSFERJ" TEXT, "A_C_E_D_RC" TEXT, "EXPECTED_ISSUANCE_DTL" TEXT, "HOLDING_PURPOSE_CDM" TEXT ); Provide the service status and service category for paid public services related to golf. | SELECT GUBUN, SVCSTATNM FROM G_D_LIST_PUBLIC_RESERVATION_EDUCATION WHERE SVCNM LIKE '%๊ณจํ%' AND PAYATNM = '์ ๋ฃ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:The road postal code is 4799 and when is the licensing date and final modification date of the public cultural arts planning company that closed in March 2022., schema : CREATE TABLE "WATER_PURIFIER_IMPORT_INFO" ( "ID" TEXT, "NM" TEXT, "ADDR_OLD" TEXT, "ADDR" TEXT, "OPEN_DT" TEXT, "STATE" TEXT, "STOP_DT" TEXT, "SUSPENSION_START_DT" TEXT, "SUSPENSION_END_DT" TEXT, "RE_OPEN_DT" TEXT, "AREA" TEXT, "POST" NUMERIC, "PRODUCT_NM" TEXT, "DRINK_WATER_TYPE" TEXT, "TEL" NUMERIC, "XCODE" TEXT, "YCODE" TEXT, "DETAIL_STAT_NM" TEXT ); CREATE TABLE "DAEGU_BUK_GU_SPECIALIZED_CONST_BUSINESS" ( "COMPANY_NAME" TEXT, "INDUSTRY" TEXT, "ROAD_NAME_ADDRESS" TEXT, "LATITUDE" NUMERIC, "HARDNESS" NUMERIC, "DATA_BASE_DATE" TEXT ); The road postal code is 4799 and when is the licensing date and final modification date of the public cultural arts planning company that closed in March 2022. CREATE TABLE "C_F_I_C_M_I_B_K_C_R_E_S_L" ( "NUMR" NUMERIC, "APPROVAL_ORDERS" NUMERIC, "CHEMICAL_FORMULAT" TEXT, "ENGLISH_NOTATIONU" TEXT, "LATIN_NOTATIONV" TEXT, "KOREAN_NOTATION_1W" TEXT, "KOREAN_NOTATION_2X" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_030505_G_J" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "FACILAR" TEXT, "BDNGSRVNM" TEXT, "PASGBRETH" TEXT, "NOROOMCNT" TEXT, "BGROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "AUTOCHAAIRYN" TEXT, "BGROOMYN" TEXT ); | SELECT APVPERMYMD, LASTMODTS FROM L_O_C_A_L_D_A_T_A_030802 WHERE RDNPOSTNO = 4799 AND DCBYMD LIKE '202203%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:When is the licensing date and final modification date of the business premises that include arcades in the production handling items content and have more than 3 floors above ground level., schema : When is the licensing date and final modification date of the business premises that include arcades in the production handling items content and have more than 3 floors above ground level. CREATE TABLE "L_O_C_A_L_D_A_T_A_072213_S_M" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "MANEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "TOTEPNUM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "MONAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_114602_S_B" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "Y" TEXT, "EMERFACILLOC" TEXT, "FACILSENM" TEXT, "FACILNMBDNGNM" TEXT ); CREATE TABLE "KHNP_HD_TECHNICAL_INFO_MNG_OFFICE_EXL_SUBSCRIPTION_PATIONS_LIST" ( "TURN" NUMERIC, "PROVIDER" TEXT, "PUBLICATION" TEXT, "PUBLICATION_CYCLE" TEXT, "FIELD" TEXT ); CREATE TABLE "CHECKLIST_KOSHA_MECHANICAL_EQ" ( "INDUSTRY_CLAST" TEXT, "BUSINESS_TYPE_M_CLASU" TEXT, "INDUSTRY_CLASV" TEXT, "MACHINE_FACILITY_NMW" TEXT, "M_E_E_N_M" TEXT, "M_F_D_N" TEXT ); | SELECT APVPERMYMD, LASTMODTS FROM L_O_C_A_L_D_A_T_A_030501_G_R WHERE JISGNUMLAY >= 3 AND MNFACTREARTCLCN LIKE '%์์ผ์ด๋%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Tell me the business names of the places that have Yeonhui in the road address in order of oldest final modification date., schema : CREATE TABLE "INFO_SPL_STS_DISTRICT_HEATING_KDHC_BUILDING" ( "SUPPLY_CLASO" TEXT, "SUPPLIERSP" TEXT, "BUILDING_NMQ" TEXT, "BUILDING_USER" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_103201_D_J" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "PUPRSENM" TEXT, "INSURJNYNCODE" TEXT, "LDERCNT" TEXT, "BDNGYAREA" TEXT, "MEMCOLLTOTSTFNUM" TEXT, "DRMKCOBNM" TEXT, "BUPNM" TEXT ); Tell me the business names of the places that have Yeonhui in the road address in order of oldest final modification date. CREATE TABLE "L_O_C_A_L_D_A_T_A_030601" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "REGNSENM" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "INSURORGNM" TEXT, "BDNGSRVNM" TEXT, "UNDERNUMLAY" TEXT, "STROOMCNT" TEXT, "CNSTYAREA" TEXT, "ENGSTNTRNMNM" TEXT, "SHPTOTTONS" TEXT, "SHPCNT" TEXT, "SHPINFO" TEXT ); CREATE TABLE "GBGM_FOOD_MANUFACTURING_I_STS" ( "NUMD" NUMERIC, "OPEN_SERVICE_NME" TEXT, "OPEN_SERVICE_IDF" TEXT, "O_L_G_C_X" NUMERIC, "MANAGEMENT_NUMH" TEXT, "LICENSE_DTI" TEXT, "BUSINESS_STA_CLAS_CDJ" NUMERIC, "BUSINESS_STA_NMK" TEXT, "D_B_S_C_CV" NUMERIC, "D_B_S_N_DE" TEXT, "CLOSING_DTN" TEXT, "LOCAL_TELEPHONE_NUMO" TEXT, "LOC_AREAP" NUMERIC, "LOC_POSTAL_CDQ" NUMERIC, "LOC_ADDRESSR" TEXT, "ROAD_NM_FULL_ADDRESSS" TEXT, "ROAD_NM_POSTAL_CDT" NUMERIC, "B_E_N_G" TEXT, "LAST_REVISION_TIMEV" TEXT, "DATA_UPDT_CLASW" TEXT, "DATA_UPDT_DTX" TEXT, "INDUSTRY_CLAS_NMY" TEXT, "COORDINATE_INF_XZ" NUMERIC, "COORDINATE_INF_YA" NUMERIC, "NM_SANITARY_INDUSTRYB" TEXT, "NUM_MALE_EMPLOYEESC" NUMERIC, "NUM_FEMALE_WORKERSD" NUMERIC, "W_S_F_C_N_Q" TEXT, "TOTAL_NUM_EMPLOYEESF" NUMERIC, "N_E_H_S" NUMERIC, "NUM_FCTR_OFFICE_WORKERSH" NUMERIC, "N_E_F_S_U" NUMERIC, "N_W_F_P_V" NUMERIC, "B_O_C_N_W" TEXT, "GUARANTEED_AMTL" NUMERIC, "MONTHLY_RENT_AMTM" NUMERIC, "MULTI_USE_BUSINESS_STAN" TEXT, "TOTAL_SIZE_FACILITIESO" NUMERIC ); | SELECT BPLCNM FROM L_O_C_A_L_D_A_T_A_104201_S_M WHERE UPDATEGBN = 'U' OR RDNWHLADDR LIKE '%์ฐํฌ๋ก%' ORDER BY LASTMODTS |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Tell me the names and land-lot addresses of the business premises that closed in Suunhwa-dong after 2010., schema : CREATE TABLE "GG_YJ_P_LIBRARY_USER_BOOK_LOAN_INFO" ( "CITY_COUNTY_NMA" TEXT, "LIBRARY_NMB" TEXT, "SIGNATUREC" TEXT, "RE_NUMD" TEXT, "ISBNE" NUMERIC, "CLAS_SYMBOLF" NUMERIC, "DT_TIME_LOANG" TEXT, "NM_MANAGEMENT_AGENCYH" TEXT, "DATA_BASE_DTI" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031403_J_N" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "FACILAR" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "BDNGSRVNM" TEXT, "PASGBRETH" TEXT, "NOROOMCNT" TEXT, "BGROOMCNT" TEXT, "AUTOCHAAIRYN" TEXT, "BGROOMYN" TEXT ); CREATE TABLE "PRESENTATION_STS_KEPCO_ENC" ( "YEARN" NUMERIC, "REGISTRAR_HEADQUARTERSO" TEXT, "REGISTRAR_DEPARTMENTP" TEXT, "COUNTQ" NUMERIC ); Tell me the names and land-lot addresses of the business premises that closed in Suunhwa-dong after 2010. CREATE TABLE "L_O_C_A_L_D_A_T_A_072218_M_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "TOTEPNUM" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "ISREAM" TEXT, "MONAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" NUMERIC, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); | SELECT BPLCNM,SITEWHLADDR FROM L_O_C_A_L_D_A_T_A_031002_J_G WHERE DCBYMD >= 20100101000000 AND SITEWHLADDR LIKE '%์ํ๋%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Find the X-coordinate information and Y-coordinate information of Seoul Promotions or Laon Pictures., schema : CREATE TABLE "CURRENT_STS_FOOD_WASTE_DISPOSAL_FAC_SASANG_GU_BUSAN" ( "ANNUAL" NUMERIC, "CATEGORY" TEXT, "DIVISION" NUMERIC, "BUSINESS_NAME" TEXT, "LOCATION_ROAD_NAME" TEXT ); CREATE TABLE "C_STS_GG_YJ_PARKING_VIOLATION_CRACKDOWN_L" ( "TOTAL_YEARG" NUMERIC, "CITY_COUNTY_NMH" TEXT, "REGULATORY_DT_TIME_INFI" TEXT, "PLACE_CRACKDOWNJ" TEXT, "HOW_CRACK_DOWNK" TEXT, "NM_MANAGEMENT_AGENCYL" TEXT, "DATA_BASE_DTM" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072301_S_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "CLGSTDT" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "LVSENM" TEXT, "HOFFEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" NUMERIC, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); Find the X-coordinate information and Y-coordinate information of Seoul Promotions or Laon Pictures. CREATE TABLE "KW_W_PURIFICATION_PLANT_W_Q_MONITORING_ITEM" ( "NUMY" NUMERIC, "CATEGORYZ" TEXT, "UNITA" TEXT, "MATERIAL_CLASB" TEXT, "TARGET_SAMPLEC" TEXT, "INSPECTION_CYCLED" TEXT, "SORTATIONE" TEXT ); | SELECT X, Y FROM L_O_C_A_L_D_A_T_A_031005_G_R WHERE BPLCNM = '์์ธํ๋ณด' OR BPLCNM = '๋ผ์จํฝ์ณ์ค' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Tell me the insurance start date and insurance end date of the business premises with a final modification date of 2017 or a facility area of 50 or less., schema : CREATE TABLE "YS_LIST_LOAN_COMPANY" ( "BSNS_SE" TEXT, "MNG_STATE_CODE" TEXT, "OLD_APV_NO" TEXT, "BUP_NM" TEXT, "REP_NM" TEXT, "UPCHE_GBN" TEXT, "WRKR_BUP_TELNO" TEXT, "WRKR_BUP_ADDR" TEXT, "WRKR_RD_FULL_ADDR" TEXT, "APV_YMD" TEXT, "LAST_CLS_YMD" TEXT, "WRKR_ESBMNT_YMD" TEXT, "LAST_MOD_YMD" TEXT ); CREATE TABLE "MONITORING_RESULTS_GULPOCHEON_STREAM_BUPYEONG_GU_INCHEON" ( "SERIAL_NUMBER" NUMERIC, "VENUE" TEXT, "REQUEST_DATE" TEXT, "INSPECTION_ITEMS" TEXT, "RESULT" TEXT, "BIOCHEMICAL_OXYGEN_DEMAND" NUMERIC, "CHEMICAL" NUMERIC, "TOTAL_ORGANIC_CARBON" NUMERIC, "FLOATING" NUMERIC, "NITROGEN" NUMERIC, "GENERAL" NUMERIC, "DATA_STANDARD_DATE" TEXT ); CREATE TABLE "CHILD_SCHOOL_INSURANCE_JR" ( "OFFICEEDU" TEXT, "SUBOFFICEEDU" TEXT, "KINDERCODE" TEXT, "KINDERNAME" TEXT, "ESTB_PT" TEXT, "INSURANCE_NM" TEXT, "INSURANCE_YN" TEXT, "COMPANY1" TEXT, "COMPANY3" TEXT, "ADDR" TEXT ); CREATE TABLE "SMART_MOBILE_NETWORK_EVENT_SCHEDULE_GWANGJU_GYEONGGI" ( "EVENT_DATE" TEXT, "EVENT_TIME" TEXT, "TITLE" TEXT, "CONTENTS" TEXT, "VENUE" TEXT, "ORGANIZER" TEXT, "STATE_CODE" TEXT, "DIVISION" TEXT, "CREATION_DATE" TEXT ); Tell me the insurance start date and insurance end date of the business premises with a final modification date of 2017 or a facility area of 50 or less. | SELECT INSURSTDT, INSURENDDT FROM L_O_C_A_L_D_A_T_A_031201_S_D WHERE LASTMODTS LIKE '2017%' AND FACILSCP <= 50 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Find the X-coordinate information and Y-coordinate information of Oneplus Fitness or Quaenam Health., schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_093016_Y_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "APVPERMSENM" TEXT, "TRDPLAR" TEXT, "LABPOSTNO" NUMERIC, "LABSAN" TEXT, "LABBUNJI" TEXT, "LABHO" TEXT, "LABTONG" TEXT, "LABSPECADDR" TEXT, "LABRDNCGGCODE" NUMERIC, "LABRDNUMDGBN" TEXT, "LABRDNCODE" NUMERIC, "LABRDNSPECADDR" TEXT, "LABRDNBDNGORINO" TEXT, "LABRDNBDNGSUBNO" TEXT, "LABRDNPOSTNO" NUMERIC ); CREATE TABLE "KASFO_FINANCING_ONE_STOP_SYS_USER_MENU_CONFIGURATION" ( "SCREEN_IDH" TEXT, "COLUMN_IDI" TEXT, "COLUMN_NMJ" TEXT, "SORT_ORDERK" NUMERIC, "REGISTRAR_IDL" TEXT, "RE_DTM" TEXT ); CREATE TABLE "GWGN_MAIL_ORDER_B_STS" ( "NUMR" NUMERIC, "RP_DTS" TEXT, "MANAGEMENT_NUMT" TEXT, "CORPORATION_TRADE_NMU" TEXT, "OPERATIONAL_STAV" TEXT, "TAX_CLASW" TEXT, "LOC_ADDRESSX" TEXT, "HANDLING_ITEMY" TEXT, "HANDLING_ITEM_DETAILSZ" TEXT, "SALES_METHODA" TEXT, "DATA_BASE_DTB" TEXT ); Find the X-coordinate information and Y-coordinate information of Oneplus Fitness or Quaenam Health. CREATE TABLE "GG_SW_ART_MUSEUM_TICKET_STS" ( "DT_MONTHJ" TEXT, "TYPEK" TEXT, "NUM_PASSENGERSL" NUMERIC, "TICKET_SALES_REVENUEM" NUMERIC, "DATA_BASE_DTN" TEXT ); | SELECT X, Y FROM L_O_C_A_L_D_A_T_A_104201_G_J WHERE BPLCNM = '์ํ๋ฌ์คํํธ๋์ค' OR BPLCNM = '์พ๋จํฌ์ค' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Tell me the licensing date and final modification date of the places with business names Han River Sports or Sun Health Club., schema : Tell me the licensing date and final modification date of the places with business names Han River Sports or Sun Health Club. CREATE TABLE "L_O_C_A_L_D_A_T_A_010105_D_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_051901_G_N" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "BPLCNM" TEXT, "UPDATEGBN" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "BDNGJISGFLRCNT" TEXT, "USEJISGSTFLR" TEXT, "USEJISGENDFLR" TEXT, "HANSHILCNT" TEXT, "YANGSILCNT" TEXT, "YOKSILCNT" TEXT, "BALHANSILYN" TEXT, "CHAIRCNT" TEXT, "CNDPERMNTWHY" TEXT, "CNDPERMSTYMD" TEXT, "BDNGOWNSENM" TEXT, "WASHMCCNT" TEXT, "WMEIPCNT" TEXT, "RCVDRYNCNT" TEXT, "ABEDCNT" TEXT, "MULTUSNUPSOYN" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_010201_D_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "Y" TEXT, "EYEPYONUM" TEXT, "SAMPLENSNUM" TEXT, "MSMCHAIRNUM" TEXT, "PUPILDISTMEASNUM" TEXT, "PPTNUSEGRNDNUM" TEXT, "LENSCUTNUM" TEXT, "HEATNUM" TEXT, "GLSWASHERNUM" TEXT, "TOTAR" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_030601_E_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "REGNSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "INSURORGNM" TEXT, "BDNGSRVNM" TEXT, "UNDERNUMLAY" TEXT, "STROOMCNT" TEXT, "CNSTYAREA" TEXT, "ENGSTNTRNMNM" TEXT, "SHPTOTTONS" TEXT, "SHPCNT" TEXT ); | SELECT LASTMODTS, APVPERMYMD FROM L_O_C_A_L_D_A_T_A_104201_G_J WHERE BPLCNM = 'ํ๊ฐ์คํฌ์ธ ' OR BPLCNM = '์ ํฌ์คํด๋ฝ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Find the road address and road postal code of Taecho Golf School or Park Screen Golf among the golf practice facilities in Gwangjin-gu., schema : Find the road address and road postal code of Taecho Golf School or Park Screen Golf among the golf practice facilities in Gwangjin-gu. CREATE TABLE "L_O_C_A_L_D_A_T_A_072208_S_B" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "FCTYSILJOBEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "MONAM" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT ); CREATE TABLE "VOLUNTEER_UNIV" ( "SCHOOL_NAME" TEXT, "ACTIVE_YEAR" TEXT, "ACTIVE_TERM" TEXT, "BATCH_CNT" TEXT, "WORK_DTTM" TEXT ); CREATE TABLE "NUM_SINGLE_P_H_GWCC_EUP_MYEON_DONG" ( "ADMINISTRATIVE_BUILDINGJ" TEXT, "BASE_YEARK" NUMERIC, "N_S_P_H_C" NUMERIC, "DATA_BASE_DTM" TEXT ); CREATE TABLE "SD_ADMIN_MESURE" ( "ADM_DISPO_YMD" TEXT, "GNT_NO" TEXT, "SNT_COB_NM" TEXT, "SNT_UPTAE_NM" TEXT, "UPSO_NM" TEXT, "SITE_ADDR_RD" TEXT, "SITE_ADDR" TEXT, "DRT_INSP_YMD" TEXT, "DISPO_CTN" TEXT, "VIOR_SORT" TEXT, "BAS_LAW" TEXT, "VIOR_YMD" TEXT, "VIOL_CN" TEXT, "DISPO_CTN_DT" TEXT, "NT_GBN_CODE" TEXT, "JB_ORG" TEXT, "TRDP_AREA" NUMERIC ); | SELECT RDNPOSTNO, RDNWHLADDR FROM L_O_C_A_L_D_A_T_A_103101_G_J WHERE BPLCNM = 'ํ์ด๊ณจํ์ค์ฟจ' OR BPLCNM = '๊ณต์์คํฌ๋ฆฐ๊ณจํ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show me the final modification date and data update date of the business premises with the word 'school' in the name and the business type of golf practice facility., schema : CREATE TABLE "VW_NEWS" ( "N_SEQ" TEXT, "N_GU_CODE" NUMERIC, "N_GU_NAME" TEXT, "N_EVENT_CODE" NUMERIC, "N_EVENT_NAME" TEXT, "N_TITLE" TEXT, "N_CONTENTS" TEXT, "N_VIEW_COUNT" TEXT, "REG_DATE" TEXT, "FILE_PATH" TEXT ); CREATE TABLE "GEUMCHEON_FOOD_COLLECT_CHECK_HYGIENE_BIZ" ( "CGG_CODE" NUMERIC, "SNT_COB_CODE" NUMERIC, "SNT_COB_NM" TEXT, "PLN_SE_CODE" NUMERIC, "PLN_SE_NM" TEXT, "CHK_PLN_NM" TEXT, "COL_PLN_NM" TEXT, "UPSO_NM" TEXT, "ATCL_GUN_CODE" TEXT, "ATCL_GUN_NM" TEXT, "ATCL_NM" TEXT, "PRDT_NM" TEXT, "EDF_NM" TEXT, "RM_NM" TEXT, "COL_YMD" TEXT, "COL_QUA" NUMERIC, "COL_UNIT" TEXT, "PRD_YMD" TEXT, "LOT_NO" TEXT, "PRDT_YUTONG_DLN" TEXT, "YUTONG_DLN_PRD_YMD_FROM" TEXT, "DEPO_STATE_CODE" TEXT, "BCE_CODE" TEXT, "CHD_SMBL_FD_KD_CODE" TEXT, "ISP_REQ_ORG_NM" NUMERIC, "NATIV_FRGNR_SE" TEXT, "NTN" TEXT, "ISP_SE" TEXT, "ISP_REQ_YMD" TEXT, "COL_ISP_RT_GBN" TEXT, "COL_ISP_SE" TEXT, "CTL_REGN_SE" TEXT, "COL_PLC_SE" TEXT, "DEAL_RT" TEXT, "COL_PDT_DEAL" TEXT, "GNT_NO" NUMERIC, "SITE_ADDR" TEXT, "DRT_INSP_YMD" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_104201_G_C" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "PUPRSENM" TEXT, "INSURJNYNCODE" TEXT, "LDERCNT" TEXT, "BDNGYAREA" TEXT, "MEMCOLLTOTSTFNUM" TEXT, "DRMKCOBNM" TEXT, "BUPNM" TEXT ); Show me the final modification date and data update date of the business premises with the word 'school' in the name and the business type of golf practice facility. CREATE TABLE "STS_LEGAL_MEASURES_N_HAPPINESS_FUND_KR_ASSET_MNG_C" ( "BASE_MONTHJ" TEXT, "CASE_TYPEK" TEXT, "NUM_LEGAL_ACTIONSL" NUMERIC ); | SELECT LASTMODTS, UPDATEDT FROM L_O_C_A_L_D_A_T_A_103101_G_J WHERE BPLCNM LIKE '%์ค์ฟจ%' AND CULPHYEDCOBNM = '๊ณจํ์ฐ์ต์ฅ์
' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:'List the above-ground and underground floor numbers of tourist accommodations with hotel use and surroundings categorized as other, in descending order of facility size.', schema : CREATE TABLE "TRAFFIC_SAFETY_A008_P_INFO" ( "CSS_NUM" TEXT, "ESB_YMD" TEXT, "CSS_NAM" TEXT, "A008_KND_CDE" NUMERIC, "LK_CS_CDE" TEXT, "GU_CDE" NUMERIC, "JIBUN" TEXT, "OD_PE_CDE" NUMERIC, "NW_PE_CDE" NUMERIC, "WORK_CDE" NUMERIC, "VIEW_CDE" NUMERIC, "CUST_NUM" TEXT, "CTT_CFN" TEXT, "MSE_NUM" TEXT, "ROD_GBN_CDE" NUMERIC, "TFC_BSS_CDE" NUMERIC, "MGRNU" TEXT, "XGEO" TEXT, "SIXID" TEXT, "HISID" TEXT, "DONG_CDE" TEXT, "FRM_CDE" TEXT, "VFLAG" TEXT ); CREATE TABLE "CURRENT_STS_MAFRA_NSEED_SEED_MANAGERS" ( "REGISTRATION_NUMBER" TEXT, "MANAGEMENT_ITEM" TEXT, "NAME" TEXT, "ADDRESS" TEXT ); 'List the above-ground and underground floor numbers of tourist accommodations with hotel use and surroundings categorized as other, in descending order of facility size.' CREATE TABLE "L_O_C_A_L_D_A_T_A_072101_N_W" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "TOTEPNUM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031301_J_N" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "BDNGSRVNM" TEXT, "PASGBRETH" TEXT, "LGHTFACILINILLU" TEXT, "NOROOMCNT" TEXT, "BGROOMCNT" TEXT, "EMEXYN" TEXT, "FRSTREGTS" TEXT ); | SELECT JISGNUMLAY, UNDERNUMLAY FROM L_O_C_A_L_D_A_T_A_031101_G_N WHERE BDNGSRVNM = 'ํธํ
' AND NEARENVNM = '๊ธฐํ' ORDER BY FACILSCP DESC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:'Show the Y coordinate information and area division name of tourist accommodations with a total floor count of over 20 and capital exceeding 1000000000, in descending order of facility area.', schema : CREATE TABLE "WEATHER_INFO_IWEST_WEST_INCHEON_PW_STATION" ( "NUMT" NUMERIC, "DT_TIME_MEASUREMENTU" TEXT, "T_D_C_Q" TEXT, "HUMIDITY_PERCENTAGEW" NUMERIC, "B_P_H_S" TEXT, "WIND_DIRECTIONY" TEXT, "WIND_SPEED_MSZ" TEXT ); 'Show the Y coordinate information and area division name of tourist accommodations with a total floor count of over 20 and capital exceeding 1000000000, in descending order of facility area.' CREATE TABLE "MP_FOOD_HYGIENE_BIZ_LOC_MANAGE" ( "MP_FOOD_HYGIENE_CGG_CODE" NUMERIC, "MP_FOOD_HYGIENE_CGG_NM" TEXT, "REGN_NM" TEXT, "SNT_UPTAE_NM" TEXT, "CNT" TEXT ); CREATE TABLE "BOHUN_VETERANS_HOSPITAL_DISEASE_SURGICAL_STS_DGBH" ( "CORD" TEXT, "ILLNESS" TEXT, "NATIONAL_EXPENSES" NUMERIC, "PRIVATE_EXPENSE" NUMERIC ); CREATE TABLE "STS_BEST_P_HEALTH_MNG_DALSEO_GU_DAEGU" ( "LATITUDE" NUMERIC, "HARDNESS" NUMERIC, "INDUSTRY" TEXT, "BUSINESS_NAME" TEXT, "LOCATION" TEXT, "PHONE_NUMBER" TEXT, "ADMINISTRATIVE_DONG" TEXT, "DEPARTMENT_CHARGE" TEXT, "BASE_DATE" TEXT ); | SELECT Y, REGNSENM FROM L_O_C_A_L_D_A_T_A_031101_G_N WHERE TOTNUMLAY >= 20 AND CAPT > 1000000000 ORDER BY FACILAR DESC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:'Find the phone numbers and postal codes of Pyeonghwa Printing Co., Ltd. and Duhap Printing Co., Ltd.', schema : CREATE TABLE "P_HEALTH_ES_BUAN_GUN_JEONBUK" ( "INDUSTRY_NAME" TEXT, "REPORT_DATE" TEXT, "BUSINESS_NAME" TEXT, "ADDRESS" TEXT, "DATA_STANDARD_DATE" TEXT ); CREATE TABLE "GGGJ_AISLE_BOX" ( "GEOGRAPHICAL_FEATURE_CDK" TEXT, "MANAGEMENT_NUML" NUMERIC, "A_D_ZZ" TEXT, "LEGAL_AREAN" TEXT, "ADMINISTRATIVE_AGENCYO" TEXT, "ROAD_SET_NUMP" NUMERIC, "CONSTRUCTION_NUMQ" TEXT, "LOCR" TEXT, "TRANSVERSES" NUMERIC, "LENGTHT" NUMERIC, "HEIGHTU" NUMERIC, "QUALITY_MATERIALV" TEXT, "PURPOSE_INSW" TEXT, "DRAINAGE_FACILITIESX" TEXT, "INS_DTY" TEXT ); 'Find the phone numbers and postal codes of Pyeonghwa Printing Co., Ltd. and Duhap Printing Co., Ltd.' CREATE TABLE "L_O_C_A_L_D_A_T_A_072404_S_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "MONAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT ); CREATE TABLE "SEO_GU_INCHEON_HEALTH_EXAMINATION_AGENCY" ( "ANNUAL" NUMERIC, "CHECK_UP_AGENCY_NAME" TEXT, "STREET_NAME_ADDRESS" TEXT, "CONTACT" TEXT, "GENERAL_CHECK_UP" TEXT, "STOMACH_CANCER" TEXT, "BREAST_CANCER" TEXT, "COLON_CANCER" TEXT, "LIVER_CANCER" TEXT, "CERVICAL_CANCER" TEXT, "LUNG_CANCER" TEXT, "ORAL_EXAMINATION" TEXT, "INFANT" TEXT, "DATA_STANDARD_DATE" TEXT ); | SELECT SITETEL, SITEPOSTNO FROM L_O_C_A_L_D_A_T_A_041601_J_N WHERE BPLCNM = 'ํํ๋น์ธ์์ฃผ์ํ์ฌ' OR BPLCNM = '๋ํฉ์ธ์์ฃผ์ํ์ฌ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:'Inform the final modification date and data update date of a golf practice facility permit information in Yeongdeungpo-gu, with a name ending in "School" and operating status in normal.', schema : CREATE TABLE "LOST_ARTICLE_BIZ_INFO" ( "IDX" NUMERIC, "CODE" TEXT, "GIYUG" TEXT, "COMPANY" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072202_Y_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "TOTEPNUM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "MONAM" TEXT, "MULTUSNUPSOYN" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT ); CREATE TABLE "C_STS_KEITI_GREEN_PROD_C_CO" ( "BUSINESS_NUMF" TEXT, "COMPANY_NMG" TEXT, "NM_REPRESENTATIVEH" TEXT, "ADDRESSI" TEXT, "DETAILED_ADDRESSJ" TEXT, "R_P_C_H" TEXT, "FAX_MACHINEL" TEXT, "HOMEPAGEM" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_010203_D_J" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "DTLSTATEGBN" NUMERIC, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "MEDKIND" TEXT, "SJYN" TEXT, "TOTSCP" TEXT ); 'Inform the final modification date and data update date of a golf practice facility permit information in Yeongdeungpo-gu, with a name ending in "School" and operating status in normal.' | SELECT LASTMODTS, UPDATEDT FROM L_O_C_A_L_D_A_T_A_103101_Y_D WHERE BPLCNM LIKE '%์ค์ฟจ' AND TRDSTATENM = '์์
/์ ์' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:'Provide the lot address and street address of outdoor advertising companies in Seocho-gu, with an operating status not closed and the word "advertising" in the business name.', schema : 'Provide the lot address and street address of outdoor advertising companies in Seocho-gu, with an operating status not closed and the word "advertising" in the business name.' CREATE TABLE "REB_N_HOUSING_PRICE_TREND_SURVEY_M_TREND_APT_S_PRICE_IDX_SIZE" ( "Y_2012_03X" TEXT, "Y_2012_04Y" TEXT, "Y_2012_05Z" TEXT, "Y_2012_09D" TEXT, "Y_2012_11F" TEXT, "Y_2013_03J" TEXT, "Y_2013_04K" TEXT, "Y_2013_06M" TEXT, "Y_2013_08O" TEXT, "Y_2013_12S" TEXT, "Y_2014_04W" TEXT, "Y_2014_07Z" TEXT, "Y_2014_10C" TEXT, "Y_2014_11D" TEXT, "Y_2014_12E" TEXT, "Y_2015_02G" TEXT, "Y_2015_07L" TEXT, "Y_2015_08M" TEXT, "Y_2015_11P" TEXT, "Y_2016_04U" TEXT, "Y_2016_07X" TEXT, "Y_2016_08Y" TEXT, "Y_2016_09Z" TEXT, "Y_2016_11B" TEXT, "Y_2016_12C" TEXT, "Y_2017_01D" TEXT, "Y_2017_02E" TEXT, "Y_2017_07J" TEXT, "Y_2017_11N" TEXT, "Y_2017_12O" TEXT, "Y_2018_04S" TEXT, "Y_2018_05T" TEXT, "Y_2018_06U" TEXT, "Y_2018_08W" TEXT, "Y_2018_09X" TEXT, "Y_2018_10Y" TEXT, "Y_2019_01B" TEXT, "Y_2019_05F" TEXT, "Y_2020_02O" TEXT, "Y_2020_03P" TEXT, "Y_2020_06S" TEXT, "Y_2020_09V" TEXT, "Y_2020_11X" TEXT, "Y_2020_12Y" TEXT, "Y_2021_01Z" TEXT, "Y_2021_02A" TEXT, "Y_2021_04C" TEXT, "Y_2021_06E" TEXT ); CREATE TABLE "KASFO_HOMEPAGE_MNG_TRANSMISSION" ( "GROUP_NUMBER" NUMERIC, "GROUP_NAME" TEXT, "TOOL_TYPE_CODE" TEXT, "TARGET_EXTRACTION_QUERY" TEXT, "TARGET" TEXT, "GROUP_EXPLANATION" TEXT, "DB_ACCESS_ID" NUMERIC, "SHARED_TYPE_CODE_GROUP" TEXT, "CREATION_DATE" TEXT, "MODIFICATION_DATE" TEXT ); CREATE TABLE "C_STS_GNGH_SHARED_P" ( "NUMT" NUMERIC, "LOCU" TEXT, "POINTING_OUTV" TEXT, "AREA_SQUARE_METERW" NUMERIC, "PROPERTY_MANAGERX" TEXT ); CREATE TABLE "HF_LIQUIDATION_TARGET_CD_INFO" ( "S_T_C_C" TEXT, "LIQUIDATION_TARGET_NMW" TEXT, "PLAN_START_DTX" TEXT, "ESTIMATED_END_DTY" TEXT, "LIQUIDATION_PLAN_CDZ" TEXT, "PUMPING_ORDERA" TEXT, "Q_E_O_I" TEXT, "E_O_A_D_D_J" TEXT, "E_S_D_E_K" TEXT, "E_E_D_E_L" TEXT, "E_S_D_D_D_M" TEXT, "E_E_D_D_D_N" TEXT, "NT_EXPECTED_START_DTH" TEXT, "NT_EXPECTED_END_DTI" TEXT, "ESTIMATED_DT_TRANSFERJ" TEXT, "A_C_E_D_RC" TEXT, "EXPECTED_ISSUANCE_DTL" TEXT, "HOLDING_PURPOSE_CDM" TEXT ); | SELECT SITEWHLADDR, RDNWHLADDR FROM L_O_C_A_L_D_A_T_A_041501_S_C WHERE TRDSTATENM != 'ํ์
' AND BPLCNM LIKE '%๊ด๊ณ %' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:'Give the phone number and fax number of facilities classified as libraries in Ogum-dong, Songpa-gu.', schema : CREATE TABLE "V_C_C_A_S_F_A_R_L_K_A_E_R_I_Q" ( "NUMH" NUMERIC, "LAST_NMI" TEXT, "EXPRESSION_TYPE_1J" TEXT, "EXPRESSION_TYPE_2K" TEXT, "EXPRESSIVE_FORM_3L" TEXT, "EXPRESSIVE_FORM_4M" TEXT, "EXPRESSIVE_FORM_5N" TEXT, "EXPRESSION_6O" TEXT, "EXPRESSIVE_FORM_7P" TEXT, "EXPRESSION_FORM_8Q" TEXT, "EXPRESSIVE_FORM_9R" TEXT, "EXPRESSION_FORM_10S" TEXT, "EXPRESSIVE_FORM_11T" TEXT, "EXPRESSIVE_FORM_12U" TEXT, "EXPRESSION_13V" TEXT, "APPLIED_VARIETY_CLASSW" NUMERIC, "A_V_A_V_BB" TEXT, "CLAS_NEW_PRODUCTSY" NUMERIC, "A_M_R_C_P_DE" TEXT ); CREATE TABLE "SEBC_PHARMACY_INFO_ENG" ( "MAIN_KEY" TEXT, "NAME_ENG" TEXT, "PHARMACY_INFO_ENG_H_ENG_CITY" TEXT, "H_ENG_GU" TEXT, "TEL" TEXT ); CREATE TABLE "STS_OUTDOOR_SPORTS_FAC_DALSEONG_GUN_DAEGU" ( "CONSECUTIVE_NUMBERS" NUMERIC, "PLACE_INSTALLATION" TEXT, "ROAD_NAME_ADDRESS" TEXT, "LAND_NUMBER_ADDRESS" TEXT, "TYPE_INSTRUMENT" TEXT, "QUANTITY" NUMERIC, "YEAR_INSTALLATION" NUMERIC ); CREATE TABLE "STS_KW_ANNUAL_GROUNDW_PERMIT" ( "CITY_PROVINCEY" TEXT, "C_C_C_D_G" TEXT, "SURVEY_YEARA" NUMERIC, "NUM_LICENSED_FACILITIESB" NUMERIC, "P_F_U_J" NUMERIC, "NUM_RPED_FACILITIESD" NUMERIC, "RPING_FACILITY_USAGEE" NUMERIC, "N_M_O_F_M" NUMERIC, "U_M_O_F_N" NUMERIC ); 'Give the phone number and fax number of facilities classified as libraries in Ogum-dong, Songpa-gu.' | SELECT PHNE, FAX FROM CULTURAL_SPACE_INFO WHERE ADDR LIKE '%์กํ๊ตฌ ์ค๊ธ๋%' AND SUBJCODE = '๋์๊ด' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:'Inform the business name and permit date of singing practice rooms in Ori-dong, with a facility area of 100 or more.', schema : CREATE TABLE "GGPJ_WELFARE_FAC_ELDERLY_HOME" ( "FACILITY_TYPES" TEXT, "SALARY_TYPET" TEXT, "NM_ORGANIZATIONU" TEXT, "INS_DTV" TEXT, "POSTAL_CDW" NUMERIC, "FACILITY_ADDRESSX" TEXT, "INSTITUTIONAL_PHONE_NUMY" TEXT, "BUSINESS_STAZ" TEXT, "HOME_PAY_QUOTAA" NUMERIC, "L_T_C_I_D_S_S" TEXT, "DATA_BASE_DTC" TEXT ); CREATE TABLE "STS_SAFETY_MEDICAL_PROD_S_BUPYEONG_GU_INCHEON" ( "TURN" NUMERIC, "SALES_STORE_NAME" TEXT, "PHONE_NUMBER" TEXT, "LOCATION_ROAD_NAME" TEXT ); CREATE TABLE "STS_KW_GROUNDW_UTILIZATION_CHARACTERISTICS_JEONGHO_AREA" ( "CITY_PROVINCEA" TEXT, "C_C_C_D_Q" TEXT, "TOTAL_NUM_PLACESC" NUMERIC, "TOTAL_UTILIZATIOND" NUMERIC, "NUM_PLACES_BELOW_50E" NUMERIC, "AMT_USE_UNDER_50F" NUMERIC, "N_P_G_T_5_L_T_1_V" NUMERIC, "A_U_G_T_5_L_T_1_W" NUMERIC, "N_P_G_T_1_L_T_1_X" NUMERIC, "A_U_A_1_B_1_Y" NUMERIC, "N_P_G_T_1_L_T_2_Z" NUMERIC, "A_U_A_1_B_2_ZZ" NUMERIC, "N_P_G_T_2_L_T_2_VA" NUMERIC, "A_U_A_2_B_2_CV" NUMERIC, "N_P_G_T_2_L_T_3_DE" NUMERIC, "C_E_2_3_L_XZ" NUMERIC, "N_P_E_3_A" NUMERIC, "USAGE_EXCESS_300R" NUMERIC, "UNSTATED_NUM_PLACESS" NUMERIC, "UNSTATED_USAGET" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_114401_J_G" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "BDNGJISGFLRCNT" TEXT, "USEJISGENDFLR" TEXT, "USEUNDERSTFLR" TEXT, "YANGSILCNT" TEXT, "YOKSILCNT" TEXT, "BALHANSILYN" TEXT, "CHAIRCNT" TEXT, "BDNGOWNSENM" TEXT, "WASHMCCNT" TEXT, "WMEIPCNT" TEXT, "MANEIPCNT" TEXT, "RCVDRYNCNT" TEXT, "ABEDCNT" TEXT ); 'Inform the business name and permit date of singing practice rooms in Ori-dong, with a facility area of 100 or more.' | SELECT BPLCNM, APVPERMYMD FROM L_O_C_A_L_D_A_T_A_030901_G_R WHERE SITEWHLADDR LIKE '%์ค๋ฅ๋%' AND FACILAR >= 100 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:'Show the street address and street postal code of Link 3 and Daewon M from among the business names.', schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_030505_Y_C" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" TEXT, "DTLSTATENM" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "PASGBRETH" TEXT, "LGHTFACILINILLU" TEXT, "EMERSTAIRYN" TEXT, "EMEXYN" TEXT, "AUTOCHAAIRYN" TEXT, "BGROOMYN" TEXT ); CREATE TABLE "GG_SU_BUS_STS" ( "SORTATIONX" TEXT, "ROUTE_NUMY" TEXT, "DISPATCH_INTERVALZ" TEXT, "STARTING_POINTA" TEXT, "STOPOVERB" TEXT, "LAST_STOPC" TEXT, "DATA_BASE_DTD" TEXT ); 'Show the street address and street postal code of Link 3 and Daewon M from among the business names.' CREATE TABLE "L_O_C_A_L_D_A_T_A_072219_D_J" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "TOTEPNUM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); CREATE TABLE "ROAD_EXC_RSTCT_AREA" ( "OBJECTID" TEXT, "PLC_IDN" TEXT, "PAV_IDN" TEXT, "PAV_YER" TEXT, "ROL_CDE" TEXT, "FTR_CDE" TEXT, "CNT_NUM" TEXT, "PCN_NAM" TEXT, "PCK_CDE" TEXT, "OPT_CDE" TEXT, "MNG_CDE" TEXT, "CNS_YMD" TEXT, "CNE_YMD" TEXT, "COW_CDE" TEXT, "ROD_NAM" TEXT, "BDL_LEN" NUMERIC, "CPA_LEN" NUMERIC, "BDL_ARA" NUMERIC, "CPA_ARA" NUMERIC, "BDL_WID" NUMERIC, "CPA_WID" NUMERIC, "PAV_CDE" TEXT, "WPM_CDE" TEXT, "STR_LOC" TEXT, "END_LOC" TEXT, "PGB_CDE" TEXT, "ETC_EXP" TEXT, "ESRI_PK" TEXT, "X" NUMERIC, "Y" NUMERIC ); | SELECT RDNWHLADDR , RDNPOSTNO FROM L_O_C_A_L_D_A_T_A_030802_G_S WHERE BPLCNM = '๋งํฌํธ๋ฆฌ' OR BPLCNM = '๋์์ด์ค์ ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:'Provide the phone number and product handling details of establishments with business names of Yujin Trading or S&H Systems.', schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_093013_G_J" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "UPSOSENM" TEXT, "SITE" TEXT, "ASGNYMD" TEXT, "APPLYMD" TEXT, "ASGNMTLIST1" TEXT ); CREATE TABLE "C_STS_GNYS_AIR_PO_EMISSION_SITES" ( "SERIAL_NUMN" NUMERIC, "BUSINESS_NMO" TEXT, "LAND_NUM_ADDRESSP" TEXT, "ROAD_NM_ADDRESSQ" TEXT, "Y_2022_ATMOSPHERE_TYPER" NUMERIC, "INDUSTRYS" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_041501" ( "OPNSFTEAMCODE" NUMERIC, "APVPERMYMD" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" NUMERIC, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "TRDCTN" TEXT ); CREATE TABLE "C_S_P_P_A_A_P_F_F_F_N_P_G_K" ( "CITY_PROVINCEM" TEXT, "NM_CITY_COUNTY_DISTRICTN" TEXT, "CITY_COUNTY_DISTRICT_CDO" NUMERIC, "DETAILED_LOCP" TEXT, "T_L_P_Z_DE" TEXT, "NM_MANAGEMENT_AGENCYR" TEXT, "M_A_P_N_A" TEXT, "DATA_BASE_DTT" TEXT, "NM_PROVIDERU" TEXT ); 'Provide the phone number and product handling details of establishments with business names of Yujin Trading or S&H Systems.' | SELECT MNFACTREARTCLCN, SITETEL FROM L_O_C_A_L_D_A_T_A_030502_S_M WHERE BPLCNM = '์ ์งํต์' OR BPLCNM = '์์ฐ์ค์์ด์น์จ์คํ
' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:'Show the lot address and street address of businesses with a detailed operating status of closed or canceled by authority.', schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_072102_D_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DCBYMD" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "TOTEPNUM" TEXT, "FCTYSILJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT ); CREATE TABLE "INVENTORY_STS_MOF_SUHYUP_LOGISTICS_CNT_PATION_SITE_ITEM" ( "L_C_P_O_C_VA" NUMERIC, "N_D_C_P_S_M_CV" TEXT, "BASE_DTG" TEXT, "MARINE_PRODUCT_ITEM_CDH" NUMERIC, "MARINE_PRODUCT_ITEM_NMI" TEXT, "STA_PROCESSING_CLAS_CDJ" NUMERIC, "STA_PROCESSING_CLAS_NMK" TEXT, "INVENTORY_AMTL" NUMERIC, "KG_STOCKM" NUMERIC, "DATA_BASE_DTN" TEXT ); 'Show the lot address and street address of businesses with a detailed operating status of closed or canceled by authority.' CREATE TABLE "STS_PHYSICAL_FITNESS_CNT_SEONGNAM_CITY_GYEONGGI_PROVINCE" ( "DISTINCTION" TEXT, "DYNAMIC" TEXT, "MUTUAL_NAME" TEXT, "MATERIAL_MAP_NAME_ADDRESS" TEXT, "PHONE_NUMBER" TEXT, "DATA_STANDARD_DATE" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031301_G_N" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "FACILAR" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "PASGBRETH" TEXT, "LGHTFACILINILLU" TEXT, "NOROOMCNT" TEXT, "BGROOMYN" TEXT, "FRSTREGTS" TEXT ); | SELECT SITEWHLADDR, RDNWHLADDR FROM L_O_C_A_L_D_A_T_A_030901_G_C WHERE DTLSTATENM = 'ํ์
' OR DTLSTATENM = '์ง๊ถ๋ง์' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:'Please show the X and Y coordinates of video viewing rooms with a building usage name of neighborhood living facility or facility area of 100 or more.', schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_072208_D_B" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "TOTEPNUM" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); CREATE TABLE "GNCW_CONST_M_CO_STS" ( "NUMC" NUMERIC, "TRADE_NMD" TEXT, "BUSINESS_TYPEE" TEXT, "ADDRESSF" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_020306_D_J" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" NUMERIC, "LINDJOBGBNNM" TEXT, "LINDPRCBGBNNM" TEXT, "LINDSEQNO" TEXT, "TOTEPNUM" TEXT ); 'Please show the X and Y coordinates of video viewing rooms with a building usage name of neighborhood living facility or facility area of 100 or more.' CREATE TABLE "L_O_C_A_L_D_A_T_A_031302_G_N" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "JISGNUMLAY" TEXT, "BDNGSRVNM" TEXT, "PASGBRETH" TEXT, "NOROOMCNT" TEXT, "BGROOMCNT" TEXT, "PERPLAFORMSENM" TEXT, "FRSTREGTS" TEXT ); | SELECT X, Y FROM L_O_C_A_L_D_A_T_A_031001_D_D WHERE BDNGSRVNM = '๊ทผ๋ฆฐ์ํ์์ค' OR FACILAR >= 100 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:'Tell me the business name and address of businesses with 'video' in the name and currently operating.', schema : CREATE TABLE "KW_BICYCLE_OWNER_C_CNT" ( "NUMV" NUMERIC, "SET_NMW" TEXT, "NM_CULTURAL_CENTERX" TEXT, "ADDRESSY" TEXT, "PHONE_NUMZ" TEXT, "OPERATING_HOURSA" TEXT, "MAIN_FACILITIESB" TEXT ); CREATE TABLE "KW_JOSEON_DYNASTY_ANNALS_DROUGHT_CASE_INFO" ( "ERAD" TEXT, "KITEE" NUMERIC, "NUMF" NUMERIC, "KING_NMG" TEXT, "DESCRIPTIONH" TEXT, "SOURCESI" TEXT ); CREATE TABLE "GGAY_PHARMACEUTICAL_WHOLES_INFO" ( "BUSINESS_TYPEQ" TEXT, "NM_BUSINESS_OFFICER" TEXT, "R_N_W_B_O_L_W" TEXT, "TELEPHONE_NUM_OFFICET" TEXT ); 'Tell me the business name and address of businesses with 'video' in the name and currently operating.' CREATE TABLE "STS_NITY_ACQUISITION_MOJ_55_YEAR_YEAR" ( "YEAR" NUMERIC, "TYPE" TEXT, "NATIONALITY" TEXT, "NUMBER_CASES" NUMERIC ); | SELECT BPLCNM, SITEWHLADDR FROM L_O_C_A_L_D_A_T_A_030504_J_G WHERE BPLCNM LIKE '%๋น๋์ค%' AND DTLSTATENM = '์์
์ค' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:'Show the X and Y coordinates of a publisher that received permission in 1999 and updated permission information.', schema : CREATE TABLE "KOMSCO_TENDER_NOTICE" ( "DIVISION_OF_WORK" TEXT, "ANNOUNCEMENT_STATE" TEXT, "BIDDING_NUMBER" NUMERIC, "BIDDING_ORDER" NUMERIC, "ANNOUNCEMENT_DATE" TEXT, "ANNOUNCEMENT" TEXT, "BIDDING_METHOD" TEXT, "BIDDING_START_DATE" TEXT, "BIDDING_END_DATE" TEXT, "TICKET_DATE" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072101_D_J" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "TOTEPNUM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "MONAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); 'Show the X and Y coordinates of a publisher that received permission in 1999 and updated permission information.' CREATE TABLE "MAJOR_IL_P_RIGHTS_CASES_KR_IL_P_PROTECTION_AGENCY_OVERSEAS_IP5" ( "CASE_NMF" TEXT, "CASE_NUMG" TEXT, "NM_MANUSCRIPTH" TEXT, "NM_ACCUSEDI" TEXT, "COURT_NMJ" TEXT, "STATE_COURTK" TEXT, "DT_JUDGMENTL" TEXT, "IPC_CD_CLASM" TEXT, "ISSUE_DESCRIPTIONN" TEXT, "SUMMARY_TITLEO" TEXT, "RELATED_PATENT_NUMP" TEXT, "JUDGMENT_RESULTQ" TEXT, "JUDGMENT_CLASR" TEXT, "BODY_LINK_URLS" TEXT ); CREATE TABLE "CURRENT_STS_LOCAL_TAX_COL_ANYANG_SI_GYEONGGI" ( "TRIAL_NAME" TEXT, "CITIES_AND_COUNTIES" TEXT, "MUNICIPALITY" NUMERIC, "TAXATION_YEAR" NUMERIC, "THREE_NAME_NAME" TEXT, "IMPOSITION" NUMERIC, "STORAGE" NUMERIC, "DEFICIT" NUMERIC, "COLLECTION_RATE" NUMERIC ); | SELECT X, Y FROM L_O_C_A_L_D_A_T_A_041701_Y_S WHERE APVPERMYMD LIKE '1999%' AND UPDATEGBN = 'U' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:'Show the latitude and longitude of locations with sort order number 10 or 20.', schema : 'Show the latitude and longitude of locations with sort order number 10 or 20.' CREATE TABLE "C_STS_W_T_FAC_P_SEWAGE_T_FAC_KECO" ( "CITY_PROVINCET" TEXT, "OLD_ARMYU" TEXT, "RESIDUE_TR_FACILITY_NMV" TEXT, "PROCESSING_METHODW" TEXT, "FACILITY_CPX" NUMERIC, "ANL_THROUGHPUTY" NUMERIC, "A_D_O_H_CV" NUMERIC, "Y_R_O_D_DE" NUMERIC, "OPERATING_RATEB" NUMERIC ); CREATE TABLE "C_STS_GNGH_FOOD_W_DISCHARGE_BS" ( "MUTUALJ" TEXT, "B_S_N_A_T" TEXT, "B_P_N_A_U" TEXT, "LATITUDEM" NUMERIC, "HARDNESSN" NUMERIC, "B_E_C_X" TEXT, "B_E_S_Y" TEXT, "SCALEQ" NUMERIC, "M_E_F_ZZ" NUMERIC, "ANL_EMISSIONS_FORECASTS" NUMERIC ); CREATE TABLE "RESIDUAL_PESTICIDE_ANL_MAFRA_NAQS_AGRICULTURAL_PROD" ( "ITEM_NAME" TEXT, "COLLECTION_STAGE" TEXT, "CULTIVATION" TEXT, "ADDRESS" TEXT, "CULTIVATION_AREA" NUMERIC, "SURVEY_VOLUME" NUMERIC, "REGISTRATION_DATE" TEXT, "ANALYSIS_RESULTS" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_093013_E_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNPOSTNO" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "UPSOSENM" TEXT, "SITE" TEXT, "ASGNYMD" TEXT, "APPLYMD" TEXT ); | SELECT LAT, LNG FROM HAN_YANG_MAP_INFO WHERE SORT = 10 OR SORT = 20 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:'Find the latitude and longitude of a location with segment type 2 and ending map ID 67.', schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_072219_D_B" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "TOTEPNUM" TEXT, "FCTYSILJOBEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "MONAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOMAINEDF" TEXT ); CREATE TABLE "TAX_STS_GBGW_TAX_SOURCE_T" ( "CITY_PROVINCEQ" TEXT, "TAX_YEART" NUMERIC, "NM_DETAILU" TEXT, "SEWON_TYPE_NMV" TEXT, "NUM_IMPOSED_CASESW" NUMERIC, "IMPOSITION_AMTX" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_041701_J_N" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" TEXT, "DTLSTATENM" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "FACILAR" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "BDNGSRVNM" TEXT, "LGHTFACILINILLU" TEXT, "NOROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "EMEXYN" TEXT, "AUTOCHAAIRYN" TEXT, "BGROOMYN" TEXT ); 'Find the latitude and longitude of a location with segment type 2 and ending map ID 67.' CREATE TABLE "ELECITY_CONSUMPTION_MADE_KECO_CARBON_POINTS" ( "YEARZ" NUMERIC, "LOCAL_GOVERNMENTA" TEXT, "ELECTRICITY_USAGEB" NUMERIC ); | SELECT LAT, LNG FROM HAN_YANG_MAP_INFO WHERE TYPE = 2 AND UNIQ_ID LIKE '%67' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:'Tell me the file and management number of photos with 'Dongdaemun' in the title and segment control number 5.', schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_072202_G_C" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "MANEIPCNT" TEXT, "WTRSPLYFACILSENM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "MONAM" TEXT, "MULTUSNUPSOYN" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); 'Tell me the file and management number of photos with 'Dongdaemun' in the title and segment control number 5.' CREATE TABLE "GG_GURI_CITY_FACTORY_STS" ( "CORPORATE_NMY" TEXT, "F_R_A_R_N_VA" TEXT, "PHONE_NUMA" TEXT, "FAX_NUMB" TEXT, "NUM_EMPLOYEESC" NUMERIC, "MALE_EMPLOYEED" NUMERIC, "WAITRESSE" NUMERIC, "BUSINESS_NMF" TEXT, "DATA_BASE_DTG" TEXT ); CREATE TABLE "STS_GG_UI_PHARMACY" ( "NUMU" NUMERIC, "OPEN_SERVICE_NMV" TEXT, "OPEN_SERVICE_IDW" TEXT, "O_L_G_C_H" NUMERIC, "MANAGEMENT_NUMY" TEXT, "LICENSE_DTZ" TEXT, "LICENSE_CANCELLATION_DTA" TEXT, "BUSINESS_STA_NMB" TEXT, "D_B_S_N_M" TEXT, "CLOSING_DTD" TEXT, "CLOSED_START_DTE" TEXT, "CLOSED_DTF" TEXT, "REOPENING_DTG" TEXT, "LOCAL_TELEPHONE_NUMH" TEXT, "LOC_ADDRESSI" TEXT, "ROAD_NM_FULL_ADDRESSJ" TEXT, "ROAD_NM_POSTAL_CDK" NUMERIC, "B_E_N_V" TEXT, "LAST_REVISION_TIMEM" NUMERIC, "COORDINATE_INF_XN" NUMERIC, "COORDINATE_INF_YO" NUMERIC, "PHARMACY_OPERATING_AREAP" NUMERIC, "DESIGNATED_DTQ" TEXT, "DATA_BASE_DTR" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_114401_J_R" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "BDNGUNDERFLRCNT" TEXT, "USEUNDERENDFLR" TEXT, "HANSHILCNT" TEXT, "YANGSILCNT" TEXT, "BALHANSILYN" TEXT, "CHAIRCNT" TEXT, "CNDPERMNTWHY" TEXT, "CNDPERMENDYMD" TEXT, "BDNGOWNSENM" TEXT, "WASHMCCNT" TEXT, "WMEIPCNT" TEXT ); | SELECT SCP_IMG, SCP_SEQ FROM HAN_YANG_COURSE_PHOTO_INFO WHERE SCP_NAME LIKE '%๋๋๋ฌธ%' AND SCM_SEQ = 5 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:'Tell me the insurance institution name and business name of locations with permission received in December 2001 and commercial area classification.', schema : CREATE TABLE "LIST_EXHIBITION_OF_SEOUL_M_O_A_INFO" ( "DP_NAME" TEXT, "DP_SUBNAME" TEXT, "DP_PLACE" TEXT, "DP_START" TEXT, "DP_END" TEXT, "DP_HOMEPAGE" TEXT, "DP_EVENT" TEXT, "DP_SPONSOR" TEXT, "DP_VIEWTIME" TEXT, "DP_VIEWCHARGE" TEXT, "DP_ART_PART" TEXT, "DP_ARTIST" TEXT, "DP_VIEWPOINT" TEXT, "DP_INFO" TEXT, "DP_MAIN_IMG" TEXT ); CREATE TABLE "TB_MEASURE_MOUNT_PLAN_V" ( "PLAN_MANAGE_NO" TEXT, "DISCUSS_YEAR" TEXT, "MGC_CODE" NUMERIC, "MGC_NM" TEXT, "VALUE_LAND_AREA" TEXT, "VALUE_MEASURE_AREA" TEXT, "VALUE_GREEN_AREA" TEXT, "VALUE_NEED" TEXT, "TOTAL_NEED" TEXT ); 'Tell me the insurance institution name and business name of locations with permission received in December 2001 and commercial area classification.' CREATE TABLE "L_O_C_A_L_D_A_T_A_104101_G_A" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "LDERCNT" TEXT, "BDNGYAREA" TEXT, "DRMKCOBNM" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_104201_S_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "LDERCNT" TEXT, "BDNGDNGNUM" TEXT, "BDNGYAREA" TEXT, "MEMCOLLTOTSTFNUM" TEXT, "DRMKCOBNM" TEXT, "BUPNM" TEXT ); | SELECT BPLCNM, INSURORGNM FROM L_O_C_A_L_D_A_T_A_031202_Y_S WHERE REGNSENM = '์์
์ง์ญ' AND APVPERMYMD LIKE '200112%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:'Tell me the postal code and address of locations where the business name that received permission before 2010 ends with 'Printing Company'.', schema : 'Tell me the postal code and address of locations where the business name that received permission before 2010 ends with 'Printing Company'.' CREATE TABLE "L_O_C_A_L_D_A_T_A_114601_S_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "X" TEXT, "Y" TEXT, "EMERFACILLOC" TEXT, "FACILSENM" TEXT, "FACILNMBDNGNM" TEXT, "DSVYMD" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_114302_J_N" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "ASGNYMD" TEXT ); CREATE TABLE "ORGAL_STS_ANSAN_GYEONGGI" ( "RELEVANT_DEPARTMENT" TEXT, "GROUP_NAME" TEXT, "LOCATION" TEXT, "CONTACT" TEXT, "MEMBERSHIP_NAME" TEXT, "DATA_STANDARD_DATE" TEXT ); CREATE TABLE "LIST_KIMST_MARINE_FISHERIES_RND_A" ( "NUMP" NUMERIC, "ANNOUNCEMENT_NUMQ" TEXT, "ANNOUNCEMENT_NMR" TEXT, "BUDGET_YEARS" NUMERIC, "BUSINESS_NMT" TEXT, "ANNOUNCEMENT_START_DTU" TEXT, "APPLICATION_START_DTV" TEXT, "D_T_C_R_P_N_Z" TEXT, "STATEX" TEXT, "P_C_P_A_VA" TEXT ); | SELECT SITEPOSTNO, SITEWHLADDR FROM L_O_C_A_L_D_A_T_A_041601_G_S WHERE BPLCNM LIKE '%์ธ์์ฌ%' AND APVPERMYMD <= 20101231000000 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:'Tell me the address and Y coordinate of general travel agencies with a Seoul Guarantee Insurance policy and an area larger than 30, in order of largest capital.', schema : CREATE TABLE "GN_MODEL_RESTAURANT_DESIGNATE" ( "ASGN_YY" TEXT, "ASGN_SNO" TEXT, "APPL_YMD" TEXT, "ASGN_YMD" TEXT, "UPSO_NM" TEXT, "SITE_ADDR_RD" TEXT, "SITE_ADDR" TEXT, "SNT_UPTAE_NM" TEXT, "MAIN_EDF" TEXT, "TRDP_AREA" NUMERIC, "ADMDNG_NM" TEXT ); CREATE TABLE "GB_MODEL_RESTAURANT_APPLY" ( "CGG_CODE" NUMERIC, "ASGN_YY" TEXT, "ASGN_SNO" TEXT, "APPL_YMD" TEXT, "ASGN_YMD" TEXT, "ASGN_CANCEL_YMD" TEXT, "UPSO_NM" TEXT, "SITE_ADDR" TEXT, "SNT_UPTAE_NM" TEXT, "MAIN_EDF" TEXT, "TRDP_AREA" TEXT, "ADMDNG_NM" TEXT, "GRADE_FACIL_GBN" TEXT ); 'Tell me the address and Y coordinate of general travel agencies with a Seoul Guarantee Insurance policy and an area larger than 30, in order of largest capital.' CREATE TABLE "STS_MINTING_INST_KOMSCO_COUNTRY" ( "SORTATIONW" TEXT, "NM_ORGANIZATIONX" TEXT, "ORGAN_FORMY" TEXT, "MAJOR_PRODUCTIONZ" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_092804" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "OFFTELNO" TEXT ); | SELECT RDNWHLADDR, Y FROM L_O_C_A_L_D_A_T_A_031203_G_C WHERE INSURORGNM = '์์ธ๋ณด์ฆ๋ณดํ' AND FACILAR > 30 ORDER BY CAPT DESC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:'When is the data update date and closure date of a business with a postal code of 156804 among accommodation facilities that received permission in 1969.', schema : CREATE TABLE "EXPEND_SECT_INFO" ( "FIS_YEAR" TEXT, "PAY_YMD" TEXT, "PAY_AMT" NUMERIC, "FLD_CD" NUMERIC, "FLD_NM" TEXT, "SECT_CD" NUMERIC, "SECT_NM" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072213_S_B" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "MONAM" TEXT, "FACILTOTSCP" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072208_S_B" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "FCTYSILJOBEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "MONAM" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT ); 'When is the data update date and closure date of a business with a postal code of 156804 among accommodation facilities that received permission in 1969.' CREATE TABLE "CURRENT_STS_STANDARD_PLASTIC_BAG_STORES_GEOJE_GYEONGNAM" ( "CITY_GUN" TEXT, "JURISDICTION" TEXT, "MUTUAL_NAME" TEXT, "STREET_NAME_ADDRESS" TEXT, "DESIGNATED_DATE" TEXT, "DATA_STANDARD_DATE" TEXT ); | SELECT DCBYMD, UPDATEDT FROM L_O_C_A_L_D_A_T_A_031103_D_J WHERE SITEPOSTNO = 156804 AND APVPERMYMD LIKE '1969%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:- Please let me know the permission date and data renewal date of a private golf practice facility with a sales status code of 3, sorted by X coordinates in descending order., schema : - Please let me know the permission date and data renewal date of a private golf practice facility with a sales status code of 3, sorted by X coordinates in descending order. CREATE TABLE "STS_SPECIAL_MEDICAL_EQUIPMENT_SEONGNAM_SI_GYEONGGI" ( "DISTINCTION" TEXT, "MEDICAL_EQUIPMENT_NAME" TEXT, "DEVICE_MODEL_NAME" TEXT, "DEVICE_TYPE" TEXT, "EQUIPMENT" TEXT, "EQUIPMENT_STATE" TEXT, "MANUFACTURE" TEXT, "REPORT_DATE" TEXT, "MEDICAL_INSTITUTION" TEXT, "JOINT_USE" TEXT, "SELF_BOTTLE_CONSTANT" NUMERIC, "CO_USE_BOTTLE_CONSTANT" NUMERIC, "MATERIAL_MAP_NAME_ADDRESS" TEXT, "MATERIAL_SUPPORT_ADDRESS" TEXT, "DATA_STANDARD_DATE" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072101_G_N" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "WHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "TOTEPNUM" TEXT, "HOFFEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "ISREAM" TEXT, "MULTUSNUPSOYN" TEXT, "JTUPSOASGNNO" TEXT, "HOMEPAGE" TEXT ); CREATE TABLE "BOHUN_CONSIGNED_HOSPITAL_STS_COMMON" ( "JURISDICTION" TEXT, "HO_HO_KI_HO" NUMERIC, "CONSIGNMENT_HOSPITAL_NAME" TEXT, "SPECIES" TEXT, "BUSINESS_NUMBER" TEXT, "INITIAL_CONTRACT_DATE" TEXT, "ZIP_CODE" NUMERIC, "ADDRESS" TEXT, "DETAILED_ADDRESS" TEXT, "LATITUDE" NUMERIC, "HARDNESS" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_093011_J_G" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "OFEAR" TEXT, "DISFETVEHGARAR" TEXT, "MICROSPKLNUM" TEXT, "HNDUSESTLZNUM" TEXT, "DYNPWSPRAYNUM" TEXT, "HDOPTDSPRAYNUM" TEXT, "GMKNUM" TEXT, "PROTUSECLOTNUM" TEXT, "VACUCLERNUM" TEXT ); | SELECT APVPERMYMD, UPDATEDT FROM L_O_C_A_L_D_A_T_A_103101_G_C WHERE TRDSTATEGBN = 3 AND PUPRSENM = '์ฌ๋ฆฝ' ORDER BY X DESC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:- What is the phone number and business description of AddOne, an outdoor advertising company that received permission in 1996?, schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_010102_E_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" NUMERIC, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" NUMERIC, "Y" NUMERIC, "METRORGASSRNM" TEXT, "METRPNUM" TEXT, "HSTRMNUM" TEXT, "TOTAR" TEXT, "MITMDCASGNTYPE" TEXT, "MITMDCDEPNM" TEXT, "EMERCARSPEC" TEXT, "EMERCARGEN" TEXT, "RESCNT" TEXT, "PMTBEDNUM" TEXT ); - What is the phone number and business description of AddOne, an outdoor advertising company that received permission in 1996? CREATE TABLE "KDB_I_RATE_STS" ( "PRODUCTX" TEXT, "CLIENTY" TEXT, "KINDZ" TEXT, "PERIODA" TEXT, "INTEREST_RATESB" NUMERIC, "A_A_R_R_I_K" NUMERIC, "BASIC_INTEREST_RATED" NUMERIC, "NOTEE" TEXT, "DISCOUNT_RATEF" NUMERIC, "D_R_A_R_O" NUMERIC, "AMTH" TEXT ); CREATE TABLE "APP_KOMIR_TYPE_LIGHT" ( "TURN" NUMERIC, "MINERAL_NAME" TEXT, "PURPOSE" TEXT ); CREATE TABLE "PRODION_RANKING_MAJOR_CO_KOMIR_TYPE" ( "LIGHT_SPECIES" TEXT, "RANKING" NUMERIC, "COMPANY_NAME" TEXT, "PRODUCTION_2020" NUMERIC, "PRODUCTION_UNIT" TEXT, "PENT_IN_MARKET_SHARE" NUMERIC, FOREIGN KEY ("LIGHT_SPECIES") REFERENCES "APP_KOMIR_TYPE_LIGHT"("MINERAL_NAME") ); CREATE TABLE "JG_NEWS" ( "TITLE" TEXT, "LINK" TEXT, "DESCRIPTION" TEXT ); | SELECT TRDCTN, SITETEL FROM L_O_C_A_L_D_A_T_A_041501_G_N WHERE APVPERMYMD LIKE '1996%' AND BPLCNM = '์ ๋์' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:- When are the permission date and final modification date of Macaron PT or Enamel Fit?, schema : - When are the permission date and final modification date of Macaron PT or Enamel Fit? CREATE TABLE "BUK_GU_DAEGU_REAL_ESTATE_BROKERAGE_OFFICE" ( "INTERMEDIARY_CALLING" TEXT, "LOCATION_MAP_NAME_ADDRESS" TEXT, "REGISTRATION_NUMBER" TEXT, "STATUS_CLASSIFICATION" TEXT, "LATITUDE" NUMERIC, "HARDNESS" NUMERIC, "DATA_BASE_DATE" TEXT ); CREATE TABLE "CLEAN_S_Y_S_SERVICE" ( "TIME" NUMERIC, "FACT_NAME" TEXT, "STACK" TEXT, "ITEM" TEXT, "STAT" TEXT ); CREATE TABLE "KW_JOSEON_DYNASTY_ANNALS_DROUGHT_CASE_INFO" ( "ERAD" TEXT, "KITEE" NUMERIC, "NUMF" NUMERIC, "KING_NMG" TEXT, "DESCRIPTIONH" TEXT, "SOURCESI" TEXT ); CREATE TABLE "MONTHLY_TRAFFIC_ACCIDENT_STS_CAR_TYPE_KOROAD_OFFENDER" ( "PERPETRATOR_CAR_TYPE" TEXT, "DATE_OCCURRENCE" NUMERIC, "NUMBER_ACCIDENTS" NUMERIC, "DEATH_TOLL" NUMERIC, "NUMBER_SERIOUS_INJURIES" NUMERIC, "NUMBER_ORDINARY_PEOPLE" NUMERIC, "NUMBER_INJURIES_REPORTED" NUMERIC ); | SELECT APVPERMYMD, LASTMODTS FROM L_O_C_A_L_D_A_T_A_104201 WHERE BPLCNM = '๋ง์นด๋กฑ PT' OR BPLCNM = '์ด๋๋ฉํ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:- Show the total installation quantity by product name in descending order of total quantity installed, along with the product name., schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_031103_G_S" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "BDNGJISGFLRCNT" TEXT, "BDNGUNDERFLRCNT" TEXT, "USEJISGSTFLR" TEXT, "USEUNDERSTFLR" TEXT, "USEUNDERENDFLR" TEXT, "HANSHILCNT" TEXT, "YANGSILCNT" TEXT, "YOKSILCNT" TEXT, "BALHANSILYN" TEXT, "CHAIRCNT" TEXT, "CNDPERMNTWHY" TEXT, "CNDPERMSTYMD" TEXT, "BDNGOWNSENM" TEXT, "WASHMCCNT" TEXT, "WMEIPCNT" TEXT, "RCVDRYNCNT" TEXT ); CREATE TABLE "HF_BOGEUMJARI_LOAN_HOUSING_T" ( "PRODUCT_CLASE" NUMERIC, "PRODUCT_M_CLASF" NUMERIC, "PRODUCTG" NUMERIC, "AMTH" NUMERIC, "FLOATING_POINTI" TEXT, "DT_TIME_INITIAL_REJ" TEXT, "INITIAL_RE_POINTK" NUMERIC, "HOUSING_TYPEL" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_093008_G_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "COBGBNNM" TEXT, "JONGGBNNM" TEXT, "PDTATCLNM" TEXT, "DISCFACILOPRTNPD" TEXT, "DISCFACILYEAROPRDAYCNT" TEXT, "PVTFACILOPRTNPD" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_010201_D_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "Y" TEXT, "EYEPYONUM" TEXT, "SAMPLENSNUM" TEXT, "MSMCHAIRNUM" TEXT, "PUPILDISTMEASNUM" TEXT, "PPTNUSEGRNDNUM" TEXT, "LENSCUTNUM" TEXT, "HEATNUM" TEXT, "GLSWASHERNUM" TEXT, "TOTAR" TEXT ); - Show the total installation quantity by product name in descending order of total quantity installed, along with the product name. | SELECT PROD_NM, SUM(INST_CNT) FROM GOODS_INSTALL_STATE GROUP BY PROD_NM ORDER BY SUM(INST_CNT) DESC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:- Please provide the lot address and street address of a compound distribution game provider operating in Guui-dong., schema : - Please provide the lot address and street address of a compound distribution game provider operating in Guui-dong. CREATE TABLE "GBYC_M_RESTAURANT_STS" ( "SERIAL_NUME" NUMERIC, "MUTUALF" TEXT, "TYPE_BUSINESSG" TEXT, "MAIN_DISHH" TEXT, "LOCI" TEXT, "BUSINESS_AREAJ" NUMERIC, "DELIBERATION_CLASK" TEXT, "PHONE_NUML" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_092805_J_N" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "PRDSENM" TEXT, "WRKPGRDSRVSENM" TEXT ); CREATE TABLE "STS_ELECTRICITY_PERMIT_CHEORWON_GUN_GANGWONM" ( "NO" NUMERIC, "LICENSE_DATE" TEXT, "MUTUAL" TEXT, "NEW_CAPACITY_KW" NUMERIC, "SUPPLY_VOLTAGE_V" TEXT, "PLACEMENT" TEXT, "INSTALLATION" TEXT, "TRAIL" TEXT, "INSTALLATION_AREA" NUMERIC, "BUSINESS_START_DATE" TEXT, "SITUATION" TEXT ); CREATE TABLE "STS_LONG_TERM_CARE_FAC_NAM_GU_BUSAN" ( "CONSECUTIVE_NUMBERS" NUMERIC, "FACILITY_TYPE" TEXT, "FACILITY_NAME" TEXT, "PHONE_NUMBER" TEXT, "FACILITY_LOCATION_ADDRESS" TEXT, "REPRESENTATIVE_NAME" TEXT, "INSTALLATION_DATE" TEXT ); | SELECT SITEWHLADDR,RDNWHLADDR FROM L_O_C_A_L_D_A_T_A_030504 WHERE SITEWHLADDR LIKE '%๊ตฌ์๋%' AND DTLSTATENM = '์์
์ค' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:- Kindly provide the name and material of the Unified Silla Dynasty relics held at the Hansung Baekje Museum., schema : CREATE TABLE "SYS_MNG_DATA_KASFO_UNIV_FINANCIAL_ACCOUNTING_CNT" ( "POSTPOSITION_ORDER" NUMERIC, "TRIAL" TEXT, "CITY_GUN" TEXT, "EUPMYEON_DONG" TEXT ); CREATE TABLE "INFO_SEIZURE_ILLEGAL_PARKING_VEHICLES_GURI_SI_GYEONGGI" ( "CITIES_AND_COUNTIES" TEXT, "PENALTY" TEXT, "PROCESSING_STATE" TEXT, "SEIZURE_DATE" TEXT, "MAIN_TAX" NUMERIC, "ADDITIONAL_MONEY" NUMERIC, "UNPAID_AMOUNT" NUMERIC, "DISTINCTION" TEXT, "CRACKDOWN" TEXT, "INTERSECTION" TEXT, "DATA_STANDARD_DATE" TEXT ); CREATE TABLE "KDATA_DOMESTIC_DATA_SOLUTIONS_PROD" ( "MAIN_CATEGORY" TEXT, "MIDDLE_CLASS" TEXT, "SUBCOMMON" TEXT, "MANUFACTURING_COMPANY" TEXT, "PRODUCT_NAME" TEXT, "PHONE_NUMBER" TEXT, "HOMEPAGE_URL" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_093008_S_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "ENVBSNSENM" TEXT, "COBGBNNM" TEXT, "JONGGBNNM" TEXT, "PDTATCLNM" TEXT, "DISCFACILOPRTNPD" TEXT, "DISCFACILYEAROPRDAYCNT" TEXT, "PVTFACILOPRTNPD" TEXT, "PVTFACILYEAROPRDAYCNT" TEXT ); - Kindly provide the name and material of the Unified Silla Dynasty relics held at the Hansung Baekje Museum. | SELECT ARCH_NAME, ARCH_MAT FROM HANSUNG_MUSEUM_ARCH WHERE ARCH_PROPERTY = 'ํ์ฑ๋ฐฑ์ ๋ฐ๋ฌผ๊ด' AND ARCH_TIME LIKE 'ํต์ผ์ ๋ผ%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:- Show the number of businesses excluding places with detailed business status names other than 'miscellaneous' and region names, sorted by detailed business status names., schema : CREATE TABLE "YS_CHLDCR_EDU" ( "KB_IDX" NUMERIC, "KB_NAME" TEXT, "KB_TITLE" TEXT, "KB_CONTENT" TEXT, "KB_COUNT" TEXT, "KB_REGDATE" TEXT, "KB_FILENAME3" TEXT, "KB_FILENAME4" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031202_S_B" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "REGNSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "INSURORGNM" TEXT, "BDNGSRVNM" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "CNSTYAREA" TEXT, "ENGSTNTRNMNM" TEXT, "SHPTOTTONS" TEXT, "SHPCNT" TEXT, "CAPT" TEXT, "INSURENDDT" TEXT ); - Show the number of businesses excluding places with detailed business status names other than 'miscellaneous' and region names, sorted by detailed business status names. CREATE TABLE "P_STS_MICHUHOL_GU_INCHEON_REP_KR" ( "AGE" TEXT, "POPULATION" NUMERIC, "COMPOSITION" NUMERIC, "STANDARD_DAY" TEXT ); CREATE TABLE "KHNP_HD_TECHNICAL_INFO_MNG_O_LIST_OUTSIDE_PATIONS" ( "NUMU" NUMERIC, "PROVIDERV" TEXT, "PUBLICATION_NMW" TEXT, "PUBLICATION_CYCLEX" TEXT, "FIELDY" TEXT ); | SELECT DTLSTATENM , COUNT(BPLCNM) FROM L_O_C_A_L_D_A_T_A_031403_G_S WHERE NEARENVNM != '๊ธฐํ' AND NEARENVNM NOT LIKE '%์ง์ญ%' GROUP BY DTLSTATENM |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:- Find the lot address and X coordinate information for Now Fitness and World Health Club., schema : CREATE TABLE "K_R_D_F_R_D_F_A_H_N_I_YZ" ( "REGION_CDJ" NUMERIC, "HEADQUARTERS_CDK" TEXT, "AREA_CDL" NUMERIC, "AREA_NMM" TEXT, "HEADQUARTERS_NMN" TEXT, "NM_REGIONO" TEXT, "SUBSTATION_CDP" NUMERIC, "REGIONAL_IDQ" NUMERIC, "YEARR" NUMERIC, "SUMMER_MAXS" TEXT, "WINTER_MAXT" TEXT ); CREATE TABLE "TB_WCM_BOARD_B01588" ( "BOARD_ID" NUMERIC, "ETC_1" TEXT, "ETC_2" TEXT, "ETC_3" TEXT, "KOR_NAME" TEXT, "TITLE" TEXT, "CONTENTS" TEXT, "FILE_APPD_ID" NUMERIC, "APPD_FILE_NAME" TEXT, "FILE_URL" TEXT ); CREATE TABLE "KORAIL_KTX_FARE_T" ( "PERIODP" TEXT, "ENTIRE_SETQ" TEXT, "SETR" TEXT, "F_C_T_H_V" TEXT, "F_C_B_T_H_W" NUMERIC, "S_R_F_G_T_H_X" TEXT, "S_R_R_B_G_T_H_Y" NUMERIC, "F_G_M_T_Z" TEXT, "F_C_B_M_T_ZZ" NUMERIC, "S_R_R_G_M_T_VA" TEXT, "S_R_R_B_G_M_T_CV" NUMERIC, "F_C_D_B_DE" TEXT, "F_B_R_D_B_XZ" TEXT, "S_R_R_R_D_B_D_W_A" TEXT, "S_R_R_B_G_D_B_BB" TEXT ); - Find the lot address and X coordinate information for Now Fitness and World Health Club. CREATE TABLE "STATION_DSTNC_REQRE_TIME_HM" ( "LINE" TEXT, "STATN_NM" TEXT, "MNT" TEXT, "DSTNC" TEXT, "ACMTL" TEXT ); | SELECT SITEWHLADDR, X FROM L_O_C_A_L_D_A_T_A_104201_G_D WHERE BPLCNM = '๋์ฐํํธ๋์ค' OR BPLCNM = '์๋ํฌ์คํด๋ฝ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:- Show the detailed business status names and number of establishments in descending order of the number of establishments per detailed business status name., schema : CREATE TABLE "SB_CHC_NOTICE" ( "IDX" NUMERIC, "TITLE" TEXT, "WRITER" TEXT, "REG_DATE" TEXT, "READ_NUM" TEXT ); CREATE TABLE "TB_OPENDATA_FIXEDCCTV_S_P" ( "ADRES" TEXT, "LATITUDE" NUMERIC, "LONGITUDE" NUMERIC, "PSTINST_CD" TEXT, "REGLT_SPOT_NM" TEXT, "SPT_KIND_CD" TEXT ); - Show the detailed business status names and number of establishments in descending order of the number of establishments per detailed business status name. CREATE TABLE "EDU_CURI" ( "YEAR" TEXT, "CHASU" TEXT, "TIME_NUM" TEXT, "EDU_ID" TEXT, "EDU_NM" TEXT, "EDU_DT" TEXT, "EDU_MAXCNT" NUMERIC, "EDU_CNT" TEXT, "EDU_LOC" TEXT, "ORD" TEXT ); CREATE TABLE "ROAD_EXC_RSTCT_AREA" ( "OBJECTID" TEXT, "PLC_IDN" TEXT, "PAV_IDN" TEXT, "PAV_YER" TEXT, "ROL_CDE" TEXT, "FTR_CDE" TEXT, "CNT_NUM" TEXT, "PCN_NAM" TEXT, "PCK_CDE" TEXT, "OPT_CDE" TEXT, "MNG_CDE" TEXT, "CNS_YMD" TEXT, "CNE_YMD" TEXT, "COW_CDE" TEXT, "ROD_NAM" TEXT, "BDL_LEN" NUMERIC, "CPA_LEN" NUMERIC, "BDL_ARA" NUMERIC, "CPA_ARA" NUMERIC, "BDL_WID" NUMERIC, "CPA_WID" NUMERIC, "PAV_CDE" TEXT, "WPM_CDE" TEXT, "STR_LOC" TEXT, "END_LOC" TEXT, "PGB_CDE" TEXT, "ETC_EXP" TEXT, "ESRI_PK" TEXT, "X" NUMERIC, "Y" NUMERIC ); | SELECT DTLSTATENM, COUNT(BPLCNM) FROM L_O_C_A_L_D_A_T_A_030506_Y_S GROUP BY DTLSTATENM ORDER BY COUNT(BPLCNM) DESC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:- Show the business name and number of floors of a video viewing service provider whose facility area is 100 or more and whose name is five letters long., schema : - Show the business name and number of floors of a video viewing service provider whose facility area is 100 or more and whose name is five letters long. CREATE TABLE "STS_S_SAFETY_NON_MEDICAL_PROD_SEO_GU_DAEJEON" ( "CONSECUTIVE_NUMBERS" NUMERIC, "DISTRIBUTOR_NAME_SALE" TEXT, "LOCATION_ROAD_NAME" TEXT, "BASE_DATE" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031001_D_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "FACILAR" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "BDNGSRVNM" TEXT, "PASGBRETH" TEXT, "LGHTFACILINILLU" TEXT, "NOROOMCNT" TEXT, "BGROOMCNT" TEXT, "AUTOCHAAIRYN" TEXT, "BGROOMYN" TEXT ); CREATE TABLE "STS_GGPT_W_PLAY_SAFE_FAC" ( "CITY_PROVINCEX" TEXT, "NM_CITY_COUNTY_DISTRICTY" TEXT, "SORTATIONZ" TEXT, "LOC_NUM_ADDRESSA" TEXT, "LATITUDEB" NUMERIC, "HARDNESSC" NUMERIC, "INS_LOCD" TEXT, "N_W_P_I_S_C_XZ" NUMERIC, "N_D_A_I_S_A" NUMERIC, "LIFE_SAVING_FUNCTIONG" NUMERIC, "NM_MANAGEMENT_AGENCYH" TEXT, "M_A_P_N_DE" TEXT, "DATA_BASE_DTJ" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_082602_S_M" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "Y" TEXT, "ASETSCP" TEXT, "CAPT" TEXT, "SILMETNM" TEXT ); | SELECT BPLCNM, JISGNUMLAY FROM L_O_C_A_L_D_A_T_A_031004_G_R WHERE FACILAR >= 100 AND BPLCNM LIKE '__' |