SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002421s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000619s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002910s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000357s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002628s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000341s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 636 LIMIT 1 [ RunTime:0.000458s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 636 [ RunTime:0.000342s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000321s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002726s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 636 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004985s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('4715','4719','5431','4718','3696','4716','3695','5861','3996','6854','4717','13831','6852','6296','6999','1220','3288','5047','10546','12962') ORDER BY FIELD(s.id, 4715,4719,5431,4718,3696,4716,3695,5861,3996,6854,4717,13831,6852,6296,6999,1220,3288,5047,10546,12962) [ RunTime:0.007097s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001958s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4715 LIMIT 4 [ RunTime:0.002822s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001690s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4715 ORDER BY `minOrder` ASC [ RunTime:0.001043s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001971s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4715 ORDER BY `unit` DESC [ RunTime:0.000445s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001634s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4715 LIMIT 2 [ RunTime:0.000484s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4715 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001699s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '130014' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001043s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4719 LIMIT 4 [ RunTime:0.006761s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4719 ORDER BY `minOrder` ASC [ RunTime:0.016248s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4719 ORDER BY `unit` DESC [ RunTime:0.000652s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4719 LIMIT 2 [ RunTime:0.000498s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4719 ORDER BY `minOrder` ASC [ RunTime:0.000341s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3-350816-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001015s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5431 LIMIT 4 [ RunTime:0.002100s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5431 ORDER BY `minOrder` ASC [ RunTime:0.005114s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5431 ORDER BY `unit` DESC [ RunTime:0.001550s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5431 LIMIT 2 [ RunTime:0.000697s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5431 ORDER BY `minOrder` ASC [ RunTime:0.000346s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31886' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002739s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4718 LIMIT 4 [ RunTime:0.002193s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4718 ORDER BY `minOrder` ASC [ RunTime:0.003056s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4718 ORDER BY `unit` DESC [ RunTime:0.000507s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4718 LIMIT 2 [ RunTime:0.000491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4718 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-520083-2' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001164s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3696 LIMIT 4 [ RunTime:0.007453s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3696 ORDER BY `minOrder` ASC [ RunTime:0.001617s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3696 ORDER BY `unit` DESC [ RunTime:0.000389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3696 LIMIT 2 [ RunTime:0.000482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3696 ORDER BY `minOrder` ASC [ RunTime:0.003750s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CTB5202/3' OR `brand` LIKE 'CAMDENBOSS%' ) ) LIMIT 1 [ RunTime:0.001107s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4716 LIMIT 4 [ RunTime:0.002188s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4716 ORDER BY `minOrder` ASC [ RunTime:0.004294s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4716 ORDER BY `unit` DESC [ RunTime:0.000519s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4716 LIMIT 2 [ RunTime:0.001428s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4716 ORDER BY `minOrder` ASC [ RunTime:0.005513s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1217080-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002459s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3695 LIMIT 4 [ RunTime:0.005798s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3695 ORDER BY `minOrder` ASC [ RunTime:0.007217s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3695 ORDER BY `unit` DESC [ RunTime:0.000683s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3695 LIMIT 2 [ RunTime:0.000655s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3695 ORDER BY `minOrder` ASC [ RunTime:0.000397s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CTB5202/2' OR `brand` LIKE 'CAMDENBOSS%' ) ) LIMIT 1 [ RunTime:0.007113s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5861 LIMIT 4 [ RunTime:0.002618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5861 ORDER BY `minOrder` ASC [ RunTime:0.006908s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5861 ORDER BY `unit` DESC [ RunTime:0.010952s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5861 LIMIT 2 [ RunTime:0.012646s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5861 ORDER BY `minOrder` ASC [ RunTime:0.010102s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '321045' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.006602s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3996 LIMIT 4 [ RunTime:0.008387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3996 ORDER BY `minOrder` ASC [ RunTime:0.000583s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3996 ORDER BY `unit` DESC [ RunTime:0.000404s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3996 LIMIT 2 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3996 ORDER BY `minOrder` ASC [ RunTime:0.000684s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5-160430-7' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001850s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6854 LIMIT 4 [ RunTime:0.003406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6854 ORDER BY `minOrder` ASC [ RunTime:0.005605s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6854 ORDER BY `unit` DESC [ RunTime:0.003228s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6854 LIMIT 2 [ RunTime:0.003774s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6854 ORDER BY `minOrder` ASC [ RunTime:0.004713s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '34318' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002989s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4717 LIMIT 4 [ RunTime:0.000590s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4717 ORDER BY `minOrder` ASC [ RunTime:0.002731s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4717 ORDER BY `unit` DESC [ RunTime:0.002342s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4717 LIMIT 2 [ RunTime:0.005522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4717 ORDER BY `minOrder` ASC [ RunTime:0.008817s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-520128-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.015936s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13831 LIMIT 4 [ RunTime:0.004558s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13831 ORDER BY `minOrder` ASC [ RunTime:0.009783s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13831 ORDER BY `unit` DESC [ RunTime:0.017125s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13831 LIMIT 2 [ RunTime:0.000680s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13831 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '222-413' OR `brand` LIKE 'WAGO%' ) ) LIMIT 1 [ RunTime:0.002199s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6852 LIMIT 4 [ RunTime:0.000283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6852 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6852 ORDER BY `unit` DESC [ RunTime:0.000245s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6852 LIMIT 2 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6852 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '42281-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000252s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6296 LIMIT 4 [ RunTime:0.000333s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6296 ORDER BY `minOrder` ASC [ RunTime:0.000467s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6296 ORDER BY `unit` DESC [ RunTime:0.006026s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6296 LIMIT 2 [ RunTime:0.000986s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6296 ORDER BY `minOrder` ASC [ RunTime:0.001646s ]
select * from pdf where partno='61499-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.003308s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '61499-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003093s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6999 LIMIT 4 [ RunTime:0.011503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6999 ORDER BY `minOrder` ASC [ RunTime:0.001706s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6999 ORDER BY `unit` DESC [ RunTime:0.000394s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6999 LIMIT 2 [ RunTime:0.000462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6999 ORDER BY `minOrder` ASC [ RunTime:0.000305s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-520193-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000781s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1220 LIMIT 4 [ RunTime:0.003919s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1220 ORDER BY `minOrder` ASC [ RunTime:0.013115s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1220 ORDER BY `unit` DESC [ RunTime:0.001762s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1220 LIMIT 2 [ RunTime:0.009472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1220 ORDER BY `minOrder` ASC [ RunTime:0.004999s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA80F/F' OR `brand` LIKE 'HYLEC%' ) ) LIMIT 1 [ RunTime:0.000996s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3288 LIMIT 4 [ RunTime:0.002092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3288 ORDER BY `minOrder` ASC [ RunTime:0.010095s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3288 ORDER BY `unit` DESC [ RunTime:0.000790s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3288 LIMIT 2 [ RunTime:0.000304s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3288 ORDER BY `minOrder` ASC [ RunTime:0.000196s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'J601' OR `brand` LIKE 'MARATHON SPECIAL PRODUCTS%' ) ) LIMIT 1 [ RunTime:0.000685s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5047 LIMIT 4 [ RunTime:0.002284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5047 ORDER BY `minOrder` ASC [ RunTime:0.008721s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5047 ORDER BY `unit` DESC [ RunTime:0.002379s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5047 LIMIT 2 [ RunTime:0.003172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5047 ORDER BY `minOrder` ASC [ RunTime:0.003483s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC000048' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.003196s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10546 LIMIT 4 [ RunTime:0.004109s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10546 ORDER BY `minOrder` ASC [ RunTime:0.000550s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10546 ORDER BY `unit` DESC [ RunTime:0.000345s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10546 LIMIT 2 [ RunTime:0.001939s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10546 ORDER BY `minOrder` ASC [ RunTime:0.000201s ]
select * from pdf where partno='1725656' and brandshort='PHOENIX CONTACT' limit 1 [ RunTime:0.002934s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1725656' OR `brand` LIKE 'PHOENIX CONTACT%' ) ) LIMIT 1 [ RunTime:0.002437s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12962 LIMIT 4 [ RunTime:0.000264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12962 ORDER BY `minOrder` ASC [ RunTime:0.001973s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12962 ORDER BY `unit` DESC [ RunTime:0.005422s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12962 LIMIT 2 [ RunTime:0.000330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12962 ORDER BY `minOrder` ASC [ RunTime:0.003192s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CTB0305/2' OR `brand` LIKE 'CAMDENBOSS%' ) ) LIMIT 1 [ RunTime:0.003694s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 636 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001799s ]