为了计算这一点,我编写了以下代码(dataframe 1是'df_loco',dataframe 2是'df_sent'): for j in range(0,len(df_sent['HM_ID_HM']),1):
if (df_sent.iloc[j,1] == df_loco.iloc[i,0]) and (df_se
我正在尝试创建一个触发器,该触发器执行一个SELECT来获取LOCO_CLASS的LOCO_CLASS,然后将该权重与TRAIN_WEIGHT进行比较。RAISE_APPLICATION_EXCEPTION('Train weight has exceeded max tow weight');供参考的表格: (Loco_Nointeger PRIMARY KEY, Loco_Cla