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
Power Lifting Lever Belt
SkullVamp
Updated:
Jun 13, 2026
Ad icon
port.lk Domain for sale
Lankan-Tech
Updated:
Jun 13, 2026
Colombo
Kaduwela - Two Storey House for Sale
dilrasan
Updated:
Jun 11, 2026
Ad icon
Wechat qr verification
Pawan2005
Updated:
Jun 11, 2026
🚀 GOOGLE AI PRO 18 MONTHS ACTIVATION 🚀
sayuru bandara
Updated:
Jun 10, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
MYSQL Query 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="MihiCherub" data-source="post: 21502474" 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: 21502474, 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
Awruddata maasa keeyada?
Post reply
Top
Bottom