📜  我想在mysql代码示例中选择最高值的行

📅  最后修改于: 2022-03-11 15:04:58.780000             🧑  作者: Mango

代码示例1
select yt.id, yt.rev, yt.contents
    from YourTable yt
    where rev = 
        (select max(rev) from YourTable st where yt.id=st.id)