Database-mysql obtains the maximum value among multiple strings.

Source: Internet
Author: User
For example, the data YJV-3 * 50 + 1*25 to take the maximum value 50JKLGYJ-1-12020 to take the maximum value 120YJV-4*70 + 1*35 to take the maximum value 70 using the database built-in functions or their own function or other methods to achieve can hope you can more help for mysql databases

Such as data
YJV-3 * 50 + 1*25 max 50
JKLGYJ-1-120/20 max 120
YJV-4 * 70 + 1*35 max 70
You can use database built-in functions or self-built functions or other methods to achieve this.
Hope you can help me a lot.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.