sql - MySQL join 4 tables -


I have a problem connecting to 4 mysql tables for my call management.

My tables are:

  Call: callId | ContactId | Company ID Numeric | Timestamp | Call Note | Period. State Contact: contactId | First name Last name | Company ID Email | Contact note number: Number ID | ContactId | Number companies: Company ID | Company name   

I need a query that gives me:

  callId | Timestamp | Period. Number | Call Note | State | ContactId | First name Last name | Company | Email | I think this is possible, but I do not know how.   

try it

  select o.callId, o.timestamp , O.duration, o.callNote, o.state, o.contactId, j.firstName, j.lastName, j.company call company, JEmail, J. ID as contact note, rnm; O Skip to external contacts, contact j.contactId = j.contactId j.contactId = r.contactId;    

Comments

Popular posts from this blog

Out of index C/C++ -

algorithm - Graph cut with python: How to set up the graph correctly? -

objective c - how Set autolayout for multiple dynamic buttons and labells in iOS? -