|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9110 SELECT DISTINCT broken
Submitted: 2001-02-05 09:03 UTC Modified: 2001-02-05 09:05 UTC
From: karel at narfum dot org Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 4.0.3pl1 OS: Linux 2.2.x
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: karel at narfum dot org
New email:
PHP Version: OS:


 [2001-02-05 09:03 UTC] karel at narfum dot org
A simple query as this one complety ignores the DISTINCT statement:

"SELECT DISTINCT opponent,opponent_url FROM wars WHERE (opponent_url <> '' AND opponent_url <> 'http://' ) AND played='1' ORDER BY opponent,opponent_url"

I've searched this site and for solutions for it, but showed nothing and google had only more people reporting the same problem. I searched the bug database and didn't fin anything matching 'DISTINCT'. So this is my bugreport.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-05 09:05 UTC]
This has nothing to do with PHP, take a look at the MySQL documentation
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Dec 07 11:01:27 2023 UTC