+ Reply to Thread
Results 1 to 3 of 3

SQL - using LIKE to match two tables

  1. #1
    Registered User
    Join Date
    03-13-2012
    Location
    Stafford, England
    MS-Off Ver
    Excel 2007
    Posts
    87

    SQL - using LIKE to match two tables

    Good afternoon,

    I'm not sure if I am going about this in the correct way and I hope that someone can point me in the right direction.

    I am looking for Duplicate products in our Stock database as sometimes codes get opened when there is already a code available.

    For this exercise we have a stock code, description and three different supplier codes from three different suppliers. I created a table with Stock Code (FSWCODE) and all the rest merged into one (Search)

    I'm just not sure if I have the syntax correct or if doing it this way is even the best way

    My Idea is to list all the stock details from the original STStockDetails table and then search for each supplier code within the AGSup table and then return the matching Stock code.

    Below is the syntax I am trying to use, but will not work.


    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    12-15-2011
    Location
    Washington
    MS-Off Ver
    Excel 2013
    Posts
    39

    Re: SQL - using LIKE to match two tables

    If you're looking for duplicate supplier codes of a product number just do
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    12-15-2011
    Location
    Washington
    MS-Off Ver
    Excel 2013
    Posts
    39

    Re: SQL - using LIKE to match two tables

    If you're looking for duplicate supplier codes of a product number just do
    Please Login or Register  to view this content.

+ 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. Index Match Match Formula DOESN'T WORK WITH TABLES/TABLE NAMES ??
    By Underling in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-04-2014, 09:01 PM
  2. Finding best match across tables
    By SteinerKD in forum Access Tables & Databases
    Replies: 1
    Last Post: 02-24-2013, 08:18 AM
  3. Match fields between two tables
    By amiem in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-08-2013, 03:47 PM
  4. [SOLVED] Using Multiple MATCH Tables on 1 spreadsheet
    By joebell in forum Excel General
    Replies: 10
    Last Post: 10-28-2012, 06:00 PM
  5. match values between tables
    By erock24 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-15-2010, 12:25 PM

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