Subject | Re: ROWNUM |
---|---|
Author | esrefatak |
Post date | 2005-01-17T11:45:35Z |
--- In firebird-support@yahoogroups.com, "esrefatak" <liste@y...> wrote:
create table book (
id numeric(10,0),
title varchar (100),
author varchar (50)
);
SELECT ROWNUM as ORDER, TITLE
FROM BOOK
ORDER BY ROWNUM;
ORDER TITLE
----- -------------------------
1 Firebird and security
2 ColdFusion and security
3 Oracle and speed
...
---
best regards,
esrefatak
>example:
> Is there any SQL command that have similiarly function like
> ROWNUM?, example:
>
> "SELECT ROWNUM as ORDER, TITLE FROM BOOK ORDER BY ROWNUM"
>
> ---
> esrefatak
create table book (
id numeric(10,0),
title varchar (100),
author varchar (50)
);
SELECT ROWNUM as ORDER, TITLE
FROM BOOK
ORDER BY ROWNUM;
ORDER TITLE
----- -------------------------
1 Firebird and security
2 ColdFusion and security
3 Oracle and speed
...
---
best regards,
esrefatak