Zimetrics Interview Question

oops concepts, writing sql queries using joins and nested queries for giving problem statement, sql theory questions, diff. betn union and union all, code for finding if a no. is armstrong no. or not