SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002373s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000606s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002592s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.222' ) [ RunTime:0.000448s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001911s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000317s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000362s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000275s ]
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.000437s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002467s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'BAV199%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.001707s ]
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 'BAV199%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005423s ]
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 ('6372','1926','4908','6362') ORDER BY FIELD(s.id, 6372,1926,4908,6362) [ RunTime:0.020490s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003129s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6372 LIMIT 4 [ RunTime:0.000511s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6372 ORDER BY `minOrder` ASC [ RunTime:0.000754s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001034s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6372 ORDER BY `unit` DESC [ RunTime:0.004668s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001298s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6372 LIMIT 2 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6372 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
select * from pdf where partno='BAV199,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001831s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002418s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV199,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.004110s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1926 LIMIT 4 [ RunTime:0.002348s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1926 ORDER BY `minOrder` ASC [ RunTime:0.008854s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1926 ORDER BY `unit` DESC [ RunTime:0.001281s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1926 LIMIT 2 [ RunTime:0.002688s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1926 ORDER BY `minOrder` ASC [ RunTime:0.000866s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV199LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.011534s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4908 LIMIT 4 [ RunTime:0.004328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4908 ORDER BY `minOrder` ASC [ RunTime:0.003587s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4908 ORDER BY `unit` DESC [ RunTime:0.001742s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4908 LIMIT 2 [ RunTime:0.001749s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4908 ORDER BY `minOrder` ASC [ RunTime:0.000196s ]
select * from pdf where partno='BAV199' and brandshort='DIODES INC.' limit 1 [ RunTime:0.002936s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV199' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.002707s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6362 LIMIT 4 [ RunTime:0.010407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6362 ORDER BY `minOrder` ASC [ RunTime:0.008454s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6362 ORDER BY `unit` DESC [ RunTime:0.004561s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6362 LIMIT 2 [ RunTime:0.004190s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6362 ORDER BY `minOrder` ASC [ RunTime:0.002072s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV199LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000245s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'BAV199%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000233s ]