Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
0
Help us understand the problem. What is going on with this article?
@Mune_robo

【DS】複数行を同時に処理するときの特殊なアルゴリズム

More than 1 year has passed since last update.

query databaswの部分は後半の処理を考慮した設定。
1件目だけ1列目を通る
以降は「企業コードがかわった場合」をとおる
Query DBとも関係があるかも→クエリからひっぱてきて登録したら2件目以降の部分をとおる

1件目かどうかが大事なポイント→liting_codeの変数に値が格納されているか否かが大事 これがなければ1件目になる

2.png

0
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Mune_robo
自身の備忘録的な感じで勉強・実装したことを中心に記事を書いてきます。

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
0
Help us understand the problem. What is going on with this article?