Probleme de jointure

ikbel_haouas Messages postés 1 Statut Membre -  
jordane45 Messages postés 30426 Date d'inscription   Statut Modérateur Dernière intervention   -
comment se fait la jointure?
A voir également:
  • Probleme de jointure
  • Jointure excel - Guide
  • Pb de jointure - <a href="https://forums.commentcamarche.net/forum/mysql-135">Forum MySQL</a>
  • Problème jointure mysql (php) - <a href="https://forums.commentcamarche.net/forum/webmaster-24">Forum Webmastering</a>
  • Jointure php - <a href="https://forums.commentcamarche.net/forum/mysql-135">Forum MySQL</a>
  • Jointure en php - <a href="https://forums.commentcamarche.net/forum/php-155">Forum PHP</a>

1 réponse

jordane45 Messages postés 30426 Date d'inscription   Statut Modérateur Dernière intervention   4 830
 
Bonjour ( si si ... ça se dit ... !! )

A ta question :
comment se fait la jointure?

Je répondrai : << ... facilement.;..>>

Plus sérieusement...
Tu peux faire de différentes manières
Par exemple

SELECT * 
FROM tbl1,tbl2
WHERE tbl1.id = tbl2.id_tbl1


ou encore

SELECT * 
FROM tbl1
LEFT JOIN tbl2 ON tbl1.id = tbl2.id_tbl1


Cordialement,
Jordane
0