select a.`name` from a left join b on (a.`id`=b.`id`) where b.`id`=1同一行的多个字段有些麻烦你使用php吗,配合php的话,比较简单点