SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001451s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.012126s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002326s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.130' ) [ RunTime:0.020548s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001973s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.003123s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 16 LIMIT 1 [ RunTime:0.014719s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 16 [ RunTime:0.013131s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74) [ RunTime:0.013301s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002296s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` IN (54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74) ) AND `u`.`lockUser` = '0' [ RunTime:0.015853s ]
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` IN (54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017777s ]
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 ('14975','14970','10076','3488','3054','6245','846','5340','10092830','10091691') ORDER BY FIELD(s.id, 14975,14970,10076,3488,3054,6245,846,5340,10092830,10091691) [ RunTime:0.028699s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003610s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14975 LIMIT 4 [ RunTime:0.035217s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.019855s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14975 ORDER BY `minOrder` ASC [ RunTime:0.011938s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.012661s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14975 ORDER BY `unit` DESC [ RunTime:0.034520s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.005782s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14975 LIMIT 2 [ RunTime:0.011923s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14975 ORDER BY `minOrder` ASC [ RunTime:0.009232s ]
select * from pdf where partno='EEFSX0E331ER' and brandshort='Panasonic' limit 1 [ RunTime:0.019416s ]
select foldpath,foldpath2,filename from pdf_file where id=1078764 limit 1 [ RunTime:0.020645s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002298s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EEFSX0E331ER' OR `brand` LIKE 'Panasonic%' ) ) LIMIT 1 [ RunTime:0.039396s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14970 LIMIT 4 [ RunTime:0.021932s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14970 ORDER BY `minOrder` ASC [ RunTime:0.030101s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14970 ORDER BY `unit` DESC [ RunTime:0.027507s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14970 LIMIT 2 [ RunTime:0.011763s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14970 ORDER BY `minOrder` ASC [ RunTime:0.013617s ]
select * from pdf where partno='TAJC476K016R' and brandshort='AVX' limit 1 [ RunTime:0.017820s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TAJC476K016R' OR `brand` LIKE 'AVX%' ) ) LIMIT 1 [ RunTime:0.043669s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10076 LIMIT 4 [ RunTime:0.008678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10076 ORDER BY `minOrder` ASC [ RunTime:0.012859s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10076 ORDER BY `unit` DESC [ RunTime:0.004319s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10076 LIMIT 2 [ RunTime:0.037493s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10076 ORDER BY `minOrder` ASC [ RunTime:0.002156s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T494X476K035AT.' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.030184s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3488 LIMIT 4 [ RunTime:0.022388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3488 ORDER BY `minOrder` ASC [ RunTime:0.004480s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3488 ORDER BY `unit` DESC [ RunTime:0.011741s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3488 LIMIT 2 [ RunTime:0.007053s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3488 ORDER BY `minOrder` ASC [ RunTime:0.008644s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '594D187X0016R2T' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.030109s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3054 LIMIT 4 [ RunTime:0.001632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3054 ORDER BY `minOrder` ASC [ RunTime:0.014054s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3054 ORDER BY `unit` DESC [ RunTime:0.008112s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3054 LIMIT 2 [ RunTime:0.003973s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3054 ORDER BY `minOrder` ASC [ RunTime:0.001883s ]
select * from pdf where partno='T494B685K025AT' and brandshort='KEMET' limit 1 [ RunTime:0.003651s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T494B685K025AT' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.005970s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6245 LIMIT 4 [ RunTime:0.001337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6245 ORDER BY `minOrder` ASC [ RunTime:0.002367s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6245 ORDER BY `unit` DESC [ RunTime:0.003727s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6245 LIMIT 2 [ RunTime:0.014388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6245 ORDER BY `minOrder` ASC [ RunTime:0.003942s ]
select * from pdf where partno='T491A106M020AT.' and brandshort='KEMET' limit 1 [ RunTime:0.017370s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T491A106M020AT.' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.005603s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 846 LIMIT 4 [ RunTime:0.003667s ]
SELECT * FROM `stock_price` WHERE `stockid` = 846 ORDER BY `minOrder` ASC [ RunTime:0.001187s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 846 ORDER BY `unit` DESC [ RunTime:0.017288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 846 LIMIT 2 [ RunTime:0.005077s ]
SELECT * FROM `stock_price` WHERE `stockid` = 846 ORDER BY `minOrder` ASC [ RunTime:0.001477s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T353G106K035AT' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.009812s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5340 LIMIT 4 [ RunTime:0.002290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5340 ORDER BY `minOrder` ASC [ RunTime:0.008481s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5340 ORDER BY `unit` DESC [ RunTime:0.005185s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5340 LIMIT 2 [ RunTime:0.016939s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5340 ORDER BY `minOrder` ASC [ RunTime:0.011658s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39006/22-0619' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.022632s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10092830 LIMIT 4 [ RunTime:0.018167s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10092830 ORDER BY `minOrder` ASC [ RunTime:0.021242s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10092830 ORDER BY `unit` DESC [ RunTime:0.014363s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10092830 LIMIT 2 [ RunTime:0.000490s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10092830 ORDER BY `minOrder` ASC [ RunTime:0.008021s ]
select * from pdf where partno='LA4725'limit 1 [ RunTime:0.011144s ]
select foldpath,foldpath2,filename from pdf_file where id=375678 limit 1 [ RunTime:0.000436s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10091691 LIMIT 4 [ RunTime:0.008003s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10091691 ORDER BY `minOrder` ASC [ RunTime:0.023447s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10091691 ORDER BY `unit` DESC [ RunTime:0.001007s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10091691 LIMIT 2 [ RunTime:0.000442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10091691 ORDER BY `minOrder` ASC [ RunTime:0.002662s ]
select * from pdf where partno='EEFSX0E331ER' and brandshort='Panasonic' limit 1 [ RunTime:0.000347s ]
select foldpath,foldpath2,filename from pdf_file where id=1078764 limit 1 [ RunTime:0.000206s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EEFSX0E331ER' OR `brand` LIKE 'Panasonic%' ) ) LIMIT 1 [ RunTime:0.000400s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.003568s ]