This brings up another question to my mind. What if I only want to show the first 10 records and then the next 10 from that query? How do I do that?
-----Original Message----- From: Charles Brisson [mailto:[EMAIL PROTECTED]] Sent: den 19 april 2002 09:52 To: [EMAIL PROTECTED] Subject: Re: SELECT the first letter MATCH in mySQL Importance: High This works on MsSQL: "SELECT lyric_title FROM lyrics WHERE LEFT(lyric_title,1)='A'" > I want to select all the records, which have the first letter matched > the letter 'A'. > > $SQL_get_lyrics = "SELECT lyric_title FROM lyrics WHERE lyric_title > LIKE \'A%\'"; > > Some how this statement given me other record, which has the letter A > inside, too like: "Know A Word" and other other unexpected records > > > > Son Nguyen > > __________________________________________________ > Do You Yahoo!? > Yahoo! Tax Center - online filing with TurboTax > http://taxes.yahoo.com/ > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------- Charles Brisson System Developer Phone: +46-(0)709-61 44 03 Fax: +46-(0)709-63 64 03 www.doberman.se --------------------------------------------------------------- --------------------------------------------------------------------- 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