Salve,
data la seguente UNION:
è possibile fare in modo che:codice:(SELECT 10, tA.Colore, tB.Taglia FROM tA, tB Where tA.id = tB.id and tA.id=10 AND tB=3 LIMIT 1) suq1 UNION (SELECT 10, tA.Colore, tB.Taglia FROM tA, tB Where tA.id = tB.id and tA.id=10 AND tB=4 LIMIT 1) suq2
restituisca due record anche nel caso in cui una o entrambe le subquery restituiscono NULL?
Esempio:
***************
10 |Colore | Taglia
10 |Rosso | L
10 |NULL | NULL
Grazie mille![]()