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
Education
ElaKiri Programmer's Club
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="MihiCherub" data-source="post: 21502281" data-attributes="member: 238676"><p><span style="font-size: 12px">MYSQL</span></p><p><span style="font-size: 12px">මචන්ල මට මෙන්න මේකට හොද විසදුමක් දියල්ලකො..</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">මගේ MYSQL DB එකෙන් data load කරගන්න ඕනෙ combobox එකකට. Products කියල table එකක් තියෙනව. මේ table එකෙ තියෙන main category and sub category වල distinct values load කරගන්න ඕනෙ. </span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">තව warehouse කියල table එකක warehouse names ටික තියෙනව මේ names ටිකත් combobox එකකට load කරගන්න ඕනෙ. මේ ඔක්කොම තනි query එකකින් කරගන්න පුලුවන්ද?</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">දැනට කරන්නෙ query 3ක් යවල.</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">[CODE]SELECT DISTINCT main_cat FROM products ORDER BY main_cat</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">SELECT DISTINCT sub_cat FROM products ORDER BY sub_cat</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">SELECT DISTINCT wh_name FROM warehouse ORDER BY wh_name[/CODE]</span></p></blockquote><p></p>
[QUOTE="MihiCherub, post: 21502281, member: 238676"] [SIZE=3]MYSQL මචන්ල මට මෙන්න මේකට හොද විසදුමක් දියල්ලකො.. මගේ MYSQL DB එකෙන් data load කරගන්න ඕනෙ combobox එකකට. Products කියල table එකක් තියෙනව. මේ table එකෙ තියෙන main category and sub category වල distinct values load කරගන්න ඕනෙ. තව warehouse කියල table එකක warehouse names ටික තියෙනව මේ names ටිකත් combobox එකකට load කරගන්න ඕනෙ. මේ ඔක්කොම තනි query එකකින් කරගන්න පුලුවන්ද? දැනට කරන්නෙ query 3ක් යවල. [CODE]SELECT DISTINCT main_cat FROM products ORDER BY main_cat SELECT DISTINCT sub_cat FROM products ORDER BY sub_cat SELECT DISTINCT wh_name FROM warehouse ORDER BY wh_name[/CODE][/SIZE] [/QUOTE]
Insert quotes…
Verification
Asuwa dahayen wadi kalama keeyada?
Post reply
Top
Bottom