SQL2000下的三表查询

SELECT *
FROM ZdMx INNER JOIN
      CargoInfo ON ZdMx.CargoNo = CargoInfo.BH INNER JOIN
      CargoTypeInfo ON CargoInfo.NumOfType = CargoTypeInfo.ID
WHERE (ZdMx.ZdHzNo = 'XF20120411000007')
ORDER BY ZdMx.ZdHzNo
posted @ 2012-04-13 18:26  bingege  阅读(301)  评论(0编辑  收藏  举报