Table1 t10 (id)jointure de table où
id
---
1
2
tableau t11 (a1, a2, a3)
a1 a2 a3
----------
1 10 a
1 10 b
1 11 b
1 12 c
2 20 d
2 21 e
select * from t10 a, b t11 où a.id = b.a1 comment afficher
obtenir juste ligne aléatoire de t11
maybe display this
id a1 a2
----------
1 1 11 b
1 1 10 a //(not display this row)
1 1 10 b //(not display this row)
1 1 12 c //(not display this row)
2 2 20
2 2 21 //(not display this row)
Ce sont des noms de table et de colonne terrible ... – cjk
juste un testting – shuc
ce que db utilisez-vous? –