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:- Show the business status name and permit date of the medical similar business with an establishment type of massage parlor and 3 or more employees in ascending order of Y coordinate information. , schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_031202_J_N" ( "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, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULWRKRSENM" TEXT, "REGNSENM" TEXT, "INSURORGNM" TEXT, "BDNGSRVNM" TEXT, "JISGNUMLAY" TEXT, "STROOMCNT" TEXT, "CNSTYAREA" TEXT, "ENGSTNTRNMNM" TEXT, "ENGSTNTRNMADDR" TEXT, "SHPTOTTONS" TEXT, "SHPCNT" TEXT, "INSURSTDT" TEXT, "INSURENDDT" TEXT ); CREATE TABLE "REB_N_LAND_PRICE_FLUCTUATION_RATE_SURVEY_IDX_M_REGION" ( "Y_2013_04P" TEXT, "Y_2013_05Q" TEXT, "Y_2013_06R" TEXT, "Y_2013_07S" TEXT, "Y_2013_12X" TEXT, "Y_2014_07E" TEXT, "Y_2014_08F" TEXT, "Y_2014_11I" TEXT, "Y_2014_12J" TEXT, "Y_2015_01K" TEXT, "Y_2015_03M" TEXT, "Y_2015_05O" TEXT, "Y_2015_07Q" TEXT, "Y_2016_01W" TEXT, "Y_2016_02X" TEXT, "Y_2016_04Z" TEXT, "Y_2016_05A" TEXT, "Y_2016_09E" TEXT, "Y_2016_10F" TEXT, "Y_2017_01I" TEXT, "Y_2017_03K" TEXT, "Y_2017_04L" TEXT, "Y_2017_05M" TEXT, "Y_2017_06N" TEXT, "Y_2017_11S" TEXT, "Y_2018_01U" TEXT, "Y_2018_03W" TEXT, "Y_2018_04X" TEXT, "Y_2018_08B" TEXT, "Y_2018_09C" TEXT, "Y_2018_11E" TEXT, "Y_2019_05K" TEXT, "Y_2019_09O" TEXT, "Y_2019_11Q" TEXT, "Y_2020_01S" TEXT, "Y_2020_06X" TEXT, "Y_2020_08Z" NUMERIC, "Y_2020_11C" TEXT, "Y_2021_01E" TEXT, "Y_2021_02F" TEXT, "Y_2021_04H" TEXT, "Y_2021_05I" TEXT, "Y_2021_06J" TEXT, "Y_2021_08L" TEXT, "Y_2021_10N" TEXT, "Y_2021_12P" TEXT, "Y_2022_03S" TEXT, "Y_2022_06V" TEXT ); CREATE TABLE "YEONGDO_GU_BUSAN_LIFELONG_LEARNING_RECOMMENDATION_SITE" ( "DIVISION" TEXT, "SITE_NAME" TEXT, "SITE_GUIDE" TEXT, "HOME_PAGE" TEXT ); - Show the business status name and permit date of the medical similar business with an establishment type of massage parlor and 3 or more employees in ascending order of Y coordinate information. CREATE TABLE "TB_EQUAKE_BOARD_STAT_SUB_ARA" ( "INDEX_NO" NUMERIC, "NO" NUMERIC, "SIGUNGU" TEXT, "GUBUN" TEXT, "TITLE" TEXT, "T_SUM1" NUMERIC, "T_SUM2" NUMERIC, "T_SUM3" NUMERIC, "T_PRO" NUMERIC, "T_SUM4" NUMERIC, "T_ARASUM1" NUMERIC, "T_ARASUM2" NUMERIC, "T_ARASUM3" NUMERIC, "T_ARASUM4" NUMERIC, "T_ARAPRO" NUMERIC ); | SELECT TRDSTATENM, APVPERMYMD FROM L_O_C_A_L_D_A_T_A_010110 WHERE UPTAENM = 'μλ§μ' AND EPCNT >= 3 ORDER BY Y |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Show the business name and permit information update date of the place with a business type of animal pharmaceutical wholesaler and an area size of less than 100 in descending order of area size. , schema : 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 "L_O_C_A_L_D_A_T_A_010204_G_N" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" 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, "CRFTUSELESSNUM" TEXT, "CTPLCTMCENUM" TEXT, "CRFTUSEMOTNUM" TEXT, "ACETNUM" TEXT, "DENTIUSEPRESSNUM" TEXT, "EFURNUM" TEXT, "PCANNUM" TEXT, "SPWVCLERNUM" TEXT, "SUVYNUM" TEXT, "VITRNUM" TEXT, "SBMCNT" TEXT, "PINDEXCNT" TEXT ); Show the business name and permit information update date of the place with a business type of animal pharmaceutical wholesaler and an area size of less than 100 in descending order of area size. CREATE TABLE "MAJOR_DEPARTMENTS_KOGAS_TECH" ( "MENU_CDB" NUMERIC, "CONTENTC" TEXT, "RE_DTD" TEXT, "REVISION_DTE" TEXT, "RE_IDF" NUMERIC ); CREATE TABLE "C_STS_IL_P_RIGHTS_KOMSCO" ( "RE_DTV" TEXT, "RE_NUMW" TEXT, "NMX" TEXT ); | SELECT BPLCNM, UPDATEDT FROM L_O_C_A_L_D_A_T_A_020304 WHERE LINDJOBGBNNM = 'λλ¬Όμ©μμ½νλ맀μ' AND SITEAREA < 100 ORDER BY SITEAREA DESC |
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 the group meal service facility with an establishment type name of school or industrial? , schema : CREATE TABLE "S_C_S_O_H_L_S_C_CV" ( "NUML" NUMERIC, "JOB_TYPE_NMM" TEXT, "NUM_ASSIGNMENTSN" NUMERIC, "START_DT_GAMEO" TEXT, "CLOSING_DT_GAMEP" TEXT, "TOTAL_TIMEQ" TEXT, "TIME_TASKR" TEXT, "MORNING_FIRST_DAYS" TEXT, "AFTERNOON_FIRST_DAYT" TEXT, "MORNING_SECOND_DAYU" TEXT, "AFTERNOON_SECOND_DAYV" TEXT, "MORNING_THIRD_DAYW" TEXT, "AFTERNOON_THIRD_DAYX" TEXT, "MORNING_FOURTH_DAYY" TEXT, "AFTERNOON_FOURTH_DAYZ" TEXT, "MORNING_FIFTH_DAYA" TEXT, "AFTERNOON_FIFTH_DAYB" TEXT ); When are the permit date and data update date of the group meal service facility with an establishment type name of school or industrial? 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 "STS_GROUP_MEAL_CNTS_SASANG_GU_BUSAN" ( "INDUSTRY_NAME" TEXT, "BUSINESS_NAME" TEXT, "LOCATION_ROAD_NAME" TEXT, "TELEPHONE" TEXT, FOREIGN KEY ("BUSINESS_NAME") REFERENCES "CURRENT_STS_FOOD_WASTE_DISPOSAL_FAC_SASANG_GU_BUSAN"("BUSINESS_NAME"), FOREIGN KEY ("INDUSTRY_NAME") REFERENCES "CURRENT_STS_FOOD_WASTE_DISPOSAL_FAC_SASANG_GU_BUSAN"("CATEGORY"), FOREIGN KEY ("LOCATION_ROAD_NAME") REFERENCES "CURRENT_STS_FOOD_WASTE_DISPOSAL_FAC_SASANG_GU_BUSAN"("LOCATION_ROAD_NAME") ); CREATE TABLE "C_STS_PHOTOVOLTAIC_PW_GENERATION_I_GG_SW_P_INST" ( "INS_YEARX" NUMERIC, "INS_FACILITY_NMY" TEXT, "LOC_MAP_NM_ADDRESSZ" TEXT, "LOC_NUM_ADDRESSA" TEXT, "LATITUDEB" NUMERIC, "HARDNESSC" NUMERIC, "INS_SIZE_KWD" NUMERIC, "DATA_BASE_DTE" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031201_J_R" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDATE" TEXT, "CLGENDDATE" TEXT, "ROPNYMD" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "REGNSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "INSURORGNM" TEXT, "BDNGSRVNM" TEXT, "JISGNUMLAY" TEXT, "STROOMCNT" TEXT, "CNSTYAREA" TEXT, "ENGSTNTRNMNM" TEXT, "SHPTOTTONS" TEXT, "SHPINFO" TEXT ); | SELECT APVPERMYMD, UPDATEDT FROM L_O_C_A_L_D_A_T_A_072102_J_R WHERE UPTAENM = 'νκ΅' OR UPTAENM = 'μ°μ
체' |
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 the Oriental medicine clinic operating in detail business status name in alphabetical order of business names. , schema : CREATE TABLE "PPS_LONG_RESD" ( "STDR_DE_ID" TEXT, "TMZON_PD_SE" NUMERIC, "ADSTRD_CODE_SE" NUMERIC, "OA_CD" NUMERIC, "TOT_LVPOP_CO" NUMERIC, "CHINA_STAYPOP_CO" TEXT, "ETC_STAYPOP_CO" TEXT ); Tell me the business name and address of the Oriental medicine clinic operating in detail business status name in alphabetical order of business names. CREATE TABLE "KOSHA_ANL_Q_MNG_EQ_INFO" ( "NUMN" NUMERIC, "INSTITUTION_IDO" TEXT, "NM_ORGANIZATIONP" TEXT, "A_A_E_O" TEXT, "A_E_W_P" TEXT ); CREATE TABLE "KPX_ELECITY_TRANSACTION_VOLUME_DAYTIME_GWANGJU" ( "TRADING_DAYN" TEXT, "TRADING_HOURSO" TEXT, "E_T_V_VA" NUMERIC ); CREATE TABLE "TB_GTN_HWCW_P" ( "R_SEQ_NO" NUMERIC, "YEAR" TEXT, "AREA_CD" NUMERIC, "EQUP_TYPE" NUMERIC, "R_AREA_NM" TEXT, "R_DETL_ADD" TEXT, "J_DETL_ADD" TEXT, "R_AREA_SQR" NUMERIC, "USE_PRNB" NUMERIC, "CLER1_CNT" NUMERIC, "CLER2_CNT" NUMERIC, "CHK1_YN" TEXT, "CHK2_YN" TEXT, "CHK3_YN" TEXT, "CRE_DTTM" TEXT, "UPDT_DTTM" TEXT, "USE_YN" TEXT, "RMRK" TEXT, "DT_START" TEXT, "DT_END" NUMERIC, "LO" NUMERIC, "LA" NUMERIC, "XX" NUMERIC, "YY" NUMERIC ); | SELECT BPLCNM, RDNWHLADDR FROM L_O_C_A_L_D_A_T_A_010102_S_D WHERE DTLSTATENM = 'μμ
μ€' AND UPTAENM = 'νμμ' ORDER BY BPLCNM ASC |
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 permit date of the places starting with 24 and an area size of 60 or more. , schema : CREATE TABLE "NUM_SU_CO_KOSMES_DEV_TECH_COMMERCIALIZATION_FUND_COLLATERAL" ( "YEAR" NUMERIC, "CREDIT" NUMERIC, "LETTER_GUARANTEE" NUMERIC, "REAL_ESTATE" NUMERIC, "TELLECTUAL_PROPERTY" NUMERIC, "OTHERS" NUMERIC ); CREATE TABLE "NUM_CO_SUING_KOSMES_DEV_TECH_COMMERCIALIZATION_FUND_I" ( "YEAR" NUMERIC, "METAL" NUMERIC, "MACHINE" NUMERIC, "OTHERS" NUMERIC, "TEXTILE" NUMERIC, "FOODSTUFFS" NUMERIC, "DISTRIBUTION" NUMERIC, "MISCELLANEOUS_GOODS" NUMERIC, "ELECTRICITY" NUMERIC, "ELECTRON" NUMERIC, "INFORMATION" NUMERIC, "CHEMICAL_ENGINEER" NUMERIC, FOREIGN KEY ("YEAR") REFERENCES "NUM_SU_CO_KOSMES_DEV_TECH_COMMERCIALIZATION_FUND_COLLATERAL"("YEAR") ); Tell me the business name and permit date of the places starting with 24 and an area size of 60 or more. CREATE TABLE "GBGM_INTEGRATED_MNG_SYS_IL_RECORDS_ADMINISTRATION" ( "ATTEMPT_CDU" NUMERIC, "CITY_COUNTY_CDV" NUMERIC, "ADMINISTRATIVE_DONG_CDW" NUMERIC, "ADMINISTRATIVE_RECDX" NUMERIC, "CITY_NMY" TEXT, "NM_CITY_COUNTYZ" TEXT, "SAME_NMA" TEXT, "LEE_NMB" TEXT, "A_C_N_BB" TEXT ); CREATE TABLE "KEPCO_PW_DISTRIBUTION_HIGH_VOLTAGE_LOAD_INFO" ( "HEADQUARTERS_NMD" TEXT, "NM_BUSINESS_OFFICEE" TEXT, "SUBSTATION_CALLINGF" TEXT, "LINE_NMG" TEXT, "LINE_CLASH" TEXT, "COMMON_NOTI" TEXT, "KINDJ" TEXT, "STANDARD_LOADK" NUMERIC, "LOAD_SHAREL" NUMERIC, "VOLTAGE_KVM" TEXT, "PROCESSED_GROUND_CLASN" TEXT ); CREATE TABLE "STS_ANIMAL_PHARMACY_SEONGNAM_CITY_GYEONGGI_PROVINCE" ( "DISTINCTION" TEXT, "DYNAMIC" TEXT, "BUSINESS" TEXT, "LICENSE_DATE" TEXT, "MATERIAL_MAP_NAME_ADDRESS" TEXT, "MATERIAL_SUPPORT_ADDRESS" TEXT, "PHONE_NUMBER" TEXT ); | SELECT BPLCNAME, APVPERMYMD FROM L_O_C_A_L_D_A_T_A_020301_G_R WHERE BPLCNAME LIKE '24%' AND SITEAREA >= 60 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Tell me the collection date and production date of the places where the product name is beef or the item name is chadolbaggi. , schema : CREATE TABLE "IOT_VDATA020" ( "ORGAN_NM" TEXT, "TRNSMIT_SERVER_NO" NUMERIC, "DATA_NO" TEXT, "COLUMN0" TEXT, "COLUMN1" TEXT, "COLUMN2" TEXT, "REGIST_DT" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_020301_G_A" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "LINDJOBGBNNM" TEXT, "LINDPRCBGBNNM" TEXT, "LINDSEQNO" TEXT, "RGTMBDSNO" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_030507_G_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "SITETEL" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "FACILAR" NUMERIC, "BGROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "EMEXYN" TEXT, "BGROOMYN" 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 ); Tell me the collection date and production date of the places where the product name is beef or the item name is chadolbaggi. | SELECT COL_YMD, PRD_YMD FROM SEODAEMUN_FOOD_COLLECT_CHECK_HYGIENE_BIZ WHERE ATCL_NM = 'μκ³ κΈ°' OR PRDT_NM = 'μ°¨λλ°μ΄' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Tell me the name of the domestic product containing chadol in the food collection inspection product name. , schema : CREATE TABLE "HRDK_FOREIGN_LANGUAGE_CHINA_FREQUENTLY_USED_FOREIGN_WORKERS" ( "SERIAL_NUMG" NUMERIC, "LARGE_CLAS_CDH" NUMERIC, "MAJOR_CLASI" TEXT, "SUBCATEGORYJ" TEXT, "KOREANK" TEXT, "PRONUNCIATIONL" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_114601_D_B" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "EMERFACILLOC" TEXT, "FACILSENM" TEXT, "FACILNMBDNGNM" TEXT ); CREATE TABLE "REPORT_STS_WASTE_DISCHARGER_HAEUNDAE_GU_BUSAN" ( "ANNUAL" NUMERIC, "BUSINESS" TEXT, "ADDRESS" TEXT, "CONTACT" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_030502_Y_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BUSINESSNAME" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "FACILAR" TEXT, "UNDERNUMLAY" TEXT, "BDNGSRVNM" TEXT, "PASGBRETH" TEXT, "LGHTFACILINILLU" TEXT, "AUTOCHAAIRYN" TEXT, "BGROOMYN" TEXT ); Tell me the name of the domestic product containing chadol in the food collection inspection product name. | SELECT PRDT_NM, UPSO_NM FROM SEODAEMUN_FOOD_COLLECT_CHECK_HYGIENE_BIZ WHERE PRDT_NM LIKE '%μ°¨λ%' AND NATIV_FRGNR_SE = 'κ΅λ΄' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Tell me the road name and address of the place where the establishment type name is Korean food or the main food is dakgalbi. , schema : Tell me the road name and address of the place where the establishment type name is Korean food or the main food is dakgalbi. CREATE TABLE "L_O_C_A_L_D_A_T_A_010202_G_C" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "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, "MEDKIND" TEXT, "TRDSCP" TEXT ); 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 "L_O_C_A_L_D_A_T_A_072206_J_G" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "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, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "LINDJOBGBNNM" TEXT, "LINDPRCBGBNNM" TEXT, "TOTEPNUM" TEXT ); CREATE TABLE "STS_INTERIOR_OUTDOOR_LIGHTS_DAEDEOK_GU_DAEJEON" ( "NAME_PARK" TEXT, "TYPES_PARKS" TEXT, "ADMINISTRATIVE_OFFICE" TEXT, "ADMINISTRATIVE_DONG" TEXT, "LOCATION_NUMBER_ADDRESS" TEXT, "LATITUDE" NUMERIC, "HARDNESS" NUMERIC, "NUMBER_OUTDOOR_LIGHTS" NUMERIC, "REMARKS" TEXT, "DATA_BASE_DATE" TEXT ); | SELECT SITE_ADDR_RD, SITE_ADDR FROM JUNGNANG_MODEL_RESTAURANT_APPLY WHERE SNT_UPTAE_NM = 'νμ' OR MAIN_EDF = 'λκ°λΉ' |
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 of the places where the seat count is 3 or more and the permit information data is newly created in descending order of area size. , schema : CREATE TABLE "JUNGGU_FOOD_COLLECT_CHECK_HYGIENE_BIZ" ( "CGG_CODE" NUMERIC, "SNT_COB_CODE" NUMERIC, "SNT_COB_NM" TEXT, "PLN_SE_CODE" NUMERIC, "CHK_PLN_NM" TEXT, "COL_WHY_CODE" TEXT, "UPSO_NM" TEXT, "ATCL_GUN_CODE" TEXT, "ATCL_GUN_NM" TEXT, "PRDT_NM" TEXT, "EDF_NM" TEXT, "RM_NM" TEXT, "PDT_UPSO_NM" TEXT, "COL_YMD" TEXT, "COL_QUA" NUMERIC, "PRDT_SIZE" TEXT, "COL_QY_IPT" TEXT, "LOT_NO" TEXT, "YUTONG_DLN_PRD_YMD_FROM" TEXT, "DEPO_STATE_CODE" TEXT, "BCE_CODE" TEXT, "FACTORY_NM" TEXT, "NATIV_FRGNR_SE" TEXT, "ISP_SE" TEXT, "ISP_REQ_YMD" TEXT, "ISP_RT_REPLY_YMD" TEXT, "COL_ISP_RT_GBN" TEXT, "DEAL_SE" TEXT, "COL_ISP_SE" TEXT, "DEAL_RT" TEXT, "INST_OBJ" TEXT, "DRT_INSP_YMD" TEXT ); Show the land lot address and road address of the places where the seat count is 3 or more and the permit information data is newly created in descending order of area size. CREATE TABLE "L_O_C_A_L_D_A_T_A_031203_J_G" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITEAREA" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "REGNSENM" TEXT, "NEARENVNM" TEXT, "INSURORGNM" TEXT, "BDNGSRVNM" TEXT, "UNDERNUMLAY" TEXT, "STROOMCNT" TEXT, "CNSTYAREA" TEXT, "ENGSTNTRNMNM" TEXT, "SHPINFO" TEXT ); CREATE TABLE "SEMAS_N_CENTENNIAL_SHOP_STS" ( "ANNUAL" NUMERIC, "COMPANY_NAME" TEXT, "CONTACT" TEXT, "TRIAL" TEXT, "CITY_GUN" TEXT, "BASIC_ADDRESS" TEXT, "DETAILED_ADDRESS" TEXT, "MAJOR_BUSSINESS" TEXT ); CREATE TABLE "YS_MODEL_RESTAURANT_CANCEL" ( "ASGN_YY" TEXT, "ASGN_SNO" TEXT, "APPL_YMD" TEXT, "ASGN_YMD" TEXT, "ASGN_CANCEL_YMD" TEXT, "UPSO_NM" TEXT, "SITE_ADDR_RD" TEXT, "SITE_ADDR" TEXT, "PERM_NT_NO" TEXT, "SNT_UPTAE_NM" TEXT, "ASGN_CANCEL_WHY" TEXT, "MAIN_EDF" TEXT, "TRDP_AREA" NUMERIC ); | SELECT SITEWHLADDR, RDNWHLADDR FROM L_O_C_A_L_D_A_T_A_051801_G_D WHERE CHAIRCNT >= '3' AND UPDATEGBN = 'I' ORDER BY SITEAREA DESC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: When are the final amendment date and data update date of the beauty salons closed in 2004 with 3 or fewer seats?, schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_072203_D_B" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "UPDATEGBN" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "LVSENM" TEXT, "TOTEPNUM" TEXT, "FCTYSILJOBEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "MONAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "HOMEPAGE" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_114401_G_S" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "BPLCNM" TEXT, "UPDATEGBN" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "BDNGJISGFLRCNT" TEXT, "BDNGUNDERFLRCNT" TEXT, "USEJISGSTFLR" TEXT, "USEJISGENDFLR" TEXT, "USEUNDERSTFLR" TEXT, "USEUNDERENDFLR" TEXT, "HANSHILCNT" TEXT, "YOKSILCNT" TEXT, "BALHANSILYN" TEXT, "CNDPERMNTWHY" TEXT, "CNDPERMSTYMD" TEXT, "CNDPERMENDYMD" TEXT, "BDNGOWNSENM" TEXT, "WASHMCCNT" TEXT, "WMEIPCNT" TEXT, "MANEIPCNT" TEXT, "RCVDRYNCNT" TEXT, "ABEDCNT" TEXT, "MULTUSNUPSOYN" TEXT ); CREATE TABLE "GGBC_FARM_LAND_EXCLUSIVE_STS" ( "LOCO" TEXT, "STUDY_POINTP" TEXT, "D_A_S_M_F" NUMERIC, "USE_AREAR" TEXT ); CREATE TABLE "LANDSCAPE_AREA_YANGCHEON_GU_SEOUL" ( "APARTMENT_NAME" TEXT, "HOUSING_TYPE" TEXT, "ADDRESS" TEXT, "BUILDING_RATE" TEXT, "SQUARE_SQUARE_METER" TEXT ); When are the final amendment date and data update date of the beauty salons closed in 2004 with 3 or fewer seats? | SELECT UPDATEDT, LASTMODTS FROM L_O_C_A_L_D_A_T_A_051801_G_D WHERE DCBYMD LIKE '2004%' AND CHAIRCNT <= 3 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Find the postal code and address of Jangjeongyun Hair Salon or Total Flower Shop. , schema : CREATE TABLE "TB_VMC_RECRUIT" ( "NUM" NUMERIC, "W_NO" NUMERIC, "LANG_CD" TEXT, "DISPLAY" TEXT, "SUBJECT" TEXT, "STATE_CD" TEXT, "COMPANY_NO" TEXT, "NATION_CD" TEXT, "WORKAREA_CD" TEXT, "WORKDAY_CD" TEXT, "WORKHOURS_ST" TEXT, "WORKHOURS_ED" TEXT, "EMPFORM_CD" TEXT, "WEEKENDWORK_CD" TEXT, "WORKPAY" TEXT, "WORKMEN" TEXT, "WORKSERVICE" TEXT, "WORKSUBWAY" TEXT, "NATION" TEXT, "WORKPATTERN" TEXT, "WORKAREA" TEXT, "WORKTIME" TEXT, "CONTENTS" TEXT, "AFILE1" TEXT, "AFILE1_ORG" TEXT, "AFILE2" TEXT, "AFILE2_ORG" TEXT, "HIT" TEXT, "WDATE" TEXT, "TA_DATE" TEXT, "MB_NAME" TEXT, "APPLY_OPEN" TEXT, "TR_LANGS" TEXT, "IS_NOTICE_TEXT" TEXT, "IS_CHARGED_CONTENT_COPYRIGHT" TEXT ); CREATE TABLE "NUM_WORKPLACES_KOSHA_LABOR_OFFICE" ( "CLASSIFICATE" TEXT, "YEAR_2004" NUMERIC, "YEAR_2005" NUMERIC, "YEAR_2006" NUMERIC, "YEAR_2007" NUMERIC, "YEAR_2008" NUMERIC, "YEAR_2009" NUMERIC, "YEAR_2010" NUMERIC, "YEAR_2011" NUMERIC, "YEAR_2012" NUMERIC, "YEAR_2013" NUMERIC, "YEAR_2014" NUMERIC, "YEAR_2015" NUMERIC, "YEAR_2016" NUMERIC, "YEAR_2017" NUMERIC, "YEAR_2019" NUMERIC, "YEAR_2020" NUMERIC, "YEAR_2021" NUMERIC ); Find the postal code and address of Jangjeongyun Hair Salon or Total Flower Shop. CREATE TABLE "GGSN_WELFARE_CNT_O_PROGRAM" ( "CITY_COUNTY_NMI" TEXT, "WELFARE_OFFICER_NMJ" TEXT, "TARGET_USEK" TEXT, "D_T_T_C_U_V" TEXT, "A_R_D_C_U_W" TEXT, "D_C_U_O_C_X" TEXT, "SORTATIONO" TEXT, "DETAILED_CLASP" TEXT, "PROGRAM_NMQ" TEXT, "PROGRAM_CONTENTSR" TEXT, "HOURS_USES" TEXT, "AMT_USEDT" NUMERIC, "U_A_C_S_XZ" TEXT, "ADDITIONAL_EXPENSESV" NUMERIC, "LOC_MAP_NM_ADDRESSW" TEXT, "PHONE_NUMX" TEXT, "POSTAL_CDY" NUMERIC, "LATITUDEZ" NUMERIC, "HARDNESSA" NUMERIC, "DATA_BASE_DTB" TEXT ); CREATE TABLE "CHILD_SCHOOL_TEACHER_SP" ( "OFFICEEDU" TEXT, "SUBOFFICEEDU" TEXT, "KINDERCODE" TEXT, "KINDERNAME" TEXT, "ESTABLISH" TEXT, "DRCNT" TEXT, "ADCNT" TEXT, "HDST_THCNT" TEXT, "ASPS_THCNT" TEXT, "GNRL_THCNT" TEXT, "SPCN_THCNT" TEXT, "NTCNT" TEXT, "NTRT_THCNT" TEXT, "SHCNT_THCNT" TEXT, "OWCNT" TEXT, "HDST_TCHR_QACNT" TEXT, "RGTH_GD1_QACNT" TEXT, "RGTH_GD2_QACNT" TEXT, "PBNTTMNG" NUMERIC, "ADDR" TEXT ); | SELECT SITEPOSTNO, SITEWHLADDR FROM L_O_C_A_L_D_A_T_A_072210 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 management number and phone number of the place where the data is updated and the center is included in the business name. , schema : CREATE TABLE "YS_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" TEXT, "DRT_INSP_YMD" TEXT, "ADMM_STATE" 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, "NT_GBN_CODE" TEXT, "JB_ORG" TEXT, "TAKE_YMD" TEXT, "TRDP_AREA" NUMERIC ); Tell me the management number and phone number of the place where the data is updated and the center is included in the business name. CREATE TABLE "CURRENT_STS_VEGETABLE_SOURCE_AREA_FOREST_NFSV_TYPE" ( "BRANCH_OFFICE" TEXT, "SEVERAL_SPECIES" TEXT, "CREATION_YEAR" NUMERIC, "AREA_HA" NUMERIC, "CUMULATIVE_AREA_HA" NUMERIC ); 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 "L_O_C_A_L_D_A_T_A_051901_S_M" ( "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, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "BDNGJISGFLRCNT" TEXT, "BDNGUNDERFLRCNT" TEXT, "USEJISGSTFLR" TEXT, "USEJISGENDFLR" TEXT, "USEUNDERSTFLR" TEXT, "USEUNDERENDFLR" TEXT, "HANSHILCNT" TEXT, "YANGSILCNT" TEXT, "YOKSILCNT" TEXT, "BALHANSILYN" TEXT, "CHAIRCNT" TEXT, "CNDPERMSTYMD" TEXT, "CNDPERMENDYMD" TEXT, "BDNGOWNSENM" TEXT, "WMEIPCNT" TEXT, "MULTUSNUPSOYN" TEXT ); | SELECT MGTNO, SITETEL FROM L_O_C_A_L_D_A_T_A_020301_G_N 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:Let me know the closure date and data update date of the place where "Food" is in the business name and the area is more than 50. , schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_072101_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, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "WMEIPCNT" TEXT, "LVSENM" TEXT, "TOTEPNUM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "BDNGOWNSENM" TEXT, "MONAM" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "HOMEPAGE" TEXT ); CREATE TABLE "B_M_N_B_R_C_E_M_H_S_T_P" ( "REVISED_YEARQ" NUMERIC, "AUTHORIZEDR" TEXT, "SCHOOL_LEVELS" TEXT, "SCHOOL_YEART" TEXT, "SEMESTERU" TEXT, "SJ_NMV" TEXT, "TEXTBOOK_NMW" TEXT, "PUBLISHING_HOUSEX" TEXT, "GRAND_FINALEY" TEXT, "MEMBER_STAFFZ" TEXT, "SMALL_MEMBERA" TEXT, "NUM_PAGESB" NUMERIC, "NM_TEXTBOOKC" TEXT, "CHARACTERISTICSD" TEXT, "YEAR_CONSTRUCTION_YEARE" NUMERIC ); CREATE TABLE "GB_INTERNET_TV" ( "NO" TEXT, "CONTENT" TEXT, "DURATION" TEXT ); CREATE TABLE "KCG_GUIDE_SHIP_SITE_INFO" ( "MUTUAL_NAME" TEXT, "BUSINESS_LOCATION" TEXT, "OFFICE_NUMBER" TEXT ); Let me know the closure date and data update date of the place where "Food" is in the business name and the area is more than 50. | SELECT DCBYMD, UPDATEDT FROM L_O_C_A_L_D_A_T_A_072201_Y_C WHERE BPLCNM LIKE '%νΈλ%' AND SITEAREA >= 50 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:List the permit information data of dental laboratories with 2 or more surveyors and 1 vibrator, updated date, and final modified date, starting from the most motorized. , schema : CREATE TABLE "FCLT_OPEN_INFO_S_M" ( "FCLT_NM" TEXT, "SDM_WELFARE_FCLT_CD" TEXT, "FCLT_KIND_NM" TEXT, "FCLT_KIND_DTL_NM" TEXT, "SDM_WELFARE_JRSD_SGG_NM" TEXT, "FCLT_ADDR" TEXT ); CREATE TABLE "CURRENT_STS_VIDEO_PRODION_ES_YEONSU_GU_INCHEON" ( "IC_VIDEO_PRODION_SECTORS" TEXT, "IC_VIDEO_PRODION_MUTUAL" TEXT, "IC_VIDEO_PRODION_NAME" TEXT ); List the permit information data of dental laboratories with 2 or more surveyors and 1 vibrator, updated date, and final modified date, starting from the most motorized. 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 "L_O_C_A_L_D_A_T_A_031403_G_R" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DCBYMD" TEXT, "CLGSTDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "FACILAR" TEXT, "UNDERNUMLAY" TEXT, "PASGBRETH" TEXT, "NOROOMCNT" TEXT, "BGROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "AUTOCHAAIRYN" TEXT, "BGROOMYN" TEXT ); | SELECT UPDATEDT, LASTMODTS FROM L_O_C_A_L_D_A_T_A_010204_M_P WHERE SUVYNUM >= '2' AND TRMNUM = '1' ORDER BY CRFTUSEMOTNUM 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 of the place with "Hapjeong-dong" in the land lot address or "World Cup-ro" in the road address? , schema : CREATE TABLE "R_N_H_P_T_S_M_T_A_J_P_I_S_ZZ" ( "Y_2012_03V" TEXT, "Y_2012_04W" TEXT, "Y_2012_06Y" TEXT, "Y_2012_11D" TEXT, "Y_2012_12E" TEXT, "Y_2013_05J" TEXT, "Y_2013_06K" TEXT, "Y_2013_09N" TEXT, "Y_2014_01R" TEXT, "Y_2014_02S" TEXT, "Y_2014_05V" TEXT, "Y_2014_06W" TEXT, "Y_2014_07X" TEXT, "Y_2014_09Z" TEXT, "Y_2014_10A" TEXT, "Y_2015_03F" TEXT, "Y_2015_09L" TEXT, "Y_2016_04S" TEXT, "Y_2016_10Y" TEXT, "Y_2016_11Z" TEXT, "Y_2016_12A" TEXT, "Y_2017_01B" TEXT, "Y_2017_02C" TEXT, "Y_2017_06G" TEXT, "Y_2017_10K" TEXT, "Y_2017_11L" NUMERIC, "Y_2018_03P" TEXT, "Y_2018_04Q" TEXT, "Y_2018_05R" TEXT, "Y_2018_07T" TEXT, "Y_2018_08U" TEXT, "Y_2018_09V" TEXT, "Y_2018_10W" TEXT, "Y_2019_04C" TEXT, "Y_2019_06E" TEXT, "Y_2019_07F" TEXT, "Y_2019_08G" TEXT, "Y_2019_11J" TEXT, "Y_2020_01L" TEXT, "Y_2020_05P" TEXT, "Y_2020_07R" TEXT, "Y_2020_09T" TEXT, "Y_2020_10U" TEXT, "Y_2020_12W" TEXT, "Y_2021_01X" TEXT, "Y_2021_03Z" TEXT, "Y_2021_04A" TEXT, "Y_2021_05B" TEXT ); 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_051801_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" 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, "USEUNDERENDFLR" TEXT, "HANSHILCNT" TEXT, "YANGSILCNT" TEXT, "YOKSILCNT" TEXT, "BALHANSILYN" TEXT, "CHAIRCNT" TEXT, "CNDPERMNTWHY" TEXT, "CNDPERMSTYMD" TEXT, "BDNGOWNSENM" TEXT, "WMEIPCNT" TEXT, "RCVDRYNCNT" TEXT, "ABEDCNT" TEXT, "MULTUSNUPSOYN" TEXT ); What is the phone number of the place with "Hapjeong-dong" in the land lot address or "World Cup-ro" in the road address? CREATE TABLE "L_O_C_A_L_D_A_T_A_072213_D_B" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "TOTEPNUM" TEXT, "HOFFEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "FACILTOTSCP" TEXT ); | SELECT SITETEL FROM L_O_C_A_L_D_A_T_A_010204_M_P WHERE SITEWHLADDR LIKE '%ν©μ λ%' OR RDNWHLADDR LIKE '%μλμ»΅λ‘%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show me the final modified date and data update date of the permit information of general restaurants with a total area greater than 50 and grade classification of "Map" in descending order of area. , schema : CREATE TABLE "CURRENT_STS_TOBACCO_RETAILER_DES_GIJANG_GUN_BUSAN" ( "ANNUAL" NUMERIC, "RETAILER" TEXT, "BUSINESS" TEXT, "LOCATION" TEXT, "DESIGNATED_DATE" TEXT, "BUSINESS_STATUS" TEXT ); CREATE TABLE "KHNP_ANNUAL_P_RELATIONS_DATA_STS" ( "YEARA" NUMERIC, "MONTHB" NUMERIC, "PROMOTIONAL_MATERIALSC" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_092808_S_B" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVCANCELYMD" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "UPCHNM" TEXT ); Show me the final modified date and data update date of the permit information of general restaurants with a total area greater than 50 and grade classification of "Map" in descending order of area. CREATE TABLE "L_O_C_A_L_D_A_T_A_103101_S_D" ( "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" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "PUPRSENM" TEXT, "INSURJNYNCODE" TEXT, "BDNGYAREA" TEXT, "MEMCOLLTOTSTFNUM" TEXT ); | SELECT LASTMODTS, UPDATEDT FROM L_O_C_A_L_D_A_T_A_072404_M_P WHERE FACILTOTSCP > 50 AND LVSENM = 'μ§λ' ORDER BY SITEAREA DESC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Let me know the data update date and final modified date of the rest stop cafes that received permits after 2010 and have "Mangu-dong" in the land lot address. , schema : CREATE TABLE "GG_NYJ_SPATIAL_INFO_SYS_ROAD_FAC_LAYER_INFO" ( "MANAGEMENT_NUMJ" NUMERIC, "GEOGRAPHICAL_FEATURE_CDK" TEXT, "M_D_A_D_T" TEXT, "ADMINISTRATIVE_AGENCYM" TEXT, "DATA_BASE_DTN" TEXT ); CREATE TABLE "STS_REGISTERED_INTERN_LOGISTICS_SERVICE_CO_BUSAN" ( "ANNUAL" NUMERIC, "COMPANY_NAME" TEXT, "REPRESENTATIVE" TEXT, "PHONE_NUMBER" TEXT, "STREET_NAME_ADDRESS" TEXT, "LATITUDE" NUMERIC, "HARDNESS" NUMERIC, "DATA_STANDARD_DATE" TEXT ); CREATE TABLE "SDBC_IMS_AUCTION_CATEGORY" ( "BASE_YEARQ" NUMERIC, "BASE_MONTHR" NUMERIC, "SORT_ORDERS" NUMERIC, "LOWEST_PLACE_STAT" TEXT, "CATEGORY_NMU" TEXT ); Let me know the data update date and final modified date of the rest stop cafes that received permits after 2010 and have "Mangu-dong" in the land lot address. CREATE TABLE "GEO_INFO_DONG_GAS_USAGE2007_W_G_S" ( "OBJECTID" TEXT, "BASE_YEAR" TEXT, "ADM_DR_CD_NUMBER" NUMERIC, "ADM_DR_NM" TEXT, "SUM_07" NUMERIC, "SUM_08" NUMERIC ); | SELECT UPDATEDT, LASTMODTS FROM L_O_C_A_L_D_A_T_A_072405_J_R WHERE APVPERMYMD >= 20100101000000 AND SITEWHLADDR LIKE '%λ§μ°λ%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show me the postal code and business name of the optical shop with one sample lens and operational status as open, in ascending order of Y-coordinate. , 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 "CURRENT_STS_LOCAL_TAX_GYEONGSAN_GYEONGBUK" ( "DIVISION" NUMERIC, "TRIAL_NAME" TEXT, "CITIES_AND_COUNTIES" TEXT, "MUNICIPALITY" NUMERIC, "TAXATION_YEAR" NUMERIC, "THREE_NAME_NAME" TEXT, "TAX" NUMERIC, "TAXATION" NUMERIC, "NUMBER_OF_TAXPAYERS" NUMERIC, "RAIN_AND_THREE_AMOUNTS" NUMERIC ); CREATE TABLE "S_L_F_C_F_S_C_K_F_I_R_I_GH" ( "L_F_T_M_H" TEXT, "TOBACCO_DETAILST" TEXT, "DT_RECEPTIONU" TEXT, "DT_ACCEPTANCEV" TEXT ); Show me the postal code and business name of the optical shop with one sample lens and operational status as open, in ascending order of Y-coordinate. CREATE TABLE "L_O_C_A_L_D_A_T_A_082603_G_S" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "ASETSCP" TEXT, "BCTOTAM" TEXT, "SILMETNM" TEXT ); | SELECT RDNPOSTNO, BPLCNM FROM L_O_C_A_L_D_A_T_A_010201_D_J WHERE SAMPLENSNUM = 1 AND DTLSTATENM = 'μμ
μ€' ORDER BY Y |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Tell me the X and Y coordinates of businesses with 1 or more male or female employees. , schema : Tell me the X and Y coordinates of businesses with 1 or more male or female employees. CREATE TABLE "OPTICIAN_SHOP_IKSAN_JEONBUK" ( "TURN" NUMERIC, "EYEGLASS_BUSINESS" TEXT, "LOCATION_ROAD_NAME" TEXT, "PHONE_NUMBER" TEXT ); CREATE TABLE "REFERENCE_POWER_PLANT_BENCHMARK_STS_KHNP_UAE_BUSINESS_YEAR_YEAR" ( "YEAR" NUMERIC, "BEM_NUM" NUMERIC, "TRIP_NUM" NUMERIC, "EDU_OTH_NUM" NUMERIC ); CREATE TABLE "STS_MANPOWER_INPUT_KHNP_UAE_PRO_YEAR_YEAR" ( "YEAR" NUMERIC, "MAG_PEOPLE" NUMERIC, "OSS_PEOPLE" NUMERIC, "OSSA_PEOPLE" NUMERIC, FOREIGN KEY ("YEAR") REFERENCES "REFERENCE_POWER_PLANT_BENCHMARK_STS_KHNP_UAE_BUSINESS_YEAR_YEAR"("YEAR") ); CREATE TABLE "SB_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_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 "DISTRICT_EMD" ( "ADMDONG_ID" NUMERIC, "ADMDONG_NM" TEXT, "ATDRC_NM" TEXT, "SIDO_NM" TEXT ); | SELECT X, Y FROM L_O_C_A_L_D_A_T_A_072219_D_J WHERE MANEIPCNT >= 1 OR WMEIPCNT >= 1 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Provide me with the final modified date and data update date of instant sale manufacturing processing businesses with "Tteok" in the name., schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_072302_G_B" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "ROPNYMD" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "LVSENM" TEXT, "HOFFEPCNT" TEXT, "MONAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_103201_S_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "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, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "PUPRSENM" TEXT, "INSURJNYNCODE" TEXT, "LDERCNT" TEXT, "BDNGDNGNUM" TEXT, "MEMCOLLTOTSTFNUM" TEXT, "DRMKCOBNM" TEXT ); Provide me with the final modified date and data update date of instant sale manufacturing processing businesses with "Tteok" in the name. CREATE TABLE "NRF_KCI_CITATION_IDX_INFO" ( "I_S_C_P_N_BB" TEXT, "N_S_P_K_L_C" TEXT, "F_L_N_A_S_DE" TEXT, "ISSUING_INSTITUTIONN" TEXT, "I_A_E_F" TEXT, "MAJOR_CLASP" TEXT, "M_CLASQ" TEXT, "REGISTERED_INFR" TEXT, "W_S_I_I_I_K_J_L_2_Y_J" TEXT, "I_I_K_J_L_2_Y_K" NUMERIC, "E_S_Q_I_2_Y_L" NUMERIC, "CENTRALITY_IDX_3_YEARSV" NUMERIC, "IMMEDIACY_IDXW" NUMERIC, "SELF_QUOTE_RATE_2_YEARSX" NUMERIC, "TWO_YEARS_PAPERSY" NUMERIC, "NUM_CITATIONS_2_YEARSZ" NUMERIC, "W_S_C_2_Y_RC" NUMERIC ); CREATE TABLE "HFE_MORTGAGE_STS_SURVEY_SE6002" ( "LOAN_INSTITUTION_CDO" TEXT, "LOAN_APPLICATION_DTP" NUMERIC, "LOAN_DTQ" NUMERIC ); | SELECT LASTMODTS, UPDATEDT FROM L_O_C_A_L_D_A_T_A_072219_G_D WHERE BPLCNM LIKE '%λ‘%' AND UPDATEGBN = 'U' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Find the postcode and address of a business establishment in Jungnang-gu whose detailed business status is operating and the license date is in 2020. , schema : Find the postcode and address of a business establishment in Jungnang-gu whose detailed business status is operating and the license date is in 2020. CREATE TABLE "GNYS_CLEANING_CO_STS" ( "COMPANY_NMV" TEXT, "B_O_A_R_N_O" TEXT, "PHONE_NUMX" TEXT ); CREATE TABLE "SB_FOOD_HYGIENE_BIZ_LOC_MANAGE" ( "SB_FOOD_HYGIENE_CGG_CODE" NUMERIC, "SB_FOOD_HYGIENE_CGG_NM" TEXT, "REGN_NM" TEXT, "SNT_UPTAE_NM" TEXT, "CNT" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_030801" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "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, "CULWRKRSENM" TEXT, "BDNGSRVNM" TEXT, "UNDERNUMLAY" TEXT, "STROOMCNT" TEXT, "CNSTYAREA" TEXT, "ENGSTNTRNMADDR" TEXT, "SHPTOTTONS" TEXT, "SHPCNT" TEXT, "SHPINFO" TEXT ); CREATE TABLE "GGGJ_BUS_ROUTE_INFO" ( "ROUTE_NUMT" TEXT, "STARTING_POINTU" TEXT, "STOPOVERV" TEXT, "LAST_STOPW" TEXT, "FIRST_TRAIN_UPX" TEXT, "LAST_TRAIN_UPY" TEXT, "FIRST_DOWN_TRAINZ" TEXT, "LAST_TRAIN_GOING_DOWNA" TEXT, "ALLOC_INTERVALB" NUMERIC, "DATA_BASE_DTC" TEXT ); | SELECT SITEPOSTNO,SITEWHLADDR FROM L_O_C_A_L_D_A_T_A_072219_J_R 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: Find the postcode and address of a business establishment in Jungnang-gu whose detailed business status is operating and the license date is in 2021. , schema : CREATE TABLE "PARKING_LOT_STS_CHANGWON_SOUTH_GYEONGSANG_PROVINCE" ( "ANNUAL" NUMERIC, "DIVISION" TEXT, "CONTACTS" TEXT, "NINE" TEXT, "EUPMYEON_DONG" TEXT, "PARKING_LOT" TEXT, "TENDON" TEXT, "NORMAL" NUMERIC, "DISABLED" NUMERIC, "ECO_FRIENDLY" NUMERIC, "NOTE" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_030901_G_R" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" 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, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "FACILAR" TEXT, "UNDERNUMLAY" TEXT, "BDNGSRVNM" TEXT, "LGHTFACILINILLU" TEXT, "BGROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "EMEXYN" TEXT, "SOUARFACILYN" TEXT ); Find the postcode and address of a business establishment in Jungnang-gu whose detailed business status is operating and the license date is in 2021. CREATE TABLE "L_O_C_A_L_D_A_T_A_010204_S_B" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" 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, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CRFTUSELESSNUM" TEXT, "CRFTUSEMOTNUM" TEXT, "SPWVCLERNUM" TEXT, "SBMCNT" TEXT, "BURYCNT" TEXT, "PINDEXCNT" TEXT ); CREATE TABLE "SEOUL_HISTORY_LIBRARY_BOOK_SEARCH" ( "BOOKNO" NUMERIC, "BOOK_SIGN" TEXT, "MARCNO" NUMERIC, "TITLE" TEXT, "AUTHOR" TEXT, "PUB" TEXT, "PUBDATE" TEXT, "LOCATE" TEXT, "LOCATE_NM" TEXT, "LANG_NM" TEXT ); | SELECT SITEPOSTNO,SITEWHLADDR FROM L_O_C_A_L_D_A_T_A_072219_J_R WHERE DTLSTATENM = 'μμ
' AND APVPERMYMD LIKE '2021%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Tell me the name and location area of a business establishment in Jungnang-gu whose detailed business status is operating and the license date is in 2020. , schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_051801_S_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "BDNGJISGFLRCNT" TEXT, "BDNGUNDERFLRCNT" TEXT, "USEJISGSTFLR" TEXT, "USEJISGENDFLR" TEXT, "USEUNDERENDFLR" TEXT, "HANSHILCNT" TEXT, "YANGSILCNT" TEXT, "YOKSILCNT" TEXT, "BALHANSILYN" TEXT, "CHAIRCNT" TEXT, "CNDPERMNTWHY" TEXT, "CNDPERMENDYMD" TEXT, "WASHMCCNT" TEXT, "WMEIPCNT" TEXT, "MANEIPCNT" TEXT, "RCVDRYNCNT" TEXT, "ABEDCNT" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031103_G_R" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "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, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "BDNGJISGFLRCNT" TEXT, "BDNGUNDERFLRCNT" TEXT, "USEJISGENDFLR" TEXT, "USEUNDERSTFLR" TEXT, "HANSHILCNT" TEXT, "YANGSILCNT" TEXT, "YOKSILCNT" TEXT, "BALHANSILYN" TEXT, "CNDPERMNTWHY" TEXT, "CNDPERMSTYMD" TEXT, "CNDPERMENDYMD" TEXT, "BDNGOWNSENM" TEXT, "WASHMCCNT" TEXT, "WMEIPCNT" TEXT, "MANEIPCNT" TEXT, "MULTUSNUPSOYN" TEXT ); Tell me the name and location area of a business establishment in Jungnang-gu whose detailed business status is operating and the license date is in 2020. CREATE TABLE "L_O_C_A_L_D_A_T_A_103201_J_R" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "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, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "INSURJNYNCODE" TEXT, "LDERCNT" TEXT, "BDNGYAREA" TEXT, "MEMCOLLTOTSTFNUM" TEXT, "DRMKCOBNM" TEXT, "BUPNM" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031203_J_N" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "INSURORGNM" TEXT, "JISGNUMLAY" TEXT, "STROOMCNT" TEXT, "CNSTYAREA" TEXT, "ENGSTNTRNMNM" TEXT, "SHPTOTTONS" TEXT, "SHPCNT" TEXT, "CAPT" TEXT, "INSURSTDT" TEXT, "INSURENDDT" TEXT ); | SELECT BPLCNM,SITEAREA FROM L_O_C_A_L_D_A_T_A_072219_J_R 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: Find the postcode and address of a business establishment in Jungnang-gu whose detailed business status is closed and the closure date is in 2020. , schema : CREATE TABLE "NRF_KCI_CITATION_IDX_INFO" ( "I_S_C_P_N_BB" TEXT, "N_S_P_K_L_C" TEXT, "F_L_N_A_S_DE" TEXT, "ISSUING_INSTITUTIONN" TEXT, "I_A_E_F" TEXT, "MAJOR_CLASP" TEXT, "M_CLASQ" TEXT, "REGISTERED_INFR" TEXT, "W_S_I_I_I_K_J_L_2_Y_J" TEXT, "I_I_K_J_L_2_Y_K" NUMERIC, "E_S_Q_I_2_Y_L" NUMERIC, "CENTRALITY_IDX_3_YEARSV" NUMERIC, "IMMEDIACY_IDXW" NUMERIC, "SELF_QUOTE_RATE_2_YEARSX" NUMERIC, "TWO_YEARS_PAPERSY" NUMERIC, "NUM_CITATIONS_2_YEARSZ" NUMERIC, "W_S_C_2_Y_RC" NUMERIC ); Find the postcode and address of a business establishment in Jungnang-gu whose detailed business status is closed and the closure date is in 2020. CREATE TABLE "CURRENT_STS_LOCAL_TAX_DELINQUENCY_GOYANG_SI_GYEONGGI" ( "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, "CUMULATIVE_AMOUNT" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_093011_M_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" 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, "OFEAR" TEXT, "DISFETVEHGARAR" TEXT, "MICROSPKLNUM" TEXT, "HNDUSESTLZNUM" TEXT, "HDOPTDSPRAYNUM" TEXT, "PROTGLSNUM" TEXT, "PROTUSECLOTNUM" TEXT, "VACUCLERNUM" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_082602_S_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" 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, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "ASETSCP" TEXT, "BCTOTAM" TEXT, "CAPT" TEXT, "SILMETNM" TEXT ); | SELECT SITEPOSTNO,SITEWHLADDR FROM L_O_C_A_L_D_A_T_A_072219_J_R WHERE DTLSTATENM = 'νμ
' AND DCBYMD LIKE '2020%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Provide the number of female and male employees of a bakery located near residential areas or entertainment districts. , schema : CREATE TABLE "NANUMCAR_SPOT_LIST" ( "LA" NUMERIC, "LO" NUMERIC, "POSITN_CD" TEXT, "ELCTYVHCLE_AT" TEXT, "ADRES" TEXT, "POSITN_NM" TEXT ); CREATE TABLE "C_STS_DEV_TECH_SOIL_GROUNDW_KEITI" ( "NUMJ" NUMERIC, "BUSINESS_NMK" TEXT, "UNIT_BUSINESSL" TEXT, "INTERMEDIATE_FIELDM" TEXT, "ASSIGNMENT_NMN" TEXT, "GOVERNING_BODYO" TEXT, "PERSON_CHARGEP" TEXT, "RESEARCH_STAQ" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_093011_M_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" 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, "OFEAR" TEXT, "DISFETVEHGARAR" TEXT, "MICROSPKLNUM" TEXT, "HNDUSESTLZNUM" TEXT, "HDOPTDSPRAYNUM" TEXT, "PROTGLSNUM" TEXT, "PROTUSECLOTNUM" TEXT, "VACUCLERNUM" TEXT ); Provide the number of female and male employees of a bakery located near residential areas or entertainment districts. CREATE TABLE "L_O_C_A_L_D_A_T_A_103302" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "INSURJNYNCODE" TEXT, "BDNGDNGNUM" TEXT, "BDNGYAREA" TEXT, "MEMCOLLTOTSTFNUM" TEXT ); | SELECT WMEIPCNT, MANEIPCNT FROM L_O_C_A_L_D_A_T_A_072218_S_B WHERE TRDPJUBNSENM = 'μ£Όνκ°μ£Όλ³' OR TRDPJUBNSENM = 'μ ν₯μ
μλ°μ§μ§μ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Show the names and license dates of establishments that include Nogosan-dong in the address and have a location area exceeding 100. , schema : CREATE TABLE "CHILD_CARE_INFO_E_P" ( "SIGUNNAME" TEXT, "STCODE" NUMERIC, "CRNAME" TEXT, "CRTYPENAME" TEXT, "CRSTATUSNAME" TEXT, "ZIPCODE" NUMERIC, "CRADDR" TEXT, "CRFAXNO" TEXT, "NRTRROOMCNT" TEXT, "NRTRROOMSIZE" TEXT, "PLGRDCO" TEXT, "CRCAPAT" TEXT, "LA" NUMERIC, "LO" NUMERIC, "CRCARGBNAME" TEXT, "CRPAUSEBEGINDT" TEXT, "CRABLDT" TEXT, "DATASTDRDT" TEXT, "CRSPEC" TEXT, "CLASS_CNT_01" TEXT, "CLASS_CNT_03" TEXT, "CLASS_CNT_04" TEXT, "CLASS_CNT_05" TEXT, "CLASS_CNT_M5" TEXT, "CLASS_CNT_TOT" TEXT, "CHILD_CNT_00" TEXT, "CHILD_CNT_03" TEXT, "CHILD_CNT_04" TEXT, "EM_CNT_A7" TEXT ); Show the names and license dates of establishments that include Nogosan-dong in the address and have a location area exceeding 100. CREATE TABLE "VW_NOTICE" ( "N_SEQ" TEXT, "N_TITLE" TEXT, "N_CONTENTS" TEXT, "N_VIEW_COUNT" TEXT, "REG_DATE" TEXT, "FILE_PATH" 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 "DETAILS_STREET_SECURITY_LAMP_FAULT_REPORT_CHUNGJU_CHUNGBUK" ( "DATE_OF_RECEIPT" TEXT, "DECLARATION" TEXT, "TYPE" TEXT, "BREAKDOWN" TEXT, "REPAIR_DATE" TEXT, "REPAIR_CONTENT" TEXT, "PROCESSING_RESULTS" TEXT, "DATA_STANDARD_DATE" TEXT ); | SELECT BPLCNM, APVPERMYMD FROM L_O_C_A_L_D_A_T_A_072302_M_P WHERE SITEWHLADDR LIKE '%λ
Έκ³ μ°λ%' AND SITEAREA > 100 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Show the license date and closure date of entertainment bars with the business category name of cabaret or two or more male employees. , schema : CREATE TABLE "LIST_SNOW_REMOVE_BOX" ( "G2_ID" NUMERIC, "SBOX_NUM" TEXT, "MGC_NM" TEXT, "DETL_CN" TEXT, "RM" TEXT, "G2_XMIN" NUMERIC, "G2_YMIN" NUMERIC, "G2_XMAX" NUMERIC, "G2_YMAX" NUMERIC ); CREATE TABLE "LIST_NEWS_EMPLOY" ( "BOARD_ID" NUMERIC, "TITLE" TEXT, "KOR_NAME" TEXT, "CREATE_DATE" NUMERIC, "UPDATE_DATE" NUMERIC, "DEADLINE_DATE" TEXT, "ORGAN" TEXT, "POSITION" TEXT, "TEL" TEXT, "EMAIL" TEXT, "TAG_WORD" TEXT, "CONTENTS" TEXT, "READ_CNT" NUMERIC, "TRACKBACK" TEXT, "START_DATE" NUMERIC, "END_DATE" NUMERIC, "DATE_CHECK" TEXT, "FILE_COUNT" NUMERIC, "FILE_APPD_ID" NUMERIC, "APPD_FILE_NAME" TEXT, "FILE_SIZE" NUMERIC, "FILE_URL" TEXT ); CREATE TABLE "V_NTCN_NGC002" ( "ATDRC_CODE" TEXT, "SJ" TEXT, "REQST_BGNDE" TEXT, "REQST_ENDDE" TEXT, "USE_BGNDE" TEXT, "USE_ENDDE" TEXT, "REQST_TRGET_CODE" TEXT, "RCRIT_NMPR" NUMERIC, "ONSLF_REQST_AT" TEXT, "LINK" TEXT, "CHRGE" TEXT, "CN" TEXT, "TELNO" TEXT, "ZIP" TEXT, "RDNMADR" TEXT, "ADRES_DETAIL" TEXT, "LA" NUMERIC, "LO" NUMERIC, "ATPN" TEXT, "HMPG_ADRES" TEXT, "REFRNC" TEXT, "REQST_STTUS_CODE" TEXT ); CREATE TABLE "INFO_RELATED_AGENCIES_KR_CREATIVE_CONTENT_AGENCY" ( "ENGINE_LOGOL" TEXT, "BUSINESS_FIELD_BUSINESSM" TEXT, "BUSINESS_OPERATIONSN" TEXT, "CRAWLING_TARGET_SITE_CDO" NUMERIC, "RE_DT_TIMEP" TEXT, "R_I_C_VA" NUMERIC, "NM_RELATED_AGENCYR" TEXT, "RELATED_AGENCY_NUMS" NUMERIC, "S_R_I_XZ" NUMERIC, "RELATED_AGENCIES_URLU" TEXT, "I_I_BB" TEXT, "MODIFIED_DT_TIMEW" TEXT ); Show the license date and closure date of entertainment bars with the business category name of cabaret or two or more male employees. | SELECT APVPERMYMD, DCBYMD FROM L_O_C_A_L_D_A_T_A_072302_M_P WHERE UPTAENM = 'μΉ΄λ°λ ' OR MANEIPCNT >= 2 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Inform me of the closure date and data update date of places with one or more female employees or a classification name of 'autonomous'. , schema : CREATE TABLE "GG_UI_LOCAL_TAX_COL_STS" ( "CITY_PROVINCEC" TEXT, "NM_CITY_COUNTY_DISTRICTD" TEXT, "TAX_YEARF" NUMERIC, "NM_DETAILG" TEXT, "IMPOSITION_AMTH" NUMERIC, "STORAGE_SUPPLY_AMTI" NUMERIC, "REFUND_AMTJ" NUMERIC, "DEFICIT_AMTK" NUMERIC, "OUTSTANDING_AMTL" NUMERIC, "COLLECTION_RATEM" NUMERIC ); CREATE TABLE "JONGNO_MODEL_RESTAURANT_CANCEL" ( "JNO_RESTAURANT_CANCEL_CGG_CODE" NUMERIC, "ASGN_YY" TEXT, "JNO_RESTAURANT_CANCEL_ASGN_SNO" TEXT, "JNO_RESTAURANT_CANCEL_APPL_YMD" TEXT, "JNO_RESTAURANT_CANCEL_ASGN_YMD" TEXT, "JNO_RESTAURANT_CANCEL_ASGN_CANCEL_YMD" TEXT, "UPSO_NM" TEXT, "JNO_RESTAURANT_CANCEL_SITE_ADDR" TEXT, "SNT_UPTAE_NM" TEXT, "ASGN_CANCEL_WHY" TEXT, "MAIN_EDF" TEXT, "JNO_RESTAURANT_CANCEL_TRDP_AREA" NUMERIC, "ADMDNG_NM" TEXT ); 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 "GBE_GBE_YOUNGJU_SEONBI_LIBRARY_HOPE_BOOK_PURCHASE_LIST" ( "NUMI" NUMERIC, "SIGNATUREJ" TEXT, "AUTHORK" TEXT, "ISSUERL" TEXT, "YEAR_ISSUE_YEARM" NUMERIC, "UNIT_PRICEN" NUMERIC, "NUM_BOOKSO" NUMERIC, "AMTP" NUMERIC, "NOTEQ" TEXT ); Inform me of the closure date and data update date of places with one or more female employees or a classification name of 'autonomous'. | SELECT DCBYMD, UPDATEDT FROM L_O_C_A_L_D_A_T_A_072213_J_R WHERE WMEIPCNT >= 1 OR LVSENM = 'μμ¨' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Tell me the phone number and building ownership type of collective catering food sales establishments with a license date of 2010 and a location area of 70 or more. , schema : CREATE TABLE "BIZ_FIELD" ( "FIS_YEAR" TEXT, "SUGG_NO" NUMERIC, "OP_ID" NUMERIC, "SUBCOMM_CD" NUMERIC, "JO" TEXT, "OP_START_DT" TEXT, "OP_END_DT" TEXT, "OP_DESC" TEXT, "USE_YN" TEXT, "REG_DT" TEXT, "UP_DT" TEXT, "PART_MEMBER_ID" TEXT, "PART_MEMBER_CD" NUMERIC, "OP_DESC2" TEXT, "OP_DESC3" TEXT, "OP_DESC4" TEXT, "OP_DESC5" TEXT ); Tell me the phone number and building ownership type of collective catering food sales establishments with a license date of 2010 and a location area of 70 or more. CREATE TABLE "TP_RENTAL_STS" ( "STANDARDS" NUMERIC, "RENTAL_TYPE" TEXT, "NUMBER_OF_CASES" NUMERIC, "ONE_THOUSAND_WON" NUMERIC ); CREATE TABLE "KOSAF_YOUTH_EDU_MNG_ENFORCEMENT_DETAILS" ( "PRODUCT_CDZ" TEXT, "YEARA" NUMERIC, "SEMESTERB" NUMERIC, "UNIVERSITY_CDC" TEXT, "L_D_L_C_C_G" TEXT, "LABOR_DETAILS_CLAS_CDE" TEXT, "DETAILED_DT_TIME_CHANGEF" TEXT, "NUM_WORK_DEPARTMENTSG" NUMERIC, "TARGET_NUM_PEOPLEH" NUMERIC, "EXECUTION_AMTI" NUMERIC, "DT_TIME_INITIAL_REJ" TEXT, "LAST_CHANGE_DT_TIMEK" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031301" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "SITEAREA" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "FACILAR" TEXT, "JISGNUMLAY" TEXT, "BDNGSRVNM" TEXT, "PASGBRETH" TEXT, "LGHTFACILINILLU" TEXT, "NOROOMCNT" TEXT, "BGROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "AUTOCHAAIRYN" TEXT, "BGROOMYN" TEXT, "FRSTREGTS" TEXT ); | SELECT SITETEL, BDNGOWNSENM FROM L_O_C_A_L_D_A_T_A_072201_G_S WHERE APVPERMYMD LIKE '2010%' AND SITEAREA >= 70 |
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 establishments in Seocho-gu with a detailed business status of operating and a license date in 2020, and having 6 or more seats., schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_072218_S_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "TOTEPNUM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); Show the business name and phone number of establishments in Seocho-gu with a detailed business status of operating and a license date in 2020, and having 6 or more seats. 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 "CULTURAL_SPACE_INFO" ( "NUM" NUMERIC, "SUBJCODE" TEXT, "FAC_NAME" TEXT, "ADDR" TEXT, "X_COORD" TEXT, "Y_COORD" TEXT, "PHNE" TEXT, "FAX" TEXT, "HOMEPAGE" TEXT, "OPENHOUR" TEXT, "ENTR_FEE" TEXT, "CLOSEDAY" TEXT, "OPEN_DAY" TEXT, "SEAT_CNT" TEXT, "MAIN_IMG" TEXT, "ETC_DESC" TEXT, "FAC_DESC" TEXT, "ENTRFREE" TEXT, "SUBWAY" TEXT, "BUSSTOP" TEXT, "YELLOW" TEXT, "GREEN" TEXT, "BLUE" TEXT, "RED" TEXT, "AIRPORT" TEXT ); CREATE TABLE "STS_S_UNLISTED_SECURITIES_KR_ASSET_MNG_C" ( "NM_EVENTS" TEXT, "AMT_SALET" NUMERIC, "QUANTITY_STATEU" NUMERIC, "CONTRACT_DTV" TEXT, "TAX_ITEMS_GOODSW" TEXT ); | SELECT BPLCNM,SITETEL FROM L_O_C_A_L_D_A_T_A_051801_S_C WHERE DTLSTATENM = 'μμ
' AND APVPERMYMD LIKE '2020%' AND CHAIRCNT >= 6 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Please let me know the date of issuance and closure for places with 'Seven' in the business name and sales outlet area of ββ100 or more. , schema : Please let me know the date of issuance and closure for places with 'Seven' in the business name and sales outlet area of ββ100 or more. CREATE TABLE "DJ_SISEOL_MEMORIAL_PARK_BONGAN_MONTHLY_STS" ( "YEAR" NUMERIC, "MONTH" NUMERIC, "TOTAL" NUMERIC, "FLEXIBLE_SUBTOTAL_SYSTEM" NUMERIC, "FLEXIBLE_TUBE" NUMERIC, "FLEXIBLE_OUT_WAY" NUMERIC, "COMBUSTION_FREE_SYSTEM" NUMERIC, "LEAD_FREE_JURISDICTION" NUMERIC, "UNCONNECTED_OUT_OF" NUMERIC ); CREATE TABLE "GD_LIST_LOAN_COMPANY" ( "BSNS_SE" TEXT, "MNG_STATE_CODE" TEXT, "BUP_NM" TEXT, "UPCHE_GBN" TEXT, "WRKR_BUP_TELNO" TEXT, "APV_YMD" TEXT, "END_APV_YMD" TEXT, "WRKR_ESBMNT_YMD" TEXT, "HOFF_YN" TEXT, "LAST_MOD_YMD" TEXT ); 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 "SEOUL_ADMIN_MESURE" ( "CGG_CODE" NUMERIC, "ADM_DISPO_YMD" TEXT, "SNT_COB_NM" TEXT, "SNT_UPTAE_NM" TEXT, "UPSO_NM" TEXT, "SITE_ADDR_RD" 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, "NT_GBN_CODE" TEXT, "TRDP_AREA" NUMERIC ); | SELECT APVPERMYMD, DCBYMD FROM L_O_C_A_L_D_A_T_A_010105 WHERE BPLCNM LIKE '%μΈλΈ%' AND STORETRDAR >= 100 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Let me know the date of issuance and data update for Chajiwoo Animal Hospital and Yeil Animal Hospital. , schema : CREATE TABLE "STS_RADIOACTIVE_W_MNG_KHNP_NUCLEAR_PW_PLANT" ( "YEAR_MONTHM" TEXT, "SORTATIONN" TEXT, "RING_HEAD_DRUMO" NUMERIC, "S_H_D_L" NUMERIC, "W_H_D_M" NUMERIC, "H_H_D_N" NUMERIC, "D_H_H_O" NUMERIC, "TOTAL_DRUMT" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_010204_N_W" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "CRFTUSELESSNUM" TEXT, "CTPLCTMCENUM" TEXT, "CRFTUSEMOTNUM" TEXT, "EFURNUM" TEXT, "PCANNUM" TEXT, "SPWVCLERNUM" TEXT, "VITRNUM" TEXT, "TRMNUM" TEXT, "CRFTUSECOMPRECNT" TEXT, "SBMCNT" TEXT, "BURYCNT" TEXT ); CREATE TABLE "TAX_STS_TAX_SOURCE_TYPE_DAEDEOK_GU_DAEJEON" ( "CITY_AND_PROVINCIAL_NAMES" TEXT, "NAME_CITY_AND_COUNTY" TEXT, "LOCAL_GOVERNMENT_CODE" NUMERIC, "TAX_YEAR" NUMERIC, "DETAILED_NAME" TEXT, "TYPE_NAME_TAX_SOURCE" TEXT, "NUMBER_IMPOSITIONS" NUMERIC, "IMPOSED_AMOUNT" NUMERIC ); CREATE TABLE "TAX_STS_LOCAL_TAX_DAEDEOK_GU_DAEJEON" ( "CITY_AND_PROVINCIAL_NAMES" TEXT, "NAME_CITY_AND_COUNTY" TEXT, "LOCAL_GOVERNMENT_CODE" NUMERIC, "TAX_YEAR" NUMERIC, "DETAILED_NAME" TEXT, "NUMBER_TAXABLE_CASES" NUMERIC, "TAXABLE_AMOUNT" NUMERIC, "NUMBER_TAX_EXEMPTIONS" NUMERIC, "TAX_FREE_AMOUNT" NUMERIC, FOREIGN KEY ("DETAILED_NAME") REFERENCES "TAX_STS_TAX_SOURCE_TYPE_DAEDEOK_GU_DAEJEON"("DETAILED_NAME") ); CREATE TABLE "TB_RPRT_HOSP" ( "RNUM" TEXT, "YADMNM" TEXT, "SGGUCDNM" TEXT, "RECUCLCD" NUMERIC, "RPRTWORPCLICFNDTTGTYN" TEXT, "ADDR" TEXT, "TELNO" TEXT, "RATPSBLYN" TEXT, "PCRPSBLYN" TEXT, "MGTSTADD" TEXT, "XPOS" NUMERIC, "XPOSWGS84" NUMERIC, "YPOS" NUMERIC, "YPOSWGS84" NUMERIC, "YKIHOENC" TEXT ); Let me know the date of issuance and data update for Chajiwoo Animal Hospital and Yeil Animal Hospital. | SELECT UPDATEDT, APVPERMYMD FROM L_O_C_A_L_D_A_T_A_020301_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:Tell me the number of companies with an area greater than 50 and a phone number starting with 02, and the average area by business type. , schema : CREATE TABLE "GONG_GONG_ART_ETC" ( "GA_KNAME" TEXT, "GA_INS_DATE" TEXT, "CODE_N2_NAME" TEXT, "CODE_N3_NAME" TEXT, "GA_ADDR1" TEXT, "GA_ADDR2" TEXT, "CODE_A1" TEXT ); CREATE TABLE "SEOUL_ADMIN_MESURE" ( "CGG_CODE" NUMERIC, "ADM_DISPO_YMD" TEXT, "SNT_COB_NM" TEXT, "SNT_UPTAE_NM" TEXT, "UPSO_NM" TEXT, "SITE_ADDR_RD" 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, "NT_GBN_CODE" TEXT, "TRDP_AREA" NUMERIC ); CREATE TABLE "KW_GROUNDW_PIPELINE_INFO" ( "ADDRESSC" TEXT, "GROUNDWATER_USAGE_CDD" TEXT, "ANL_USAGEE" NUMERIC, "DEVELOPMENT_DTF" TEXT, "DEPTHG" NUMERIC, "PUMPING_CPH" NUMERIC, "WATER_INTAKE_PLAN_AMTI" NUMERIC ); CREATE TABLE "TN_FCLTY_STTUS_INFO10075" ( "CLTUR_EVENT_ETC_NM" TEXT, "SVC_CL_CODE" NUMERIC, "SVC_CL_NM" TEXT, "ATDRC_CODE" NUMERIC, "ATDRC_NM" TEXT, "AGE_SE_CODE" NUMERIC, "AGE_SE_NM" TEXT, "FCLTY_CL_CODE" NUMERIC, "FCLTY_CL_NM" TEXT, "X_CRDNT_VALUE" NUMERIC, "Y_CRDNT_VALUE" NUMERIC, "ZIP" NUMERIC, "BASS_ADRES" TEXT, "DETAIL_ADRES" TEXT, "RNTFEE_FREE_AT" TEXT, "RNTFEE" TEXT, "GUIDANCE_URL" TEXT, "REGIST_DT" TEXT, "UPDT_DT" TEXT ); Tell me the number of companies with an area greater than 50 and a phone number starting with 02, and the average area by business type. | SELECT UPTAENM, COUNT(BPLCNM), AVG(SITEAREA) FROM L_O_C_A_L_D_A_T_A_072102_M_P WHERE SITETEL LIKE '02%' AND SITEAREA > 50 GROUP BY UPTAENM |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:What is the business name of the location with 'Oil House' in the business name and one male employee, and what is the number of female employees? , schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_104201_J_G" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "ROPNYMD" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "PUPRSENM" TEXT, "MEMCOLLTOTSTFNUM" TEXT, "DRMKCOBNM" TEXT, "BUPNM" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_010102_Y_D" ( "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" NUMERIC, "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, "MEDEXTRITEMSCN" TEXT, "MEDEXTRITEMSCNNM" TEXT, "MITMDCDEPNM" TEXT, "EMERCARGEN" TEXT, "TOTEPNUM" TEXT, "RESCNT" TEXT, "PMTBEDNUM" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031301_M_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "FACILAR" TEXT, "BDNGSRVNM" TEXT, "PASGBRETH" TEXT, "EMERSTAIRYN" TEXT, "EMEXYN" TEXT, "AUTOCHAAIRYN" TEXT, "BGROOMYN" TEXT, "FRSTREGTS" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031202_E_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" 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, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "REGNSENM" TEXT, "TOTNUMLAY" TEXT, "MNFACTREARTCLCN" TEXT, "INSURORGNM" TEXT, "BDNGSRVNM" TEXT, "JISGNUMLAY" TEXT, "STROOMCNT" TEXT, "CNSTYAREA" TEXT, "ENGSTNTRNMADDR" TEXT, "SHPCNT" TEXT, "SHPINFO" TEXT, "INSURSTDT" TEXT, "INSURENDDT" TEXT, "FACILSCP" TEXT ); What is the business name of the location with 'Oil House' in the business name and one male employee, and what is the number of female employees? | SELECT BPLCNM , WMEIPCNT FROM L_O_C_A_L_D_A_T_A_072219_G_S WHERE BPLCNM LIKE '%κΈ°λ¦μ§%' AND MANEIPCNT = '1' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:When are the issuance date and data update for animal pharmacies with 'Animal' in the business name and an area of ββ30 or more? , schema : CREATE TABLE "B_P_P_I_C_M_I_B_K_C_R_E_S_J" ( "MATERIAL_SEQUENCEW" TEXT, "TEMPERATUREX" NUMERIC, "SPECIFIC_HEATY" TEXT, "ENTHALPYZ" TEXT, "GIBBS_ENERGYA" TEXT, "MELTING_POINTB" TEXT, "BOILING_POINTC" TEXT, "HEAT_DISSOLUTIOND" TEXT, "HEAT_VAPORIZATIONE" TEXT, "SPECIFIC_GRAVITYF" TEXT, "CONSTRUCTORG" TEXT, "DT_CREATION_DTH" TEXT, "MODIFIERI" TEXT, "MODIFIED_DTJ" TEXT ); CREATE TABLE "NRF_KCI_CITATION_IDX_INFO" ( "I_S_C_P_N_BB" TEXT, "N_S_P_K_L_C" TEXT, "F_L_N_A_S_DE" TEXT, "ISSUING_INSTITUTIONN" TEXT, "I_A_E_F" TEXT, "MAJOR_CLASP" TEXT, "M_CLASQ" TEXT, "REGISTERED_INFR" TEXT, "W_S_I_I_I_K_J_L_2_Y_J" TEXT, "I_I_K_J_L_2_Y_K" NUMERIC, "E_S_Q_I_2_Y_L" NUMERIC, "CENTRALITY_IDX_3_YEARSV" NUMERIC, "IMMEDIACY_IDXW" NUMERIC, "SELF_QUOTE_RATE_2_YEARSX" NUMERIC, "TWO_YEARS_PAPERSY" NUMERIC, "NUM_CITATIONS_2_YEARSZ" NUMERIC, "W_S_C_2_Y_RC" NUMERIC ); 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 ); When are the issuance date and data update for animal pharmacies with 'Animal' in the business name and an area of ββ30 or more? CREATE TABLE "L_O_C_A_L_D_A_T_A_072405_S_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVCANCELYMD" TEXT, "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, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "ISREAM" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT ); | SELECT APVPERMYMD, UPDATEDT FROM L_O_C_A_L_D_A_T_A_020302_S_M WHERE BPLCNM LIKE '%λλ¬Ό%' AND SITEAREA >= 30 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Let me know the business name and street address of places starting with 'CU' and currently in business. , schema : CREATE TABLE "KW_UNDERGROUND_W_USAGE_STS_I_YEAR" ( "YEARX" NUMERIC, "CITY_PROVINCEY" TEXT, "C_C_C_D_A" TEXT, "TOTAL_NUM_PLACESA" NUMERIC, "TOTAL_UTILIZATIONB" NUMERIC, "N_N_I_C_DE" NUMERIC, "N_I_C_U_EA" NUMERIC, "N_L_I_C_F" NUMERIC, "U_L_I_C_G" NUMERIC, "N_A_I_C_H" NUMERIC, "A_I_C_U_I" NUMERIC, "NUM_FREE_LOC_COMPANIESI" NUMERIC, "FREE_LOC_COMPANY_USAGEJ" NUMERIC, "NUM_OTHER_PLACESK" NUMERIC, "OTHER_USAGEL" NUMERIC ); Let me know the business name and street address of places starting with 'CU' and currently in business. CREATE TABLE "HIRA_SUE_M_PHARMACY" ( "NUMERICAL_CDD" TEXT, "KOREAN_NME" TEXT, "APPLICATION_DTF" TEXT, "UNIT_PRICEG" NUMERIC, "RELATIVE_VALUE_SCOREH" TEXT, "CLAS_NUMI" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_104101_S_B" ( "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, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "PUPRSENM" TEXT, "INSURJNYNCODE" TEXT, "BDNGYAREA" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072219_S_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "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, "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, "JTUPSOASGNNO" TEXT, "HOMEPAGE" TEXT ); | SELECT BPLCNM, RDNWHLADDR FROM L_O_C_A_L_D_A_T_A_010105_D_D WHERE BPLCNM LIKE 'μ¨μ %' AND DTLSTATENM = 'μμ
μ€' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:When are the administrative disposition date and map inspection date for hygienic establishments with an operating area exceeding 80 or less than 20? , schema : When are the administrative disposition date and map inspection date for hygienic establishments with an operating area exceeding 80 or less than 20? CREATE TABLE "C_STS_GNGJ_MANDATORY_VACCINATION_CONSIGNMENT_MEDICAL_INST" ( "L_P_H_C_K" TEXT, "ENGINE_CDS" NUMERIC, "NM_MEDICAL_INSTITUTIONT" TEXT, "ADDRESSU" TEXT, "POSTAL_CDV" NUMERIC, "PHONE_NUMW" TEXT, "FAX_NUMX" TEXT, "CLASY" TEXT, "C_N_V_S" TEXT, "H_W_F_S_C_P_T" TEXT, "B_T_P_A_M_U" TEXT, "I_C_U_A_V" TEXT, "E_P_I_W" TEXT, "I_P_W_X" TEXT, "E_P_P_D_Y" TEXT, "COVID_19G" TEXT, "BASE_DTH" TEXT ); 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 "KCG_GUIDE_LINE_ROUTE_INFO" ( "NM_ROUTEU" TEXT, "DEPARTURE_ROUTE_NMV" TEXT, "DESTINATION_ROUTE_NMW" TEXT, "DEPARTURE_ROUTE_ADDRESSX" TEXT, "D_R_A_Q" TEXT, "D_B_D_RC" TEXT, "NM_ANCHORAGEA" TEXT ); CREATE TABLE "MA_UPPER_FOOD_TB" ( "UPPER_FOOD_BIG_NM" TEXT, "UPPER_FOOD_MID_NM" TEXT, "UPPER_FOOD_SML_NM" TEXT, "UPPER_FOOD_SEQ" NUMERIC, "UPPER_FOOD_NM" TEXT, "UPPER_FOOD_DES" TEXT ); | SELECT ADM_DISPO_YMD, SB_ADMIN_MESURE_DRT_INSP_YMD FROM SB_ADMIN_MESURE WHERE SB_ADMIN_MESURE_TRDP_AREA > 80 OR SB_ADMIN_MESURE_TRDP_AREA < 20 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the name and area of business that was classified as 'Group Meal Service' and closed in 2013. , schema : CREATE TABLE "S_P_O_P_L_O_C_A_L_R_E_S_D_D_O_N_G" ( "STDR_DE_ID" TEXT, "TMZON_PD_SE" NUMERIC, "ADSTRD_CODE_SE" NUMERIC, "TOT_LVPOP_CO" NUMERIC, "MALE_F0T9_LVPOP_CO" TEXT, "MALE_F10T14_LVPOP_CO" TEXT, "MALE_F15T19_LVPOP_CO" NUMERIC, "MALE_F20T24_LVPOP_CO" NUMERIC, "MALE_F25T29_LVPOP_CO" NUMERIC, "MALE_F30T34_LVPOP_CO" NUMERIC, "MALE_F35T39_LVPOP_CO" NUMERIC, "MALE_F40T44_LVPOP_CO" NUMERIC, "MALE_F45T49_LVPOP_CO" NUMERIC, "MALE_F50T54_LVPOP_CO" NUMERIC, "MALE_F55T59_LVPOP_CO" NUMERIC, "MALE_F60T64_LVPOP_CO" NUMERIC, "MALE_F65T69_LVPOP_CO" NUMERIC, "MALE_F70T74_LVPOP_CO" NUMERIC, "FEMALE_F0T9_LVPOP_CO" TEXT, "FEMALE_F10T14_LVPOP_CO" TEXT, "FEMALE_F15T19_LVPOP_CO" NUMERIC, "FEMALE_F20T24_LVPOP_CO" NUMERIC, "FEMALE_F25T29_LVPOP_CO" NUMERIC, "FEMALE_F30T34_LVPOP_CO" NUMERIC, "FEMALE_F35T39_LVPOP_CO" NUMERIC, "FEMALE_F40T44_LVPOP_CO" NUMERIC, "FEMALE_F45T49_LVPOP_CO" NUMERIC, "FEMALE_F50T54_LVPOP_CO" NUMERIC, "FEMALE_F55T59_LVPOP_CO" NUMERIC, "FEMALE_F60T64_LVPOP_CO" NUMERIC, "FEMALE_F65T69_LVPOP_CO" NUMERIC, "FEMALE_F70T74_LVPOP_CO" NUMERIC ); 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_082604_S_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" NUMERIC, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "SILMETNM" TEXT ); Show the name and area of business that was classified as 'Group Meal Service' and closed in 2013. CREATE TABLE "C_STS_GNGJ_MANDATORY_VACCINATION_CONSIGNMENT_MEDICAL_INST" ( "L_P_H_C_K" TEXT, "ENGINE_CDS" NUMERIC, "NM_MEDICAL_INSTITUTIONT" TEXT, "ADDRESSU" TEXT, "POSTAL_CDV" NUMERIC, "PHONE_NUMW" TEXT, "FAX_NUMX" TEXT, "CLASY" TEXT, "C_N_V_S" TEXT, "H_W_F_S_C_P_T" TEXT, "B_T_P_A_M_U" TEXT, "I_C_U_A_V" TEXT, "E_P_I_W" TEXT, "I_P_W_X" TEXT, "E_P_P_D_Y" TEXT, "COVID_19G" TEXT, "BASE_DTH" TEXT ); | SELECT BPLCNM, SITEAREA FROM L_O_C_A_L_D_A_T_A_072102_S_B WHERE DCBYMD LIKE '2013%' AND UPTAENM = 'μ§λ¨κΈμμ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Group the items and product names stored frozen in the status of food collection inspection of food hygiene establishments in Guro-gu. , schema : CREATE TABLE "C_STS_DEPARTMENT_INFO_KR_PROFESSIONAL_UNIV_EDU_COUNCIL" ( "AREAV" TEXT, "ESTABLISHMENTW" TEXT, "NM_UNIVERSITYX" TEXT, "MAJOR_CLASY" TEXT, "M_CLASZ" TEXT, "SUBCATEGORYA" TEXT, "RECRUITMENT_UNITB" TEXT, "INTERDISCIPLINARYC" NUMERIC, "ADMISSION_CP_STATED" NUMERIC, "IT_ENTRANCE_QUOTAE" TEXT, "ADMISSION_CPF" NUMERIC, "ADMISSION_FEEG" TEXT ); CREATE TABLE "GGMP_TRAVEL_AGENCY" ( "COMPANY_NMJ" TEXT, "LOC_ADDRESSK" TEXT, "PHONE_NUML" TEXT, "INDUSTRY_CLASM" TEXT, "DATA_BASE_DTN" TEXT ); CREATE TABLE "STS_GG_SW_ELDERLY_WELFARE_FAC" ( "FACILITY_NMX" TEXT, "FACILITY_CLASY" TEXT, "LOC_MAP_NM_ADDRESSZ" TEXT, "LOC_NUM_ADDRESSA" TEXT, "LATITUDEB" NUMERIC, "HARDNESSC" NUMERIC, "PHONE_NUMD" TEXT, "OPERATION_ENTITY_CLASE" TEXT, "ADMINISTRATIVE_AGENCYF" TEXT, "DATA_BASE_DTG" TEXT ); CREATE TABLE "GG_PC_GOOD_PRICE_M_RESTAURANT_STS" ( "SORTATIONO" TEXT, "BUSINESS_NMP" TEXT, "LOC_ADDRESSQ" TEXT, "PHONE_NUMR" TEXT, "MAJOR_ITEMS" TEXT, "INDUSTRYT" TEXT ); Group the items and product names stored frozen in the status of food collection inspection of food hygiene establishments in Guro-gu. | SELECT ATCL_NM, PRDT_NM FROM GURO_FOOD_COLLECT_CHECK_HYGIENE_BIZ WHERE DEPO_STATE_CODE = 'λλ' GROUP BY ATCL_NM, PRDT_NM |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:When is the last modification date for the establishment with 'Yeonseo-ro' or 'Daejo-dong' in the road address?, schema : CREATE TABLE "STS_MAJOR_CONST_PRO_SUYEONG_GU_BUSAN" ( "ANNUAL" NUMERIC, "CONSTRUCTION_NAME" TEXT, "CONSTRUCTION_OUTLINE" TEXT, "CONSTRUCTION_PERIOD" TEXT, "OFFICIAL" TEXT, "PHONE_NUMBER" TEXT ); CREATE TABLE "GB_US_SMART_W_METER_L" ( "SERIAL_NUME" NUMERIC, "AREAF" TEXT, "ADDRESSG" TEXT, "METER_READING_SYSH" TEXT ); CREATE TABLE "HF_HAENGJABU_HOUSING_OWNERSHIP_INFO" ( "BASE_DTE" TEXT, "WARRANTY_NUMF" TEXT, "ACQUISITION_DTG" TEXT, "DELETION_STAH" TEXT, "REGISTERED_COMPANY_NUMI" NUMERIC, "SALES_RP_DTJ" TEXT ); CREATE TABLE "TPSS_EMD_BUS" ( "CRTR_DT" TEXT, "ADMDONG_ID" NUMERIC, "BUS_PSGR_CNT" NUMERIC, "BUS_PSGR_CNT_00HH" NUMERIC, "BUS_PSGR_CNT_01HH" NUMERIC, "BUS_PSGR_CNT_02HH" NUMERIC, "BUS_PSGR_CNT_03HH" NUMERIC, "BUS_PSGR_CNT_04HH" NUMERIC, "BUS_PSGR_CNT_05HH" NUMERIC, "BUS_PSGR_CNT_06HH" NUMERIC, "BUS_PSGR_CNT_07HH" NUMERIC, "BUS_PSGR_CNT_08HH" NUMERIC, "BUS_PSGR_CNT_09HH" NUMERIC, "BUS_PSGR_CNT_10HH" NUMERIC, "BUS_PSGR_CNT_11HH" NUMERIC, "BUS_PSGR_CNT_12HH" NUMERIC, "BUS_PSGR_CNT_13HH" NUMERIC, "BUS_PSGR_CNT_14HH" NUMERIC, "BUS_PSGR_CNT_15HH" NUMERIC, "BUS_PSGR_CNT_16HH" NUMERIC, "BUS_PSGR_CNT_17HH" NUMERIC, "BUS_PSGR_CNT_18HH" NUMERIC, "BUS_PSGR_CNT_19HH" NUMERIC, "BUS_PSGR_CNT_20HH" NUMERIC, "BUS_PSGR_CNT_21HH" NUMERIC, "BUS_PSGR_CNT_22HH" NUMERIC, "BUS_PSGR_CNT_23HH" NUMERIC ); When is the last modification date for the establishment with 'Yeonseo-ro' or 'Daejo-dong' in the road address? | SELECT LASTMODTS FROM L_O_C_A_L_D_A_T_A_010105_E_P WHERE RDNWHLADDR LIKE '%μ°μλ‘%' OR RDNWHLADDR LIKE '%λμ‘°λ%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:In the overall status of food disposal inspection in Guro-gu, Seoul, what are the specifications and units of products in the food category that are meat or have the product name as beef?, schema : CREATE TABLE "CURRENT_STS_MAFRA_NSEED_SEED_MANAGERS" ( "REGISTRATION_NUMBER" TEXT, "MANAGEMENT_ITEM" TEXT, "NAME" TEXT, "ADDRESS" TEXT ); CREATE TABLE "POP_006" ( "STATS_YM" TEXT, "SIGUNGU_NM" TEXT, "AGING_IDX" NUMERIC, "CHLD_DEPND_RT" NUMERIC, "AGED_DEPND_RT" NUMERIC, "ADMDONG_CD" TEXT ); CREATE TABLE "TB_EMGC_AED_INFO" ( "MODEL" TEXT, "ZIPCODE1" NUMERIC, "ZIPCODE2" NUMERIC, "MANAGER" TEXT, "MANAGERTEL" TEXT, "BUILDADDRESS" TEXT, "CLERKTEL" TEXT, "BUILDPLACE" TEXT, "MFG" TEXT, "ORG" TEXT, "WGS84LON" NUMERIC, "WGS84LAT" NUMERIC ); In the overall status of food disposal inspection in Guro-gu, Seoul, what are the specifications and units of products in the food category that are meat or have the product name as beef? 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 ); | SELECT PRDT_SIZE,COL_UNIT FROM GURO_FOOD_COLLECT_CHECK WHERE ATCL_GUN_NM = 'μμ‘λ₯μ€μ‘λ₯' OR ATCL_NM = 'μκ³ κΈ°' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Please tell me the product name and the scheduled inspection plan of the food with the product name beef and collection date in 2012., schema : Please tell me the product name and the scheduled inspection plan of the food with the product name beef and collection date in 2012. CREATE TABLE "L_O_C_A_L_D_A_T_A_115002_E_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" 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, "BUPGBNNM" TEXT, "SENM" TEXT ); CREATE TABLE "MOHW_HEMATOPOIETIC_STEM_CELL_DONATION_STS" ( "GENDER" TEXT, "AGE" NUMERIC, "ATTEMPT" TEXT, "DATE_DONATION" TEXT, "SORTATION" TEXT ); CREATE TABLE "KIOM_OASIS_MINERAL_CHARACTERISTICS" ( "MINERAL_NMW" TEXT, "LATIN_NMX" TEXT, "ETYMOLOGYY" TEXT, "GENERATIVE_ENVIRONMENTZ" TEXT, "RE_DTA" 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 ); | SELECT PRDT_NM, CHK_PLN_NM FROM GURO_FOOD_COLLECT_CHECK WHERE ATCL_NM = 'μκ³ κΈ°' AND COL_YMD LIKE '2012%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:What are the business type and business category of food hygiene establishments fined for administrative fines such as fines and those caught by Jungnang-gu?, schema : What are the business type and business category of food hygiene establishments fined for administrative fines such as fines and those caught by Jungnang-gu? CREATE TABLE "STS_GWCC_BUILDING_CONST" ( "SERIAL_NUMM" NUMERIC, "ARCHITECTURAL_CLASN" TEXT, "PERMISSION_NUMO" TEXT, "LOC_GROUNDP" TEXT, "POINTING_OUTQ" TEXT, "LARGE_AREAR" NUMERIC, "BUILDING_AREAS" NUMERIC, "GROSS_FLOOR_AREAT" NUMERIC, "EXTENDED_FLOOR_AREAU" NUMERIC, "BUILDING_CLOSING_RATEV" NUMERIC, "FLOOR_AREA_RATIOW" NUMERIC, "AUTHORIZATION_DTX" TEXT, "C_P_D_P" TEXT, "P_C_D_Q" TEXT, "DT_APPROVAL_USEA" TEXT, "DATA_BASE_DTB" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_010201_N_W" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" 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, "EYEPYONUM" TEXT, "SAMPLENSNUM" TEXT, "MSMCHAIRNUM" TEXT, "PUPILDISTMEASNUM" TEXT, "HEATNUM" TEXT, "GLSWASHERNUM" TEXT, "TOTAR" TEXT ); CREATE TABLE "FEASIBILITY_ASSESSMENT" ( "YEAR" TEXT, "REQUESTNO" TEXT, "REVIEWNO" NUMERIC, "ORGCLASS" TEXT, "REQUESTPERIOD" TEXT, "REQUESTCLASS" TEXT, "FIELD" TEXT, "TITLE" TEXT, "REQUESTMONEY" TEXT, "SERVICETERM" TEXT, "OUTLINE" TEXT, "REQDEPTNAME" TEXT, "REQNAME" TEXT, "REQDATE" TEXT, "ATTACH_REQ_DOC" TEXT, "ATTACH_PROJECT_DOC" TEXT, "ATTACH_MANUAL" TEXT, "ATTACH_OTHER" TEXT, "RECEPTDATE" TEXT, "REVIEWDATE" TEXT, "SERVICECLASS" TEXT, "REVIEWMONEY" TEXT, "MONEYVARY" TEXT, "RESULT" TEXT, "RESULTREASON" TEXT, "REVINQCLASS" TEXT, "REVIEW_ATTACH_RESULT" TEXT, "REVIEW_ATTACH_OTHER" TEXT ); CREATE TABLE "SAFE_OPEN_C_C_T_V_JG" ( "ADDR" TEXT, "CCTVUSE" TEXT, "WGSXPT" NUMERIC, "WGSYPT" NUMERIC, "QTY" TEXT, "UPDTDATE" TEXT ); | SELECT SNT_COB_NM,SNT_UPTAE_NM FROM JUNGNANG_ADMIN_MESURE_FOOD WHERE DISPO_CTN = 'κ³Όνλ£λΆκ³Ό' OR JB_ORG = 'μ€λꡬ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the business category of establishments with confirmed administrative penalty status for violations involving minors, separated by violation type., schema : 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 "INFO_CO_PARTICIPATING_KOSMES_FIELD_COACHING_TRAINING_PRO" ( "PARTICIPATION_YEAR" NUMERIC, "COMPANY_NAME" TEXT, "BUSINESS_NUMBER" NUMERIC, "EMPLOYMENT" NUMERIC ); Show the business category of establishments with confirmed administrative penalty status for violations involving minors, separated by violation type. CREATE TABLE "GH_SPL_PAPER_LOTTERY_A_DETAILS" ( "BUSINESS_DISTRICT_NMY" TEXT, "ANNOUNCEMENT_NMZ" TEXT, "SUPPLY_METHODA" TEXT, "A_D_R_N" TEXT, "A_R_S_D_O" TEXT, "A_R_E_D_P" TEXT, "DRAWING_DAYE" TEXT, "LAND_USEF" TEXT, "BRANCH_NUMG" TEXT, "AREA_SQUARE_METERH" NUMERIC, "SALE_PRICEI" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_051901_S_M" ( "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, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "BDNGJISGFLRCNT" TEXT, "BDNGUNDERFLRCNT" TEXT, "USEJISGSTFLR" TEXT, "USEJISGENDFLR" TEXT, "USEUNDERSTFLR" TEXT, "USEUNDERENDFLR" TEXT, "HANSHILCNT" TEXT, "YANGSILCNT" TEXT, "YOKSILCNT" TEXT, "BALHANSILYN" TEXT, "CHAIRCNT" TEXT, "CNDPERMSTYMD" TEXT, "CNDPERMENDYMD" TEXT, "BDNGOWNSENM" TEXT, "WMEIPCNT" TEXT, "MULTUSNUPSOYN" TEXT ); | SELECT DISTINCT INSP_GBN_CODE, SNT_UPTAE_NM FROM MP_ADMIN_MESURE_FOOD WHERE VIOL_CN LIKE '%μ²μλ
%' AND ADMM_STATE = 'μ²λΆνμ ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:List the number of violations per establishment in order of the highest violation count, along with the establishment name., schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_031202_D_J" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "REGNSENM" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "INSURORGNM" TEXT, "BDNGSRVNM" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "STROOMCNT" TEXT, "CNSTYAREA" TEXT, "ENGSTNTRNMNM" TEXT, "SHPCNT" TEXT, "SHPINFO" TEXT, "CAPT" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_030901_G_N" ( "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, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "FACILAR" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "LGHTFACILINILLU" TEXT, "NOROOMCNT" TEXT, "BGROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "EMEXYN" TEXT, "AUTOCHAAIRYN" TEXT, "BGROOMYN" TEXT ); CREATE TABLE "C_STS_GGAY_SINGING_PRACTICE_CNTS" ( "NUMR" NUMERIC, "TRADE_NMS" TEXT, "NM_LOC_BUSINESS_ROADT" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_093014_G_S" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "SITETEL" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "BDNGNM" TEXT, "BDNGYAREA" TEXT, "BDNGSTATENM" TEXT, "CLSTGTSTDT" TEXT, "CLSTGTENDDT" TEXT, "CASWHY" TEXT, "BSNGBNNM" TEXT ); List the number of violations per establishment in order of the highest violation count, along with the establishment name. | SELECT UPSO_NM, COUNT(VIOL_CN) FROM GB_ADMIN_MESURE_PUBLIC GROUP BY UPSO_NM ORDER BY COUNT(VIOL_CN) DESC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Please provide the contact number and main food of the location Point Sydney with an application date of 2020., schema : CREATE TABLE "IDM_STAT_GU" ( "APPLY_YEAR" TEXT, "APPLY_MONTH" NUMERIC, "GUNAME" TEXT, "GUCODE" NUMERIC, "NEWREGCOUNT" NUMERIC, "CHA_CHA" NUMERIC, "CHA_SUS" NUMERIC, "CHA_CLO" NUMERIC, "CHA_TRA" NUMERIC, "CHA_INH" NUMERIC, "CHA_MER" NUMERIC, "CHA_MOV" NUMERIC, "CHA_STA" NUMERIC, "CHA_ETC" NUMERIC, "CHANGETOTALCOUNT" NUMERIC, "PENALTY_01" NUMERIC, "PENALTY_02" NUMERIC, "PENALTY_03" NUMERIC, "PENALTY_04" NUMERIC, "PENALTY_05" NUMERIC, "PENALTY_06" NUMERIC, "PENALTY_07" NUMERIC, "PENALTYTOTALCOUNT" NUMERIC ); CREATE TABLE "C_STS_GGSN_LOAN_B" ( "NM_CITY_COUNTY_DISTRICTY" TEXT, "DISTINCTIONZ" TEXT, "EAST_FAREWELLA" TEXT, "RE_APPLICATION_BUSINESSB" TEXT, "RE_NUMC" TEXT, "MUTUALD" TEXT, "LOCE" TEXT, "RE_DTF" TEXT, "PHONE_NUMG" TEXT, "DATA_BASE_DTH" TEXT ); CREATE TABLE "KCOPA_COPYRIGHT_OK_STORE_DES_MNG_INFO" ( "MANAGEMENT_NUMJ" NUMERIC, "S_C_O_O_RC" TEXT, "AREAL" TEXT, "COMPANY_NMM" TEXT, "SERVICE_NMN" TEXT, "KOREAN_URLO" TEXT, "ENGLISH_URLP" TEXT, "D_C_G_X" TEXT, "OSP_TYPER" TEXT, "DT_RECEPTIONS" TEXT, "DESIGNATION_RESULTT" TEXT, "FIRST_DESIGNATED_DTU" TEXT, "R_D_E_S_D_CV" TEXT ); Please provide the contact number and main food of the location Point Sydney with an application date of 2020. CREATE TABLE "NUM_WORKERS_SIZE_KOSHA_I_MIDDLE_CLASSIFICATION" ( "LARGE_INDUSTRY" TEXT, "SORTATION" TEXT, "P_5_LESS" NUMERIC, "P_5_9" NUMERIC, "P_10_19" NUMERIC, "P_20_29" NUMERIC, "P_30_49" NUMERIC, "P_50_99" NUMERIC, "P_100_299" NUMERIC, "P_300_499" NUMERIC, "P_500_999" NUMERIC, "P_1000_OVER" NUMERIC ); CREATE TABLE "NUM_ACCIDENT_DEATHS_SIZE_KOSHA_I_MIDDLE_CLASSIFICATION" ( "LARGE_INDUSTRY" TEXT, "SORTATION" TEXT, "P_5_LESS" NUMERIC, "P_5_9" NUMERIC, "P_10_19" NUMERIC, "P_20_29" NUMERIC, "P_30_49" NUMERIC, "P_50_99" NUMERIC, "P_100_299" NUMERIC, "P_300_499" NUMERIC, "P_500_999" NUMERIC, "P_1000_OVER" NUMERIC, FOREIGN KEY ("SORTATION") REFERENCES "NUM_WORKERS_SIZE_KOSHA_I_MIDDLE_CLASSIFICATION"("SORTATION") ); | SELECT MAIN_EDF, UPSO_SITE_TELNO FROM SB_MODEL_RESTAURANT_DESIGNATE WHERE UPSO_NM = 'ν¬μ€μλλ' AND APPL_YMD LIKE '2020%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Tell me the management number and phone number of the location with a final edit date of 2005 and postal code 143828., schema : CREATE TABLE "CURRENT_STS_SOLAR_POWER_BUSINESS_LICENSE_CHUNCHEON_GANGWONM" ( "LICENSE_DATE" TEXT, "LICENSE_NUMBER" TEXT, "MUTUAL" TEXT, "DRIVING_FORCE" TEXT, "NEW_CAPACITY_KW" NUMERIC, "SUPPLY_VOLTAGE_V" NUMERIC, "PLACEMENT" TEXT, "INSTALLATION" TEXT, "PROGRESS" TEXT, "DATA_STANDARD_DATE" TEXT ); CREATE TABLE "KR_ASSET_MNG_C_S_O_STS_STATE_OWNED_P" ( "SERIAL_NUMX" NUMERIC, "LOC_NMY" TEXT, "PROPERTY_CLASZ" TEXT, "CONTRACT_DTA" TEXT, "BUYER_NMB" TEXT, "DEPARTMENTC" TEXT, "DATA_BASE_DTD" TEXT ); Tell me the management number and phone number of the location with a final edit date of 2005 and postal code 143828. CREATE TABLE "JONGNO_MODEL_RESTAURANT_DESIGNATE" ( "CGG_CODE" NUMERIC, "ASGN_YY" TEXT, "ASGN_SNO" NUMERIC, "APPL_YMD" TEXT, "ASGN_YMD" TEXT, "UPSO_NM" TEXT, "SITE_ADDR" TEXT, "PERM_NT_NO" TEXT, "SNT_UPTAE_NM" TEXT, "MAIN_EDF" TEXT, "TRDP_AREA" NUMERIC, "UPSO_SITE_TELNO" TEXT ); CREATE TABLE "STS_TOBACCO_RETAILERS_GBYD" ( "BUSINESS_NMI" TEXT, "BUSINESS_ADDRESSJ" TEXT, "B_R_N_A_CV" TEXT, "BUSINESS_PHONE_NUML" TEXT, "CIVIL_COMPLAINT_CLASM" TEXT, "BUSINESS_CLASN" TEXT, "DESIGNATED_DTO" TEXT, "DATA_BASE_DTP" TEXT ); | SELECT MGTNO, SITETEL FROM L_O_C_A_L_D_A_T_A_072301_G_J WHERE LASTMODTS LIKE '2005%' AND SITEPOSTNO = '143828' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Show the permit date and business name of operating companies with a site area exceeding 100 and a detailed operating status name in order of the most recent permit date., schema : CREATE TABLE "GGGJ_BUS_STOP" ( "GEOGRAPHICAL_FEATURE_CDM" TEXT, "MANAGEMENT_NUMN" NUMERIC, "ADMINISTRATIVE_AGENCYO" TEXT, "A_D_Y" TEXT, "LEGAL_AREAQ" TEXT, "LEGAL_CLASSR" TEXT, "ROAD_SET_NUMS" NUMERIC, "CONSTRUCTION_NUMT" TEXT, "INS_DTU" TEXT, "BUS_STOP_TYPEV" TEXT, "NM_BUS_STOPW" TEXT, "BUS_STOP_TYPEX" TEXT, "BUS_STOP_UNIQUE_NUMY" TEXT, "ACQUISITION_CLASZ" TEXT, "ACQUISITION_AMTA" NUMERIC, "MANAGEMENT_DEPARTMENTB" TEXT, "USEFUL_LIFEC" NUMERIC, "SHELTER_INS_STAD" TEXT, "INS_PRESENT_BITE" TEXT, "THERMAL_CHAIR_INS_STAF" TEXT, "NOTEG" TEXT, "HARDNESSH" NUMERIC, "LATITUDEI" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_103101_S_D" ( "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" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "PUPRSENM" TEXT, "INSURJNYNCODE" TEXT, "BDNGYAREA" TEXT, "MEMCOLLTOTSTFNUM" TEXT ); CREATE TABLE "BUSAN_INTELLIGENT_TRAFFIC_INFO_LINK_INFO" ( "LINK_NUMBER" NUMERIC, "LINK_NAME" TEXT, "SIGHT" TEXT, "TERMINAL" TEXT ); Show the permit date and business name of operating companies with a site area exceeding 100 and a detailed operating status name in order of the most recent permit date. CREATE TABLE "L_O_C_A_L_D_A_T_A_082603_G_S" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "ASETSCP" TEXT, "BCTOTAM" TEXT, "SILMETNM" TEXT ); | SELECT BPLCNM, APVPERMYMD FROM L_O_C_A_L_D_A_T_A_072209_G_N WHERE DTLSTATENM = 'μμ
' AND SITEAREA > 100 ORDER BY APVPERMYMD DESC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Provide the name and phone number of the nursing institution in Gangdong-gu or Myeongil Internal Medicine Clinic., schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_072205_Y_C" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "CLGSTDT" TEXT, "SITETEL" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "LINDJOBGBNNM" TEXT, "LINDPRCBGBNNM" TEXT ); Provide the name and phone number of the nursing institution in Gangdong-gu or Myeongil Internal Medicine Clinic. CREATE TABLE "VIW_VISIT_REPLY" ( "TITLE" TEXT, "IN_DATE" TEXT, "UP_DATE" TEXT, "RESOURCE_USE_YN" TEXT ); CREATE TABLE "STS_COMPULSORY_RECYCLING_FAC_BUPYEONG_GU_INCHEON" ( "TURN" NUMERIC, "ADMINISTRATIVE_BUILDING" TEXT, "COURT_DONG" TEXT, "MAIN_NUMBER" NUMERIC, "DIVISION" NUMERIC, "BUILDING_NAME" TEXT, "GRATITUDE" NUMERIC, "FACILITY" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072405_S_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVCANCELYMD" TEXT, "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, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "ISREAM" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT ); | SELECT YADMNM, TELNO FROM TB_TEL_CNSL_HOSP WHERE YADMNM = 'λͺ
μΌκ±΄λ΄κ³Όμμ' OR SGGUNM = 'κ°λꡬ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Find the business name and data update date of places where "CU" is in the business name and the data has been updated. , schema : Find the business name and data update date of places where "CU" is in the business name and the data has been updated. CREATE TABLE "CURRENT_STS_WASTE_DISCHARGERS_DALSEO_GU_DAEGU" ( "LATITUDE" NUMERIC, "HARDNESS" NUMERIC, "MUTUAL_NAME" TEXT, "STS_ADDRESS" TEXT, "DEPARTMENT_CHARGE" TEXT, "BASE_DATE" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031305_G_B" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DCBYMD" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" 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, "FACILAR" TEXT, "UNDERNUMLAY" TEXT, "PASGBRETH" TEXT, "NOROOMCNT" TEXT, "BGROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "EMEXYN" TEXT, "AUTOCHAAIRYN" TEXT ); CREATE TABLE "DJ_MODEL_RESTAURANT_DESIGNATE" ( "CGG_SBSYSTEM" NUMERIC, "ASGN_YY" TEXT, "APPL_DATE" 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, "UPSO_LOCAT_TELNO" TEXT ); CREATE TABLE "GURO_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_RD" TEXT, "SITE_ADDR" TEXT, "DRT_INSP_YMD" TEXT, "ADMM_STATE" 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, "NT_GBN_CODE" TEXT, "JB_ORG" TEXT, "TRDP_AREA" NUMERIC, "MNG_GBN_NM" TEXT ); | SELECT BPLCNM , UPDATEDT FROM L_O_C_A_L_D_A_T_A_010105_S_D WHERE BPLCNM LIKE '%μ¨μ %' AND UPDATEGBN = 'U' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:- Let me know the facility total size and the surrounding classification of a snack shop or a department store in the leisure food restaurant with the business type name. , 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 "L_O_C_A_L_D_A_T_A_041701_G_J" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "DTLSTATEGBN" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "FACILAR" TEXT, "UNDERNUMLAY" TEXT, "BDNGSRVNM" TEXT, "BGROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "EMEXYN" TEXT, "BGROOMYN" TEXT ); CREATE TABLE "NW_LIST_ENV_GUIDE_CHECK" ( "WRKP_NM" TEXT, "NW_ENV_GUIDE_APV_PERM_MGT_NO" NUMERIC, "NW_ENV_GUIDE_UPCH_COB_CODE" NUMERIC, "UPCH_COB_NM" TEXT, "NW_ENV_GUIDE_DRT_INSP_YMD" TEXT, "NW_ENV_GUIDE_DISPO_TGT_YN" TEXT, "DRT_INSP_ITEM" TEXT, "NW_ENV_GUIDE_DRT_INSP_RT_DTL" TEXT, "NW_ENV_GUIDE_WRKP_NADDR" TEXT, "NW_ENV_GUIDE_WRKP_ADDR" TEXT ); - Let me know the facility total size and the surrounding classification of a snack shop or a department store in the leisure food restaurant with the business type name. CREATE TABLE "TOP_20_MAJOR_DISEASES_CBHOSPITAL_BOHUN_OUTPATIENT_DEPARTMENT" ( "MEDICAL_DEPARTMENT" TEXT, "RANKING" NUMERIC, "SANGMYEONG_CODE" TEXT, "ILLNESS" TEXT, "NUMBER_OF_CASES" NUMERIC ); | SELECT FACILTOTSCP, TRDPJUBNSENM FROM L_O_C_A_L_D_A_T_A_072405_Y_D WHERE UPTAENM = 'λ°±νμ ' OR UPTAENM = 'κ³Όμμ ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:- Provide me with the final modification date and data update date of the places licensed in 2010 among the leisure food restaurants with a location area of 300 or more. , schema : - Provide me with the final modification date and data update date of the places licensed in 2010 among the leisure food restaurants with a location area of 300 or more. CREATE TABLE "L_O_C_A_L_D_A_T_A_072101_S_B" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "LVSENM" TEXT, "TOTEPNUM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "FACILTOTSCP" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); CREATE TABLE "CHILD_SCHOOL_MEAL_GS" ( "OFFICEEDU" TEXT, "SUBOFFICEEDU" TEXT, "KINDERCODE" TEXT, "KINDERNAME" TEXT, "ESTABLISH" TEXT, "MLSR_OPRN_WAY_TP_CD" TEXT, "AL_KPCNT" TEXT, "MLSR_KPCNT" TEXT, "NTRT_TCHR_AGMT_YN" TEXT, "CPRT_AGMT_NTRT_THCNT" TEXT, "CKCNT" TEXT, "CMCNT" TEXT, "MAS_MSPL_DCLR_YN" TEXT, "PBNTTMNG" NUMERIC, "ADDR" TEXT ); CREATE TABLE "R_INFO_CHILGAPSAN_AUTO_CAMPING_SITE_CHEONGYANG_GUN_CHUNGNAM" ( "ACCOMMODATION" TEXT, "AGENCY" TEXT, "FACILITY" TEXT, "PAYMENT_TD" TEXT, "DAYS_OF_ACCOMMODATION" NUMERIC, "AMOUNT_OF_PAYMENT" NUMERIC, "RELEASE" NUMERIC ); CREATE TABLE "JONGNO_LIST_LABOR_UNION" ( "JRO_LABOR_ESBMNT_NO" NUMERIC, "JRO_LABOR_MINWON_GBN" TEXT, "JRO_LABOR_TEAM_NM" TEXT, "WRKP_NM" TEXT, "SITE_ADDR" TEXT ); | SELECT LASTMODTS, UPDATEDT FROM L_O_C_A_L_D_A_T_A_072405_Y_D WHERE SITEAREA >= 300 AND APVPERMYMD LIKE '2010%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:- Show the number of businesses by business type in descending order along with the number of businesses by business type. , schema : CREATE TABLE "ROAD_EXC_RSTCT_AREA_W_G_S" ( "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, "LAT" NUMERIC, "LNG" NUMERIC ); - Show the number of businesses by business type in descending order along with the number of businesses by business type. CREATE TABLE "MP_ADMIN_MESURE_FOOD" ( "MP_ADMIN_MESURE_FOOD_CGG_CODE" NUMERIC, "ADM_DISPO_YMD" TEXT, "MP_ADMIN_MESURE_FOOD_GNT_NO" NUMERIC, "SNT_COB_NM" TEXT, "SNT_UPTAE_NM" TEXT, "UPSO_NM" TEXT, "SITE_ADDR" TEXT, "ADMM_STATE" TEXT, "DISPO_CTN" TEXT, "MP_ADMIN_MESURE_FOOD_BAS_LAW" TEXT, "VIOR_YMD" TEXT, "VIOL_CN" TEXT, "DISPO_CTN_DT" TEXT, "MP_ADMIN_MESURE_FOOD_DISPO_GIGAN" TEXT, "INSP_GBN_CODE" TEXT, "MP_ADMIN_MESURE_FOOD_NT_GBN_CODE" TEXT, "MP_ADMIN_MESURE_FOOD_JB_ORG" TEXT, "TRDP_AREA" NUMERIC ); 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 ); 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 ); | SELECT UPTAENM, COUNT(BPLCNM) FROM L_O_C_A_L_D_A_T_A_010102_S_M GROUP BY UPTAENM ORDER BY COUNT(BPLCNM) DESC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:- Tell me the phone number and business name of the animal hospital in Cheongnyangni-dong with a location area of 25 or more. , schema : CREATE TABLE "B_E_INFO_KEITI_ENV_INFO_D_SYS_CO" ( "NUMM" NUMERIC, "COMPANY_TYPEN" TEXT, "B_C_Q" TEXT, "N_R_B_E_RC" TEXT, "B_E_N_S" TEXT, "C_R_N_T" TEXT, "BUSINESS_RE_NUMS" TEXT, "REPRESENTATIVE_FAX_NUMT" TEXT, "ADDRESSU" TEXT, "DETAILED_ADDRESSV" TEXT, "INDUSTRYW" TEXT, "DETAILED_INDUSTRYX" TEXT, "MAJOR_TASKY" TEXT ); - Tell me the phone number and business name of the animal hospital in Cheongnyangni-dong with a location area of 25 or more. CREATE TABLE "INFO_C_STS_ELECITY_SPL_RATE_KR_ELECAL_SAFE_C_I" ( "CITY_PROVINCEZ" TEXT, "C_C_C_D_O" TEXT, "R_I_I_N_P" NUMERIC, "R_S_L_N_C_S_L_Q" NUMERIC, "COUNTING_RATED" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031202_S_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" 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, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "REGNSENM" TEXT, "TOTNUMLAY" TEXT, "BDNGSRVNM" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "STROOMCNT" TEXT, "CNSTYAREA" TEXT, "ENGSTNTRNMNM" TEXT, "ENGSTNTRNMADDR" TEXT, "SHPTOTTONS" TEXT, "SHPINFO" TEXT, "CAPT" TEXT, "INSURSTDT" TEXT, "INSURENDDT" TEXT ); CREATE TABLE "CCTV_I_STS_YANGPYEONG_GUN_GYEONGGI" ( "DIVISION" NUMERIC, "EUP_MYEON_DONG" TEXT, "TARGET_FACILITY_NAME" TEXT, "STREET_NAME_ADDRESS" TEXT, "ADDRESS" TEXT, "LATITUDE" NUMERIC, "HARDNESS" NUMERIC, "STORAGE" TEXT, "MANAGEMENT_DEPARTMENT" TEXT, "PHONE_NUMBER" TEXT, "DATA_STANDARD_DATE" TEXT ); | SELECT SITETEL, BPLCNM FROM L_O_C_A_L_D_A_T_A_020301_D_D WHERE SITEAREA >= 25 AND SITEWHLADDR LIKE '%μ²λ리λ%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:- Display the licensing date and closure date of a safety prescription drug selling place with a sales area of 20 or more including the address "Mapo-gu" and "Hapjeong-dong" in the address. , schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_072405_G_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "SITEAREA" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" 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, "TOTEPNUM" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "ISREAM" TEXT, "FACILTOTSCP" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); CREATE TABLE "TAX_STS_TAX_SOURCE_TYPE_DAEGU" ( "CITY_AND_PROVINCIAL_NAMES" TEXT, "NAME_CITY_AND_COUNTY" TEXT, "LOCAL_GOVERNMENT_CODE" NUMERIC, "TAX_YEAR" NUMERIC, "DETAILED_NAME" TEXT, "TYPE_NAME_TAX_SOURCE" TEXT, "NUMBER_IMPOSITIONS" NUMERIC, "IMPOSED_AMOUNT" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072203_S_P" ( "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" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "TOTEPNUM" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "MONAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "HOMEPAGE" TEXT ); CREATE TABLE "STS_BIDDING_A_KOGAS_TECH_SERVICE" ( "BRAVEY" TEXT, "ANNOUNCEMENT_START_DTZ" TEXT, "ANNOUNCEMENT_CLOSING_DTA" TEXT, "ESTIMATED_PRICEB" NUMERIC ); - Display the licensing date and closure date of a safety prescription drug selling place with a sales area of 20 or more including the address "Mapo-gu" and "Hapjeong-dong" in the address. | SELECT APVPERMYMD, DCBYMD FROM L_O_C_A_L_D_A_T_A_010105_M_P WHERE SITEWHLADDR LIKE '%ν©μ λ%' AND STORETRDAR >= 20 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:- Find the final modification date of the licensing information and business name of a safety prescription drug selling establishment in normal operation status in 2019 where the data was updated. , schema : CREATE TABLE "GGHN_RESTAURANT_STS" ( "BUSINESS_NMI" TEXT, "BUSINESS_NMJ" TEXT, "ROAD_NM_LOCK" TEXT, "LOCAL_TELEPHONE_NUML" TEXT ); - Find the final modification date of the licensing information and business name of a safety prescription drug selling establishment in normal operation status in 2019 where the data was updated. CREATE TABLE "STS_DES_TOBACCO_RETAIL_GB_CD" ( "BUSINESS_NMD" TEXT, "BUSINESS_ADDRESSE" TEXT, "B_R_N_A_N" TEXT, "CIVIL_COMPLAINT_CLASG" TEXT, "DESIGNATED_DTH" TEXT, "DATA_BASE_DTI" TEXT ); CREATE TABLE "CHILD_CARE_INFO_G_B" ( "SIGUNNAME" TEXT, "STCODE" NUMERIC, "CRNAME" TEXT, "CRTYPENAME" TEXT, "CRSTATUSNAME" TEXT, "ZIPCODE" NUMERIC, "CRADDR" TEXT, "CRTELNO" TEXT, "CRFAXNO" TEXT, "NRTRROOMCNT" TEXT, "NRTRROOMSIZE" TEXT, "PLGRDCO" TEXT, "CHCRTESCNT" TEXT, "CRCAPAT" TEXT, "CRCHCNT" TEXT, "CRCARGBNAME" TEXT, "CRCNFMDT" 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_M5" TEXT, "CLASS_CNT_SP" TEXT, "CLASS_CNT_TOT" TEXT, "CHILD_CNT_00" TEXT, "CHILD_CNT_02" TEXT, "CHILD_CNT_03" TEXT, "CHILD_CNT_05" TEXT, "CHILD_CNT_M2" TEXT ); CREATE TABLE "SERVICE_ROJUM_MINWON" ( "INDEXS" NUMERIC, "GU_NM" TEXT, "REGIST_DATE" TEXT, "COL1" NUMERIC, "COL2" NUMERIC, "COL3" NUMERIC, "COL4" NUMERIC, "COL5" NUMERIC, "COL6" NUMERIC, "COL7" NUMERIC, "COL8" NUMERIC ); | SELECT BPLCNM, LASTMODTS FROM L_O_C_A_L_D_A_T_A_010105_M_P WHERE UPDATEDT LIKE '2019%' AND TRDSTATENM = 'μμ
/μ μ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:- How many products were collected from a Hyundai Hoezip in Gangseo-gu, Seoul on December 2, 2011? , schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_072205_D_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPTAENM" TEXT, "Y" TEXT, "LINDPRCBGBNNM" TEXT, "RGTMBDSNO" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072302_G_N" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" 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, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "MONAM" TEXT, "FACILTOTSCP" NUMERIC, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_010102_Y_C" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" 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, "X" NUMERIC, "Y" NUMERIC, "METRORGASSRNM" TEXT, "METRPNUM" TEXT, "HSTRMNUM" TEXT, "SICBNUM" TEXT, "TOTAR" TEXT, "MEDEXTRITEMSCN" TEXT, "MEDEXTRITEMSCNNM" TEXT, "ASGNCANCELYMD" TEXT, "MITMDCASGNTYPE" TEXT, "EMERCARSPEC" TEXT, "EMERCARGEN" TEXT, "RESCNT" TEXT, "PMTBEDNUM" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031202_Y_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" 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, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "INSURORGNM" TEXT, "BDNGSRVNM" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "ENGSTNTRNMNM" TEXT, "ENGSTNTRNMADDR" TEXT, "SHPCNT" TEXT, "SHPINFO" TEXT, "INSURSTDT" TEXT, "INSURENDDT" TEXT ); - How many products were collected from a Hyundai Hoezip in Gangseo-gu, Seoul on December 2, 2011? | SELECT SUM(COL_QUA), UPSO_NM FROM GANGSEO_FOOD_COLLECT_CHECK WHERE COL_YMD = '20111202000000' AND UPSO_NM = 'νλνμ§' GROUP BY UPSO_NM |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:- Show the legal basis and violation date of places with a Korean cuisine type and a disposal date after 2022 in chronological order. , schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_093011_S_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "ROPNYMD" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "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, "PROTGLSNUM" TEXT, "PROTUSECLOTNUM" TEXT ); CREATE TABLE "SAFE_OPEN_C_C_T_V_GR" ( "GR_SAFE_CCTV_SVCAREAID" TEXT, "ADDR" TEXT, "GR_SAFE_CCTV_CCTVUSE" TEXT, "WGSXPT" NUMERIC, "WGSYPT" NUMERIC, "QTY" TEXT ); - Show the legal basis and violation date of places with a Korean cuisine type and a disposal date after 2022 in chronological order. CREATE TABLE "GWWJ_LS_PROD_S_O_INFO" ( "SORTATIONQ" TEXT, "B_E_N_U" TEXT, "BUSINESS_NMS" TEXT, "L_B_E_W" TEXT, "B_E_P_N_X" TEXT, "ADMINISTRATIVE_AGENCYV" TEXT, "M_A_P_N_Z" TEXT, "DATA_BASE_DTX" TEXT ); CREATE TABLE "KECO_LS_EX_E_HANDOVER_SYS_LIQUID_RAIN_TRANSPORT_HANDOVER" ( "CARRIER_NUMO" NUMERIC, "ACQUISITION_DTP" TEXT, "TONE_FACTORQ" NUMERIC, "DT_SPRAYINGR" TEXT, "SPRAY_TONES" NUMERIC, "ADDRESS_1T" TEXT, "ADDRESS_2U" TEXT, "CLOSING_STAV" TEXT, "FINISHING_PROCESSING_DTW" TEXT, "H_Q_I_C_C_T" TEXT, "H_D_I_C_U" NUMERIC, "S_L_P_S_Y_V" TEXT ); | SELECT BAS_LAW , VIOR_YMD FROM GEUMCHEON_ADMIN_MESURE_FOOD WHERE SNT_UPTAE_NM = 'νμ' AND ADM_DISPO_YMD >= 20220101000000 ORDER BY VIOR_YMD ASC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:- Show the number of establishments by administrative district and the district name in descending order of the number of establishments by district. , schema : CREATE TABLE "GNGJ_CULTURAL_HERITAGE_STS" ( "EVENTL" TEXT, "CULTURAL_PROPERTY_NMM" TEXT, "ADDRESSN" TEXT, "CLAS_CDO" TEXT, "DESIGNATED_DTP" TEXT, "DESCRIPTIONQ" TEXT, "IMAGER" TEXT, "LATITUDES" NUMERIC, "HARDNESST" NUMERIC, "BASE_DTU" TEXT ); - Show the number of establishments by administrative district and the district name in descending order of the number of establishments by district. CREATE TABLE "F70_OPEN_TBL" ( "STAT_YEAR" TEXT, "AREA_CD" NUMERIC, "AREA_NAME" TEXT, "M1" NUMERIC, "M2" NUMERIC, "M3" NUMERIC, "M4" NUMERIC ); CREATE TABLE "GD_TN_BBS_AMSA2DONG" ( "NTT_SN" NUMERIC, "NTT_SJ" TEXT, "INQIRE_CO" TEXT, "REGIST_DT_HM" TEXT, "UPDT_DT_HM" TEXT ); CREATE TABLE "KR_DRUG_SAFE_MNG_AGENCY_PREGNANT_DRUGS" ( "COMPONENT_NMH" TEXT, "COMPONENT_CDI" TEXT, "MEDICATION_CDJ" NUMERIC, "MEDICATION_NMK" TEXT, "COMPANY_NML" TEXT, "MANAGEMENT_NUMM" NUMERIC, "MANAGEMENT_DTN" TEXT, "TABOO_GRADEO" NUMERIC, "NOTEP" TEXT, "VERSION_INFQ" NUMERIC, "SALARY_STAR" TEXT ); | SELECT ADMDNG_NM, COUNT(UPSO_NM) FROM DJ_PUBLIC_HYGIENE_BIZ_PUBLIC_USE_FACILITY GROUP BY ADMDNG_NM ORDER BY COUNT(UPSO_NM) DESC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:- Let me know the business type name and the number of establishments of public hygiene establishments located in Mok-dong or Sinwol-dong. , schema : CREATE TABLE "C_STS_INST_CARRYING_OUT_JOB_PRO_DISABLED_KR_DISABLED_DEV_I" ( "NUMF" NUMERIC, "AREAG" TEXT, "I_T_O_S" TEXT, "NM_ORGANIZATIONI" TEXT, "BUSINESS_TYPEJ" TEXT ); CREATE TABLE "EP_FOOD_HYGIENE_BIZ_LOC_MANAGE" ( "EP_FOOD_HYGIENE_CGG_CODE" NUMERIC, "EP_FOOD_HYGIENE_CGG_NM" TEXT, "REGN_NM" TEXT, "SNT_UPTAE_NM" TEXT, "CNT" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072202_G_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DCBYMD" TEXT, "CLGSTDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "MONAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOMAINEDF" TEXT ); - Let me know the business type name and the number of establishments of public hygiene establishments located in Mok-dong or Sinwol-dong. CREATE TABLE "TAX_STS_GGHN_TAX_SOURCE_T" ( "NM_CITY_COUNTY_DISTRICTV" TEXT, "TAX_YEARX" NUMERIC, "NM_DETAILY" TEXT, "SEWON_TYPE_NMZ" TEXT, "NUM_IMPOSED_CASESA" NUMERIC, "IMPOSITION_AMTB" NUMERIC ); | SELECT CNT, SNT_COB_NM FROM YC_PUBLIC_HYGIENE_BIZ_LOC_MANAGE WHERE REGN_NM = 'λͺ©λ' OR REGN_NM = 'μ μλ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:The identification of detection is random, can you inform me of the date of the administrative disposition and the date of the on-site inspection for companies where administrative disposition is included in the violation contents?, schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_092808_D_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPTAENM" TEXT, "Y" TEXT, "CAPT" TEXT, "UPCHNM" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_010101_G_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" NUMERIC, "Y" NUMERIC, "METRORGASSRNM" TEXT, "METRPNUM" TEXT, "HSTRMNUM" TEXT, "SICBNUM" TEXT, "TOTAR" NUMERIC, "MEDEXTRITEMSCN" TEXT, "MEDEXTRITEMSCNNM" TEXT, "ASGNCANCELYMD" TEXT, "MITMDCASGNTYPE" TEXT, "MITMDCDEPNM" TEXT, "EMERCARSPEC" TEXT, "EMERCARGEN" TEXT, "TOTEPNUM" TEXT, "RESCNT" TEXT, "PMTBEDNUM" TEXT, "FRSTASGNYMD" TEXT ); The identification of detection is random, can you inform me of the date of the administrative disposition and the date of the on-site inspection for companies where administrative disposition is included in the violation contents? CREATE TABLE "PERMISSION_INFO_GRASSLAND_A_LAND_KECO_LS_MNG_E_MNG_SYS" ( "BUSINESS_PERSONAL_NUMB" NUMERIC, "AXE_SPRAY_NUMC" TEXT, "M_A_L_A_1_XZ" TEXT, "M_A_L_A_2_A" TEXT, "L_A_G_A_L_BB" NUMERIC, "AUTHORIZED_QUANTITYG" TEXT, "GROUP_ORDERH" NUMERIC, "FARM_HOUSEHOLD_CLASI" TEXT, "DT_RPINGJ" TEXT, "C_L_A_P_A_L_G" TEXT ); CREATE TABLE "KR_ASSET_MNG_C_NEW_CONSIGNMENT_N_P_REGION" ( "YEAR_MONTH_RECEIPTI" TEXT, "AREAJ" TEXT, "COUNTK" NUMERIC ); | SELECT DRT_INSP_YMD, ADM_DISPO_YMD FROM GEUMCHEON_ADMIN_MESURE_PUBLIC WHERE INSP_GBN_CODE = 'μμ' AND VIOL_CN LIKE '%νΌμ%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:What is the postal code and address of the location where the guarantees exceed 18 million won or where the building is owned by leasing among the health functional food distribution specialized sales businesses in Yeongdeungpo-gu, Seoul?, schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_082603_G_R" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "ASETSCP" TEXT, "BCTOTAM" TEXT, "CAPT" TEXT, "SILMETNM" TEXT ); CREATE TABLE "INFO_GWWJ_MEDICAL_WELFARE_FAC_ELDERLY" ( "FACILITY_NMZ" TEXT, "OPERATING_ENTITYA" TEXT, "PHONE_NUMB" TEXT, "LOCC" TEXT, "LATITUDED" NUMERIC, "HARDNESSE" NUMERIC, "INS_DTF" TEXT, "GARDENG" NUMERIC, "PRESENT_MANH" NUMERIC, "PERSON_COMPANYI" NUMERIC ); CREATE TABLE "SP_PUBLIC_HYGIENE_BIZ_LOC_MANAGE" ( "SP_FOOD_HYGIENE_CGG_CODE" NUMERIC, "SP_FOOD_HYGIENE_CGG_NM" TEXT, "REGN_NM" TEXT, "SNT_COB_NM" TEXT, "CNT" TEXT ); What is the postal code and address of the location where the guarantees exceed 18 million won or where the building is owned by leasing among the health functional food distribution specialized sales businesses in Yeongdeungpo-gu, Seoul? CREATE TABLE "L_O_C_A_L_D_A_T_A_115002_Y_S" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "ROPNYMD" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "BUPGBNNM" TEXT ); | SELECT SITEWHLADDR,SITEPOSTNO FROM L_O_C_A_L_D_A_T_A_072202_Y_D WHERE ISREAM > 18000000 OR BDNGOWNSENM = 'μλ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:How many female and male employees are working at Donga Banjeom or Cheonheunggwan, general restaurants in Jongno-gu?, schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_020306_G_N" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "DTLSTATEGBN" NUMERIC, "DCBYMD" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" NUMERIC, "Y" NUMERIC, "LINDJOBGBNNM" TEXT, "RGTMBDSNO" TEXT, "TOTEPNUM" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_030502_G_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" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "FACILAR" TEXT, "JISGNUMLAY" TEXT, "BDNGSRVNM" TEXT, "PASGBRETH" TEXT, "NOROOMCNT" TEXT, "BGROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "EMEXYN" TEXT, "AUTOCHAAIRYN" TEXT ); CREATE TABLE "NOWON_NEWS_NOTICE_LIST" ( "NOW_LIST_ID" NUMERIC, "TITLE" TEXT, "NOW_LINK" TEXT, "NOW_PUBDATE" TEXT, "DEPARTMENT" TEXT, "NOW_MANAGER" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072218_Y_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "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, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "TOTEPNUM" TEXT, "FCTYSILJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); How many female and male employees are working at Donga Banjeom or Cheonheunggwan, general restaurants in Jongno-gu? | SELECT MANEIPCNT, WMEIPCNT FROM L_O_C_A_L_D_A_T_A_072404_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:What is the number of above-ground and underground floors for places among the laundry shops in Gangdong-gu that have names ending in laundry and are owned by self-owned buildings?, schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_051801_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, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "BDNGJISGFLRCNT" TEXT, "BDNGUNDERFLRCNT" TEXT, "USEJISGSTFLR" TEXT, "USEJISGENDFLR" TEXT, "USEUNDERSTFLR" TEXT, "YANGSILCNT" TEXT, "YOKSILCNT" TEXT, "BALHANSILYN" TEXT, "CHAIRCNT" TEXT, "CNDPERMNTWHY" TEXT, "CNDPERMSTYMD" TEXT, "CNDPERMENDYMD" TEXT, "WASHMCCNT" TEXT, "MANEIPCNT" TEXT, "RCVDRYNCNT" TEXT, "ABEDCNT" TEXT ); CREATE TABLE "TRAFFIC_ACCIDENT_STS_PERPETRATORS_ROAD_TYPE_KOROAD" ( "ROAD_TYPE" TEXT, "PERPETRATOR_CAR_TYPE" TEXT, "NUMBER_ACCIDENTS" NUMERIC, "DEATH_TOLL" NUMERIC, "NUMBER_SERIOUS_INJURIES" NUMERIC, "NUMBER_ORDINARY_PEOPLE" NUMERIC, "NUMBER_INJURIES_REPORTED" NUMERIC ); CREATE TABLE "C_STS_GW_AGGREGATE_B" ( "CITY_PROVINCEV" TEXT, "NM_CITY_COUNTY_DISTRICTW" TEXT, "COMPANY_NMX" TEXT, "NM_REPRESENTATIVEY" TEXT, "B_E_T_G" TEXT, "LOC_ADDRESSA" TEXT, "LATITUDEB" NUMERIC, "HARDNESSC" NUMERIC ); What is the number of above-ground and underground floors for places among the laundry shops in Gangdong-gu that have names ending in laundry and are owned by self-owned buildings? 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 ); | SELECT BDNGJISGFLRCNT,BDNGUNDERFLRCNT FROM L_O_C_A_L_D_A_T_A_062001_G_D WHERE BDNGOWNSENM = 'μκ°' AND BPLCNM LIKE '%μΈν' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Please provide me with the final modification date and data update date of Intercontinental Hotel Seoul, which was licensed in 1976. , schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_082602_Y_C" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "CAPT" TEXT, "SILMETNM" TEXT ); CREATE TABLE "TOURIST_FOOD_INFO" ( "SEQ" NUMERIC, "SISULNAME" TEXT, "GU" TEXT, "ADDR" TEXT, "TEL" TEXT, "HOMEPAGE" TEXT, "HIT" TEXT, "ST1" TEXT, "ST2" TEXT, "ST3" TEXT, "ST4" TEXT, "ST5" TEXT, "ST6" TEXT, "ST7" TEXT, "ST9" TEXT, "ST10" TEXT, "ST11" TEXT, "ST12" TEXT ); CREATE TABLE "STS_EXEMPTION_Q_HRDK_COMPETITION_WINNERS" ( "DIVISION_LABORATORYN" TEXT, "PROFESSION_COMPETITIONO" TEXT, "LOCAL_CONVENTIONP" TEXT, "NATIONAL_CONVENTIONQ" TEXT, "I_C_L" TEXT ); Please provide me with the final modification date and data update date of Intercontinental Hotel Seoul, which was licensed in 1976. CREATE TABLE "ME_N_I_ENV_HUMAN_R_DEV_Q_MNG_ENV_MET_AL" ( "EXAMINATION_NUMY" NUMERIC, "TEST_START_DTZ" TEXT, "MEMBER_TYPEA" TEXT, "MEMBERSHIP_STAB" TEXT ); | SELECT LASTMODTS, UPDATEDT FROM L_O_C_A_L_D_A_T_A_072210_G_N WHERE APVPERMYMD LIKE '1976%' AND 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 business name of places with the business type classified as dental clinic and detailed business status as open by the final modification date in order from the oldest. , schema : Show me the final modification date and business name of places with the business type classified as dental clinic and detailed business status as open by the final modification date in order from the oldest. CREATE TABLE "STS_SELMETRO_HISTORY_O" ( "ANNUAL" NUMERIC, "LINE" TEXT, "STATION_NAME" TEXT, "AREA_SQUARE_METER" NUMERIC, "HISTORICAL_STRUCTURE" TEXT, "PLATFORM" TEXT, "ENTRANCE" NUMERIC, "TRANSIT_LINE" TEXT ); CREATE TABLE "M_E_E_P_A_R_S_A_R_C_D_I_XY" ( "C_D_N_X" NUMERIC, "C_D_C_Y" TEXT, "NM_PRODUCTH" TEXT, "APPROVAL_DTI" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031301_Y_S" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "CULWRKRSENM" TEXT, "TOTNUMLAY" TEXT, "MNFACTREARTCLCN" TEXT, "FACILAR" TEXT, "UNDERNUMLAY" TEXT, "BDNGSRVNM" TEXT, "PASGBRETH" TEXT, "LGHTFACILINILLU" TEXT, "EMERSTAIRYN" TEXT, "FRSTREGTS" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072217_D_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" 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, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "TOTEPNUM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOMAINEDF" TEXT ); | SELECT BPLCNM, LASTMODTS FROM L_O_C_A_L_D_A_T_A_010102_J_N WHERE UPTAENM = 'μΉκ³Όμμ' AND DTLSTATENM = 'μμ
μ€' ORDER BY LASTMODTS |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:List the medical subjects and X coordinates of places with 2 or more medical staff and the medical institution category name as oriental clinic in order of the narrowest total area. , schema : List the medical subjects and X coordinates of places with 2 or more medical staff and the medical institution category name as oriental clinic in order of the narrowest total area. CREATE TABLE "L_O_C_A_L_D_A_T_A_072102_M_P" ( "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, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "TRDPJUBNSENM" TEXT, "TOTEPNUM" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "MONAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT ); CREATE TABLE "STS_MEDICAL_EXPENSES_CITY_PROVINCE_HIRA_CLINIC_L_DISPLAY_S" ( "MEDICAL_YEARA" NUMERIC, "CITY_PROVINCEB" TEXT, "DISPLAY_SJC" TEXT, "NUM_PATIENTSD" NUMERIC, "N_C_S_U" NUMERIC, "T_M_C_B_E_V" NUMERIC, "INSURER_CHARGEG" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072211_S_M" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "BPLCNM" TEXT, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "TOTEPNUM" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "MONAM" TEXT, "FACILTOTSCP" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031305_Y_S" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" 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, "CULPHYEDCOBNM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "FACILAR" TEXT, "BDNGSRVNM" TEXT, "PASGBRETH" TEXT, "LGHTFACILINILLU" TEXT, "NOROOMCNT" TEXT, "BGROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "AUTOCHAAIRYN" TEXT, "BGROOMYN" TEXT, "FRSTREGTS" TEXT ); | SELECT MEDEXTRITEMSCNNM, X FROM L_O_C_A_L_D_A_T_A_010102_J_N WHERE METRPNUM >= 2 AND METRORGASSRNM = 'νμμ' ORDER BY TOTAR |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Arrange in order from oldest to list the quantification of product specifications and quantity of frozen foods for inspection purposes, starting from the oldest collection date. , schema : CREATE TABLE "DOBONG_MODEL_RESTAURANT_CANCEL" ( "DB_RESTAURANT_CANCEL_CGG_CODE" NUMERIC, "DB_RESTAURANT_CANCEL_ASGN_YY" TEXT, "DB_RESTAURANT_CANCEL_ASGN_SNO" TEXT, "DB_RESTAURANT_CANCEL_APPL_YMD" TEXT, "DB_RESTAURANT_CANCEL_ASGN_YMD" TEXT, "DB_RESTAURANT_CANCEL_ASGN_CANCEL_YMD" TEXT, "UPSO_NM" TEXT, "DB_RESTAURANT_CANCEL_SITE_ADDR" TEXT, "SNT_UPTAE_NM" TEXT, "ASGN_CANCEL_WHY" TEXT, "MAIN_EDF" TEXT, "DB_RESTAURANT_CANCEL_TRDP_AREA" NUMERIC, "ADMDNG_NM" TEXT ); Arrange in order from oldest to list the quantification of product specifications and quantity of frozen foods for inspection purposes, starting from the oldest collection date. CREATE TABLE "L_O_C_A_L_D_A_T_A_020306_J_N" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "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, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" NUMERIC, "Y" NUMERIC, "LINDJOBGBNNM" TEXT, "LINDPRCBGBNNM" TEXT, "LINDSEQNO" TEXT, "RGTMBDSNO" TEXT, "TOTEPNUM" TEXT ); CREATE TABLE "GG_SW_GREENING_STS" ( "GREEN_AREA_RE_NMB" TEXT, "GREEN_DISTRICT_CLASC" TEXT, "GREEN_AREA_LOCD" TEXT, "LATITUDEE" NUMERIC, "HARDNESSF" NUMERIC, "AREA_SQUARE_METERG" NUMERIC, "DECISION_DTH" TEXT, "DATA_BASE_DTI" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_062001_G_R" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "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, "CNDPERMNTWHY" TEXT, "CNDPERMSTYMD" TEXT, "CNDPERMENDYMD" TEXT, "WASHMCCNT" TEXT, "WMEIPCNT" TEXT, "RCVDRYNCNT" TEXT ); | SELECT PRDT_SIZE, COL_QUA FROM GEUMCHEON_FOOD_COLLECT_CHECK WHERE COL_WHY_CODE = 'κ²μ¬μ©' AND DEPO_STATE_CODE = 'λλ' ORDER BY COL_YMD |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Can you find me the postal code and address of the business site where the business status is normal operation and the data update date is in 2018?, schema : 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 "C_STS_KENERGY_TIRE_ENERGY_CONSUMPTION_EFFICIENCY_RATING_C" ( "NUMK" NUMERIC, "CORPORATE_NML" TEXT, "ORIGINAL_INVESTIGATIONM" TEXT, "MODEL_NMN" TEXT, "TYRE_SPECIFICATIONSO" TEXT, "R_T_S_L" TEXT, "TIRE_TYPEQ" TEXT, "MODEL_STAR" TEXT, "ROTATIONAL_RESISTANCES" NUMERIC, "WET_ROADT" NUMERIC, "STATEU" TEXT, "LAST_CHANGE_DTV" TEXT ); CREATE TABLE "GUROLIB_ITM" ( "TITLE" TEXT, "AUTH" TEXT, "PUBL" TEXT, "PYB" TEXT, "CALL_NO" TEXT, "ISBN" TEXT, "LIB_IDID" TEXT, "CODE_DESC" TEXT, "BRCH_CODE" NUMERIC, "BRCH_NAME" TEXT, "LOCATION" TEXT ); CREATE TABLE "SC_LIST_ENV_GUIDE_CHECK" ( "WRKP_NM" TEXT, "UPCH_COB_NM" TEXT, "DRT_INSP_YMD" TEXT, "SF_TEAM_NM" TEXT, "DRT_INSP_SE_NM" TEXT, "DISPO_TGT_YN" TEXT, "DRT_INSP_ITEM" TEXT, "DRT_INSP_RT_DTL" TEXT, "WRKP_NADDR" TEXT, "WRKP_ADDR" TEXT ); Can you find me the postal code and address of the business site where the business status is normal operation and the data update date is in 2018? | SELECT SITEPOSTNO, SITEWHLADDR FROM L_O_C_A_L_D_A_T_A_072102_S_D WHERE TRDSTATENM = 'μμ
/μ μ' AND UPDATEDT LIKE '2018%' |
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 update date of medical equipment sales and leasing companies with business names Donggok Trading or Daesin Trading?, schema : CREATE TABLE "R_N_H_P_T_S_M_T_A_J_P_A_U_J_P_T" ( "Y_2012_01M" NUMERIC, "Y_2012_03O" NUMERIC, "Y_2012_04P" NUMERIC, "Y_2012_05Q" NUMERIC, "Y_2012_09U" NUMERIC, "Y_2012_11W" NUMERIC, "Y_2013_02Z" NUMERIC, "Y_2013_03A" NUMERIC, "Y_2013_06D" NUMERIC, "Y_2013_08F" NUMERIC, "Y_2013_11I" NUMERIC, "Y_2013_12J" NUMERIC, "Y_2014_01K" NUMERIC, "Y_2014_03M" NUMERIC, "Y_2014_04N" NUMERIC, "Y_2014_07Q" NUMERIC, "Y_2014_11U" NUMERIC, "Y_2015_02X" NUMERIC, "Y_2015_04Z" NUMERIC, "Y_2015_09E" NUMERIC, "Y_2015_10F" NUMERIC, "Y_2015_11G" NUMERIC, "Y_2015_12H" NUMERIC, "Y_2016_01I" NUMERIC, "Y_2016_02J" NUMERIC, "Y_2016_03K" NUMERIC, "Y_2016_05M" NUMERIC, "Y_2016_09Q" NUMERIC, "Y_2016_11S" NUMERIC, "Y_2017_01U" NUMERIC, "Y_2017_04X" NUMERIC, "Y_2017_09C" NUMERIC, "Y_2017_10D" NUMERIC, "Y_2018_04J" NUMERIC, "Y_2018_06L" NUMERIC, "Y_2018_09O" NUMERIC, "Y_2019_04V" NUMERIC, "Y_2019_06X" NUMERIC, "Y_2019_07Y" NUMERIC, "Y_2019_08Z" NUMERIC, "Y_2019_10B" NUMERIC, "Y_2020_06J" NUMERIC, "Y_2020_07K" NUMERIC, "Y_2020_08L" NUMERIC, "Y_2020_12P" NUMERIC, "Y_2021_02R" NUMERIC, "Y_2021_03S" NUMERIC, "Y_2021_06V" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_041501_J_N" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "TRDSTATENM" TEXT, "DTLSTATEGBN" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "TRDCTN" TEXT ); CREATE TABLE "C_STS_ELECAL_FIRE_B_O_KR_ELECAL_SAFE_C" ( "BUSINESS_ESTABLISHMENTD" TEXT, "GENERAL_FIREE" NUMERIC, "ELECTRIC_FIREF" NUMERIC, "SHARE_SHARESG" TEXT, "S_S_P_L_Y_Q" TEXT, "YEAR_YEAR_PERFORMANCEI" TEXT ); When are the licensing date and data update date of medical equipment sales and leasing companies with business names Donggok Trading or Daesin Trading? 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 APVPERMYMD, UPDATEDT FROM L_O_C_A_L_D_A_T_A_010203_J_G WHERE BPLCNM = 'λ곑μμ¬' OR BPLCNM = 'λμ μμ¬' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:Display the sum of the number of businesses by industry in ascending order with the industry name. , schema : Display the sum of the number of businesses by industry in ascending order with the industry name. CREATE TABLE "VIEW_TRE_QTY" ( "MEA_YMD" TEXT, "HAND_ID_NAM" TEXT, "LINE_GBN_NAM" TEXT, "QTY_GBN1" TEXT, "QTY_GBN2" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_041501_D_J" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "TRDCTN" TEXT ); CREATE TABLE "GGAY_FACTORY_REG_STS" ( "NUMH" NUMERIC, "CORPORATE_NMI" TEXT, "NM_REPRESENTATIVEJ" TEXT, "NUM_EMPLOYEESK" NUMERIC, "PRODUCTION_PRODUCTL" TEXT, "F_R_A_R_N_K" TEXT, "BUSINESS_TYPE_NUMN" TEXT, "PHONE_NUMO" TEXT, "FAX_NUMP" TEXT, "DATA_BASE_DTQ" TEXT ); CREATE TABLE "TOP_20_MAJOR_DISEASES_OUTPATIENT_DEPARTMENT_BOHUN_ICBH" ( "MEDICAL_DEPARTMENT" TEXT, "RANKING" NUMERIC, "SANGMYEONG_CODE" TEXT, "ILLNESS" TEXT, "NUMBER_OF_CASES" NUMERIC ); | SELECT SNT_COB_NM, SUM(CNT) FROM SP_PUBLIC_HYGIENE_BIZ_LOC_MANAGE GROUP BY SNT_COB_NM ORDER BY SUM(CNT) ASC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Display the total sum of the number of businesses by legal dong name in descending order with the legal dong name. , schema : CREATE TABLE "HF_BOGEUMJARI_LOAN_S_P_STS" ( "YEAR_MONTHV" NUMERIC, "MONTHW" NUMERIC, "T_L_A_K_1_M_J" NUMERIC, "H_B_L_A_1_M_W_K" NUMERIC, "K_E_B_L_A_K_1_M_L" NUMERIC, "K_B_L_A_1_M_W_M" NUMERIC, "W_B_L_A_1_M_W_N" NUMERIC, "S_C_B_K_L_A_K_1_M_O" NUMERIC, "S_L_I_L_A_1_M_W_P" NUMERIC, "I_B_K_L_A_K_1_M_Q" NUMERIC, "H_L_I_L_A_K_1_M_RC" NUMERIC, "N_B_L_A_1_M_W_S" NUMERIC, "S_F_M_I_L_A_K_1_M_T" NUMERIC, "S_B_L_A_1_M_W_U" NUMERIC, "D_B_L_A_K_1_M_V" NUMERIC, "S_B_L_A_K_1_M_W" NUMERIC, "C_K_L_A_1_M_W_X" NUMERIC, "K_B_L_A_K_1_M_Y" NUMERIC, "G_B_L_A_K_1_M_Z" NUMERIC, "B_B_L_A_K_1_M_ZZ" NUMERIC, "J_B_L_A_1_M_W_VA" NUMERIC, "H_L_I_L_A_K_1_M_CV" NUMERIC, "J_B_L_A_1_M_W_DE" NUMERIC, "O_L_A_K_1_M_2_XZ" NUMERIC ); Display the total sum of the number of businesses by legal dong name in descending order with the legal dong name. CREATE TABLE "BIZSUGG_REQUEST" ( "FIS_YEAR" TEXT, "SUGG_NO" NUMERIC, "BIZ_NM" TEXT, "BIZ_LOC" TEXT, "BIZ_LOC_DETL" TEXT, "NECE_AMT" TEXT, "BIZ_START_DT" TEXT, "BIZ_END_DT" TEXT, "PARTI_FG" TEXT, "SUBCOMM_CD" NUMERIC, "PRO_INTENT" TEXT, "BIZ_CONTENT" TEXT, "BIZ_EFFECT" TEXT, "BOARD_NO" TEXT, "RECE_NO" NUMERIC, "LOC_PIC_ID" TEXT, "SPOT_PIC_ID" TEXT, "WRITE_DT" TEXT, "WRITE_TIME" NUMERIC, "ATCH_FILE_ID" TEXT, "VIEW_CNT" TEXT, "IS_CANCEL" TEXT, "SELF_COST" TEXT, "ACCEPT_FG" TEXT, "CITY_COST" TEXT, "MASK_NAME" TEXT, "UPDATE_DT" TEXT, "UPDATE_TIME" NUMERIC, "STATUS_CD" NUMERIC ); CREATE TABLE "SCHEDULE_REGULAR_INSPECTION_BUILDING_KR_ELECAL_SAFE_C" ( "MUTUALL" TEXT, "ADDRESSM" TEXT, "ONE_DESIREDN" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_115002_S_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITEPOSTNO" TEXT, "SITEWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "BUPGBNNM" TEXT, "SENM" TEXT ); | SELECT REGN_NM, SUM(CNT) FROM MP_PUBLIC_HYGIENE_BIZ_LOC_MANAGE GROUP BY REGN_NM ORDER BY SUM(CNT) DESC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Show the business area and business name of the designated cancellation reasons for the cancellation status of exemplary restaurants in Gangseo-gu, where the designated cancellation reasons are related to handling of pufferfish or reevaluation. , schema : CREATE TABLE "KIET_RD_P_INFO" ( "PERFORMANCE_YEARJ" NUMERIC, "DETAILED_BUSINESS_NMK" TEXT, "BREAKDOWN_BUSINESS_NML" TEXT, "TOTAL_NUM_TASKSM" NUMERIC, "NUM_PAPERS_SCIN" NUMERIC, "SCI_PAPER_DEFENSEO" NUMERIC, "PATENT_APPLICATIONP" NUMERIC, "PATENT_REQ" NUMERIC, "P_T_I_DE" TEXT ); CREATE TABLE "CHILD_SCHOOL_BUILDING_SP" ( "OFFICEEDU" TEXT, "SUBOFFICEEDU" TEXT, "KINDERCODE" TEXT, "KINDERNAME" TEXT, "ESTABLISH" TEXT, "ARCHYY" TEXT, "BLDGPRUSAREA" TEXT, "GROTTAR" TEXT, "ADDR" TEXT ); Show the business area and business name of the designated cancellation reasons for the cancellation status of exemplary restaurants in Gangseo-gu, where the designated cancellation reasons are related to handling of pufferfish or reevaluation. 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 "NEIS_SCHOOL_INFO_JG" ( "ATPT_OFCDC_SC_CODE" TEXT, "ATPT_OFCDC_SC_NM" TEXT, "SD_SCHUL_CODE" NUMERIC, "SCHUL_NM" TEXT, "SCHUL_KND_SC_NM" TEXT, "LCTN_SC_NM" TEXT, "JU_ORG_NM" TEXT, "FOND_SC_NM" TEXT, "ORG_RDNMA" TEXT, "ORG_RDNDA" TEXT, "ORG_TELNO" TEXT, "HMPG_ADRES" TEXT, "COEDU_SC_NM" TEXT, "ORG_FAXNO" TEXT, "HS_SC_NM" TEXT, "INDST_SPECL_CCCCL_EXST_YN" TEXT, "HS_GNRL_BUSNS_SC_NM" TEXT, "SPCLY_PURPS_HS_ORD_NM" TEXT, "ENE_BFE_SEHF_SC_NM" TEXT, "DGHT_SC_NM" TEXT, "FOND_YMD" NUMERIC, "FOAS_MEMRD" NUMERIC, "DGHT_CRSE_SC_NM" TEXT, "ORD_SC_NM" TEXT, "LOAD_DTM" TEXT ); | SELECT TRDP_AREA, UPSO_NM FROM GANGSEO_MODEL_RESTAURANT_CANCEL WHERE SNT_UPTAE_NM = '볡μ΄μ·¨κΈ' OR ASGN_CANCEL_WHY = 'μ¬μ¬μ¬' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Show the business name and workspace area of places that include Oksoo-dong or Majang-dong in the administrative district name. , schema : CREATE TABLE "INFO_HANDLING_FAC_E_HAND_ME_DOWN_SYS_LS_MNG_SYS" ( "BUSINESS_PERSONAL_NUMU" NUMERIC, "NUMV" NUMERIC, "P_F_S_H" TEXT, "PROCESSING_FACILITY_CPX" 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 ); CREATE TABLE "STS_INTERIOR_OUTDOOR_LIGHTS_DAEDEOK_GU_DAEJEON" ( "NAME_PARK" TEXT, "TYPES_PARKS" TEXT, "ADMINISTRATIVE_OFFICE" TEXT, "ADMINISTRATIVE_DONG" TEXT, "LOCATION_NUMBER_ADDRESS" TEXT, "LATITUDE" NUMERIC, "HARDNESS" NUMERIC, "NUMBER_OUTDOOR_LIGHTS" NUMERIC, "REMARKS" TEXT, "DATA_BASE_DATE" TEXT ); CREATE TABLE "R_N_H_P_T_S_W_A_T_J_P_I_N" ( "D_2012_05_21L" TEXT, "D_2012_07_09S" TEXT, "D_2012_07_23U" TEXT, "D_2013_01_21U" TEXT, "D_2013_04_15G" TEXT, "D_2013_05_13K" TEXT, "D_2013_09_16C" TEXT, "D_2014_01_13T" TEXT, "D_2014_04_21H" TEXT, "D_2014_05_26M" TEXT, "D_2014_09_29E" TEXT, "D_2015_01_05S" TEXT, "D_2015_02_16Y" TEXT, "D_2015_06_22Q" TEXT, "D_2015_10_12G" TEXT, "D_2016_01_04S" TEXT, "D_2016_02_08X" TEXT, "D_2016_03_21D" TEXT, "D_2016_08_01W" TEXT, "D_2017_02_06X" TEXT, "D_2017_03_20D" TEXT, "D_2017_05_08K" TEXT, "D_2018_01_15T" TEXT, "D_2018_02_19Y" TEXT, "D_2018_04_16G" TEXT, "D_2018_04_30I" NUMERIC, "D_2018_09_03A" TEXT, "D_2018_10_15G" TEXT, "D_2018_12_03N" TEXT, "D_2019_04_08F" TEXT, "D_2019_05_06J" TEXT, "D_2020_01_13T" TEXT, "D_2020_02_03W" TEXT, "D_2020_02_24Z" TEXT, "D_2020_03_16C" TEXT, "D_2020_04_27I" TEXT, "D_2020_08_10X" TEXT, "D_2021_02_22Z" TEXT, "D_2021_03_08B" TEXT, "D_2021_04_26I" TEXT, "D_2021_05_17L" TEXT, "D_2021_05_31N" TEXT, "D_2021_07_05S" TEXT, "D_2021_08_23Z" TEXT, "D_2021_09_27E" TEXT, "D_2022_01_10T" TEXT, "D_2022_04_18H" TEXT, "D_2022_08_08X" TEXT ); Show the business name and workspace area of places that include Oksoo-dong or Majang-dong in the administrative district name. | SELECT UPSO_NM, AREA_WRK FROM SD_FOOD_HYGIENE_BIZ_SALE_IMPORT WHERE ADMDNG_NM = 'μ₯μλ' OR ADMDNG_NM = 'λ§μ₯λ' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Show the permit date and phone number of delegated catering businesses with a total facility size not 0 and water supply facilities exclusively for tap water, sorted by permit date in descending order for older dates. , schema : 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 "L_O_C_A_L_D_A_T_A_072218_S_P" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "WTRSPLYFACILSENM" TEXT, "TOTEPNUM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); CREATE TABLE "STS_GG_DDC_SOCIAL_WELFARE_FAC" ( "FACILITY_TYPEH" TEXT, "FACILITY_TYPEI" TEXT, "FACILITY_NMJ" TEXT, "PHONE_NUMK" TEXT, "LOC_MAP_NM_ADDRESSL" TEXT, "L_E_N_A_L" TEXT, "LATITUDEN" NUMERIC, "HARDNESSO" NUMERIC, "ADMISSION_CPP" NUMERIC, "OPERATING_ENTITYQ" TEXT, "INS_DTR" TEXT, "NM_MANAGEMENT_AGENCYS" TEXT, "M_A_P_N_S" TEXT, "DATA_BASE_DTU" TEXT ); CREATE TABLE "INFO_MEMBER_CO_APPLYING_KEITI_ENV_NEW_TECH_C" ( "COMPANY_NUMR" TEXT, "MEMBER_CLASS" TEXT, "COMPANYT" TEXT, "BUSINESS_RE_NUMU" TEXT, "CORPORATE_SECTORV" TEXT, "C_B_C_Y" TEXT, "COMPANY_REPRESENTATIVEX" TEXT, "COMPANY_ADDRESS_1Y" TEXT, "COMPANY_ADDRESS_2Z" TEXT, "COMPANY_PHONE_CALLA" TEXT, "COMPANY_WEBSITEB" TEXT, "COMPANY_BASE_YEARC" TEXT, "COMPANY_NM_ENGLISHD" TEXT, "CORPORATE_SECTORE" TEXT ); Show the permit date and phone number of delegated catering businesses with a total facility size not 0 and water supply facilities exclusively for tap water, sorted by permit date in descending order for older dates. | SELECT APVPERMYMD, SITETEL FROM L_O_C_A_L_D_A_T_A_072101_G_J WHERE FACILTOTSCP != 0 AND WTRSPLYFACILSENM = 'μμλμ μ©' ORDER BY APVPERMYMD |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Show the management number and location size of companies with ownership division name 'owner-occupied' and area size over 100 in ascending order. , schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_030505_S_C" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "ROPNYMD" TEXT, "TEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" 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, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "NOROOMCNT" TEXT, "BGROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "EMEXYN" TEXT, "AUTOCHAAIRYN" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_010106_G_B" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "PHARMTRDAR" TEXT, "ASGNYMD" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_103201_M_P" ( "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" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "PUPRSENM" TEXT, "LDERCNT" TEXT, "BDNGDNGNUM" TEXT, "BDNGYAREA" TEXT, "MEMCOLLTOTSTFNUM" TEXT, "BUPNM" TEXT ); CREATE TABLE "D_S_C_A_C_I_C_R_I_K_C_A_DE" ( "NUMX" NUMERIC, "NM_ORGANIZATIONY" TEXT, "YEARZ" NUMERIC, "SORTATIONA" TEXT, "ACTIVITY_NMB" TEXT, "ACTIVITY_DETAILSC" TEXT ); Show the management number and location size of companies with ownership division name 'owner-occupied' and area size over 100 in ascending order. | SELECT MGTNO , SITEAREA FROM L_O_C_A_L_D_A_T_A_072202_G_S WHERE BDNGOWNSENM = 'μκ°' AND SITEAREA >= 100 ORDER BY SITEAREA ASC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Show the surrounding division name and phone number of drinking establishments with postal code 139838 or 139895. , schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_103201_G_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" 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, "PUPRSENM" TEXT, "INSURJNYNCODE" TEXT, "LDERCNT" TEXT, "BDNGDNGNUM" TEXT, "BDNGYAREA" TEXT, "MEMCOLLTOTSTFNUM" TEXT, "DRMKCOBNM" TEXT ); CREATE TABLE "C_STS_LS_FARMS_GGGY_WOOJE_FOODS" ( "B_E_N_L" TEXT, "MAIN_MEAT_INDUSTRYE" TEXT, "L_N_B_E_N" TEXT, "ROAD_NM_BUSINESS_PLACEG" TEXT, "BREEDING_HEADH" NUMERIC, "DATA_BASEI" TEXT ); Show the surrounding division name and phone number of drinking establishments with postal code 139838 or 139895. CREATE TABLE "L_O_C_A_L_D_A_T_A_072404_G_R" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEAREA" TEXT, "SITEPOSTNO" NUMERIC, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "SNTUPTAENM" TEXT, "MANEIPCNT" TEXT, "WMEIPCNT" TEXT, "LVSENM" TEXT, "TOTEPNUM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "ISREAM" TEXT, "MONAM" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "HOMEPAGE" TEXT ); CREATE TABLE "D_S_C_A_C_I_C_R_I_K_C_A_DE" ( "NUMX" NUMERIC, "NM_ORGANIZATIONY" TEXT, "YEARZ" NUMERIC, "SORTATIONA" TEXT, "ACTIVITY_NMB" TEXT, "ACTIVITY_DETAILSC" TEXT ); | SELECT TRDPJUBNSENM, SITETEL FROM L_O_C_A_L_D_A_T_A_072301_N_W WHERE SITEPOSTNO = 139895 OR SITEPOSTNO = 139838 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Find the phone number and hygiene business type of general restaurants with 'restaurant' in the business name and a non-zero number of female employees. , schema : CREATE TABLE "ME_HAN_R_F_C_CNT_F_FORECAST_STANDARD_BASIN_MAPLE_PRECIPITATION" ( "NM_GREAT_REGIONA" TEXT, "STANDARD_CATCHMENT_NMB" TEXT, "MONDAY_HOURC" TEXT, "BLUE_CHIPD" NUMERIC, "P_R_1_M_K" NUMERIC, "P_R_2_M_L" NUMERIC, "P_R_3_M_M" NUMERIC, "E_4_M_R_F_N" NUMERIC, "P_R_5_M_O" NUMERIC, "P_R_1_H_P" NUMERIC, "P_R_1_H_1_M_Q" NUMERIC, "P_R_1_H_2_M_RC" NUMERIC, "P_R_1_H_3_M_S" NUMERIC, "P_R_1_H_4_M_T" NUMERIC, "P_R_1_H_5_M_U" NUMERIC, "P_R_2_H_V" NUMERIC, "P_R_2_H_2_M_W" NUMERIC, "P_R_2_H_2_M_X" NUMERIC, "P_R_2_H_3_M_Y" NUMERIC, "P_R_2_H_4_M_Z" NUMERIC, "P_R_2_H_5_M_ZZ" NUMERIC, "P_R_3_H_VA" NUMERIC, "P_R_3_H_2_M_CV" NUMERIC, "P_R_3_H_2_M_DE" NUMERIC, "P_R_3_H_3_M_XZ" NUMERIC, "P_R_3_H_4_M_A" NUMERIC, "P_R_3_H_5_M_BB" NUMERIC, "P_R_4_H_C" NUMERIC, "P_R_4_H_2_M_2_M_DE" NUMERIC, "P_R_4_H_2_M_2_M_EA" NUMERIC, "P_R_4_H_3_M_F" NUMERIC, "P_R_4_H_4_M_G" NUMERIC, "P_R_4_H_5_M_H" NUMERIC, "E_5_H_R_F_5_H_I" NUMERIC, "P_R_5_H_2_M_J" NUMERIC, "P_R_5_H_2_M_K" NUMERIC, "P_R_5_H_3_M_L" NUMERIC, "P_R_5_H_4_M_M" NUMERIC, "P_R_5_H_5_M_N" NUMERIC, "P_R_6_H_O" NUMERIC ); Find the phone number and hygiene business type of general restaurants with 'restaurant' in the business name and a non-zero number of female employees. CREATE TABLE "POP_032" ( "STATS_YR" TEXT, "SIGUNGU_NM" TEXT, "SEX_NM" TEXT, "WRK_AGE_POPL_CNT" NUMERIC, "ECONOAVT_POPL_CNT" NUMERIC, "ECONOINAVT_POPL_CNT" NUMERIC, "LABRFC_PATICP_RT" NUMERIC, "UEMPLY_RT" NUMERIC, "EMPLY_RT" NUMERIC, "ADMDONG_CD" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_093013" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" 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, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "UPSOSENM" TEXT, "SITE" TEXT, "ASGNYMD" NUMERIC, "APPLYMD" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_020301_S_D" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" 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, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "X" TEXT, "Y" TEXT, "LINDPRCBGBNNM" TEXT, "LINDSEQNO" TEXT, "RGTMBDSNO" TEXT, "TOTEPNUM" TEXT ); | SELECT SNTUPTAENM, SITETEL FROM L_O_C_A_L_D_A_T_A_072404_Y_D WHERE BPLCNM LIKE '%μλΉ%' AND WMEIPCNT != 0 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Display the number of toilets by legal dong name in descending order with the legal dong name. , schema : 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 "GBDC_CONST_INFO" ( "BUSINESS_NMY" TEXT, "CONSTRUCTION_CLASZ" TEXT, "CONSTRUCTION_NMA" TEXT, "CONSTRUCTION_CONTRACTORB" TEXT, "DT_CONSTRUCTIONC" TEXT, "COMPLETION_DTD" TEXT ); CREATE TABLE "KOMIR_OVERSEAS_MINERAL_RESOURCES_SURVEY_PRO_INFO" ( "YEAR" NUMERIC, "STATE_NAME" TEXT, "MINE" TEXT, "LIGHT_SPECIES" TEXT ); Display the number of toilets by legal dong name in descending order with the legal dong name. CREATE TABLE "L_S_C_D_C_J_S_G_D_K_S_C_R_I_VA" ( "DOUBLES_IDH" TEXT, "DOUBLE_NM_KOREANI" TEXT, "C_C_N_D_A" TEXT, "RE_DTK" TEXT, "REVISION_DTL" TEXT ); | SELECT HNR_NAM, COUNT(OBJECTID) FROM GEO_INFO_PUBLIC_TOILET_W_G_S GROUP BY HNR_NAM ORDER BY COUNT(OBJECTID) DESC |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: Show the permit date and closure date of leisure food establishments with a total of male and female employees totaling 3 or more, or a location area of 100 or more. , schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_103701" ( "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 ); CREATE TABLE "STS_E_LOCAL_INVESTMENT_FUNDED_INST_MOIS_LOCAL_P_ENT_EVN_I" ( "SERIAL_NUMP" NUMERIC, "SORTATIONQ" TEXT, "AREAR" TEXT, "E_O_H" TEXT, "INSTITUTIONAL_CLAST" TEXT, "L_P_C_N_J" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031001_N_W" ( "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, "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, "BDNGSRVNM" TEXT, "PASGBRETH" TEXT, "LGHTFACILINILLU" TEXT, "BGROOMCNT" TEXT, "EMERSTAIRYN" TEXT ); CREATE TABLE "GBE_GBE_YEONGJU_SEONBI_LIBRARY_M_MAXIMUM_LOAN_LIST" ( "RANKINGR" NUMERIC, "RE_NUMS" TEXT, "SIGNATURET" TEXT, "AUTHORU" TEXT, "BILLING_SYMBOLV" TEXT, "PUBLISHING_HOUSEW" TEXT, "YEAR_PUBLICATIONX" NUMERIC, "PLACE_COLLECTIONY" TEXT, "DATA_ROOMZ" TEXT, "NUM_LOANSA" NUMERIC ); Show the permit date and closure date of leisure food establishments with a total of male and female employees totaling 3 or more, or a location area of 100 or more. | SELECT APVPERMYMD, DCBYMD FROM L_O_C_A_L_D_A_T_A_072405_G_S WHERE MANEIPCNT + WMEIPCNT >= 3 OR SITEAREA >= 100 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction:- Please let me know the permit date and closure date of places with a building floor of 4 or more and seating capacity of 2 or more. , schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_041601_G_R" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATEGBN" NUMERIC, "DTLSTATEGBN" NUMERIC, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" TEXT, "CLGENDDT" TEXT, "ROPNYMD" TEXT, "SITETEL" TEXT, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEDT" TEXT, "UPTAENM" TEXT, "X" TEXT, "Y" TEXT, "MNFACTREARTCLCN" TEXT, "FACILAR" TEXT, "JISGNUMLAY" TEXT, "PASGBRETH" TEXT, "LGHTFACILINILLU" TEXT, "NOROOMCNT" TEXT, "BGROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "EMEXYN" TEXT, "AUTOCHAAIRYN" TEXT ); - Please let me know the permit date and closure date of places with a building floor of 4 or more and seating capacity of 2 or more. CREATE TABLE "GANGSEO_FOOD_HYGIENE_BIZ_SALE_IMPORT" ( "CGG_CODE" NUMERIC, "SNT_COB_CODE" NUMERIC, "YY" TEXT, "UPSO_SNO" NUMERIC, "SNT_COB_NM" TEXT, "PERM_NT_YMD" TEXT, "UPSO_NM" TEXT, "SITE_ADDR_RD" TEXT, "SITE_ADDR" TEXT, "TRDP_AREA" NUMERIC, "UPSO_SITE_TELNO" TEXT, "BMAN_STDT" TEXT, "BUP_NM" TEXT, "SITE_STDT" TEXT, "ADMDNG_NM" TEXT, "DCB_GBN_NM" TEXT, "DCB_WHY" TEXT, "SNT_UPTAE_NM" TEXT, "BDNG_JISG_FLR_NUM" TEXT, "BDNG_JISG_FLR_NUM2" TEXT, "BDNG_UNDER_FLR_NUM" TEXT, "BDNG_TOT_FLR_NUM" TEXT, "GE_EH_YN" TEXT, "GRADE_FACIL_GBN" TEXT, "SITE_LOC_GBN" TEXT, "EIP_WOMAN" TEXT, "PTSOF_SORT" TEXT, "ORDTM_PTSOF_AVG" TEXT, "ORDTM_PTSOF_MAX" TEXT, "MNG_GBN" TEXT, "TRDP_AREA_ROOM" TEXT, "TRDP_AREA_DANCE" TEXT, "TRDP_AREA_DRESS_ROOM" TEXT, "AREA_WRK" NUMERIC ); CREATE TABLE "L_O_C_A_L_D_A_T_A_030802_G_S" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "DTLSTATENM" TEXT, "DCBYMD" TEXT, "CLGSTDT" 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, "X" TEXT, "Y" TEXT, "CULPHYEDCOBNM" TEXT, "TOTNUMLAY" TEXT, "NEARENVNM" TEXT, "MNFACTREARTCLCN" TEXT, "FACILAR" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "BDNGSRVNM" TEXT, "LGHTFACILINILLU" TEXT, "NOROOMCNT" TEXT, "BGROOMCNT" TEXT, "EMERSTAIRYN" TEXT, "EMEXYN" TEXT, "AUTOCHAAIRYN" TEXT, "BGROOMYN" TEXT ); CREATE TABLE "JUNGGU_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" TEXT, "DRT_INSP_YMD" TEXT, "ADMM_STATE" 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, "NT_GBN_CODE" TEXT, "TRDP_AREA" NUMERIC ); | SELECT APVPERMYMD, DCBYMD FROM L_O_C_A_L_D_A_T_A_051801_G_N WHERE BDNGJISGFLRCNT = 4 OR CHAIRCNT >= 2 |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: - Find the management number and phone number of places with medical equipment in the business name and updated data. , schema : CREATE TABLE "C_STS_GGPT_SOLAR_PW_PLANT" ( "NM_POWER_PLANTU" TEXT, "FACILITY_LOCV" TEXT, "INS_CP_KWW" NUMERIC, "PERMISSION_DTX" TEXT, "DATA_BASE_DTY" TEXT ); CREATE TABLE "INFO_PRIVATE_MAINTENANCE_CO_AREA_KDHC_DISTRICT_HEATING_C" ( "FIELDI" TEXT, "COMPANY_NMJ" TEXT, "PHONE_CALLK" TEXT, "ADDRESSL" TEXT, "E_MAILM" TEXT ); CREATE TABLE "S_E_T_E_C_EXHIBITION" ( "SETEC_NO" TEXT, "SETEC_IND" TEXT, "SETEC_NAME" TEXT, "SETEC_OR" TEXT, "SETEC_SPA" TEXT, "SETEC_ST" TEXT, "SETEC_END" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_072218_Y_C" ( "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" NUMERIC, "SITEPOSTNO" NUMERIC, "SITEWHLADDR" TEXT, "RDNWHLADDR" TEXT, "RDNPOSTNO" NUMERIC, "BPLCNM" TEXT, "LASTMODTS" NUMERIC, "UPDATEGBN" TEXT, "UPDATEDT" TEXT, "UPTAENM" TEXT, "Y" TEXT, "MANEIPCNT" TEXT, "TRDPJUBNSENM" TEXT, "LVSENM" TEXT, "TOTEPNUM" TEXT, "HOFFEPCNT" TEXT, "FCTYOWKEPCNT" TEXT, "FCTYSILJOBEPCNT" TEXT, "FCTYPDTJOBEPCNT" TEXT, "BDNGOWNSENM" TEXT, "MONAM" TEXT, "MULTUSNUPSOYN" TEXT, "FACILTOTSCP" TEXT, "JTUPSOASGNNO" TEXT, "JTUPSOMAINEDF" TEXT, "HOMEPAGE" TEXT ); - Find the management number and phone number of places with medical equipment in the business name and updated data. | SELECT MGTNO, SITETEL FROM L_O_C_A_L_D_A_T_A_010203_G_B WHERE BPLCNM LIKE '%μλ£κΈ°%' AND UPDATEGBN = 'U' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: - Tell me the violation details and penalty details of hygiene establishments in Heukseok-dong that are classified as receiving immediate sanctions. , schema : CREATE TABLE "INNOPOLIS_CONTRACT_INFO" ( "SORTATIONV" NUMERIC, "CONTRACT_AMTW" NUMERIC, "CONTRACT_SC_START_DTX" TEXT, "CONTRACT_SC_END_DTY" TEXT, "COMPANY_NMZ" TEXT ); - Tell me the violation details and penalty details of hygiene establishments in Heukseok-dong that are classified as receiving immediate sanctions. CREATE TABLE "SEARCH_PUBLIC_TOILET_P_O_I_SERVICE" ( "POI_ID" TEXT, "FNAME" TEXT, "ANAME" TEXT, "CNAME" TEXT, "CENTER_X1" NUMERIC, "CENTER_Y1" NUMERIC, "X_WGS84" NUMERIC, "Y_WGS84" NUMERIC, "INSERTDATE" TEXT, "UPDATEDATE" TEXT ); CREATE TABLE "C_STS_GN_PAID_EMP_AGENCIES" ( "B_E_N_V" TEXT, "LOCU" TEXT, "RE_DT_REVISION_DTV" TEXT, "NOTEW" TEXT ); CREATE TABLE "L_O_C_A_L_D_A_T_A_031201_G_C" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" TEXT, "APVPERMYMD" TEXT, "APVCANCELYMD" TEXT, "TRDSTATENM" 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, "Y" TEXT, "CULWRKRSENM" TEXT, "REGNSENM" TEXT, "INSURORGNM" TEXT, "JISGNUMLAY" TEXT, "UNDERNUMLAY" TEXT, "ENGSTNTRNMNM" TEXT, "ENGSTNTRNMADDR" TEXT, "SHPCNT" TEXT, "SHPINFO" TEXT, "FACILAR" TEXT, "CAPT" TEXT, "INSURENDDT" TEXT ); | SELECT VIOL_CN, DISPO_CTN_DT FROM DJ_ADMIN_MESURE WHERE INSP_GBN_CODE = 'μμ' AND SITE_ADDR LIKE '%νμλ%' |
You are an excellent developer. Please make an SQL query based on the instructions and the provided schema. Instruction: - Show the number of establishments by violation content, starting with establishments with the highest number of violations. , schema : CREATE TABLE "L_O_C_A_L_D_A_T_A_114302_G_R" ( "OPNSFTEAMCODE" NUMERIC, "MGTNO" NUMERIC, "APVPERMYMD" TEXT, "TRDSTATEGBN" NUMERIC, "TRDSTATENM" TEXT, "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, "Y" TEXT, "ASGNYMD" TEXT, "MWSRNM" TEXT ); CREATE TABLE "FLUB_MARKS2011" ( "OBJECTID" NUMERIC, "GU_NAM" TEXT, "AREA" TEXT, "ETC" TEXT ); CREATE TABLE "YS_PUBLIC_HYGIENE_BIZ_LOC_MANAGE" ( "YS_FOOD_HYGIENE_CGG_CODE" NUMERIC, "YS_FOOD_HYGIENE_CGG_NM" TEXT, "YS_FOOD_HYGIENE_REGN_NM" TEXT, "SNT_COB_NM" TEXT, "CNT" TEXT ); - Show the number of establishments by violation content, starting with establishments with the highest number of violations. CREATE TABLE "F_P_W_L_FLOW_CURVE_ME_HAN_R_F_C_STATION" ( "W_L_O_S_C_S" NUMERIC, "BRANCH_NMN" TEXT, "APPLICATION_START_DTO" TEXT, "APPLICATION_END_DTP" TEXT, "NUMQ" NUMERIC, "RELATIONAL_EXPRESSIONR" TEXT, "L_L_W_L_D_Y" NUMERIC, "U_L_W_L_D_Z" NUMERIC, "W_L_D_I_ZZ" NUMERIC ); | SELECT VIOL_CN, COUNT(UPSO_NM) FROM GURO_ADMIN_MESURE GROUP BY VIOL_CN ORDER BY COUNT(VIOL_CN) DESC |
End of preview. Expand
in Dataset Viewer.
README.md exists but content is empty.
Use the Edit dataset card button to edit it.
- Downloads last month
- 38