I have three tables say ‘user’, ‘user_resources’ and ‘desktop_resources’.
‘user’ contains – emp_id,name and other attributes
‘user_resources’ – emp_id and desktop_id foreign key relation
‘desktop_resources’ – desktop_id and other attributes
Now i want a sql query from where i can get a table which shows me name from ‘user’ table and ‘desktop_resources’ attributes only where “emp_id=d_id”
how to go about it??
Finally found this query useful:
I am sure there may be other ambiguous queries for this..if u have got a better query..please put it in comments…