SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001163s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000455s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001086s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.000209s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001156s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000189s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 608 LIMIT 1 [ RunTime:0.000212s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 608 [ RunTime:0.002878s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.001106s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001156s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 608 ) AND `u`.`lockUser` = '0' [ RunTime:0.004607s ]
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` = 608 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005617s ]
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 ('841','844','10960','10958','716','10962','10959','1307','14846','14848','1306','10956','14845','843') ORDER BY FIELD(s.id, 841,844,10960,10958,716,10962,10959,1307,14846,14848,1306,10956,14845,843) [ RunTime:0.006826s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002697s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 841 LIMIT 4 [ RunTime:0.000329s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 841 ORDER BY `minOrder` ASC [ RunTime:0.001877s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001230s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 841 ORDER BY `unit` DESC [ RunTime:0.000954s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001351s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 841 LIMIT 2 [ RunTime:0.000305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 841 ORDER BY `minOrder` ASC [ RunTime:0.000192s ]
select * from pdf where partno='3101.0030' and brandshort='SCHURTER' limit 1 [ RunTime:0.001620s ]
select foldpath,foldpath2,filename from pdf_file where id=761500 limit 1 [ RunTime:0.011835s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002398s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0030' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.007490s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 844 LIMIT 4 [ RunTime:0.013100s ]
SELECT * FROM `stock_price` WHERE `stockid` = 844 ORDER BY `minOrder` ASC [ RunTime:0.006897s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 844 ORDER BY `unit` DESC [ RunTime:0.006112s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 844 LIMIT 2 [ RunTime:0.021280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 844 ORDER BY `minOrder` ASC [ RunTime:0.002183s ]
select * from pdf where partno='0031.8201' and brandshort='SCHURTER' limit 1 [ RunTime:0.004858s ]
select foldpath,foldpath2,filename from pdf_file where id=776340 limit 1 [ RunTime:0.000582s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0031.8201' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.007526s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10960 LIMIT 4 [ RunTime:0.001904s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10960 ORDER BY `minOrder` ASC [ RunTime:0.000593s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10960 ORDER BY `unit` DESC [ RunTime:0.000626s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10960 LIMIT 2 [ RunTime:0.015523s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10960 ORDER BY `minOrder` ASC [ RunTime:0.001922s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0380' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.001280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10958 LIMIT 4 [ RunTime:0.004289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10958 ORDER BY `minOrder` ASC [ RunTime:0.000822s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10958 ORDER BY `unit` DESC [ RunTime:0.000403s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10958 LIMIT 2 [ RunTime:0.005232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10958 ORDER BY `minOrder` ASC [ RunTime:0.002408s ]
select * from pdf where partno='FX0357' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.000386s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0357' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.000419s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 716 LIMIT 4 [ RunTime:0.002741s ]
SELECT * FROM `stock_price` WHERE `stockid` = 716 ORDER BY `minOrder` ASC [ RunTime:0.007940s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 716 ORDER BY `unit` DESC [ RunTime:0.003181s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 716 LIMIT 2 [ RunTime:0.003827s ]
SELECT * FROM `stock_price` WHERE `stockid` = 716 ORDER BY `minOrder` ASC [ RunTime:0.002034s ]
select * from pdf where partno='3101.0010' and brandshort='SCHURTER' limit 1 [ RunTime:0.002404s ]
select foldpath,foldpath2,filename from pdf_file where id=751592 limit 1 [ RunTime:0.001938s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0010' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.002795s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10962 LIMIT 4 [ RunTime:0.001675s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10962 ORDER BY `minOrder` ASC [ RunTime:0.000347s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10962 ORDER BY `unit` DESC [ RunTime:0.000348s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10962 LIMIT 2 [ RunTime:0.003139s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10962 ORDER BY `minOrder` ASC [ RunTime:0.000458s ]
select * from pdf where partno='FX0321' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.000377s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0321' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.000342s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10959 LIMIT 4 [ RunTime:0.000516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10959 ORDER BY `minOrder` ASC [ RunTime:0.001307s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10959 ORDER BY `unit` DESC [ RunTime:0.001875s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10959 LIMIT 2 [ RunTime:0.002939s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10959 ORDER BY `minOrder` ASC [ RunTime:0.001513s ]
select * from pdf where partno='FX0365' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.002449s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0365' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.001064s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1307 LIMIT 4 [ RunTime:0.001801s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1307 ORDER BY `minOrder` ASC [ RunTime:0.001150s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1307 ORDER BY `unit` DESC [ RunTime:0.000514s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1307 LIMIT 2 [ RunTime:0.000495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1307 ORDER BY `minOrder` ASC [ RunTime:0.000341s ]
select * from pdf where partno='3101.0045' and brandshort='SCHURTER' limit 1 [ RunTime:0.000962s ]
select foldpath,foldpath2,filename from pdf_file where id=761501 limit 1 [ RunTime:0.000725s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0045' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.004942s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14846 LIMIT 4 [ RunTime:0.001883s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14846 ORDER BY `minOrder` ASC [ RunTime:0.001352s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14846 ORDER BY `unit` DESC [ RunTime:0.006808s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14846 LIMIT 2 [ RunTime:0.008936s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14846 ORDER BY `minOrder` ASC [ RunTime:0.002813s ]
select * from pdf where partno='01520001TXN940' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001304s ]
select foldpath,foldpath2,filename from pdf_file where id=2029898 limit 1 [ RunTime:0.001846s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '01520001TXN940' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.011844s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14848 LIMIT 4 [ RunTime:0.002573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14848 ORDER BY `minOrder` ASC [ RunTime:0.000859s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14848 ORDER BY `unit` DESC [ RunTime:0.006886s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14848 LIMIT 2 [ RunTime:0.002082s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14848 ORDER BY `minOrder` ASC [ RunTime:0.001651s ]
select * from pdf where partno='01530008Z' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.006351s ]
select foldpath,foldpath2,filename from pdf_file where id=1188897 limit 1 [ RunTime:0.001084s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '01530008Z' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.015030s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1306 LIMIT 4 [ RunTime:0.005816s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1306 ORDER BY `minOrder` ASC [ RunTime:0.002851s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1306 ORDER BY `unit` DESC [ RunTime:0.008641s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1306 LIMIT 2 [ RunTime:0.009544s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1306 ORDER BY `minOrder` ASC [ RunTime:0.003171s ]
select * from pdf where partno='3101.0040' and brandshort='SCHURTER' limit 1 [ RunTime:0.001282s ]
select foldpath,foldpath2,filename from pdf_file where id=761501 limit 1 [ RunTime:0.004186s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0040' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.002798s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10956 LIMIT 4 [ RunTime:0.000532s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10956 ORDER BY `minOrder` ASC [ RunTime:0.004866s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10956 ORDER BY `unit` DESC [ RunTime:0.009698s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10956 LIMIT 2 [ RunTime:0.004686s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10956 ORDER BY `minOrder` ASC [ RunTime:0.000415s ]
select * from pdf where partno='FX0296' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.001550s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0296' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.000629s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14845 LIMIT 4 [ RunTime:0.007128s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14845 ORDER BY `minOrder` ASC [ RunTime:0.000535s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14845 ORDER BY `unit` DESC [ RunTime:0.002715s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14845 LIMIT 2 [ RunTime:0.004732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14845 ORDER BY `minOrder` ASC [ RunTime:0.000370s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '01550320ZXU' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.009061s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 843 LIMIT 4 [ RunTime:0.004584s ]
SELECT * FROM `stock_price` WHERE `stockid` = 843 ORDER BY `minOrder` ASC [ RunTime:0.006186s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 843 ORDER BY `unit` DESC [ RunTime:0.011312s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 843 LIMIT 2 [ RunTime:0.000726s ]
SELECT * FROM `stock_price` WHERE `stockid` = 843 ORDER BY `minOrder` ASC [ RunTime:0.000431s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4301.1405' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.003210s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 608 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002016s ]