Search Results

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: iceman29 ; Forum: Oracle and child forums
Forum: Oracle Jul 9th, 2009
Replies: 1
Views: 1,379
Posted By iceman29
Hi Dipti,

You can use the below querry to get the table names in your DB:

select * from tab;
Forum: Oracle Sep 2nd, 2008
Replies: 3
Views: 5,345
Posted By iceman29
If you are just interested in viewing the names and not the other info about tables, you can use

select * from tab
Forum: Oracle Jul 12th, 2008
Replies: 5
Views: 6,599
Posted By iceman29
Yes buddy, the extra sub querry is needed, as in below case :

select * from <tab> where rownum <=5
order by <a> desc

the first 5 rown are getting sorted and then ordered, which would not...
Forum: Oracle Jun 5th, 2008
Replies: 5
Views: 6,599
Posted By iceman29
Got the soln, as below

select * from (select a from <tbl> order by a DESC) where rownum<=5;

Thanks.
Forum: Oracle Jun 5th, 2008
Replies: 5
Views: 6,599
Posted By iceman29
Hi ,

Can we have an sql query to get the max 5 values from a column?
Please paste a sample code if its possible.

Thanks in advance.
Showing results 1 to 5 of 5

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC