MySQL Forums
Forum List  »  MySQL Query Browser

Search Query
Posted by: srikanth duddela
Date: September 07, 2011 09:39AM

Hello all,

I have a problem in building the query for search.

I have a table which contains a column X stores numerous values in each respective cell of a row.

For e.g.

rows Column X
1 120;132;143;154;165
2 122;134;543;566;

What I want to do is to make a query which search with a given range and return the rows which falls into the search

For e.g.

If I want to get the rows which contains values between 120 and 136 then it should return rows 1 and 2.

The datatype for Column X is varchar since each cell has to store numerous integers.


Please help me to get over this.


thanks

Options: ReplyQuote


Subject
Written By
Posted
Search Query
September 07, 2011 09:39AM


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.