QUESTION POSED ON: 23 October 2006 I want to test to make sure that a query is working in Toad. I would like to pull the top 10 rows, but select top 10, column, column, etc. doesn't seem to run.
>
EXPERT RESPONSE
Below is an example of a Top-10 SQL:
select empno, ename, sal
from
(select empno, ename, sal
from emp
order by sal desc)
where rownum <=10;
Search and Browse the Expert Answer Center Search and browse more than 25,000 question and
answer pairs from more than 250 TechTarget industry experts.
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.