Hi There,

MySQL is not my strong point so any guidance or advice will be greatly appreciated. I want to know what's the best way of linking multiple MySQL tables together. I have +-10 tables that will interact with each other.

Example Tables : users, logins, communication, sightings etc.

When the user uploads a picture it should store data in multiple tables for the specific upload and when he want's to view his upload it should use all the tables to populate all the info etc.

Kind Regards

Recommended Answers

whatever is the database, selection of primary keys and foreign keys play important role in database design.

Jump to Post

All 2 Replies

whatever is the database, selection of primary keys and foreign keys play important role in database design.

Hi Urtrivedi,

Thanks for the quick reply, so the best way of linking multiple tables is with the use of PRIMARY KEY's and FOREIGN KEY's

Kind Regards

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.