Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2004
    Posts
    104
    Plugin Contributions
    0

    Default How would I do this with an sql query?

    I basically need the data in the products description table but I want the corresponding category ID in this output also.





    I am trying to use the product name, product description and product short description to pull the relevant keywords from so I can use it to populate meta_tags_categories_description.

    I will then either insert the meta information through phpmyadmin, or insert it via an sql statement if anyone can tell me how I might be able to do that.

    I tried learning sql today, but I think it would take days or weeks or? to fiqure out what should be a couple of simple statements.

    If anyone could help that would really be great. I have a lot of linked products, if that makes a difference.






    This is unrelated (but I will share) to find and replace things in phpmyadmin you can use the following statement and replace the relevant tables and fields.
    Backup your database first!! I can see how powerful sql is from the hours this saves. That is why I am trying to figure out how to get what I need it the above question.

    UPDATE tablename SET tablefield = replace(tablefield,"findstring","replacestring");

    I would quote where I found this, but it might not be acceptable to do so in the forum??


    Thanks for any help.

  2. #2
    Join Date
    Sep 2006
    Posts
    101
    Plugin Contributions
    0

    Default Re: How would I do this with an sql query?

    You're looking for JOIN commands.
    Personalized candy favors and gifts: http://www.westcoastfavors.com

    The Sea Crew: http://www.theseacrew.com/shop/

  3. #3
    Join Date
    Dec 2004
    Posts
    104
    Plugin Contributions
    0

    Default Re: How would I do this with an sql query?

    Is there any way you could give an example?

    Thanks

 

 

Similar Threads

  1. Help with a sql query
    By batteryman in forum General Questions
    Replies: 21
    Last Post: 3 Oct 2008, 11:12 PM
  2. Sql Query
    By bebijuteria in forum General Questions
    Replies: 9
    Last Post: 3 Nov 2007, 05:49 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
  •