Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 81926

Populating with all contacts & cutomers.

$
0
0

I have a customers & contacts table. Both tables have unique field custID. contacts table have multiple contacts from one company

I am trying to get the following result

customers.custID | contacts.firstName | contacts.firstName

500              |  John              |   Paul

ie I need them in separate fields.

Is this possible in a MYSQL Query?

If so what is the syntax to use with the editor.

The idea is I can use responsive extension and show the company details and then have all the contacts show on expanding the row.

Or is there another approach?

Cheers

Steve Warby


Viewing all articles
Browse latest Browse all 81926

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>