atx-serwis Posted September 11, 2018 Share Posted September 11, 2018 Witam potrzebuję zapytanie do bazy SQL które wyświetli mi wszystkie towary w których brakuje kodów EAN Z góry dziekuje Link to comment Share on other sites More sharing options...
endriu107 Posted September 11, 2018 Share Posted September 11, 2018 Spróbuj SELECT id_product FROM ps_product WHERE ean13 = 0; Link to comment Share on other sites More sharing options...
atx-serwis Posted September 12, 2018 Author Share Posted September 12, 2018 Bardzo dziękuję. Dziala Link to comment Share on other sites More sharing options...
turbo_rabbit Posted September 13, 2018 Share Posted September 13, 2018 Zobacz jeszcze to samo zapytanie ale zamiast 0 na końcu wstaw dwa "pazurki" : '' nie cudzysłów może być tak ze masz jeszcze puste pole bez EAN ale nie ma ono wartości 0 Link to comment Share on other sites More sharing options...
endriu107 Posted September 13, 2018 Share Posted September 13, 2018 Domyślnie ta kolumna nie posiada wartości NULL a pusta to też 0. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now