Jump to content

SQL Command


justmeagain

Recommended Posts

Hi.

It does not work for combinations !

ps_ => table prefix

id_lang = 1 => language id

SELECT a.id_product, a.name, b.quantity, b.location FROM `ps_product_lang` a 
LEFT JOIN `ps_stock_available` b ON (a.id_product = b.id_product)
WHERE a.id_lang = 1 AND b.id_product_attribute = 0;

 

Edited by ps8moduly.cz (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...