SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001054s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000630s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001804s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000342s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001327s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000345s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.001100s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000215s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.000333s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001574s ]
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 ( `partno` LIKE 'GBU8K%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001943s ]
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 ('5967141','8545251','8545571','5144505','134','5143750','8547481','6930987','8547971','8547749','8547748','8547747','8547746','8547745','8547744','8547743','8546169','6931360','6931359','6931358') ORDER BY FIELD(s.id, 5967141,8545251,8545571,5144505,134,5143750,8547481,6930987,8547971,8547749,8547748,8547747,8547746,8547745,8547744,8547743,8546169,6931360,6931359,6931358) [ RunTime:0.009769s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001121s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5967141 LIMIT 4 [ RunTime:0.000636s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002787s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5967141 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000830s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5967141 ORDER BY `unit` DESC [ RunTime:0.000249s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000790s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5967141 LIMIT 2 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5967141 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8545251 LIMIT 4 [ RunTime:0.000536s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8545251 ORDER BY `minOrder` ASC [ RunTime:0.002274s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8545251 ORDER BY `unit` DESC [ RunTime:0.003717s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8545251 LIMIT 2 [ RunTime:0.009403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8545251 ORDER BY `minOrder` ASC [ RunTime:0.000790s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8545571 LIMIT 4 [ RunTime:0.002963s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8545571 ORDER BY `minOrder` ASC [ RunTime:0.001426s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8545571 ORDER BY `unit` DESC [ RunTime:0.000387s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8545571 LIMIT 2 [ RunTime:0.000420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8545571 ORDER BY `minOrder` ASC [ RunTime:0.000291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5144505 LIMIT 4 [ RunTime:0.001462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5144505 ORDER BY `minOrder` ASC [ RunTime:0.005630s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5144505 ORDER BY `unit` DESC [ RunTime:0.002853s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5144505 LIMIT 2 [ RunTime:0.002108s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5144505 ORDER BY `minOrder` ASC [ RunTime:0.002217s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 134 LIMIT 4 [ RunTime:0.000363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 134 ORDER BY `minOrder` ASC [ RunTime:0.005713s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 134 ORDER BY `unit` DESC [ RunTime:0.000408s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 134 LIMIT 2 [ RunTime:0.000383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 134 ORDER BY `minOrder` ASC [ RunTime:0.001095s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002165s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GBU8K' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.013431s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5143750 LIMIT 4 [ RunTime:0.001485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5143750 ORDER BY `minOrder` ASC [ RunTime:0.000530s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5143750 ORDER BY `unit` DESC [ RunTime:0.000505s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5143750 LIMIT 2 [ RunTime:0.004413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5143750 ORDER BY `minOrder` ASC [ RunTime:0.004403s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8547481 LIMIT 4 [ RunTime:0.002378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8547481 ORDER BY `minOrder` ASC [ RunTime:0.001924s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8547481 ORDER BY `unit` DESC [ RunTime:0.007926s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8547481 LIMIT 2 [ RunTime:0.009021s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8547481 ORDER BY `minOrder` ASC [ RunTime:0.007073s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6930987 LIMIT 4 [ RunTime:0.014097s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6930987 ORDER BY `minOrder` ASC [ RunTime:0.000625s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6930987 ORDER BY `unit` DESC [ RunTime:0.000482s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6930987 LIMIT 2 [ RunTime:0.001716s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6930987 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
select * from pdf where partno='GBU8K-E3/45' and brandshort='Vishay General Semiconductor - Diodes Division' limit 1 [ RunTime:0.005516s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8547971 LIMIT 4 [ RunTime:0.006661s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8547971 ORDER BY `minOrder` ASC [ RunTime:0.014669s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8547971 ORDER BY `unit` DESC [ RunTime:0.005517s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8547971 LIMIT 2 [ RunTime:0.010098s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8547971 ORDER BY `minOrder` ASC [ RunTime:0.000436s ]
select * from pdf where partno='GBU8K-E3/51' and brandshort='Vishay General Semiconductor - Diodes Division' limit 1 [ RunTime:0.001905s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8547749 LIMIT 4 [ RunTime:0.010615s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8547749 ORDER BY `minOrder` ASC [ RunTime:0.002712s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8547749 ORDER BY `unit` DESC [ RunTime:0.001588s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8547749 LIMIT 2 [ RunTime:0.000559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8547749 ORDER BY `minOrder` ASC [ RunTime:0.000429s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8547748 LIMIT 4 [ RunTime:0.000660s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8547748 ORDER BY `minOrder` ASC [ RunTime:0.001217s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8547748 ORDER BY `unit` DESC [ RunTime:0.009516s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8547748 LIMIT 2 [ RunTime:0.008208s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8547748 ORDER BY `minOrder` ASC [ RunTime:0.006042s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8547747 LIMIT 4 [ RunTime:0.000695s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8547747 ORDER BY `minOrder` ASC [ RunTime:0.001543s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8547747 ORDER BY `unit` DESC [ RunTime:0.000470s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8547747 LIMIT 2 [ RunTime:0.001608s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8547747 ORDER BY `minOrder` ASC [ RunTime:0.002173s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8547746 LIMIT 4 [ RunTime:0.000552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8547746 ORDER BY `minOrder` ASC [ RunTime:0.000495s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8547746 ORDER BY `unit` DESC [ RunTime:0.002622s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8547746 LIMIT 2 [ RunTime:0.000472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8547746 ORDER BY `minOrder` ASC [ RunTime:0.004261s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8547745 LIMIT 4 [ RunTime:0.001444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8547745 ORDER BY `minOrder` ASC [ RunTime:0.001743s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8547745 ORDER BY `unit` DESC [ RunTime:0.001341s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8547745 LIMIT 2 [ RunTime:0.001243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8547745 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8547744 LIMIT 4 [ RunTime:0.000495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8547744 ORDER BY `minOrder` ASC [ RunTime:0.000505s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8547744 ORDER BY `unit` DESC [ RunTime:0.000441s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8547744 LIMIT 2 [ RunTime:0.001642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8547744 ORDER BY `minOrder` ASC [ RunTime:0.001759s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8547743 LIMIT 4 [ RunTime:0.001328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8547743 ORDER BY `minOrder` ASC [ RunTime:0.000575s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8547743 ORDER BY `unit` DESC [ RunTime:0.001009s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8547743 LIMIT 2 [ RunTime:0.000458s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8547743 ORDER BY `minOrder` ASC [ RunTime:0.000922s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8546169 LIMIT 4 [ RunTime:0.002045s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8546169 ORDER BY `minOrder` ASC [ RunTime:0.005130s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8546169 ORDER BY `unit` DESC [ RunTime:0.000506s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8546169 LIMIT 2 [ RunTime:0.000852s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8546169 ORDER BY `minOrder` ASC [ RunTime:0.001839s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6931360 LIMIT 4 [ RunTime:0.002580s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6931360 ORDER BY `minOrder` ASC [ RunTime:0.000725s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6931360 ORDER BY `unit` DESC [ RunTime:0.008513s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6931360 LIMIT 2 [ RunTime:0.003812s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6931360 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6931359 LIMIT 4 [ RunTime:0.000486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6931359 ORDER BY `minOrder` ASC [ RunTime:0.001016s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6931359 ORDER BY `unit` DESC [ RunTime:0.000464s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6931359 LIMIT 2 [ RunTime:0.001263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6931359 ORDER BY `minOrder` ASC [ RunTime:0.000439s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6931358 LIMIT 4 [ RunTime:0.001286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6931358 ORDER BY `minOrder` ASC [ RunTime:0.003360s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6931358 ORDER BY `unit` DESC [ RunTime:0.008647s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6931358 LIMIT 2 [ RunTime:0.002532s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6931358 ORDER BY `minOrder` ASC [ RunTime:0.000809s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'GBU8K%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002477s ]