Display the contents of a table.

Dear Friends,

Am an newbie to this domain. I have a table which is filled with contents which i need to be updated with,so am trying to design a flow which would read the data from the table and mail it to me at regular intervals. I could make out the flow using mailx command but want to customize the appearance of data on my mail. Could someone kindly help me with the steps about how should i proceed??

Eg:

Data which i currently receive is as,

No of files---24
Processed---14
Failed--------10

I want the above data to be displayed neatly in a table.
Can i use html for this??? If so how to do it???

Plzzzzzzzzzzzzzzz help...........................

The table is a flat text file or in a database?

The data is in a oracle table.

---------- Post updated at 06:32 PM ---------- Previous update was at 06:31 PM ----------

Neo request you to help me ...

printf '%s\n' "set markup html on" "select * from table_name;" |
  sqlplus -s user/pass[@service] |
    mailx -s ...

Is this the right forum for this question?
Or you want to do it from a web page/service?