select id, shortdescription, title from reviews where title REGEXP '^[0-9&#$].*' ORDER BY title ASC
-----Original Message----- From: Jay Paulson [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 6:32 PM To: [EMAIL PROTECTED] Subject: easy query question I want to do a query that will find all the titles I have in my db that start with numbers and ambigious characters (i.e. 0-9, &, #, $ etc...). My query is below, however I don't know what to change the "a" too in order for it to return what I just described. select id, shortdescription, title from reviews where title LIKE UPPER(\"a%\") ORDER BY title ASC Thanks for any help. --------------------------------------------------------------------- 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