Hi,
I have two tables (TabA & TabB) with a foreign key on TabB referencing a PK on TabA. Therefore there is a one to many relationship between the two tables. For the query below how which may produce a number of records from TabB , how can i limit it to just giving me the last record in the set if I dont know the row count to start off with??
Select B.*
from TabA A, TabB B
where ...........
In examples will help greatly
Thanks
Anthony
I have two tables (TabA & TabB) with a foreign key on TabB referencing a PK on TabA. Therefore there is a one to many relationship between the two tables. For the query below how which may produce a number of records from TabB , how can i limit it to just giving me the last record in the set if I dont know the row count to start off with??
Select B.*
from TabA A, TabB B
where ...........
In examples will help greatly
Thanks
Anthony