Date: 11/15/00
- Next message: Jason Murray: "RE: [PHP] MySQL SELECT question"
- Previous message: Bravo, David (CORP, MTC): "RE: [PHP] workdays - CODE"
- In reply to: Chris Lee: "[PHP] LEFT JOIN problems"
- Next in thread: Jason Murray: "RE: [PHP] MySQL SELECT question"
- Maybe reply: Jason Murray: "RE: [PHP] MySQL SELECT question"
- Reply: John LYC: "Re: [PHP] MySQL SELECT question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Since I couldn't seem to uncover a decent example...
Can I use multiple where clauses in a select statement?
i.e.
SELECT FROM table WHERE this = 'that'AND thishere = 'thatthere'
And another question...
I have a date field in my table
Is it possible to match, for example, only the month?
i.e.
SELECT * FROM table WHERE FORMAT_DATE( DATE, %m ) = '<value from 1-12 here>'
Thanks
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jason Murray: "RE: [PHP] MySQL SELECT question"
- Previous message: Bravo, David (CORP, MTC): "RE: [PHP] workdays - CODE"
- In reply to: Chris Lee: "[PHP] LEFT JOIN problems"
- Next in thread: Jason Murray: "RE: [PHP] MySQL SELECT question"
- Maybe reply: Jason Murray: "RE: [PHP] MySQL SELECT question"
- Reply: John LYC: "Re: [PHP] MySQL SELECT question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

