MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:January 15 2003 4:48pm
Subject:Re: select a range
View as plain text  
At 14:11 +0100 1/15/03, bruno peracchio wrote:
>I'm newbie
>I have to find from xvalue to yvalue; I have written:
>$query="SELECT * FROM inner-multipli
>WHERE cod_int
>LIKE =>'%$cod_int1%'
>AND cod_int
>LIKE <='%$cod_int2'=;
>This not work; how can I do?

Hard to say.  Even if that syntax was legal, the logic doesn't
make sense.  What does it mean to be "greater than" or "less than"
a pattern that has a "match-anything" wildcard at the beginning.
That completely negates any possible meaning of comparative ordering,
doesn't it?

>Thanks in advance

sql, query
select a rangebruno peracchio15 Jan
  • Re: select a rangedunk fordyce15 Jan
  • Re: select a rangePaul DuBois15 Jan