Jump to content

Search the Community

Showing results for tags 'order by join table multiple'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 1 result

  1. Hello guys i have some stuck about multiple join and multiple order by . here i cut all field to make you understand what i feel CREATE TABLE IF NOT EXISTS `li_product_post` ( `id_product_post` int(11) NOT NULL, `id_user` int(11) NOT NULL, `product_akurat` int(11) NOT NULL, `product_tidak_akurat` int(11) NOT NULL) ENGINE=InnoDB DEFAULT CHARSET=latin1;INSERT INTO `li_product_post` (`id_product_post`, `id_user`, `product_akurat`, `product_tidak_akurat`) VALUES(1, 32, 5, 4),(2, 28, 1, 0),(3, 27, 0, 1),(4, 27, 2, 0),(5, 27, 0, 0); i need to select data from that table which is priority Order by id_product_post desc product_akurat desc product_tidak_akurat desc group by id_user so here is i make demo please see, the worng things i need to put id_product_post 5 in the first place not id_product_post 3 cause order by id_product_post desc the first priority, hope you guys help me !Thanks in advance
×
×
  • Create New...