Re: column1 like column2%

2002-02-20 Thread Richard



mysql,query


Hi , is there any way of performing something like the below statement?

select * from table1,table2 where table1.column1 like table2.column2

thanks in advance

Rich


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: column1 like column2%

2002-02-20 Thread Anvar Hussain K.M.

Hi,

Try this:
select * from table1,table2 where table1.column1 like 
concat(table2.column2,'%');

Anvar.

At 04:57 PM 20/02/2002 +, you wrote:


mysql,query


Hi , is there any way of performing something like the below statement?

select * from table1,table2 where table1.column1 like table2.column2

thanks in advance

Rich


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail 
[EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php