Thursday, March 12, 2015

Select specific column from table.

SQL> select department_id, department_name from departments;

DEPARTMENT_ID DEPARTMENT_NAME
------------- ------------------------------
           10 Administration
           20 Marketing
           30 Purchasing
           40 Human Resources
           50 Shipping
           60 IT
           70 Public Relations
           80 Sales
           90 Executive
          100 Finance
          110 Accounting
11 rows selected.

SQL>

No comments:

Post a Comment