SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001231s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000620s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002857s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000307s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002048s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000322s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 636 LIMIT 1 [ RunTime:0.000320s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 636 [ RunTime:0.000221s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000218s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002137s ]
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.004575s ]
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.012246s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002045s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4715 LIMIT 4 [ RunTime:0.000452s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4715 ORDER BY `minOrder` ASC [ RunTime:0.000456s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002749s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4715 ORDER BY `unit` DESC [ RunTime:0.002233s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4715 LIMIT 2 [ RunTime:0.004757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4715 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001908s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '130014' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.010694s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4719 LIMIT 4 [ RunTime:0.003177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4719 ORDER BY `minOrder` ASC [ RunTime:0.002312s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4719 ORDER BY `unit` DESC [ RunTime:0.009672s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4719 LIMIT 2 [ RunTime:0.009213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4719 ORDER BY `minOrder` ASC [ RunTime:0.000459s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3-350816-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001522s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5431 LIMIT 4 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5431 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5431 ORDER BY `unit` DESC [ RunTime:0.000302s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5431 LIMIT 2 [ RunTime:0.000294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5431 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31886' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000309s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4718 LIMIT 4 [ RunTime:0.000288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4718 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4718 ORDER BY `unit` DESC [ RunTime:0.000300s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4718 LIMIT 2 [ RunTime:0.000289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4718 ORDER BY `minOrder` ASC [ RunTime:0.000293s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-520083-2' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000333s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3696 LIMIT 4 [ RunTime:0.000586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3696 ORDER BY `minOrder` ASC [ RunTime:0.000619s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3696 ORDER BY `unit` DESC [ RunTime:0.000956s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3696 LIMIT 2 [ RunTime:0.010795s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3696 ORDER BY `minOrder` ASC [ RunTime:0.003926s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CTB5202/3' OR `brand` LIKE 'CAMDENBOSS%' ) ) LIMIT 1 [ RunTime:0.001473s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4716 LIMIT 4 [ RunTime:0.003395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4716 ORDER BY `minOrder` ASC [ RunTime:0.000501s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4716 ORDER BY `unit` DESC [ RunTime:0.000443s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4716 LIMIT 2 [ RunTime:0.000411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4716 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1217080-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000974s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3695 LIMIT 4 [ RunTime:0.013412s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3695 ORDER BY `minOrder` ASC [ RunTime:0.002633s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3695 ORDER BY `unit` DESC [ RunTime:0.000517s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3695 LIMIT 2 [ RunTime:0.000316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3695 ORDER BY `minOrder` ASC [ RunTime:0.000211s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CTB5202/2' OR `brand` LIKE 'CAMDENBOSS%' ) ) LIMIT 1 [ RunTime:0.000516s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5861 LIMIT 4 [ RunTime:0.000335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5861 ORDER BY `minOrder` ASC [ RunTime:0.010836s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5861 ORDER BY `unit` DESC [ RunTime:0.006491s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5861 LIMIT 2 [ RunTime:0.004882s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5861 ORDER BY `minOrder` ASC [ RunTime:0.001092s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '321045' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001371s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3996 LIMIT 4 [ RunTime:0.000349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3996 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3996 ORDER BY `unit` DESC [ RunTime:0.000291s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3996 LIMIT 2 [ RunTime:0.000245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3996 ORDER BY `minOrder` ASC [ RunTime:0.000223s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5-160430-7' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6854 LIMIT 4 [ RunTime:0.005101s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6854 ORDER BY `minOrder` ASC [ RunTime:0.000903s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6854 ORDER BY `unit` DESC [ RunTime:0.000427s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6854 LIMIT 2 [ RunTime:0.000383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6854 ORDER BY `minOrder` ASC [ RunTime:0.000248s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '34318' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001055s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4717 LIMIT 4 [ RunTime:0.006823s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4717 ORDER BY `minOrder` ASC [ RunTime:0.009338s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4717 ORDER BY `unit` DESC [ RunTime:0.001642s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4717 LIMIT 2 [ RunTime:0.002113s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4717 ORDER BY `minOrder` ASC [ RunTime:0.001890s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-520128-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.016867s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13831 LIMIT 4 [ RunTime:0.000811s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13831 ORDER BY `minOrder` ASC [ RunTime:0.002869s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13831 ORDER BY `unit` DESC [ RunTime:0.002703s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13831 LIMIT 2 [ RunTime:0.005114s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13831 ORDER BY `minOrder` ASC [ RunTime:0.000520s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '222-413' OR `brand` LIKE 'WAGO%' ) ) LIMIT 1 [ RunTime:0.002218s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6852 LIMIT 4 [ RunTime:0.008018s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6852 ORDER BY `minOrder` ASC [ RunTime:0.002908s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6852 ORDER BY `unit` DESC [ RunTime:0.000320s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6852 LIMIT 2 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6852 ORDER BY `minOrder` ASC [ RunTime:0.000289s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '42281-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000327s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6296 LIMIT 4 [ RunTime:0.000888s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6296 ORDER BY `minOrder` ASC [ RunTime:0.000592s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6296 ORDER BY `unit` DESC [ RunTime:0.002228s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6296 LIMIT 2 [ RunTime:0.005391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6296 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
select * from pdf where partno='61499-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001311s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '61499-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003095s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6999 LIMIT 4 [ RunTime:0.000760s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6999 ORDER BY `minOrder` ASC [ RunTime:0.000746s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6999 ORDER BY `unit` DESC [ RunTime:0.000563s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6999 LIMIT 2 [ RunTime:0.000540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6999 ORDER BY `minOrder` ASC [ RunTime:0.000373s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-520193-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000389s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1220 LIMIT 4 [ RunTime:0.000521s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1220 ORDER BY `minOrder` ASC [ RunTime:0.002421s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1220 ORDER BY `unit` DESC [ RunTime:0.002386s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1220 LIMIT 2 [ RunTime:0.001332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1220 ORDER BY `minOrder` ASC [ RunTime:0.000375s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA80F/F' OR `brand` LIKE 'HYLEC%' ) ) LIMIT 1 [ RunTime:0.001741s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3288 LIMIT 4 [ RunTime:0.000992s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3288 ORDER BY `minOrder` ASC [ RunTime:0.000729s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3288 ORDER BY `unit` DESC [ RunTime:0.000551s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3288 LIMIT 2 [ RunTime:0.000851s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3288 ORDER BY `minOrder` ASC [ RunTime:0.001586s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'J601' OR `brand` LIKE 'MARATHON SPECIAL PRODUCTS%' ) ) LIMIT 1 [ RunTime:0.001092s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5047 LIMIT 4 [ RunTime:0.003187s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5047 ORDER BY `minOrder` ASC [ RunTime:0.003440s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5047 ORDER BY `unit` DESC [ RunTime:0.000632s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5047 LIMIT 2 [ RunTime:0.001611s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5047 ORDER BY `minOrder` ASC [ RunTime:0.000644s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC000048' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.002319s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10546 LIMIT 4 [ RunTime:0.005652s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10546 ORDER BY `minOrder` ASC [ RunTime:0.000633s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10546 ORDER BY `unit` DESC [ RunTime:0.000589s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10546 LIMIT 2 [ RunTime:0.002117s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10546 ORDER BY `minOrder` ASC [ RunTime:0.000409s ]
select * from pdf where partno='1725656' and brandshort='PHOENIX CONTACT' limit 1 [ RunTime:0.002606s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1725656' OR `brand` LIKE 'PHOENIX CONTACT%' ) ) LIMIT 1 [ RunTime:0.003245s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12962 LIMIT 4 [ RunTime:0.000582s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12962 ORDER BY `minOrder` ASC [ RunTime:0.000800s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12962 ORDER BY `unit` DESC [ RunTime:0.000589s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12962 LIMIT 2 [ RunTime:0.005504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12962 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CTB0305/2' OR `brand` LIKE 'CAMDENBOSS%' ) ) LIMIT 1 [ RunTime:0.000922s ]
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.006107s ]