Getting Started with Database Novices

#Find the data with the maximum value of a field in a table
#For example, to find a line with the maximum value of version, use the max function
select * from blog_info where version=(select max(version) from blog_info);

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325748757&siteId=291194637