You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Портфолио https://www.behance.net/d4d4186e
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Портфолио https://www.behance.net/d4d4186e
Question
bgraf
Добрый день!
Есть таблица
id_product int
id_propertie int
select_value int
Мне нужно сделать select в котором может быть несколько пар, я имею ввиду
id_propertie = 100 and select_value = 2
и
id_propertie = 200 and select_value = 1
и
id_propertie = 300 and select_value = 8
я дел так (id_propertie = 100 and select_value = 2) and (id_propertie = 200 and select_value = 1) and (id_propertie = 300 and select_value = 8)
))не работает
смысл в том, что из таблицы надо достать все id_product, в которых есть все условия по парно.
Спасибо большое за помощь!
Link to comment
Share on other sites
17 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.