Subject | Re: [firebird-support] Problem with sql |
---|---|
Author | Sandeep Chandra |
Post date | 2003-07-07T21:10:24Z |
Nick Upson wrote:
to get records from Client table and ONLY ONE record from Animal table
if there is one for that client.
Regards
Sandeep
>does this do what you want?No this only fetches the first record from Client table. What I want is
>
>select first 1 C.Number, C.Name, A.Number, A.Name
>from Client C left outer join Animal A on A.Owner = C.Number
>
to get records from Client table and ONLY ONE record from Animal table
if there is one for that client.
Regards
Sandeep