Chris Kay wrote:

>Query ( that gets past the anti spam )
>
>Question is......
>
>I have a select where I want to get ID 15 && id 25
>
>Can I do something like WHERE ID = 15,25
>
I don't think this will work,
In SQL you can do .... WHERE id IN (15, 25)
This IN() function doesn't seems working in MYSQL though,
Any one encounter the same problem??
Can refer to http://www.mysql.com/doc/en/ANSI_diff_Sub-selects.html

>
>
>Or do I have to do WHERE ID = 15 && ID = 25
>
>---------------------------------------------------------
>Chris Kay
>Techex Communications
>Website: www.techex.com.au Email: [EMAIL PROTECTED]
>Telephone: 1300 88 111 2 - Fax: (02) 9970 5788
>--------------------------------------------------------- 
>
>
>---------------------------------------------------------------------
>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

Reply via email to