23.08.2014, 14:31
I take it that your 'query' here is an sql query, so here goes: the part that can be faster depends on a few things:
1. Your database structure. If you select things by ID or an index everything will be faster than doing a select on a fulltext or a LIKE.
2. The things you fetch from the database. If you select every field and then don't use it, why do you select every field? Only select the stuff you need.
1. Your database structure. If you select things by ID or an index everything will be faster than doing a select on a fulltext or a LIKE.
2. The things you fetch from the database. If you select every field and then don't use it, why do you select every field? Only select the stuff you need.

