SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001984s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000511s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002079s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000296s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001851s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000267s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 376 LIMIT 1 [ RunTime:0.000268s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 376 [ RunTime:0.000219s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 37 [ RunTime:0.000214s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002069s ]
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.001463s ]
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.002005s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003443s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1553 LIMIT 4 [ RunTime:0.000436s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001840s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1553 ORDER BY `minOrder` ASC [ RunTime:0.000435s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001650s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1553 ORDER BY `unit` DESC [ RunTime:0.000419s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001770s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1553 LIMIT 2 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1553 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001763s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MFB-321611-1200PL' OR `brand` LIKE 'MEC MARCOM%' ) ) LIMIT 1 [ RunTime:0.001508s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1552 LIMIT 4 [ RunTime:0.000577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1552 ORDER BY `minOrder` ASC [ RunTime:0.000444s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1552 ORDER BY `unit` DESC [ RunTime:0.000365s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1552 LIMIT 2 [ RunTime:0.000343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1552 ORDER BY `minOrder` ASC [ RunTime:0.000342s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MFB-321611-0120PW' OR `brand` LIKE 'MEC MARCOM%' ) ) LIMIT 1 [ RunTime:0.000460s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2499 LIMIT 4 [ RunTime:0.000337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2499 ORDER BY `minOrder` ASC [ RunTime:0.000352s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2499 ORDER BY `unit` DESC [ RunTime:0.000393s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2499 LIMIT 2 [ RunTime:0.000331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2499 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM21PG221SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.004559s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2510 LIMIT 4 [ RunTime:0.001431s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2510 ORDER BY `minOrder` ASC [ RunTime:0.001491s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2510 ORDER BY `unit` DESC [ RunTime:0.000372s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2510 LIMIT 2 [ RunTime:0.000342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2510 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18PG121SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.003893s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2503 LIMIT 4 [ RunTime:0.000379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2503 ORDER BY `minOrder` ASC [ RunTime:0.000347s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2503 ORDER BY `unit` DESC [ RunTime:0.000558s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2503 LIMIT 2 [ RunTime:0.000342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2503 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18AG102SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.003307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2501 LIMIT 4 [ RunTime:0.000295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2501 ORDER BY `minOrder` ASC [ RunTime:0.000677s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2501 ORDER BY `unit` DESC [ RunTime:0.000288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2501 LIMIT 2 [ RunTime:0.000305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2501 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM21PG331SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000266s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2509 LIMIT 4 [ RunTime:0.000367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2509 ORDER BY `minOrder` ASC [ RunTime:0.000415s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2509 ORDER BY `unit` DESC [ RunTime:0.000337s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2509 LIMIT 2 [ RunTime:0.000420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2509 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18EG601SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.003325s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2520 LIMIT 4 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2520 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2520 ORDER BY `unit` DESC [ RunTime:0.000338s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2520 LIMIT 2 [ RunTime:0.002038s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2520 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM15EG221SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.004088s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2521 LIMIT 4 [ RunTime:0.003253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2521 ORDER BY `minOrder` ASC [ RunTime:0.001547s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2521 ORDER BY `unit` DESC [ RunTime:0.000771s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2521 LIMIT 2 [ RunTime:0.000754s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2521 ORDER BY `minOrder` ASC [ RunTime:0.000619s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM15HG102SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.005604s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2518 LIMIT 4 [ RunTime:0.002407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2518 ORDER BY `minOrder` ASC [ RunTime:0.001174s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2518 ORDER BY `unit` DESC [ RunTime:0.000387s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2518 LIMIT 2 [ RunTime:0.000919s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2518 ORDER BY `minOrder` ASC [ RunTime:0.000739s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM15AG102SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.011303s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2502 LIMIT 4 [ RunTime:0.003387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2502 ORDER BY `minOrder` ASC [ RunTime:0.002838s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2502 ORDER BY `unit` DESC [ RunTime:0.000382s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2502 LIMIT 2 [ RunTime:0.000922s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2502 ORDER BY `minOrder` ASC [ RunTime:0.000723s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM21PG600SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.003161s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2504 LIMIT 4 [ RunTime:0.001417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2504 ORDER BY `minOrder` ASC [ RunTime:0.001021s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2504 ORDER BY `unit` DESC [ RunTime:0.000581s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2504 LIMIT 2 [ RunTime:0.000911s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2504 ORDER BY `minOrder` ASC [ RunTime:0.004025s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18AG121SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.003682s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2515 LIMIT 4 [ RunTime:0.001550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2515 ORDER BY `minOrder` ASC [ RunTime:0.001213s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2515 ORDER BY `unit` DESC [ RunTime:0.000377s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2515 LIMIT 2 [ RunTime:0.000895s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2515 ORDER BY `minOrder` ASC [ RunTime:0.000738s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18PG600SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.003171s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2513 LIMIT 4 [ RunTime:0.001442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2513 ORDER BY `minOrder` ASC [ RunTime:0.001042s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2513 ORDER BY `unit` DESC [ RunTime:0.000353s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2513 LIMIT 2 [ RunTime:0.000904s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2513 ORDER BY `minOrder` ASC [ RunTime:0.000979s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18PG330SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.004104s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2511 LIMIT 4 [ RunTime:0.003786s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2511 ORDER BY `minOrder` ASC [ RunTime:0.003894s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2511 ORDER BY `unit` DESC [ RunTime:0.000377s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2511 LIMIT 2 [ RunTime:0.003685s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2511 ORDER BY `minOrder` ASC [ RunTime:0.000576s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18PG181SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.003412s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11802 LIMIT 4 [ RunTime:0.003479s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11802 ORDER BY `minOrder` ASC [ RunTime:0.002147s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11802 ORDER BY `unit` DESC [ RunTime:0.000443s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11802 LIMIT 2 [ RunTime:0.001051s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11802 ORDER BY `minOrder` ASC [ RunTime:0.000853s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18AG102SH1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.003323s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2508 LIMIT 4 [ RunTime:0.002998s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2508 ORDER BY `minOrder` ASC [ RunTime:0.002595s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2508 ORDER BY `unit` DESC [ RunTime:0.001260s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2508 LIMIT 2 [ RunTime:0.000972s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2508 ORDER BY `minOrder` ASC [ RunTime:0.000831s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18EG221SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.003238s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3217 LIMIT 4 [ RunTime:0.001620s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3217 ORDER BY `minOrder` ASC [ RunTime:0.001131s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3217 ORDER BY `unit` DESC [ RunTime:0.000653s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3217 LIMIT 2 [ RunTime:0.000968s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3217 ORDER BY `minOrder` ASC [ RunTime:0.000825s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2506036017Y0' OR `brand` LIKE 'FAIR-RITE%' ) ) LIMIT 1 [ RunTime:0.001452s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2505 LIMIT 4 [ RunTime:0.001782s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2505 ORDER BY `minOrder` ASC [ RunTime:0.001268s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2505 ORDER BY `unit` DESC [ RunTime:0.000363s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2505 LIMIT 2 [ RunTime:0.001052s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2505 ORDER BY `minOrder` ASC [ RunTime:0.000794s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BLM18AG601SN1D' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.003337s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1549 LIMIT 4 [ RunTime:0.001560s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1549 ORDER BY `minOrder` ASC [ RunTime:0.001066s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1549 ORDER BY `unit` DESC [ RunTime:0.000439s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1549 LIMIT 2 [ RunTime:0.000936s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1549 ORDER BY `minOrder` ASC [ RunTime:0.000748s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MFB-201209-0040PR' OR `brand` LIKE 'MEC MARCOM%' ) ) LIMIT 1 [ RunTime:0.000496s ]
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.001659s ]