Jump to content

oracle sql hero's, please come here


Recommended Posts

Posted
2 minutes ago, ARYA said:

fittaa :) 

corona season lo non veg tinnodu telusu kada l667nq.gif

Posted
1 minute ago, Pitta said:

corona season lo non veg tinnodu telusu kada l667nq.gif

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

Posted
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

Posted
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

Posted
25 minutes ago, Pitta said:

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

bat pakshi kadu mammal tenor.gif

Posted

use oracle analytical function rownumber() over (partition by key fields order by date desc)

and select all records where this value is 1.

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...