Questione : Oracle interroga l'aiuto

La domanda seguente di Hi

The restituisce 2 file. Ma ho bisogno dell'uscita nella singola fila. Potete help

SELECT stocktransfer.stocktransfer_id, STORE.description “storefrom„ dei pls, stocktransfer.quantity, stocktransfer.createddate, il from_storecode, il to_storecode, il

stocktransfer.productcode
da stocktransfer
unite il deposito su stocktransfer.from_storecode =STORE.STORECODE dove il to_storecode non è
stocktransfer.stocktransfer_id del all
del sindacato del
del null
, STORE.description “storeto„, stocktransfer.quantity, stocktransfer.createddate, il from_storecode, il to_storecode, il

stocktransfer.productcode
da stocktransfer
unite il on
stocktransfer.to_storecode=STORE.STORECODE del deposito dove il from_storecode non è null
class= del

Risposta : Oracle interroga l'aiuto

prova:

selezionare x.*, y.*
 da
(Stocktransfer.stocktransfer_id PRESCELTO, STORE.description “storefrom„, stocktransfer.quantity, stocktransfer.createddate, from_storecode, to_storecode,

       stocktransfer.productcode
  Da stocktransfer
    unire il deposito su stocktransfer.from_storecode =STORE.STORECODE in cui il to_storecode non è) x nulla,
(  
 SELEZIONARE stocktransfer.stocktransfer_id, STORE.description “storeto„, stocktransfer.quantity, stocktransfer.createddate, il from_storecode, to_storecode,
       stocktransfer.productcode
  Da stocktransfer
     unire il deposito sopra
  stocktransfer.to_storecode=STORE.STORECODE dove il from_storecode non è) y nullo

Grazie,
Altre soluzioni  
 
programming4us programming4us