d SELECT wfm_artykuly.id_artykulu,nazwa_artykulu,jednostka,stawka_vat,indeks_katalogowy as indeks_artykulu,id_ekategorii,minimalna_ilosc,stan_minimalny,najblizsza_dostawa FROM wfm_artykuly,wfm_ekategorie WHERE wfm_artykuly.id_ekategorii=wfm_ekategorie.id_kategorii AND (id_ekategorii='5' OR id_ekategorii IN (5146,5161,5163,5016,5018,5020,5010,5023,5012,5074,5014,5080,5002,5004,5006,5159,5162,5164,5130,5017,5019,5009,5021,5011,5071,5013,5077,5015,5001,5003,5005,5008,5) OR wfm_artykuly.id_artykulu IN (SELECT id_artykulu FROM wfm_ekategorie_powielanie WHERE id_kategorii='5'))
AND wfm_artykuly.id_artykulu NOT IN
(
SELECT id_artykulu FROM wfm_artykuly_wykluczone WHERE
(id_wykluczony=0 AND kontrahent_grupa='0') OR
(id_wykluczony='1' AND kontrahent_grupa='1') OR
(id_wykluczony='1' AND kontrahent_grupa='2')
)
AND (wfm_artykuly.czy_widoczny='1')
AND wfm_artykuly.id_artykulu IN (835,918,919,1114,1206,1989,1990,2016,2054,2055,2056,2062,2063,2065,5818,5817,5816,5814,5812,5811,5809,5805,5754,5753,5262,5261,5260,5259,5258,5257,5256,5255,5254,5253,5252,5251,5249,5247,5242,4468,4460,4459,4458,4457,6278,6515,6412,6457,6516,6799,6594,6665,6672,6673,6674,6675,6681,6802,6718,6719,6792,6800,6804,6862,6863,7001,7076,7110,7189,7200,7201,7228,7247,7245,7248,7405,7408,7409,7436,7437,8346,7448,7427,7429,7439,7443,7452,7454,7463,7471,7493,7494,7496,7497,7501,7503,7504,7505,7530,8191,7557,7563,7565,7566,7568,7570,8215,7573,7585,7592,7605,7608,7623,7625,7630,7629,7628,7632,7633,7634,7636,7642,7701,7702,7703,7704,7706,7707,7766,7771,8139,7774,7775,7776,7778,7795,7797,8724,8699,7874,7880,7895,7896,7897,7901,8197,8159,8146,8141,8160,7989,7990,7991,7993,7994,7995,7996,7997,7998,7999,8144,8161,8158,8054,8055,8056,8057,8058,8059,8157,8065,8068,8079,8109,8194,8192,8372,8198,8199,8200,8201,8202,8203,8205,8206,8207,8208,8540,8829,8345,8218,8222,8227,8228,8232,8238,8243,8244,8247,8256,8257,8259,8263,8265,8280,8281,8284,8285,8293,8297,8298,8299,8300,8312,8313,8314,8315,8320,8321,8333,8334,8347,8348,8353,8354,8355,8356,8357,8358,8359,8360,8363,8364,8365,8366,8367,8368,8752,8830,8698,8380,8383,8404,8405,8407,8410,8411,8412,8415,8422,8425,8431,8434,8439,8441,8449,8451,8452,8453,8454,8455,8458,8461,8463,8483,8487,8488,8489,8490,8501,8506,8507,8508,8509,8512,8513,8518,8541,8553,8576,8577,8581,8582,8827,8585,8587,8589,8590,8591,8592,8593,8595,8596,8597,8598,8599,8600,8601,8602,8605,8606,8607,8608,8609,8610,8611,8612,8613,8614,8615,8708,8616,8620,8621,8627,8629,8630,8632,8633,8635,8636,8638,8644,8645,8646,8647,8648,8649,8650,8651,8652,8653,8654,8655,8656,8657,8658,8659,8660,8661,8669,8674,8675,8676,8679,8680,8685,8686,8687,8688,8691,8692,8700,8701,8702,8703,8704,8705,8709,8710,8711,8714,8715,8716,8717,8718,8719,8729,8731,8732,8733,8734,8743,8746,8748,8749,8750,8751,8753,8754,8755,8756,8757,8758,8759,8760,8761,8762,8763,8764,8765,8766,8767,8768,8769,8770,8771,8778,8779,8780,8781,8782,8783,8784,8785,8786,8787,8788,8789,8790,8791,8792,8793,8794,8795,8796,8797,8798,8799,8800,8801,8802,8803,8804,8805,8828,8814,8815,8816,8817,8818,8819,8820,8821,8825,8901,8962,8963,8964,9086,9088,9089,9090) ORDER BY nazwa_kategorii ASC, nazwa_artykulu ASC LIMIT 160,16
Zasady dotyczące cookies zamknij Korzystając z naszej witryny wyrażasz zgodę na używanie plików cookies, zgodnie z aktualnymi ustawieniami przeglądarki. W każdym momencie można dokonać zmiany ustawień.