DISTRICT and LIKE problem. HELP
Posted by:
Max Jakub
Date: February 17, 2012 12:40PM
Hi i have this Table filled with 5 rows:
numer, cena, opis, zdjecia, dzial.
I have a small searching tool, to show only information user want's to see.
BUT, i have few records, with same data, only with other 'dzial' data.
I want to show only 1 of them.
I tried to use DISTRICT, but it seems to not work.
Here's php code:
$query = "SELECT DISTRICT (numer), cena, opis, zdjecia FROM oferty WHERE
cena LIKE '%$phrase%' OR
opis LIKE '%$phrase%' OR
numer LIKE '%$phrase%'";
PLEASE HELP!
Subject
Written By
Posted
DISTRICT and LIKE problem. HELP
February 17, 2012 12:40PM
February 17, 2012 12:52PM
February 17, 2012 07:19AM
February 24, 2012 11:58PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.