mysql - doubt in join -sql -


this query give me error in

join employer_has_worker h, employer e 

how can fix this?

select id_user, email,  s.age,  e.employer users u  join single_user s on s.users_id_user = u.id_user  join employer_has_worker h, employer e // problem here on h.employer_id_employer = e.id_employer 

thanks

you need separate join clause each table want join. example i'm unable deduce relationship between "users" table , "employer_has_worker" or "employer" tables.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -