simplify query?

2003-07-01 Thread Reto Baudenbacher
hi Sorry for this newbie-question: is it possible to simplifiy the following (working) query? SELECT * FROM mytable WHERE ((col1 LIKE '%test%') OR (col2 LIKE '%test%') OR (col3 LIKE 'test%')) AND (col5 = 'y' OR col6 = 'y' OR col7 = 'y') ORDER BY col1 Thanks for any suggestions! Reto

SELECT * FROM different columns

2003-02-19 Thread Reto Baudenbacher
newbie-question, sorry... is it possible to write this (working) query in a shorter form: SELECT * FROM $table WHERE (col1 LIKE '%$term%') OR (col2 LIKE '%$term%') OR (col3 LIKE '%$term%') thanks for your help! Reto Baudenbacher

RE: Want some help for WindowsXP

2002-05-04 Thread Reto Baudenbacher
I want to know what is the stable version of MySQL in XP. That's 3.23.49, and you can download it here ('Windows downloads'): http://www.mysql.com/downloads/mysql-3.23.html Greetings Reto Baudenbacher - Before posting