MySQL Forums
Forum List  »  InnoDB

select distinct from longtext
Posted by: Thiebo Cremers
Date: November 04, 2005 04:47AM

Hello,

In my table, I have data stored in a collumn as longtext.

I would like to select each word of the longtext fields, something like :

SELECT DISCTINCT (each word ???) FROM LongTextField WHERE (word begins with lettre a), ORDER BY (alphabetical order) \G;

Returning a very long list of each word separately allowing me to accomplish a second request which would be :

SELECT * FROM mytable WHERE LongTextField LIKE '%wordbeginingwithlettrea%' ;

I hope my question is clear and that someone can help me with this.

Thanks !

Options: ReplyQuote


Subject
Views
Written By
Posted
select distinct from longtext
4064
November 04, 2005 04:47AM
2105
November 04, 2005 09:47AM


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.