Your MySQL version 10.5.0-MariaDB is EOL software! Upgrade soon!memory available [OK] Highest usage of available connections: 5% (8/Temporary tables created on disk: 81% (15K on disk / 18K total)
[OK] Thread cache hit rate:
在MySQL中,当使用In操作符时,我们可以要求MySQL以与IN集相同的顺序返回结果集(记录集)吗?说明:假设我们有一个表items (item_id, item_name);select * from items where item_id in (1,3,5,7,2,4,6,8);事实并非如此;MySQL似乎优化了搜索,并给出了默认顺序(与文件系统中存储的记录顺序相同)。