Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
එක පැකේජ් එකයි මාසෙටම Unlimited Internet. තාමත් DATA CARD දාන්න සල්ලි වියදම් කරනවද? අඩුම මිලට අපෙන්.
sayuru bandara
Updated:
Tuesday at 12:30 PM
Ad icon
ඉන්ටර්නෙට් එකෙන් හරියටම සල්ලි හොයන්න සහ Success වෙන්න කැමතිද? 🚀 (E-Money & Success Stories)
siri sumana
Updated:
Saturday at 11:44 PM
Gemini AI PRO 18 months Offer
Hawaka
Updated:
May 27, 2026
Ad icon
koko account
DasunEranga
Updated:
May 27, 2026
Ad icon
koko account
DasunEranga
Updated:
May 27, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
SQL Help
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="hrm" data-source="post: 10448789" data-attributes="member: 88125"><p>machan me approach try karapan.</p><p></p><p>habay math meke output gaththe ne. gedara DB ekak install karala ne.</p><p>result set eka adjust karaganin group by clause eka one widiyata change karagene.</p><p>meka ubata nikam idea ekak ganna witharai danne mata test karaganne widiyak nethi nisa.</p><p>Oracle wala nam sysntax tikak wenas wenewa. ehema unoth DECODE function eka use karapan.</p><p></p><p>SELECT t1.id, t1.name, t1.team,</p><p> t2.month, MAX(t2.year) ,</p><p> 'OT' = case t2.type</p><p> when 'OT' then t2.type,</p><p> 'Incent'= case t2.type</p><p> when 'Incent' then t2.type</p><p>FROM Table1 t1 INNER JOIN Table2 t2</p><p>ON t1.id = t2.id</p><p>GROUP BY t1.id, t1.name,t1.team, t2.month</p></blockquote><p></p>
[QUOTE="hrm, post: 10448789, member: 88125"] machan me approach try karapan. habay math meke output gaththe ne. gedara DB ekak install karala ne. result set eka adjust karaganin group by clause eka one widiyata change karagene. meka ubata nikam idea ekak ganna witharai danne mata test karaganne widiyak nethi nisa. Oracle wala nam sysntax tikak wenas wenewa. ehema unoth DECODE function eka use karapan. SELECT t1.id, t1.name, t1.team, t2.month, MAX(t2.year) , 'OT' = case t2.type when 'OT' then t2.type, 'Incent'= case t2.type when 'Incent' then t2.type FROM Table1 t1 INNER JOIN Table2 t2 ON t1.id = t2.id GROUP BY t1.id, t1.name,t1.team, t2.month [/QUOTE]
Insert quotes…
Verification
Haya warak paha keeyada? (haya wadi kireema paha)
Post reply
Top
Bottom