結果 : row pattern recognition in sql