SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002290s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000591s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002499s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.222' ) [ RunTime:0.000199s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000921s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000189s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000195s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000153s ]
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.000278s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001750s ]
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.000787s ]
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.010535s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003049s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6372 LIMIT 4 [ RunTime:0.001439s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001930s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6372 ORDER BY `minOrder` ASC [ RunTime:0.000592s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001804s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6372 ORDER BY `unit` DESC [ RunTime:0.000434s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.005497s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6372 LIMIT 2 [ RunTime:0.002488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6372 ORDER BY `minOrder` ASC [ RunTime:0.004359s ]
select * from pdf where partno='BAV199,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001689s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001357s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV199,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.003588s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1926 LIMIT 4 [ RunTime:0.001023s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1926 ORDER BY `minOrder` ASC [ RunTime:0.001511s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1926 ORDER BY `unit` DESC [ RunTime:0.000844s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1926 LIMIT 2 [ RunTime:0.000505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1926 ORDER BY `minOrder` ASC [ RunTime:0.000810s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV199LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.011973s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4908 LIMIT 4 [ RunTime:0.000417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4908 ORDER BY `minOrder` ASC [ RunTime:0.000641s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4908 ORDER BY `unit` DESC [ RunTime:0.000360s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4908 LIMIT 2 [ RunTime:0.000832s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4908 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
select * from pdf where partno='BAV199' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001725s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV199' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.001087s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6362 LIMIT 4 [ RunTime:0.001131s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6362 ORDER BY `minOrder` ASC [ RunTime:0.009717s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6362 ORDER BY `unit` DESC [ RunTime:0.002822s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6362 LIMIT 2 [ RunTime:0.001148s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6362 ORDER BY `minOrder` ASC [ RunTime:0.000276s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV199LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000270s ]
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.000769s ]