SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001368s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000491s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001779s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000334s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001188s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000262s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 37 LIMIT 1 [ RunTime:0.001174s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 37 [ RunTime:0.000224s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (376,377,378,379,380,381,382,383,384,385,386,387,388,389) [ RunTime:0.000280s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003130s ]
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` IN (376,377,378,379,380,381,382,383,384,385,386,387,388,389) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002894s ]
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 ('1553','1552','2499','2510','2503','2501','2509','2520','2521','2518','2502','2504','2515','2513','2511','11802','2508','9658','3217','2505') ORDER BY FIELD(s.id, 1553,1552,2499,2510,2503,2501,2509,2520,2521,2518,2502,2504,2515,2513,2511,11802,2508,9658,3217,2505) [ RunTime:0.004176s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001842s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1553 LIMIT 4 [ RunTime:0.000443s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004855s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1553 ORDER BY `minOrder` ASC [ RunTime:0.003511s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001060s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1553 ORDER BY `unit` DESC [ RunTime:0.000484s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000854s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1553 LIMIT 2 [ RunTime:0.000391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1553 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000967s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MFB-321611-1200PL' OR `brand` LIKE 'MEC MARCOM%' ) ) LIMIT 1 [ RunTime:0.006777s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1552 LIMIT 4 [ RunTime:0.002916s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1552 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1552 ORDER BY `unit` DESC [ RunTime:0.001307s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1552 LIMIT 2 [ RunTime:0.002716s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1552 ORDER BY `minOrder` ASC [ RunTime:0.000205s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MFB-321611-0120PW' OR `brand` LIKE 'MEC MARCOM%' ) ) LIMIT 1 [ RunTime:0.000606s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2499 LIMIT 4 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2499 ORDER BY `minOrder` ASC [ RunTime:0.002906s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2499 ORDER BY `unit` DESC [ RunTime:0.000500s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2499 LIMIT 2 [ RunTime:0.000236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2499 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM21PG221SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.006976s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2510 LIMIT 4 [ RunTime:0.000439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2510 ORDER BY `minOrder` ASC [ RunTime:0.003736s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2510 ORDER BY `unit` DESC [ RunTime:0.000990s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2510 LIMIT 2 [ RunTime:0.000343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2510 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18PG121SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.003668s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2503 LIMIT 4 [ RunTime:0.000569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2503 ORDER BY `minOrder` ASC [ RunTime:0.001639s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2503 ORDER BY `unit` DESC [ RunTime:0.002792s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2503 LIMIT 2 [ RunTime:0.004350s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2503 ORDER BY `minOrder` ASC [ RunTime:0.000276s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18AG102SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.004033s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2501 LIMIT 4 [ RunTime:0.001203s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2501 ORDER BY `minOrder` ASC [ RunTime:0.001251s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2501 ORDER BY `unit` DESC [ RunTime:0.000343s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2501 LIMIT 2 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2501 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM21PG331SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.005099s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2509 LIMIT 4 [ RunTime:0.002559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2509 ORDER BY `minOrder` ASC [ RunTime:0.000513s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2509 ORDER BY `unit` DESC [ RunTime:0.000399s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2509 LIMIT 2 [ RunTime:0.002358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2509 ORDER BY `minOrder` ASC [ RunTime:0.006963s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18EG601SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.006926s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2520 LIMIT 4 [ RunTime:0.000471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2520 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2520 ORDER BY `unit` DESC [ RunTime:0.001600s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2520 LIMIT 2 [ RunTime:0.006860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2520 ORDER BY `minOrder` ASC [ RunTime:0.000341s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM15EG221SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.003494s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2521 LIMIT 4 [ RunTime:0.002595s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2521 ORDER BY `minOrder` ASC [ RunTime:0.000372s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2521 ORDER BY `unit` DESC [ RunTime:0.000346s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2521 LIMIT 2 [ RunTime:0.000692s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2521 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM15HG102SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.006426s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2518 LIMIT 4 [ RunTime:0.000411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2518 ORDER BY `minOrder` ASC [ RunTime:0.006368s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2518 ORDER BY `unit` DESC [ RunTime:0.001162s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2518 LIMIT 2 [ RunTime:0.002930s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2518 ORDER BY `minOrder` ASC [ RunTime:0.002648s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM15AG102SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.003424s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2502 LIMIT 4 [ RunTime:0.006704s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2502 ORDER BY `minOrder` ASC [ RunTime:0.001666s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2502 ORDER BY `unit` DESC [ RunTime:0.000412s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2502 LIMIT 2 [ RunTime:0.002278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2502 ORDER BY `minOrder` ASC [ RunTime:0.000324s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM21PG600SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.003517s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2504 LIMIT 4 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2504 ORDER BY `minOrder` ASC [ RunTime:0.000771s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2504 ORDER BY `unit` DESC [ RunTime:0.002912s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2504 LIMIT 2 [ RunTime:0.002419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2504 ORDER BY `minOrder` ASC [ RunTime:0.000819s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18AG121SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.005221s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2515 LIMIT 4 [ RunTime:0.003429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2515 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2515 ORDER BY `unit` DESC [ RunTime:0.000339s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2515 LIMIT 2 [ RunTime:0.000907s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2515 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18PG600SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.004095s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2513 LIMIT 4 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2513 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2513 ORDER BY `unit` DESC [ RunTime:0.005224s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2513 LIMIT 2 [ RunTime:0.004735s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2513 ORDER BY `minOrder` ASC [ RunTime:0.000280s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18PG330SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.004069s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2511 LIMIT 4 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2511 ORDER BY `minOrder` ASC [ RunTime:0.000338s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2511 ORDER BY `unit` DESC [ RunTime:0.003602s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2511 LIMIT 2 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2511 ORDER BY `minOrder` ASC [ RunTime:0.010843s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18PG181SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.003941s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11802 LIMIT 4 [ RunTime:0.006107s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11802 ORDER BY `minOrder` ASC [ RunTime:0.003753s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11802 ORDER BY `unit` DESC [ RunTime:0.000725s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11802 LIMIT 2 [ RunTime:0.002421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11802 ORDER BY `minOrder` ASC [ RunTime:0.002808s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18AG102SH1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.010979s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2508 LIMIT 4 [ RunTime:0.001037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2508 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2508 ORDER BY `unit` DESC [ RunTime:0.000333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2508 LIMIT 2 [ RunTime:0.000511s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2508 ORDER BY `minOrder` ASC [ RunTime:0.000990s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18EG221SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.003128s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9658 LIMIT 4 [ RunTime:0.004223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9658 ORDER BY `minOrder` ASC [ RunTime:0.000753s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9658 ORDER BY `unit` DESC [ RunTime:0.000351s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9658 LIMIT 2 [ RunTime:0.000330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9658 ORDER BY `minOrder` ASC [ RunTime:0.001097s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SZEMI2121MTTAG' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.006529s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3217 LIMIT 4 [ RunTime:0.004156s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3217 ORDER BY `minOrder` ASC [ RunTime:0.001471s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3217 ORDER BY `unit` DESC [ RunTime:0.001513s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3217 LIMIT 2 [ RunTime:0.000330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3217 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2506036017Y0' OR `brand` LIKE 'FAIR-RITE%' ) ) LIMIT 1 [ RunTime:0.002419s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2505 LIMIT 4 [ RunTime:0.003401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2505 ORDER BY `minOrder` ASC [ RunTime:0.000420s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2505 ORDER BY `unit` DESC [ RunTime:0.002225s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2505 LIMIT 2 [ RunTime:0.000336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2505 ORDER BY `minOrder` ASC [ RunTime:0.001264s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18AG601SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.008660s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (376,377,378,379,380,381,382,383,384,385,386,387,388,389) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.007742s ]