Jump to content

oracle sql hero's, please come here


Rabbo

Recommended Posts

5 minutes ago, ARYA said:

full ga fire lo gattiga masala petti BBQ sestaa telsu gaGeneralLongFoxhound-size_restricted.gif

bat kuda pakshe anukoni tinnaru anta china vallu anduke corona ochindi tenor.gif

Link to comment
Share on other sites

31 minutes ago, Rabbo said:

i got it by using 

 


select customer_id,product_id,customer_product_id,order_date
from   ( select customer_id,product_id,customer_product_id,order_date, rank() over 
(partition by customer_id,product_id  order by order_date desc) as rnk
         from   table t
       )
where  rnk = 1

Asalu window function use cheyalsina avsaram em vndi....Order date tho sort chesi limit 1 pedite ade vastadi kadaaa

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...