Results 1 to 1 of 1
  1. #1
    Khatuaaccess is offline Novice
    Windows 7 32bit Access 2016
    Join Date
    Jul 2016
    Posts
    13

    Query for row level comparison

    Hi




    i have three tables. please refer the attachment.


    I want 3 queries which will give me the data for all employees with a status as below based on the monthly changes


    Query1 - for all customers where there is a Upgrade or downgrade based on column Plan and month (with current month and last month plan).
    Query2 - for all customers where there is a increment of rental based on Rental column (with current month and last month rental)
    Query3 - for all customers where there is a both Upgrade/downgrade and rental increment ((with current plan, rental and last month plan and rental)




    if the plan is getting changed in upward direction as per table 2 and 3 then its upgrade and viceversa.
    simillary if the plan is getting changed from table 2 to table 3 then its a upgrade.








    thanks in advance
    Attached Files Attached Files

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

Similar Threads

  1. Linking Tables at the Table Level Vs. the Query Level
    By Tammy in forum Database Design
    Replies: 3
    Last Post: 12-03-2014, 01:34 PM
  2. data comparison query help
    By aselm01 in forum Queries
    Replies: 10
    Last Post: 09-12-2013, 03:29 PM
  3. Comparison Query
    By mkc80 in forum Queries
    Replies: 3
    Last Post: 08-15-2012, 01:48 PM
  4. Comparison Query
    By mkc80 in forum Access
    Replies: 3
    Last Post: 08-11-2012, 04:50 PM
  5. Help: Comparison query to find non-matches
    By 14erclimber in forum Queries
    Replies: 6
    Last Post: 06-09-2010, 09:29 AM

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