The multi-part identifier could not be bound

后端 未结 1 1727
天涯浪人
天涯浪人 2020-12-19 12:26

trying this

select tblPersonalInfo.companyname, tblJobBudget.title,tblJobBudget.lastmodifiedby,
tblJobAdv.advtitle, tblJobAdv.userId,       
tblApplication.         


        
相关标签:
1条回答
  • 2020-12-19 12:57

    This is because there aren't any table or table alias with tblJobBudget identifier.

    Your tables are:

    • tblJobAdv
    • tblApplication
    • tblPersonalInfo

    But not:

    • tblJobBudget

    If you need columns from table tblJobBudget you should include tblJobBudget in tables with a join clause:

    from       tblJobAdv 
    inner join tblApplication
       ON tblJobAdv.advid = tblApplication.advid
    inner join tblJobBudget                              <--here
       ON ...
    inner join tblPersonalInfo
       ON ...
    
    0 讨论(0)
提交回复
热议问题