Autor | Zpráva | ||
---|---|---|---|
potom Profil |
Ahoj, asi už začínám magořit, ale mám problém s tímto a fakt netuším kde je chyba, ještě jsem se s tím nesetkal:
Omlouvám se za screeny, ale napadá někoho co může být nějakým důvodem, proč se ve druhém výsledku dotazu nezobrazuje například Birell 0,5 l PLECH? Tzn. kde je v supply_type NULL? -- ---------------------------- -- Table structure for `good` -- ---------------------------- DROP TABLE IF EXISTS `good`; CREATE TABLE `good` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` text, `short_name` text, `caption` text, `code` text, `hash` text, `deactive` int(11) DEFAULT '0', `shop` int(11) DEFAULT NULL, `category` text, `czk` decimal(10,2) DEFAULT NULL, `dph` int(11) DEFAULT NULL, `dph_to_go` int(11) DEFAULT NULL, `subcategory` varchar(255) DEFAULT NULL, `updated` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, `plu` int(11) DEFAULT NULL, `color` text, `czk_buy` decimal(10,2) DEFAULT NULL, `czk_staff` decimal(10,2) DEFAULT NULL, `stav_25_1_2020` decimal(10,2) DEFAULT NULL, `supply_type` text, `call_kitchen` int(11) DEFAULT NULL, `sale_date` date DEFAULT NULL, `ordering` int(11) DEFAULT NULL, `promo` int(11) DEFAULT NULL, `deactive_date` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, `special_sortiment` text, `new_month_control` int(11) DEFAULT NULL, `not_for_sale` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=1427 DEFAULT CHARSET=utf8; |
||
Kajman Profil |
#2 · Zasláno: 11. 8. 2021, 22:01:52
null <> 'text' dev.mysql.com/doc/refman/8.0/en/comparison-operators.html |
||
Časová prodleva: 3 roky
|
0