Jump to content

jiser

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Posts posted by jiser

  1. I forgot to mention:  the output should be limited with the value of the current categoryid ($cat = "4654"). This value is to be looked up in the table product_categories. The table product_categories is linked up with the products table using the productid.

     

    Pretty complicated right? ???

  2. Hi,

     

    I got this problem. I got two tables forming one array of information (products and pricing). They are linked to each other using the field productid. The output of this array should however be sorted. This should be sorted by the amount of times the value of productid can be found in order_details in the column productid. However, only the entries in order_details not older than 90 days should be taking into the sorting. The date can be found at the orders table. The relation between the orders table and order_details table is orderid.

     

    Does anyone know how this query will look like?

     

    Best regards

     

    Michael

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.