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
Ad icon
V2ray VPN for Tunneling
hu KANNA
Updated:
Oct 22, 2026
FREE SEO Check & Google Maps Check for Sri Lankan Businesses | Web Design, Website Price Rs 14,900 |
LankaSolve
Updated:
Oct 20, 2026
ඕනම රටකට සෙට් වෙන CV එකක්
ErMurazor
Updated:
Oct 17, 2026
Hambantota
7 Acres Beachfront Land For Sell DownSouth , PerPerch Price 420 000
1024 Digital
Updated:
Oct 14, 2026
Baseus PI LITE INDOOR CAMERA
ErMurazor
Updated:
Oct 12, 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="GT9" data-source="post: 20533331" data-attributes="member: 478359"><p><span style="font-size: 15px"><span style="color: Blue">මචංලා තෑන්ක්ස් රිප්ලයි වලට. මේකයි ප්රශ්නේ මට COUNT, SUM වගේ ඇග්රිගේට් ෆන්ක්ෂන් වලට අමතරව WHERE CLAUSE පවා යූස් කරන්න වෙනව වෙන වෙනම එක් එක් SELECT එකට උදාහරණයක් විදියට.</span></span></p><p><span style="font-size: 15px"><span style="color: Blue"></span></span></p><p><span style="font-size: 15px"><span style="color: Blue">select COUNT(country) AS customer_count_ina_country1 from customers where country = srilanka;</span></span></p><p><span style="font-size: 15px"><span style="color: Blue">මේ ඒ වගේම තවත් select query එකක්. මේ හැම select එකක්ම වෙන වෙනම field විදියට එනවනම් සුපිරි.</span></span></p><p><span style="font-size: 15px"><span style="color: Blue">select COUNT(country) AS customer_count_ina_country2 from customers where country = usa;</span></span></p><p><span style="font-size: 15px"><span style="color: Blue">select COUNT(country) AS customer_count_ina_country3 from customers where country = uk;</span></span></p><p><span style="font-size: 15px"><span style="color: Blue">select COUNT(country) AS customer_count_ina_country4 from customers where country = china;</span></span></p><p><span style="font-size: 15px"><span style="color: Blue"></span></span></p><p><span style="font-size: 15px"><span style="color: Blue">GROUP BY එක්ක අපිට where එක අපිට අන්තිමේදි නේ යූස් කරන්න වෙන්නේ ඒක හරියන්නෑ වගේ. ඒත් මම හරියමට දන්නෑ. මට ඕන එක් එක් select එකට වෙන වෙනම where clause භාවිතා කරන්න. <img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /></span></span></p></blockquote><p></p>
[QUOTE="GT9, post: 20533331, member: 478359"] [SIZE="4"][COLOR="Blue"]මචංලා තෑන්ක්ස් රිප්ලයි වලට. මේකයි ප්රශ්නේ මට COUNT, SUM වගේ ඇග්රිගේට් ෆන්ක්ෂන් වලට අමතරව WHERE CLAUSE පවා යූස් කරන්න වෙනව වෙන වෙනම එක් එක් SELECT එකට උදාහරණයක් විදියට. select COUNT(country) AS customer_count_ina_country1 from customers where country = srilanka; මේ ඒ වගේම තවත් select query එකක්. මේ හැම select එකක්ම වෙන වෙනම field විදියට එනවනම් සුපිරි. select COUNT(country) AS customer_count_ina_country2 from customers where country = usa; select COUNT(country) AS customer_count_ina_country3 from customers where country = uk; select COUNT(country) AS customer_count_ina_country4 from customers where country = china; GROUP BY එක්ක අපිට where එක අපිට අන්තිමේදි නේ යූස් කරන්න වෙන්නේ ඒක හරියන්නෑ වගේ. ඒත් මම හරියමට දන්නෑ. මට ඕන එක් එක් select එකට වෙන වෙනම where clause භාවිතා කරන්න. :D[/COLOR][/SIZE] [/QUOTE]
Insert quotes…
Verification
Hata thunen beduwama keeyada? (60 bedeema thuna)
Post reply
Top
Bottom