i want to retrieve only the 1st ten rows(from 1 to 10)
how i can do that...with useing select all
i want to retrieve only the 1st ten rows(from 1 to 10)
how i can do that...with useing select all
إذا كنت مستخدم ترقيم للصفوف (ID) فبهذه الطريقة
select * from tablename where id<=10;
thank you brother mobarak for help,,,,but if u know sql server you will find command(limit)like
select * from emp
limit 10;
he will fetch only 10 rows every time..so how i can do this in sql*plus
الطريقة التي ذكرتها لك تعمل على SQL*Plus
وتقبل تحياتي ....
السلام عليكم
أخوي saif22s
if you want to retrieve only 10rows in each statement, you have to use rownum
select col1,col2
from table1
;where rownum <11
thank you asma55,,,thats what i need exactly
هذا الموضوع مغلق.