SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002243s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000516s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002022s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000302s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002230s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000316s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 156 LIMIT 1 [ RunTime:0.002795s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 156 [ RunTime:0.000253s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 25 [ RunTime:0.000220s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001994s ]
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 ( `status` <> 2 AND `categoryid` = 156 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001283s ]
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 ('1012','7476','973','6047','7477','4569','717','2812','789','3137','1332','12594','11989','17105','16626','16602','16087','15607','15582','842') ORDER BY FIELD(s.id, 1012,7476,973,6047,7477,4569,717,2812,789,3137,1332,12594,11989,17105,16626,16602,16087,15607,15582,842) [ RunTime:0.006937s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001848s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1012 LIMIT 4 [ RunTime:0.000703s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1012 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000923s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1012 ORDER BY `unit` DESC [ RunTime:0.000194s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001145s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1012 LIMIT 2 [ RunTime:0.000192s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1012 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000974s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '10207101009' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000211s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7476 LIMIT 4 [ RunTime:0.000181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7476 ORDER BY `minOrder` ASC [ RunTime:0.000189s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7476 ORDER BY `unit` DESC [ RunTime:0.000180s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7476 LIMIT 2 [ RunTime:0.000173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7476 ORDER BY `minOrder` ASC [ RunTime:0.000171s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC000830' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000182s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 973 LIMIT 4 [ RunTime:0.000179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 973 ORDER BY `minOrder` ASC [ RunTime:0.000184s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 973 ORDER BY `unit` DESC [ RunTime:0.000175s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 973 LIMIT 2 [ RunTime:0.000177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 973 ORDER BY `minOrder` ASC [ RunTime:0.000171s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0853.0551' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.000179s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6047 LIMIT 4 [ RunTime:0.000175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6047 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6047 ORDER BY `unit` DESC [ RunTime:0.000180s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6047 LIMIT 2 [ RunTime:0.000177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6047 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3557-2' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.000191s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7477 LIMIT 4 [ RunTime:0.000187s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7477 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7477 ORDER BY `unit` DESC [ RunTime:0.000213s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7477 LIMIT 2 [ RunTime:0.000172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7477 ORDER BY `minOrder` ASC [ RunTime:0.000171s ]
select * from pdf where partno='MC000832' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000726s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC000832' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000468s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4569 LIMIT 4 [ RunTime:0.000276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4569 ORDER BY `minOrder` ASC [ RunTime:0.000352s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4569 ORDER BY `unit` DESC [ RunTime:0.000341s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4569 LIMIT 2 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4569 ORDER BY `minOrder` ASC [ RunTime:0.000315s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '01110501Z.' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000334s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 717 LIMIT 4 [ RunTime:0.000338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 717 ORDER BY `minOrder` ASC [ RunTime:0.000329s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 717 ORDER BY `unit` DESC [ RunTime:0.000331s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 717 LIMIT 2 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 717 ORDER BY `minOrder` ASC [ RunTime:0.002321s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0020' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.000354s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2812 LIMIT 4 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2812 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2812 ORDER BY `unit` DESC [ RunTime:0.000319s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2812 LIMIT 2 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2812 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
select * from pdf where partno='65600001009' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000821s ]
select foldpath,foldpath2,filename from pdf_file where id=1212905 limit 1 [ RunTime:0.000282s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '65600001009' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000414s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 789 LIMIT 4 [ RunTime:0.000315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 789 ORDER BY `minOrder` ASC [ RunTime:0.000324s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 789 ORDER BY `unit` DESC [ RunTime:0.000329s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 789 LIMIT 2 [ RunTime:0.000315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 789 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
select * from pdf where partno='4301.1401' and brandshort='SCHURTER' limit 1 [ RunTime:0.000699s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4301.1401' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.000400s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3137 LIMIT 4 [ RunTime:0.000383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3137 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3137 ORDER BY `unit` DESC [ RunTime:0.000377s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3137 LIMIT 2 [ RunTime:0.000407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3137 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
select * from pdf where partno='0031.3901' and brandshort='SCHURTER' limit 1 [ RunTime:0.000730s ]
select foldpath,foldpath2,filename from pdf_file where id=897021 limit 1 [ RunTime:0.000347s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0031.3901' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.000389s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1332 LIMIT 4 [ RunTime:0.000559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1332 ORDER BY `minOrder` ASC [ RunTime:0.004030s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1332 ORDER BY `unit` DESC [ RunTime:0.000330s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1332 LIMIT 2 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1332 ORDER BY `minOrder` ASC [ RunTime:0.000353s ]
select * from pdf where partno='82000000005' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000885s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '82000000005' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000426s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12594 LIMIT 4 [ RunTime:0.003373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12594 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12594 ORDER BY `unit` DESC [ RunTime:0.000346s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12594 LIMIT 2 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12594 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BK-HKP-R' OR `brand` LIKE 'EATON BUSSMANN%' ) ) LIMIT 1 [ RunTime:0.000378s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11989 LIMIT 4 [ RunTime:0.002710s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11989 ORDER BY `minOrder` ASC [ RunTime:0.002393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11989 ORDER BY `unit` DESC [ RunTime:0.000530s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11989 LIMIT 2 [ RunTime:0.000579s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11989 ORDER BY `minOrder` ASC [ RunTime:0.000348s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '56000001319' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.009153s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17105 LIMIT 4 [ RunTime:0.000550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17105 ORDER BY `minOrder` ASC [ RunTime:0.006447s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17105 ORDER BY `unit` DESC [ RunTime:0.003381s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17105 LIMIT 2 [ RunTime:0.001328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17105 ORDER BY `minOrder` ASC [ RunTime:0.001206s ]
select * from pdf where partno='BK-HKP-R' and brandshort='EATON BUSSMANN' limit 1 [ RunTime:0.003125s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BK-HKP-R' OR `brand` LIKE 'EATON BUSSMANN%' ) ) LIMIT 1 [ RunTime:0.000421s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16626 LIMIT 4 [ RunTime:0.002731s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16626 ORDER BY `minOrder` ASC [ RunTime:0.003533s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16626 ORDER BY `unit` DESC [ RunTime:0.001148s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16626 LIMIT 2 [ RunTime:0.003592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16626 ORDER BY `minOrder` ASC [ RunTime:0.003009s ]
select * from pdf where partno='4245C' and brandshort='KEYSTONE' limit 1 [ RunTime:0.005334s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4245C' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.005790s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16602 LIMIT 4 [ RunTime:0.002470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16602 ORDER BY `minOrder` ASC [ RunTime:0.002660s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16602 ORDER BY `unit` DESC [ RunTime:0.000793s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16602 LIMIT 2 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16602 ORDER BY `minOrder` ASC [ RunTime:0.000998s ]
select * from pdf where partno='82000000005' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.002620s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '82000000005' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.005223s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16087 LIMIT 4 [ RunTime:0.001995s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16087 ORDER BY `minOrder` ASC [ RunTime:0.003060s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16087 ORDER BY `unit` DESC [ RunTime:0.001621s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16087 LIMIT 2 [ RunTime:0.004876s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16087 ORDER BY `minOrder` ASC [ RunTime:0.001030s ]
select * from pdf where partno='BK-HKP-R' and brandshort='EATON BUSSMANN' limit 1 [ RunTime:0.002335s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BK-HKP-R' OR `brand` LIKE 'EATON BUSSMANN%' ) ) LIMIT 1 [ RunTime:0.000626s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15607 LIMIT 4 [ RunTime:0.003060s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15607 ORDER BY `minOrder` ASC [ RunTime:0.001794s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15607 ORDER BY `unit` DESC [ RunTime:0.001034s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15607 LIMIT 2 [ RunTime:0.001660s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15607 ORDER BY `minOrder` ASC [ RunTime:0.000925s ]
select * from pdf where partno='4245C' and brandshort='KEYSTONE' limit 1 [ RunTime:0.000754s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4245C' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.000309s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15582 LIMIT 4 [ RunTime:0.000413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15582 ORDER BY `minOrder` ASC [ RunTime:0.002090s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15582 ORDER BY `unit` DESC [ RunTime:0.005373s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15582 LIMIT 2 [ RunTime:0.001594s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15582 ORDER BY `minOrder` ASC [ RunTime:0.002138s ]
select * from pdf where partno='82000000005' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001178s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '82000000005' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000369s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 842 LIMIT 4 [ RunTime:0.000422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 842 ORDER BY `minOrder` ASC [ RunTime:0.002973s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 842 ORDER BY `unit` DESC [ RunTime:0.000338s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 842 LIMIT 2 [ RunTime:0.000414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 842 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4301.1403' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.002376s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 156 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.003058s ]