Oracle SQL, PLSQL, APEX How To's by Dr. S. Raghunathan - HTML preview

PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.

 

 

"select             <<column_names>>             from

 

<<table-name>>;

 

I we   want  to  se the  data  available  in ledger-name of Ledger-Master table, then we shall give the syntax as "select ledger_name from ledger_master;" and this will retrieve data and display as follows:

 

11.01 How to display one column from a table

 

SYNTAX:

 

select ledger-name from ledger-master; RESULT:

LEDGER-NAME

 

cash account sales account

Generally, the column title or Heading label will be derived from the column-name itself, If we need the Tittle 1 column-heading differently we shall add the "as ledger" after column_name but before "from".