MySQL Forums
Forum List  »  Newbie

Re: Query is duplicating the results
Posted by: John Noble
Date: November 20, 2018 05:39AM

Hi there,

I have found the solution....

INNER JOIN
(SELECT * FROM salesLedger WHERE paymentNo = p_paymentNo LIMIT 1)

SALESlEDGER

ON SALESLEDGER.PAYMENTnO = RECEIPTS.PAYMENTNo *** LIMIT 1 ***

Options: ReplyQuote


Subject
Written By
Posted
November 19, 2018 06:10AM
Re: Query is duplicating the results
November 20, 2018 05:39AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.