Treehouse: Grow your CSS skills. Land your dream job.

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.