Help for this page
SELECT n.id FROM nodes n, meta_data md ... AND md.value = "green" AND n.id = md.node_id ORDER BY 1
my $sql = <<'__END__'; SELECT n.id ... $sth->execute($attr, $value) || die $!; # Use your favorite fetch*() method here $sth->finish;