How To SELECT Unique Data DISTINCT Oracle Database Tutorial Example
Run Query Editor then copy & paste the below code to SELECT unique data using DISTINCT keyword from a table in Oracle Database Server Tutorial Example
-- CONNECT AS HR -- Let's view how many unique SALARY data in HR.EMPLOYEES table SELECT DISTINCT SALARY FROM EMPLOYEES;
-- That's it!! DISTINCT(Unique) SALARY data have been selected in oracle database
-- is comment in Oracle
-- in fact it is comment in MSSQL and MySQL as well

No comments:
Post a Comment
leave your comments here..