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. Replies: 9
    Last Post: 12 Jul 2023, 12:26 AM
  2. v154 Help with a SQL Query for Query Builder
    By lindasdd in forum Managing Customers and Orders
    Replies: 2
    Last Post: 24 Mar 2016, 01:18 PM
  3. v151 SQL query setup. How do I TEST a query 'off-line'?
    By lewisasding in forum General Questions
    Replies: 3
    Last Post: 8 Mar 2013, 12:24 AM
  4. How would I code this to an SQL query?
    By plymgary1 in forum General Questions
    Replies: 1
    Last Post: 23 Nov 2010, 02:23 AM
  5. Help with SQL query
    By Danielle in forum General Questions
    Replies: 3
    Last Post: 9 Jun 2008, 05:24 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
  •  
disjunctive-egg