Using mysql query with .tpl file

Hello everyone

I want to know ,How I can display data from a mysql query, in a .TPL file

It is very urgent, and thank you for your help