SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001512s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000529s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001275s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000222s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000984s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000184s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 376 LIMIT 1 [ RunTime:0.000184s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 376 [ RunTime:0.000178s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 37 [ RunTime:0.000200s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001298s ]
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` = 376 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000290s ]
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','3217','2505','1549') ORDER BY FIELD(s.id, 1553,1552,2499,2510,2503,2501,2509,2520,2521,2518,2502,2504,2515,2513,2511,11802,2508,3217,2505,1549) [ RunTime:0.000495s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001262s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1553 LIMIT 4 [ RunTime:0.000192s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1553 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000998s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1553 ORDER BY `unit` DESC [ RunTime:0.000191s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001116s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1553 LIMIT 2 [ RunTime:0.000212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1553 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001059s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MFB-321611-1200PL' OR `brand` LIKE 'MEC MARCOM%' ) ) LIMIT 1 [ RunTime:0.000209s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1552 LIMIT 4 [ RunTime:0.000183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1552 ORDER BY `minOrder` ASC [ RunTime:0.000212s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1552 ORDER BY `unit` DESC [ RunTime:0.000218s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1552 LIMIT 2 [ RunTime:0.000180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1552 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MFB-321611-0120PW' OR `brand` LIKE 'MEC MARCOM%' ) ) LIMIT 1 [ RunTime:0.000199s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2499 LIMIT 4 [ RunTime:0.000166s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2499 ORDER BY `minOrder` ASC [ RunTime:0.000170s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2499 ORDER BY `unit` DESC [ RunTime:0.000211s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2499 LIMIT 2 [ RunTime:0.000211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2499 ORDER BY `minOrder` ASC [ RunTime:0.000208s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM21PG221SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000191s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2510 LIMIT 4 [ RunTime:0.000180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2510 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2510 ORDER BY `unit` DESC [ RunTime:0.000179s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2510 LIMIT 2 [ RunTime:0.000172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2510 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18PG121SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000239s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2503 LIMIT 4 [ RunTime:0.000210s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2503 ORDER BY `minOrder` ASC [ RunTime:0.000223s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2503 ORDER BY `unit` DESC [ RunTime:0.000173s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2503 LIMIT 2 [ RunTime:0.000202s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2503 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18AG102SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2501 LIMIT 4 [ RunTime:0.000175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2501 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2501 ORDER BY `unit` DESC [ RunTime:0.000203s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2501 LIMIT 2 [ RunTime:0.000209s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2501 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM21PG331SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000196s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2509 LIMIT 4 [ RunTime:0.000180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2509 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2509 ORDER BY `unit` DESC [ RunTime:0.000181s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2509 LIMIT 2 [ RunTime:0.000182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2509 ORDER BY `minOrder` ASC [ RunTime:0.000194s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18EG601SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000226s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2520 LIMIT 4 [ RunTime:0.000210s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2520 ORDER BY `minOrder` ASC [ RunTime:0.000168s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2520 ORDER BY `unit` DESC [ RunTime:0.000175s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2520 LIMIT 2 [ RunTime:0.000181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2520 ORDER BY `minOrder` ASC [ RunTime:0.000171s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM15EG221SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2521 LIMIT 4 [ RunTime:0.000180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2521 ORDER BY `minOrder` ASC [ RunTime:0.000187s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2521 ORDER BY `unit` DESC [ RunTime:0.000223s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2521 LIMIT 2 [ RunTime:0.000205s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2521 ORDER BY `minOrder` ASC [ RunTime:0.000207s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM15HG102SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000181s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2518 LIMIT 4 [ RunTime:0.000167s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2518 ORDER BY `minOrder` ASC [ RunTime:0.000182s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2518 ORDER BY `unit` DESC [ RunTime:0.000178s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2518 LIMIT 2 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2518 ORDER BY `minOrder` ASC [ RunTime:0.000181s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM15AG102SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000233s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2502 LIMIT 4 [ RunTime:0.000211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2502 ORDER BY `minOrder` ASC [ RunTime:0.000209s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2502 ORDER BY `unit` DESC [ RunTime:0.000229s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2502 LIMIT 2 [ RunTime:0.000154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2502 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM21PG600SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000158s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2504 LIMIT 4 [ RunTime:0.000155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2504 ORDER BY `minOrder` ASC [ RunTime:0.000148s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2504 ORDER BY `unit` DESC [ RunTime:0.000147s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2504 LIMIT 2 [ RunTime:0.000143s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2504 ORDER BY `minOrder` ASC [ RunTime:0.000145s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18AG121SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000155s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2515 LIMIT 4 [ RunTime:0.000144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2515 ORDER BY `minOrder` ASC [ RunTime:0.000145s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2515 ORDER BY `unit` DESC [ RunTime:0.000153s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2515 LIMIT 2 [ RunTime:0.000144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2515 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18PG600SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000158s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2513 LIMIT 4 [ RunTime:0.000145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2513 ORDER BY `minOrder` ASC [ RunTime:0.000146s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2513 ORDER BY `unit` DESC [ RunTime:0.000149s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2513 LIMIT 2 [ RunTime:0.000144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2513 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18PG330SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000234s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2511 LIMIT 4 [ RunTime:0.000211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2511 ORDER BY `minOrder` ASC [ RunTime:0.000216s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2511 ORDER BY `unit` DESC [ RunTime:0.000219s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2511 LIMIT 2 [ RunTime:0.000223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2511 ORDER BY `minOrder` ASC [ RunTime:0.000207s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18PG181SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000230s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11802 LIMIT 4 [ RunTime:0.000217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11802 ORDER BY `minOrder` ASC [ RunTime:0.000207s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11802 ORDER BY `unit` DESC [ RunTime:0.000236s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11802 LIMIT 2 [ RunTime:0.000203s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11802 ORDER BY `minOrder` ASC [ RunTime:0.000216s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18AG102SH1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000232s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2508 LIMIT 4 [ RunTime:0.000207s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2508 ORDER BY `minOrder` ASC [ RunTime:0.000212s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2508 ORDER BY `unit` DESC [ RunTime:0.000221s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2508 LIMIT 2 [ RunTime:0.000221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2508 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18EG221SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000226s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3217 LIMIT 4 [ RunTime:0.000189s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3217 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3217 ORDER BY `unit` DESC [ RunTime:0.000174s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3217 LIMIT 2 [ RunTime:0.000180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3217 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2506036017Y0' OR `brand` LIKE 'FAIR-RITE%' ) ) LIMIT 1 [ RunTime:0.000230s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2505 LIMIT 4 [ RunTime:0.000199s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2505 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2505 ORDER BY `unit` DESC [ RunTime:0.000176s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2505 LIMIT 2 [ RunTime:0.000172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2505 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18AG601SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000182s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1549 LIMIT 4 [ RunTime:0.000172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1549 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1549 ORDER BY `unit` DESC [ RunTime:0.000182s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1549 LIMIT 2 [ RunTime:0.000173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1549 ORDER BY `minOrder` ASC [ RunTime:0.000171s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MFB-201209-0040PR' OR `brand` LIKE 'MEC MARCOM%' ) ) LIMIT 1 [ RunTime:0.000186s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 376 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000219s ]