SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002054s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.005644s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002750s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.147' ) [ RunTime:0.000358s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002017s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000288s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 347 LIMIT 1 [ RunTime:0.007132s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 347 [ RunTime:0.003308s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 33 [ RunTime:0.003223s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002210s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 347 ) AND `u`.`lockUser` = '0' [ RunTime:0.005215s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 347 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006320s ]
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 = 1) ) AND `s`.`id` IN ('5311','7852','176','4079','11496','2261','16892','15873','2420','6817','13572','8340') ORDER BY FIELD(s.id, 5311,7852,176,4079,11496,2261,16892,15873,2420,6817,13572,8340) [ RunTime:0.011950s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001319s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5311 LIMIT 4 [ RunTime:0.000313s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000809s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5311 ORDER BY `minOrder` ASC [ RunTime:0.004271s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002101s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5311 ORDER BY `unit` DESC [ RunTime:0.001274s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001717s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5311 LIMIT 2 [ RunTime:0.000849s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5311 ORDER BY `minOrder` ASC [ RunTime:0.000293s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002183s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TEFD4300' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.013392s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7852 LIMIT 4 [ RunTime:0.002510s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7852 ORDER BY `minOrder` ASC [ RunTime:0.006039s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7852 ORDER BY `unit` DESC [ RunTime:0.003508s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7852 LIMIT 2 [ RunTime:0.001890s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7852 ORDER BY `minOrder` ASC [ RunTime:0.000271s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VEMD2523SLX01' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.014190s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 176 LIMIT 4 [ RunTime:0.001203s ]
SELECT * FROM `stock_price` WHERE `stockid` = 176 ORDER BY `minOrder` ASC [ RunTime:0.000682s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 176 ORDER BY `unit` DESC [ RunTime:0.001239s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 176 LIMIT 2 [ RunTime:0.008866s ]
SELECT * FROM `stock_price` WHERE `stockid` = 176 ORDER BY `minOrder` ASC [ RunTime:0.002657s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BPW21R' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.016564s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4079 LIMIT 4 [ RunTime:0.005183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4079 ORDER BY `minOrder` ASC [ RunTime:0.001922s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4079 ORDER BY `unit` DESC [ RunTime:0.017258s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4079 LIMIT 2 [ RunTime:0.010960s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4079 ORDER BY `minOrder` ASC [ RunTime:0.002502s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VEMD2020X01' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.013899s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11496 LIMIT 4 [ RunTime:0.000664s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11496 ORDER BY `minOrder` ASC [ RunTime:0.001404s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11496 ORDER BY `unit` DESC [ RunTime:0.001756s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11496 LIMIT 2 [ RunTime:0.000739s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11496 ORDER BY `minOrder` ASC [ RunTime:0.000347s ]
select * from pdf where partno='VEMD4110X01' and brandshort='VISHAY' limit 1 [ RunTime:0.002525s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VEMD4110X01' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.017704s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2261 LIMIT 4 [ RunTime:0.000618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2261 ORDER BY `minOrder` ASC [ RunTime:0.002913s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2261 ORDER BY `unit` DESC [ RunTime:0.003099s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2261 LIMIT 2 [ RunTime:0.002449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2261 ORDER BY `minOrder` ASC [ RunTime:0.008774s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BPW20RF' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.014099s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16892 LIMIT 4 [ RunTime:0.002886s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16892 ORDER BY `minOrder` ASC [ RunTime:0.001158s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16892 ORDER BY `unit` DESC [ RunTime:0.005262s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16892 LIMIT 2 [ RunTime:0.010073s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16892 ORDER BY `minOrder` ASC [ RunTime:0.004593s ]
select * from pdf where partno='S1223' and brandshort='HAMAMATSU' limit 1 [ RunTime:0.008211s ]
select foldpath,foldpath2,filename from pdf_file where id=613920 limit 1 [ RunTime:0.000444s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S1223' OR `brand` LIKE 'HAMAMATSU%' ) ) LIMIT 1 [ RunTime:0.004776s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15873 LIMIT 4 [ RunTime:0.011065s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15873 ORDER BY `minOrder` ASC [ RunTime:0.000538s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15873 ORDER BY `unit` DESC [ RunTime:0.002658s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15873 LIMIT 2 [ RunTime:0.008169s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15873 ORDER BY `minOrder` ASC [ RunTime:0.010610s ]
select * from pdf where partno='S1223' and brandshort='HAMAMATSU' limit 1 [ RunTime:0.008500s ]
select foldpath,foldpath2,filename from pdf_file where id=613920 limit 1 [ RunTime:0.001850s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S1223' OR `brand` LIKE 'HAMAMATSU%' ) ) LIMIT 1 [ RunTime:0.000494s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2420 LIMIT 4 [ RunTime:0.008627s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2420 ORDER BY `minOrder` ASC [ RunTime:0.002780s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2420 ORDER BY `unit` DESC [ RunTime:0.007420s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2420 LIMIT 2 [ RunTime:0.002514s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2420 ORDER BY `minOrder` ASC [ RunTime:0.002723s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S1223' OR `brand` LIKE 'HAMAMATSU%' ) ) LIMIT 1 [ RunTime:0.000435s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6817 LIMIT 4 [ RunTime:0.000578s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6817 ORDER BY `minOrder` ASC [ RunTime:0.007703s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6817 ORDER BY `unit` DESC [ RunTime:0.002974s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6817 LIMIT 2 [ RunTime:0.001141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6817 ORDER BY `minOrder` ASC [ RunTime:0.002103s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HCNR201-500E' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.010043s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13572 LIMIT 4 [ RunTime:0.000683s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13572 ORDER BY `minOrder` ASC [ RunTime:0.000978s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13572 ORDER BY `unit` DESC [ RunTime:0.002255s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13572 LIMIT 2 [ RunTime:0.015020s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13572 ORDER BY `minOrder` ASC [ RunTime:0.002169s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OSD15-5T.' OR `brand` LIKE 'CENTRONIC%' ) ) LIMIT 1 [ RunTime:0.001266s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8340 LIMIT 4 [ RunTime:0.006020s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8340 ORDER BY `minOrder` ASC [ RunTime:0.000969s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8340 ORDER BY `unit` DESC [ RunTime:0.003095s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8340 LIMIT 2 [ RunTime:0.002749s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8340 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VEMD5060X01' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.015610s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 347 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001429s ]