SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001636s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000523s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001801s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000308s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000945s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000255s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 636 LIMIT 1 [ RunTime:0.000306s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 636 [ RunTime:0.000207s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000198s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001313s ]
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.004572s ]
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.006465s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001009s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4715 LIMIT 4 [ RunTime:0.000273s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000918s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4715 ORDER BY `minOrder` ASC [ RunTime:0.000203s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000869s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4715 ORDER BY `unit` DESC [ RunTime:0.000191s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001282s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4715 LIMIT 2 [ RunTime:0.000196s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4715 ORDER BY `minOrder` ASC [ RunTime:0.000184s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001025s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '130014' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000230s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4719 LIMIT 4 [ RunTime:0.000187s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4719 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4719 ORDER BY `unit` DESC [ RunTime:0.002248s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4719 LIMIT 2 [ RunTime:0.002144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4719 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3-350816-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000218s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5431 LIMIT 4 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5431 ORDER BY `minOrder` ASC [ RunTime:0.000189s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5431 ORDER BY `unit` DESC [ RunTime:0.000188s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5431 LIMIT 2 [ RunTime:0.000175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5431 ORDER BY `minOrder` ASC [ RunTime:0.000170s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31886' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4718 LIMIT 4 [ RunTime:0.000178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4718 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4718 ORDER BY `unit` DESC [ RunTime:0.000175s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4718 LIMIT 2 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4718 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-520083-2' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3696 LIMIT 4 [ RunTime:0.000175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3696 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3696 ORDER BY `unit` DESC [ RunTime:0.000175s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3696 LIMIT 2 [ RunTime:0.000170s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3696 ORDER BY `minOrder` ASC [ RunTime:0.000172s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CTB5202/3' OR `brand` LIKE 'CAMDENBOSS%' ) ) LIMIT 1 [ RunTime:0.000189s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4716 LIMIT 4 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4716 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4716 ORDER BY `unit` DESC [ RunTime:0.000214s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4716 LIMIT 2 [ RunTime:0.002889s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4716 ORDER BY `minOrder` ASC [ RunTime:0.000392s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1217080-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000454s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3695 LIMIT 4 [ RunTime:0.000340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3695 ORDER BY `minOrder` ASC [ RunTime:0.004380s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3695 ORDER BY `unit` DESC [ RunTime:0.015704s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3695 LIMIT 2 [ RunTime:0.009363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3695 ORDER BY `minOrder` ASC [ RunTime:0.005753s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CTB5202/2' OR `brand` LIKE 'CAMDENBOSS%' ) ) LIMIT 1 [ RunTime:0.001187s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5861 LIMIT 4 [ RunTime:0.005171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5861 ORDER BY `minOrder` ASC [ RunTime:0.000608s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5861 ORDER BY `unit` DESC [ RunTime:0.001247s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5861 LIMIT 2 [ RunTime:0.002278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5861 ORDER BY `minOrder` ASC [ RunTime:0.004558s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '321045' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.005948s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3996 LIMIT 4 [ RunTime:0.001040s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3996 ORDER BY `minOrder` ASC [ RunTime:0.001680s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3996 ORDER BY `unit` DESC [ RunTime:0.001726s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3996 LIMIT 2 [ RunTime:0.004074s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3996 ORDER BY `minOrder` ASC [ RunTime:0.000210s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5-160430-7' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002546s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6854 LIMIT 4 [ RunTime:0.000291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6854 ORDER BY `minOrder` ASC [ RunTime:0.000397s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6854 ORDER BY `unit` DESC [ RunTime:0.001020s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6854 LIMIT 2 [ RunTime:0.001416s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6854 ORDER BY `minOrder` ASC [ RunTime:0.010134s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '34318' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002740s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4717 LIMIT 4 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4717 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4717 ORDER BY `unit` DESC [ RunTime:0.003172s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4717 LIMIT 2 [ RunTime:0.003386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4717 ORDER BY `minOrder` ASC [ RunTime:0.006727s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-520128-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001673s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13831 LIMIT 4 [ RunTime:0.002054s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13831 ORDER BY `minOrder` ASC [ RunTime:0.000863s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13831 ORDER BY `unit` DESC [ RunTime:0.003309s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13831 LIMIT 2 [ RunTime:0.000930s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13831 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '222-413' OR `brand` LIKE 'WAGO%' ) ) LIMIT 1 [ RunTime:0.001198s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6852 LIMIT 4 [ RunTime:0.000234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6852 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6852 ORDER BY `unit` DESC [ RunTime:0.003662s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6852 LIMIT 2 [ RunTime:0.002516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6852 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '42281-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000953s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6296 LIMIT 4 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6296 ORDER BY `minOrder` ASC [ RunTime:0.001915s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6296 ORDER BY `unit` DESC [ RunTime:0.000434s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6296 LIMIT 2 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6296 ORDER BY `minOrder` ASC [ RunTime:0.000150s ]
select * from pdf where partno='61499-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001198s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '61499-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.004683s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6999 LIMIT 4 [ RunTime:0.000530s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6999 ORDER BY `minOrder` ASC [ RunTime:0.000889s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6999 ORDER BY `unit` DESC [ RunTime:0.001731s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6999 LIMIT 2 [ RunTime:0.005402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6999 ORDER BY `minOrder` ASC [ RunTime:0.002210s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-520193-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000377s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1220 LIMIT 4 [ RunTime:0.000504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1220 ORDER BY `minOrder` ASC [ RunTime:0.002591s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1220 ORDER BY `unit` DESC [ RunTime:0.005015s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1220 LIMIT 2 [ RunTime:0.002449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1220 ORDER BY `minOrder` ASC [ RunTime:0.000264s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PA80F/F' OR `brand` LIKE 'HYLEC%' ) ) LIMIT 1 [ RunTime:0.004203s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3288 LIMIT 4 [ RunTime:0.008771s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3288 ORDER BY `minOrder` ASC [ RunTime:0.000998s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3288 ORDER BY `unit` DESC [ RunTime:0.001921s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3288 LIMIT 2 [ RunTime:0.002175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3288 ORDER BY `minOrder` ASC [ RunTime:0.000641s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'J601' OR `brand` LIKE 'MARATHON SPECIAL PRODUCTS%' ) ) LIMIT 1 [ RunTime:0.000951s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5047 LIMIT 4 [ RunTime:0.000410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5047 ORDER BY `minOrder` ASC [ RunTime:0.000550s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5047 ORDER BY `unit` DESC [ RunTime:0.000409s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5047 LIMIT 2 [ RunTime:0.001200s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5047 ORDER BY `minOrder` ASC [ RunTime:0.000431s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC000048' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000923s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10546 LIMIT 4 [ RunTime:0.000404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10546 ORDER BY `minOrder` ASC [ RunTime:0.000900s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10546 ORDER BY `unit` DESC [ RunTime:0.000556s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10546 LIMIT 2 [ RunTime:0.000537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10546 ORDER BY `minOrder` ASC [ RunTime:0.000237s ]
select * from pdf where partno='1725656' and brandshort='PHOENIX CONTACT' limit 1 [ RunTime:0.002877s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1725656' OR `brand` LIKE 'PHOENIX CONTACT%' ) ) LIMIT 1 [ RunTime:0.007215s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12962 LIMIT 4 [ RunTime:0.000260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12962 ORDER BY `minOrder` ASC [ RunTime:0.001670s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12962 ORDER BY `unit` DESC [ RunTime:0.000283s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12962 LIMIT 2 [ RunTime:0.000230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12962 ORDER BY `minOrder` ASC [ RunTime:0.001161s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CTB0305/2' OR `brand` LIKE 'CAMDENBOSS%' ) ) LIMIT 1 [ RunTime:0.000314s ]
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.003155s ]