Answer the question
In order to leave comments, you need to log in
How to understand how sql query works?
SELECT `group_id` FROM `vkgroups` WHERE `group_id`
IN (SELECT * FROM (SELECT `group_id` FROM `vkmembers` ORDER BY `members` DESC LIMIT 0,20) temp_tab)
Answer the question
In order to leave comments, you need to log in
Requests are cached
mysql> show variables like 'query_cache%';
+------------------------------+----------+
| Variable_name | Value |
+------------------------------+----------+
| query_cache_limit | 10485760 |
| query_cache_min_res_unit | 4096 |
| query_cache_size | 52428800 |
| query_cache_type | ON |
| query_cache_wlock_invalidate | OFF |
+------------------------------+----------+
5 rows in set (0.20 sec)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question