I have a similar question here:
http://www.question2answer.org/qa/8843/how-to-retrieve-a-single-question-from-the-database
EDIT:
Can't seem to get an answer :/, but I am managing to pull some information on a question like so:
function single(){
$content=$this->content;
foreach ($content as $key => $part) {
if (strpos($key, 'custom')===0)
$this->output_raw($part);
elseif (strpos($key, 'q_view')===0){
$this->output($part['url']);
$this->output(strip_tags($part['title']));;
$this->output(strlen(@$part['netvotes_view']['prefix']));
//answers most likly wrong, needs testing
$this->output(strlen(@$part['content']['prefix']));
}
}
}
To load a page with a single question from $content=$this->content; is not ideal, but the above method is a practical way to call information already loaded on to your template :)
NOTE: if you have phpMyAdmin you can browse the questions and answers and click on the SQL button to get the raw query output, as for the fastest call within Q2A I think using qa_db_single_select may be the fastest method.