分享至
朋友圈
微信
qq空间
qq
微博
复制
mysql> select count(*) from test where id <= (select id from test where id=16); +----------+ | count(*) | +----------+ | 1 | +----------+ 1 row in set (0.00 sec)