Jump to content

Inquery condition


dflow

Recommended Posts

is it possible to include a condition in a query for specific  .

 

for example :

if the product is from  SupplierID=10 return only if Show=1

 

i want to search the whole DB

 

Select ID FROM products WHERE Price=100 AND Condition  ( if products.SupplierID=10 Show=1)

 

hope i explained myself enough :shrug:

Link to comment
https://forums.phpfreaks.com/topic/256906-inquery-condition/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.