Answered Questions

  • how can we avoid duplicate rows. without using distinct command

    Pritty

    • Feb 29th, 2016

    The GROUP BY keyword helps to retrieve the unique values without using DISTINCT keyword.

    Malyadri M

    • Jun 22nd, 2015

    Code
    1. SELECT ROWID, E.*
    2. FROM EMP E
    3. WHERE ROWID = ( SELECT MAX(ROWID)
    4.                            FROM EMP1 E1
    5.                            WHERE E.ENO = E1.ENO
    6.                         );