|
Archives of the TeradataForumMessage Posted: Fri, 12 Aug 2005 @ 08:25:08 GMT
Hello All, I was being interviewd yesterday and the interviewer put to me these 2 questions which baffled me. I just thought may be he IS right under certain circumstances. Can someone help? 1. Find avg sal by dept. -- I said -> sel avg(sal) from emp group by deptno. He insisted that deptno would have to be selected in the select clause else an error will b thrown. I just tested it after coming back home and it did work!! Are there specific conditions where it wouldnt -- like will work in BTET and not in ANSI or BTEQ & SQLA etc?? 2. What is a ROWID based join? - I've come across rowhash based and rowkey based join -- but what is a ROWID based join? I just sifted thru the materials i've got and tried some explain but couldnt find out. Is there such a join - anyone? Thanks Aananth
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||