0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

SQL チートシート

Last updated at Posted at 2023-05-19

MOD: - 余剰を求める

引数2を引数1で割った余りを戻す。
modulo1の略。

ROWNUM: - 行番号を求める

選択した行の番号を戻す。
ROWNUM=1 だと1行目。

参考:
https://docs.oracle.com/cd/E82638_01/sqlrf/MOD.html#GUID-E12A3928-2C50-45B0-B8C3-82432C751B8C
https://docs.oracle.com/cd/E16338_01/server.112/b56299/pseudocolumns009.htm

  1. 〜法。モジュロ演算。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?