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

need a associated select query defined from view table in teradata? - response (1) by SeenuGuddu

$
0
0

Here is the example i am facing the issue from SQL Assistant 
 

Select * from View1
SHOW QUALIFIED Select * from View1
select t1.col1
       ,t1.col2
       ,t1.col3
       ,t2.col1
       ,t2.col2
       ,t2.col3
       ,t3.col1
       ,t3.col2
       ,t3.col3
from table1 t1
join table2 t2
   on t1.col1 = t2.col1
join table3 t3 
   on t2.col1 = t3.col1
join table4 t4
   on t3.col1 = t1.col1


 i am getting query from SQL Assistant in Answer Sheet

select t1.col1
       ,t1.col2
       ,t1.col3
       ,t2.col1
       ,t2.col2
       ,t2.col3
       ,t3.col1
       ,t3.col2
       ,t3.col3
from table1 t1



 


Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>