As you would do it in the normal single view template. With {joodb field|XXX}
{joodb field|title}
{joodb field|description}
But if you want to read data from another Table you must write a custom plugin.
Like This
Read value from another table and output form field with this value.
<?php
// no direct access
defined('_JEXEC') or die('Restricted access');
if (count($part->parameter)>=1) {
$db = JFactory::getDbo();
$field = $db->escape($part->parameter[0]);
if ($result = $db->setQuery("SELECT `".$field."` FROM #__YOURTABLE WHERE XXX = YYY")->loadResult()) {
$output .= '<input type="text" name="'.$field.'" value="'.htmlspecialchars(stripcslashes($result), ENT_COMPAT, 'UTF-8').'" />';
}
}