SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru
    Join Date
    Oct 2011
    Posts
    658
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help in using LIKE

    Hi..


    I have 2 tables with Cloth column.

    sales_order table
    Cloth -column

    sample data of Cloth

    3392
    3520
    3392 Yellow/White
    3392 BLUE
    3392 RED
    3392 Orange

    cloth_parameter - table
    Cloth -column

    sample Cloth
    3392N
    3520
    3392Yellow/White
    3392 Blue
    3392 Red
    3392Orange

    How can I equal the two data eventhough the format of data has difference using like.

    Thank you

  2. #2
    From Italy with love silver trophybronze trophy
    guido2004's Avatar
    Join Date
    Sep 2004
    Posts
    9,496
    Mentioned
    163 Post(s)
    Tagged
    4 Thread(s)
    I guess I shouldn't aks, but... why are you having different cloth ids in the orders table and the cloths table?

  3. #3
    SitePoint Guru
    Join Date
    Oct 2011
    Posts
    658
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    its not cloth id..

    it cloth type

    Thank you


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
  •