Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2010
    Posts
    5

    Unanswered: Access SQL method

    I can't get this to work for the love of god. It needs to work in Access 2007.


    Code:
    SELECT packid, packname
      FROM package
     WHERE packcost > (SELECT MAX packcost FROM package WHERE packtype=’Database’ GROUP BY packtype)
    Can you help me convert it. Thanks.
    Last edited by smalvarez; 10-25-10 at 21:04.

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    Code:
    SELECT packid
         , packname
      FROM package
     WHERE packcost > 
           ( SELECT MAX(packcost) 
              FROM package 
             WHERE packtype= 'Database' )
    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
  •