MySQL Forums
Forum List  »  Newbie

projection from a query
Posted by: pritesh kumar
Date: April 25, 2012 07:03PM

i am trying to write a query that would do the following on the view update_winnerlist which is already GROUPed BY item_index

SELECT email_id
(SELECT email_id,min(bid_amount)
FROM update_winnerslist AS a1
WHERE a1.item_index = 10 )

i need to perform the above in a single query as i am using it in a trigger to update a table.
PLZ HELP



Edited 1 time(s). Last edit at 04/25/2012 07:25PM by pritesh kumar.

Options: ReplyQuote


Subject
Written By
Posted
projection from a query
April 25, 2012 07:03PM
April 27, 2012 02:44AM
April 28, 2012 05:33PM


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.