Think about Loose Coupling | |
PerlMonks |
Re: DBD::Sqlite queries slow - and gives wrong resultsby NetWallah (Canon) |
on Dec 11, 2017 at 21:47 UTC ( [id://1205306]=note: print w/replies, xml ) | Need Help?? |
Assuming you have fewer GROUPS than EMPLOYEES, and/or the GROUPS table is indexed by NAME, you could get a slightly faster query by reversing the order of the tables:
FYI - this recommendation is confirmed from https://sql-tuning.com/ All power corrupts, but we need electricity.
In Section
Seekers of Perl Wisdom
|
|