|
|
|
| Как извлечь записи с условием
WHERE mag_prices_types.id_base_price = NULL
|
Т.е. нужно извлечь записи у которых это поле NULL.
У меня запрос, такой:
SELECT commentary, price, mag_prices.id_price_type AS id_price_type, indication
FROM mag_prices_types
LEFT JOIN mag_prices ON mag_prices.id_price_type = mag_prices_types.id_price_type
LEFT JOIN mag_currency ON mag_prices_types.id_currency = mag_currency.id_currency
WHERE mag_prices_types.id_base_price = NULL
ORDER BY mag_prices_types.id_price_type DESC
|
Не работает с условием: WHERE mag_prices_types.id_base_price = NULL | |
|
|
|
|
|
|
|
для: tAleks
(28.08.2006 в 19:20)
| | Все разобрался, но все равно всем спаибо! | |
|
|
|
|
|
|
|
для: tAleks
(28.08.2006 в 19:20)
| | Для тех кто будет читать после напишем ответ
WHERE mag_prices_types.id_base_price IS NULL
|
| |
|
|
|