Results 1 to 15 of 15

sql left function

Threaded View

  1. #1
    Forum Contributor
    Join Date
    11-11-2011
    Location
    London, England
    MS-Off Ver
    EXCEL 2013
    Posts
    324

    sql left function

    Hi guys and girls

    I am new to this particular forum so please be gentle
    I need a logic to say whats the postcode in query1, and return the rm in query 2

    however i if the rm_sales_band is between 2m-4m, ignore the postcode logic and apply the name TEST,

    If the value is 4m+ then apply the postcode logic

    Within query 2, pca there can either be 1character or two.

    Eg pca

    AB = Aberdeen
    B = Birmingham


    please find attached two screen prints
    Query
    query2

    lookign forward to your help
    Attached Images Attached Images
    Last edited by masond3; 08-02-2012 at 10:00 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1