Jump to content

Recommended Posts

i have a mysql table column storing purely figures:

eg. number

            1

            3

            5

            6

            2

 

How can you get the biggest number? so what I want the output to be is "6" since is the biggest number in all of the rows.

Thanks

Ted

Link to comment
https://forums.phpfreaks.com/topic/37888-how-to-get-the-biggest-number/
Share on other sites

... however, it doesnt seem to work with DATE formats

 

Ted - ask your real question the first time rather than asking a question about numbers. It'll get you to your answer faster and save people's time offering solutions to the problem that you don't actually have.  If you store dates in ISO format (yyyy-mm-dd) you will be able to sort them easily.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.