0
SQL syntax for retrieving multiple results from three tables.
I have been able to retrieve multiple records from the same table by the syntax; $sql="SELECT * FROM myTable "; in phpMyadmin. But how to retrieve multiple / many records from different tables?
3 Respostas
+ 3
If you want to mix some fields from several tables you can use JOIN. But you can't grab all records from several tables with SELECT * because there are differences amongst their structure, number of fields etc.
+ 1
Thanks Ipang hope this will help me a lot.
+ 1
Thanks Ipang it worked as i expected