| 发表于:2007-06-19 11:48:20 楼主 |
select laowu.name,sb_feerecord.ygid,sb_feerecord.sb_month, sb_yanlao_unit,sb_losjob_unit,gzjb_id_unit from laowu,sb_feerecord,gzjb where laowu.id=sb_feerecord.ygid and laowu.id=gzjb.ygid and gzjb.id=sb_feerecord.gzjb_id_unit select laowu.name,sb_feerecord.ygid,sb_feerecord.sb_month, sb_yanlao_per,sb_medcal_per,gzjb_id_personl from laowu,sb_feerecord,gzjb where laowu.id=sb_feerecord.ygid and laowu.id=gzjb.ygid and gzjb.id=sb_feerecord.gzjb_id_personl 查询出的这个两个表如果要用两个表的ygid关联,应该怎么写. |
|
|
|
|