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
ZTE MF283U 4G Unlocked Router (Used)
ayanthamaxi
Updated:
Sunday at 8:26 PM
ලංකාවේ හොඳම උපකාරක පන්ති සහ ගුරුවරුන් එකම තැනකින් - TopTuition.lk
dulithapathum
Updated:
Saturday at 8:07 AM
Colombo
RidhMathraa ’26 🎶✨
Tmadhusanka
Updated:
Jul 15, 2026
Ad icon
Colombo
PXN V10 Pro Direct Drive Racing Wheel (Under Warranty)
Abdur Rahman
Updated:
Jul 15, 2026
Ad icon
USDT ණය සේවාව - USDT Loan Service
පුරවැසියා
Updated:
Jul 15, 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
Hathara warak wissa keeyada? (Hathara wadi karanna 20)
Post reply
Top
Bottom