Debe realizar un INNER JOIN entre las tablas involucradas, asumo que estan en la misma Base de Datos, algo como
SELECT * FROM TablaA INNER JOIN TablaB ON TablaA.Columna1=TablaB.Columna1
"Oh, the wind, the wind is blowing,through the graves the wind is blowing,Freedom soon will come; then well come from the shadows".The Partisan(Leonard Cohen) Email: me[at]geohernandez.net Blog:www.geohernandez.net