Subject Re: SQL for master-detail
>select 1 from DetailInfo d where ...

what does the '1' do in this SQL?