Skip to content
Advertisement

Select only products that are active via query from two tables

I have a query that provides me with a list of productId:s that I then match with a products table.. But how would I adjust the query to give me only productId:s that are active (active=1)?

Advertisement

Answer

You can use join:

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement