1select*, e_score as lower_score
2, Nz((select e_score from evaluation as lag where lag.e_id = evaluation.id -1),100)as upper_score
3from evaluation
上記をQ_evaluationというクエリーにしたとして、更新するクエリーは以下です。
SQL
1update result set2 evaluation=(3select e_evaluation from Q_evaluation
4where result.score between lower_score and upper_score
5)6where score isnotnull
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2021/04/21 02:05 編集
2021/04/21 02:36
2021/04/21 02:38
2021/04/21 02:51
2021/04/22 00:32
2021/04/22 00:55 編集
2021/04/22 00:56 編集
2021/04/22 01:25