Multi-part identifier could not be bound sql server -


i trying retrieve list of rows based on 3 tables: competences, user_competences, skills. try following query says

the multi-part identifier "skillmgt.timestamp" not bound

query:

select     competences.*, user_competence.e_id     competences  inner join    user_competence on user_competence.c_id = competences.competence_id     user_competence.e_id = 112     , datename(yyyy, skillmgt.timestamp) = year(getdate()) 

see if helps

select competences.*, user_competence.e_id   competences       inner join user_competence on user_competence.c_id = competences.competence_id       inner join skillmgt sm on user_competence.e_id = sm.eid         user_competence.e_id = 112       , datename(yyyy, sm.timestamp) = year(getdate())   

Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -