0
以下の例を参考にしてください。オラクル表で第1回目と第2回目との間のレコード数を取得する必要があります。
私は
Rownumber Values
1 C21
2 abc\
3 C25
4 C23
5 efg
6 C21
7 abc
8 C25
9 C21
10 ABC
I need the record count between the 1st and 2nd occurrence of C21.
(i.e.,)
Count b/n 1st and 2nd occurrence of 'C21' is = 4
1 C21
2 abc\
3 C25
4 C23
5 efg
6 C21
Count b/n 2nd and 3rd Occurence of 'C21' is = 2
6 C21
7 abc
8 C25
9 C21
はあなたが同じに助けてもらえ、以下の値を「EMP」テーブルを持っています。
MySQLやOracleの?両方の製品にタグを付けました。あなたはどちらを使っていますか? –