All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

mysql – select users with max(field) and min(field)

  • # January 1, 2013 at 6:10 am

    I have table (results) with theses fields

    i want select users which have max(true) and min(false)

    for example , if 2 users have the following
    x-> true(20) , false(10)
    y – > true(15) , false(2)

    i want choose the y first as it’s percentage is high

    i mean making percentage between true , false

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed