Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我通过 PHP 运行了下面的 MySQL 查询,但它没有执行——返回 colume1=MAX(colume1)不正确
colume1=MAX(colume1)
以下查询有什么问题
select colume from table_name where colume1=MAX(colume1);
SELECT colume FROM table_name WHERE colume1 = (SELECT MAX(colume1) FROM table_name);
SELECT `colume`, MAX(column1) as column1 FROM table_name