blob: b1c1bd9d49cbdbc2c563ec6fe4d4411e6d35970a [file] [log] [blame]
SELECT COUNT(t1.col_int) count_c1, MIN(t2.col_int) min_c2, t2.col_bln
FROM l_tblprtnby_intcl t1, r_tblprtnby_intcl t2
WHERE t1.col_int = t2.col_int OR (t1.col_int IS NULL AND t2.col_int IS NULL)
GROUP BY t2.col_bln, t1.col_int, t2.col_int
ORDER BY t1.col_int, t2.col_int
LIMIT 7