ch - Count of field of 3 tables -
i have 3 table employee,home,office
in employee 2 fields available emp id,tag ,home has 2 filed home id,htag , office has 3 fields emp id,tag,ofzname
employee
emp id tag 1 yellow 2 pink 3 green
home
home id htag 1 pink 2 pink 3 blue
office
emp id tag ofzname 1 blue mumbai 2 green chennai
i want query result
pink 3 blue 2 green 2
by combining 2 table
posting query punctuation better understandable people going help. anyway...
use join
combine 2 tables have information need should in join , them select
, write where
clause common field id.
Comments
Post a Comment