Quantcast
Viewing all articles
Browse latest Browse all 38309

Output Result

Can someone help me please: I havve the following table with some data in it.

Name Description Country
------------------------------------------------------------------
Great Tree This is great USA
Caterpillar Beautiful Creatures USA
Houses Glass Houses USA
Sushi Raw Foods Japan
Tokyo Beautiful Place Japan
Accra Friendly People Ghana


I would like to resulting out to be laid out like:

USA
----------------------------
Great Tree
This is great

Caterpillar
Beautiful Creatures

Houses
Glass Houses

Japan
-------------------------
Sushi
Raw Foods

Tokyo
Beautiful Place

Ghana
-------------------------
Accra
Friendly People


I have the following query:

select *
from happy_table
order by name asc

Should I use cfloop to create the output or what? Please help..

Thank you,

Sevor Peter Klu

Viewing all articles
Browse latest Browse all 38309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>