cancel
Showing results for 
Search instead for 
Did you mean: 

how to use with statement in hana query

Former Member
0 Kudos

how to use with statement in hana query,ie how to replace with statement in sql to hana

Accepted Solutions (0)

Answers (1)

Answers (1)

kbachl
Participant

simple example:


with X as (select * from "foo"."bar")

select * from TABLEZ, X where.....

you might also want to watch the video from the SAP HANA Academy about it here SAP HANA Academy - SQL Functions: SELECT WITH - YouTube

Best