请问在DB2中,如何实现在一张表中,只要查询到n条满足条件的记录即停止查询,并返回结果?

来源:百度知道 编辑:UC知道 时间:2024/05/04 08:28:38
嗯,是指sql语句具体用什么语法?

SELECT(记录)FROM(表)WHERE(n条 条件的并集)

试 考试名称 题目数量 通过考试需要答对的题目数量 考试时间(分钟)
700 DB2 UDB V8.1 Family Fundamentals 54 61% 75
701 DB2 UDB V8.1for Linux, UNIX and Windows Database Administration 70 61% 90
702 DB2 UDB V8.1 for z/OS Database Administration n/a n/a n/a
703 DB2 UDB V8.1 Family Application Development 63 57% 75
704 DB2 UDB V8.1 for Linux, UNIX and Windows Advanced Database Administration 57 56% 75
705 DB2 Business Intelligence Solutions V8.1 56 58% 75
706 DB2 UDB V8.1 for Linux, UNIX and Windows Database Administration Upgrade exam 30 55% 40
442 DB2 Content Manager V8 64 64% 90
n/a DB2 Problem Determination Mastery n/a n/a 60