 
- Forum
- Databases
- Oracle How to retrieve top 10 records from ORACE Table
 
 
 
	
		
		
	
	
	
	
		
	
	
		
			
- 
	
	
		
			
			
				Junior Member
			
			
			
			
				
					
						  
 
					    
				 
 
			
				
				
				
					How to retrieve top 10 records from ORACE Table
				
					
						
							How to retrieve top 10 records from ORACE Table
 
 
 
 
 
 
 
 
 
- 
	
	
		
			
			
				Junior Member
			
			
			
			
				
					
						  
 
					    
				 
 
			
				
				
				
					Re: How to retrieve top 10 records from ORACE Table
				
					
						
							SELECT *
 FROM (select * from suppliers ORDER BY supplier_name) suppliers2
 WHERE rownum <= 10
 ORDER BY rownum;
 
 
 
 
 
 
 
 
 
- 
	
	
		
		
			
				
				
				
					Re: How to retrieve top 10 records from ORACE Table
				
					
						
							select * from table_name where rownum <11;
 
 
 
 
 
 
 
 
 
 
	
	
	
	
	
	
	
	
	
	
	
	
		
		
			
				 Posting Permissions
				Posting Permissions
			
			
				
	
		- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-  
Forum Rules