select prm,val,code,lvl,etc,json_data from type where grp='jenis_cuti' and (sid=0 or sid='') and sta='1' order by idx failed: