jam007
3/9/2017 - 12:30 PM

Functional SQL using WITH statement

Functional SQL using WITH statement

with a  as (
  select relnr from dpers
  ),
  b as (
    select relnr, geslacht from dpers
   )
  
select * from a join b on a.relnr=b.relnr limit 10