Its very simple to get table name in magento whose name are defined in config.xml file
Suppose you need to get table name in sales order module
$resource = Mage::getSingleton( 'core/resource' ); $tableName = $resource ->getTableName( 'sales/order' );