Results 1 to 2 of 2
  1. #1
    SigmaBlu is offline Novice
    Windows Vista Access 2007
    Join Date
    Oct 2009
    Posts
    2

    HELP NOOB! Easy question

    Which city/state offers the most products?

    Close but no cigar......
    SELECT Max(PROD.Volume) AS CITY_STATE_MAX_VOL, MNF.STATE
    FROM MNF INNER JOIN PROD ON MNF.Brand = PROD.Brand
    GROUP BY MNF.STATE;


    wtf im i doing wrong
    please help. and tell me why my logic didnt have the correct result.


    PRODBrandTypeCostVolumeAnheuser-BuschBeer$17.50360BeringerWine$7.9945CokeSoda$4.29144CoorsBeer$16.50360E_J_GalloCooler$15.0070E_J_GalloWine$9.99128EverclearGrain$29.9964Jack_DanielsWhiskey$17.9955Jim_BeanWhiskey$19.9950MillerBeer$19.00360PepsiSoda$3.99144PepsiWater$3.49240




    MNFBrandCityStateAnheuser-BushSt_LouisMOBeringerSt_HelenaCACokeAtlantaGACoorsDenverCOE_J_GalloNapaCAEverclearSt_LouisMOJack_DanielsLynchburgKYJim_BeanBostonTNMillerMilwaukeeWIPepsiPurchaseNY


    BEVTypeProofCarbonatedBeer20YCooler25YGrain190NSoda0YWater0NWhiskey80NWine30N

  2. #2
    SigmaBlu is offline Novice
    Windows Vista Access 2007
    Join Date
    Oct 2009
    Posts
    2

    noob needs help!

    lets try this again
    Which city and states offer the most products?

    my answer:

    SELECT Max(PROD.Volume) AS CITY_STATE_MAX_VOL, MNF.STATE
    FROM MNF INNER JOIN PROD ON MNF.Brand = PROD.Brand
    GROUP BY MNF.STATE;











    Code:
    PRODBrandTypeCostVolumeAnheuser-BuschBeer$17.50360BeringerWine$7.9945CokeSoda$4.29144CoorsBeer$16.50360E_J_GalloCooler$15.0070E_J_GalloWine$9.99128EverclearGrain$29.9964Jack_DanielsWhiskey$17.9955Jim_BeanWhiskey$19.9950MillerBeer$19.00360PepsiSoda$3.99144PepsiWater$3.49240




    Code:
    MNFBrandCityStateAnheuser-BushSt_LouisMOBeringerSt_HelenaCACokeAtlantaGACoorsDenverCOE_J_GalloNapaCAEverclearSt_LouisMOJack_DanielsLynchburgKYJim_BeanBostonTNMillerMilwaukeeWIPepsiPurchaseNY
    Code:
     
     
    BEVTypeProofCarbonatedBeer20YCooler25YGrain190NSoda0YWater0NWhiskey80NWine30N

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Complete, noob help with where to start?
    By tragik in forum Queries
    Replies: 2
    Last Post: 06-29-2009, 09:20 AM
  2. Noob Query Help Needed
    By fenster89411 in forum Queries
    Replies: 0
    Last Post: 01-11-2009, 09:47 AM
  3. Easy question...so why can't I figure it out?
    By bdrago527 in forum Access
    Replies: 1
    Last Post: 10-02-2008, 02:40 PM
  4. noob prob, generating next report
    By flash319 in forum Reports
    Replies: 2
    Last Post: 08-04-2008, 03:10 PM
  5. easy checkbox question
    By nelsok in forum Forms
    Replies: 1
    Last Post: 06-09-2006, 05:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums