0.00.0100005050NY50000YN1000100-2024/09/05 11:56:05.480-2024/09/05 11:56:05.480Ndw bi indotekniklocalhostPOSTGRESQLNativedw_bi_indoteknik5703metabaseEncrypted 2be98dfba28d7bf86853c9f58cfc4f889FORCE_IDENTIFIERS_TO_LOWERCASENFORCE_IDENTIFIERS_TO_UPPERCASENIS_CLUSTEREDNPORT_NUMBER5703PRESERVE_RESERVED_WORD_CASEYQUOTE_ALL_FIELDSNSUPPORTS_BOOLEAN_DATA_TYPEYSUPPORTS_TIMESTAMP_DATA_TYPEYUSE_POOLINGNTable inputInsert / updateYTable inputTableInputY1nonedw bi indoteknikselect industry_id, category_id, industry, category, 'p.%' as year_date,
(
((select tlcv2.value from t_lob_category_value tlcv2
where tlcv2.industry_id=tlcv.industry_id
and tlcv2.category_id=tlcv.category_id
and tlcv2.year_date=get_now_year())-
(select tlcv2.value from t_lob_category_value tlcv2
where tlcv2.industry_id=tlcv.industry_id
and tlcv2.category_id=tlcv.category_id
and tlcv2.year_date=get_last_year()))/
(select tlcv2.value from t_lob_category_value tlcv2
where tlcv2.industry_id=tlcv.industry_id
and tlcv2.category_id=tlcv.category_id
and tlcv2.year_date=get_last_year())*
100
) as value
from t_lob_category_value tlcv
where tlcv.year_date = get_last_year()0NNNNIntegernormalindustry_id90Table inputindustry_id####0;-####0.,noneNY0NNNen_IDAsia/BangkokNIntegernormalcategory_id90Table inputcategory_id####0;-####0.,noneNY0NNNen_IDAsia/BangkokNStringnormalindustry2147483647-1Table inputindustry.,noneNY0NNNen_IDAsia/BangkokNStringnormalcategory2147483647-1Table inputcategory.,noneNY0NNNen_IDAsia/BangkokNStringnormalyear_date2147483647-1Table inputyear_date.,noneNY0NNNen_IDAsia/BangkokNBigNumbernormalvalue-1-1Table inputvalue######0.0###################;-######0.0###################.noneNY0NNNen_IDAsia/BangkokN11264YInsert / updateInsertUpdateY1nonedw bi indoteknik100Npublic