December 22, 2010 at 3:39 pm
I am struck with logics can any one guide me
i am having a table called score card it has 2 columns one is balls and other one is runs
balls Runs
12
22
34
46
56
66
i need to get at what ball the sum of runs got 10
December 22, 2010 at 4:36 pm
sounds like homework...
There are three choices:
a triangular self join,
a recursive CTE, or
a "quirky update" approach.
If it's homework, go for the first. If it's performance critical and there are people around knowing what they do, go for quirky update. Otherwise, use recursive CTE. 😉
December 23, 2010 at 12:58 pm
This is a interview question in a company named kadambha technologies
December 23, 2010 at 1:09 pm
If it's an interview question, try to answer it by yourself and do some research on it.
Post your answer and see what others think about it.
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply