+ Reply to Thread
Results 1 to 22 of 22

Query

  1. #1
    Forum Contributor
    Join Date
    07-18-2019
    Location
    iran
    MS-Off Ver
    2016
    Posts
    123

    Query

    Hi
    I Have a Tble in Access , I want to show only Alis and Ebra in the query (only Ebra and Alis)
    Thanks
    I put a sample file
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,669

    Re: Query

    Here is your SQL statement

    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    07-18-2019
    Location
    iran
    MS-Off Ver
    2016
    Posts
    123

    Re: Query

    THANK
    If I want WORK to show equals, that is, ID one and three ONLY(CRITERA EQUAL WORK)
    Attached Files Attached Files
    Last edited by AliGW; 07-24-2024 at 02:05 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead.

  4. #4
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,868

    Re: Query

    Perhaps,

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    07-18-2019
    Location
    iran
    MS-Off Ver
    2016
    Posts
    123

    Re: Query

    no. i want equal criteria in field show me. There are many rows
    Last edited by AliGW; 08-06-2024 at 02:35 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead.

  6. #6
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,551

    Re: Query

    Maybe this

    Please Login or Register  to view this content.
    Or

    Please Login or Register  to view this content.
    Or

    Please Login or Register  to view this content.
    Last edited by mike7952; 07-24-2024 at 10:25 AM.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  7. #7
    Forum Contributor
    Join Date
    07-18-2019
    Location
    iran
    MS-Off Ver
    2016
    Posts
    123

    Re: Query

    for creteria 1 , code is ok , but i want to show work equal. then creteria 2 for work equal.what is code for that?
    thank
    <I WANT SHOW ME RESULT QUERY all LastName that: 1.(FIRST NAME IS ALIS OR EBRA) 2.(WorkCode IS EQUAL). RESULT=3 ROW WITH ID 1,6,7>
    Attached Files Attached Files
    Last edited by AliGW; 08-06-2024 at 02:35 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead.

  8. #8
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,551

    Re: Query

    Work equal to what? your database doesnt have a work field?

  9. #9
    Forum Contributor
    Join Date
    07-18-2019
    Location
    iran
    MS-Off Ver
    2016
    Posts
    123

    Re: Query

    Quote Originally Posted by mike7952 View Post
    work equal to what? Your database doesnt have a work field?
    added in attachment file

  10. #10
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,551

    Re: Query

    You don't even have 7 records in your database. Maybe someone else can help you

  11. #11
    Forum Contributor
    Join Date
    07-18-2019
    Location
    iran
    MS-Off Ver
    2016
    Posts
    123

    Re: Query

    Quote Originally Posted by mike7952 View Post
    You don't even have 7 records in your database. Maybe someone else can help you
    I WANT SHOW ME RESULT QUERY all LastName that: 1.(FIRST NAME IS ALIS OR EBRA) 2.(WorkCode IS EQUAL). RESULT=3 ROW WITH ID 1,6,7
    in workCode field data is equal togheder to show
    Attached Files Attached Files

  12. #12
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,868

    Re: Query

    Try this,
    Please Login or Register  to view this content.

  13. #13
    Forum Contributor
    Join Date
    07-18-2019
    Location
    iran
    MS-Off Ver
    2016
    Posts
    123

    Re: Query

    ok .this codr is true and show result,
    I UPLOAD FILE
    I want RESULT TO SAME EXEL RESUL IN query
    Line NumberS that have 1. Support NO start by "S48, S52S",2.HAVE equal joint
    Attached Files Attached Files
    Last edited by AliGW; 08-06-2024 at 02:36 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead.

  14. #14
    Forum Contributor
    Join Date
    07-18-2019
    Location
    iran
    MS-Off Ver
    2016
    Posts
    123

    Re: Query

    Hi
    Can Someone Answer This Subject?

  15. #15
    Forum Contributor
    Join Date
    07-18-2019
    Location
    iran
    MS-Off Ver
    2016
    Posts
    123

    Re: Query

    Quote Originally Posted by habib100 View Post
    ok .this codr is true and show result,
    I UPLOAD FILE
    I want RESULT TO SAME EXEL RESUL IN query
    Line NumberS that have 1. Support NO start by "S48, S52S",2.HAVE equal joint
    Hi
    Can Someone Answer This Subject?

  16. #16
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,181

    Re: Query

    Why? You have marked it as SOLVED. Please remove the tag if you want help.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  17. #17
    Forum Contributor
    Join Date
    07-18-2019
    Location
    iran
    MS-Off Ver
    2016
    Posts
    123

    Re: Query

    Quote Originally Posted by AliGW View Post
    Why? You have marked it as SOLVED. Please remove the tag if you want help.
    ok. I do
    thanks

  18. #18
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,181

    Re: Query

    Thanks.

  19. #19
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,868

    Re: Query

    Your data is a bit confusing.Maybe, you can try this.

    Please Login or Register  to view this content.

  20. #20
    Forum Contributor
    Join Date
    07-18-2019
    Location
    iran
    MS-Off Ver
    2016
    Posts
    123

    Re: Query

    ok it is true

    very thanks
    Last edited by AliGW; 08-06-2024 at 02:34 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead.

  21. #21
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,868

    Re: Query

    You are welcome.
    -----------------------------------
    If that takes care of your original question, please click on "Thread Tools" from the menu link above and mark this thread as SOLVED.

  22. #22
    Forum Contributor
    Join Date
    07-18-2019
    Location
    iran
    MS-Off Ver
    2016
    Posts
    123

    Re: Query

    ok

    Of course
    Last edited by AliGW; 08-06-2024 at 02:35 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Power Query Experts Add file picker and pass data to the query issue
    By Belinea2010 in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 07-29-2024, 04:04 AM
  2. [SOLVED] Power Query: Merge Query using Reference Query
    By barrywhitelaw in forum Excel General
    Replies: 9
    Last Post: 03-06-2024, 09:59 AM
  3. Replies: 3
    Last Post: 03-01-2024, 03:59 AM
  4. [SOLVED] Power Query: Add a new query to an existing Query that already has multiple queries
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-06-2023, 04:33 PM
  5. Excel Power Query Refresh or Access Query - 2nd Query Run is faster
    By Steveapa in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-03-2020, 10:16 AM
  6. Replies: 1
    Last Post: 09-08-2015, 08:12 PM
  7. Web Query - Change a word in query to form a new query
    By scottymelloty in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2011, 04:13 AM

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