Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Recursive Query - response (1) by M.Saeed Khurram

$
0
0

Hi Sarah,
Yes you can use more than on table in source using joins.

Syntax:

WITH RECURSIVE <query name> AS
(SELECT COL_list FROM A
 INNER JOIN B
 ON A.Col = B.Col
UNION ALL
<RECURSIVE STATEMENT>);

 


Viewing all articles
Browse latest Browse all 14773

Trending Articles