Counting Data in Oracle SELECT Example

How To SELECT Data COUNT Oracle Database Tutorial Example

Run Query Editor then copy & paste the below code to count number of data or rows by using COUNT in SELECT keyword from a table in Oracle Database Server Tutorial Example

   -- CONNECT AS HR
   -- Let's count how many SALARY data in HR.EMPLOYEES table

   SELECT COUNT(SALARY) FROM EMPLOYEES;
      -- That's it!! SALARY data count has been viewed in oracle database
      -- is comment in Oracle
      -- in fact it is comment in MSSQL and MySQL as well
   

How To SELECT Data COUNT Oracle Database Tutorial Example - Result in Query Editor Client Tools

No comments:

Post a Comment

leave your comments here..