Results 1 to 3 of 3

Thread: select

  1. #1
    Join Date
    Jun 2009
    Posts
    1

    Unanswered: select

    i write "select * from specify_date where month='may' && year='2009';" But it does not work properly.

  2. #2
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Cool Sql 101

    Quote Originally Posted by rajib014
    i write "select * from specify_date where month='may' && year='2009';" But it does not work properly.
    Maybe because the syntax is incorrect.
    For correct syntax, check out the fine Oracle® Database SQL Reference.
    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

  3. #3
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    your problem is the "&&" which works only in mysql

    you will have to unlearn all the proprietary mysql-only crap, and learn standard SQL instead

    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •