经过id选出line表中的id,pnt表中的name和blist表中的value. sql
SELECT a.id AS 编号, b.name AS 名称, c.value AS 高程 FROM line AS a INNER JOIN pnt AS b ON a.id = b.pointid INNER JOIN blist AS c ON b.pointid = c.bfpcode;