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 Help
SQL SEVER
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="DJvodka" data-source="post: 13046959" data-attributes="member: 186185"><p>I don't think we are in the same page here. I’m not talking about the client end. Let’s say you have employee, project and department tables in your DB. Departments and Employees are assigned to projects. You want to get number of projects, completed by each employee. The only way to achieve this is to use a join. But lets say you have another column called project count, in the employee table which get incremented by 1 whenever a project get completed, using a trigger, of course. Now you can directly query the new column, without joining and you can yield results more efficiently. So no extra join algorithms needed to perform, just pulling the stuff from the base table. Please note that I’m not a DB savvy or anything.<img src="/styles/default/xenforo/smilies/default/happy.gif" class="smilie" loading="lazy" alt=":)" title="Happy :)" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="DJvodka, post: 13046959, member: 186185"] I don't think we are in the same page here. I’m not talking about the client end. Let’s say you have employee, project and department tables in your DB. Departments and Employees are assigned to projects. You want to get number of projects, completed by each employee. The only way to achieve this is to use a join. But lets say you have another column called project count, in the employee table which get incremented by 1 whenever a project get completed, using a trigger, of course. Now you can directly query the new column, without joining and you can yield results more efficiently. So no extra join algorithms needed to perform, just pulling the stuff from the base table. Please note that I’m not a DB savvy or anything.:) [/QUOTE]
Insert quotes…
Verification
Hata thunen beduwama keeyada? (60 bedeema thuna)
Post reply
Top
Bottom