SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002386s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000640s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002476s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.000357s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002704s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000379s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 52 LIMIT 1 [ RunTime:0.000398s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 52 [ RunTime:0.000283s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (695,696,697,698,699,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719) [ RunTime:0.000470s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002623s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` IN (695,696,697,698,699,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719) ) AND `u`.`lockUser` = '0' [ RunTime:0.007154s ]
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 (695,696,697,698,699,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004742s ]
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 ('13547','10545','5382','11732','5985','983','5383','1162','7723','1889','10523','1879','4139','8785','1021','4142','9029','7848','5687','8987') ORDER BY FIELD(s.id, 13547,10545,5382,11732,5985,983,5383,1162,7723,1889,10523,1879,4139,8785,1021,4142,9029,7848,5687,8987) [ RunTime:0.029907s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002987s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13547 LIMIT 4 [ RunTime:0.000876s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.009076s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13547 ORDER BY `minOrder` ASC [ RunTime:0.002022s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002476s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13547 ORDER BY `unit` DESC [ RunTime:0.006379s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002246s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13547 LIMIT 2 [ RunTime:0.000571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13547 ORDER BY `minOrder` ASC [ RunTime:0.001666s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002458s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TSC506-ZP' OR `brand` LIKE 'LAIRD%' ) ) LIMIT 1 [ RunTime:0.005430s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10545 LIMIT 4 [ RunTime:0.000538s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10545 ORDER BY `minOrder` ASC [ RunTime:0.000451s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10545 ORDER BY `unit` DESC [ RunTime:0.001569s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10545 LIMIT 2 [ RunTime:0.000445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10545 ORDER BY `minOrder` ASC [ RunTime:0.000434s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '94-B' OR `brand` LIKE 'ABB - ADAPTAFLEX%' ) ) LIMIT 1 [ RunTime:0.000469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5382 LIMIT 4 [ RunTime:0.000304s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5382 ORDER BY `minOrder` ASC [ RunTime:0.000279s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5382 ORDER BY `unit` DESC [ RunTime:0.000269s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5382 LIMIT 2 [ RunTime:0.000262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5382 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DH-023' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.000281s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11732 LIMIT 4 [ RunTime:0.003842s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11732 ORDER BY `minOrder` ASC [ RunTime:0.000280s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11732 ORDER BY `unit` DESC [ RunTime:0.000264s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11732 LIMIT 2 [ RunTime:0.000472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11732 ORDER BY `minOrder` ASC [ RunTime:0.000275s ]
select * from pdf where partno='52936-3' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000234s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '52936-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000294s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5985 LIMIT 4 [ RunTime:0.000485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5985 ORDER BY `minOrder` ASC [ RunTime:0.000501s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5985 ORDER BY `unit` DESC [ RunTime:0.003259s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5985 LIMIT 2 [ RunTime:0.004989s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5985 ORDER BY `minOrder` ASC [ RunTime:0.004032s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S1791-42R' OR `brand` LIKE 'HARWIN%' ) ) LIMIT 1 [ RunTime:0.003978s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 983 LIMIT 4 [ RunTime:0.000295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 983 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 983 ORDER BY `unit` DESC [ RunTime:0.000231s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 983 LIMIT 2 [ RunTime:0.000221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 983 ORDER BY `minOrder` ASC [ RunTime:0.000224s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '53119010' OR `brand` LIKE 'LAPP KABEL%' ) ) LIMIT 1 [ RunTime:0.000230s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5383 LIMIT 4 [ RunTime:0.000216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5383 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5383 ORDER BY `unit` DESC [ RunTime:0.000270s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5383 LIMIT 2 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5383 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
select * from pdf where partno='DH-023L2F' and brandshort='MULTICOMP' limit 1 [ RunTime:0.001602s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DH-023L2F' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.000282s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1162 LIMIT 4 [ RunTime:0.000336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1162 ORDER BY `minOrder` ASC [ RunTime:0.000344s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1162 ORDER BY `unit` DESC [ RunTime:0.000288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1162 LIMIT 2 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1162 ORDER BY `minOrder` ASC [ RunTime:0.000289s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '53119110' OR `brand` LIKE 'LAPP KABEL%' ) ) LIMIT 1 [ RunTime:0.000290s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7723 LIMIT 4 [ RunTime:0.005188s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7723 ORDER BY `minOrder` ASC [ RunTime:0.005671s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7723 ORDER BY `unit` DESC [ RunTime:0.003826s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7723 LIMIT 2 [ RunTime:0.010640s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7723 ORDER BY `minOrder` ASC [ RunTime:0.001708s ]
select * from pdf where partno='35622' and brandshort='DESCO' limit 1 [ RunTime:0.002951s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '35622' OR `brand` LIKE 'DESCO%' ) ) LIMIT 1 [ RunTime:0.009657s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1889 LIMIT 4 [ RunTime:0.001789s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1889 ORDER BY `minOrder` ASC [ RunTime:0.003384s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1889 ORDER BY `unit` DESC [ RunTime:0.007999s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1889 LIMIT 2 [ RunTime:0.007562s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1889 ORDER BY `minOrder` ASC [ RunTime:0.017244s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M3- HFA2-S100-' OR `brand` LIKE 'TR FASTENINGS%' ) ) LIMIT 1 [ RunTime:0.010216s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10523 LIMIT 4 [ RunTime:0.003076s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10523 ORDER BY `minOrder` ASC [ RunTime:0.029468s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10523 ORDER BY `unit` DESC [ RunTime:0.027933s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10523 LIMIT 2 [ RunTime:0.020389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10523 ORDER BY `minOrder` ASC [ RunTime:0.010976s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2306334-3' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.033107s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1879 LIMIT 4 [ RunTime:0.006268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1879 ORDER BY `minOrder` ASC [ RunTime:0.006292s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1879 ORDER BY `unit` DESC [ RunTime:0.005379s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1879 LIMIT 2 [ RunTime:0.000632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1879 ORDER BY `minOrder` ASC [ RunTime:0.000496s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M2.5- HFST-Z100-' OR `brand` LIKE 'TR FASTENINGS%' ) ) LIMIT 1 [ RunTime:0.003329s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4139 LIMIT 4 [ RunTime:0.004715s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4139 ORDER BY `minOrder` ASC [ RunTime:0.016359s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4139 ORDER BY `unit` DESC [ RunTime:0.008569s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4139 LIMIT 2 [ RunTime:0.007183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4139 ORDER BY `minOrder` ASC [ RunTime:0.007338s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FK-MCP 1,5/3-ST-3.81' OR `brand` LIKE 'PHOENIX CONTACT%' ) ) LIMIT 1 [ RunTime:0.009985s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8785 LIMIT 4 [ RunTime:0.000495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8785 ORDER BY `minOrder` ASC [ RunTime:0.000473s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8785 ORDER BY `unit` DESC [ RunTime:0.000474s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8785 LIMIT 2 [ RunTime:0.000453s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8785 ORDER BY `minOrder` ASC [ RunTime:0.000463s ]
select * from pdf where partno='RTS712N10P03' and brandshort='AMPHENOL SINE/TUCHEL' limit 1 [ RunTime:0.000613s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RTS712N10P03' OR `brand` LIKE 'AMPHENOL SINE/TUCHEL%' ) ) LIMIT 1 [ RunTime:0.000546s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1021 LIMIT 4 [ RunTime:0.003342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1021 ORDER BY `minOrder` ASC [ RunTime:0.010621s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1021 ORDER BY `unit` DESC [ RunTime:0.000738s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1021 LIMIT 2 [ RunTime:0.007451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1021 ORDER BY `minOrder` ASC [ RunTime:0.004398s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D110277' OR `brand` LIKE 'ITT CANNON%' ) ) LIMIT 1 [ RunTime:0.001834s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4142 LIMIT 4 [ RunTime:0.000465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4142 ORDER BY `minOrder` ASC [ RunTime:0.000465s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4142 ORDER BY `unit` DESC [ RunTime:0.000461s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4142 LIMIT 2 [ RunTime:0.001516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4142 ORDER BY `minOrder` ASC [ RunTime:0.000465s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FK-MCP 1,5/ 2-STF-3,81' OR `brand` LIKE 'PHOENIX CONTACT%' ) ) LIMIT 1 [ RunTime:0.000474s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9029 LIMIT 4 [ RunTime:0.000453s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9029 ORDER BY `minOrder` ASC [ RunTime:0.000448s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9029 ORDER BY `unit` DESC [ RunTime:0.000462s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9029 LIMIT 2 [ RunTime:0.000618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9029 ORDER BY `minOrder` ASC [ RunTime:0.000460s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '142-TB' OR `brand` LIKE 'ABB - THOMAS & BETTS%' ) ) LIMIT 1 [ RunTime:0.000492s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7848 LIMIT 4 [ RunTime:0.001267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7848 ORDER BY `minOrder` ASC [ RunTime:0.000814s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7848 ORDER BY `unit` DESC [ RunTime:0.000511s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7848 LIMIT 2 [ RunTime:0.000822s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7848 ORDER BY `minOrder` ASC [ RunTime:0.001811s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '980' OR `brand` LIKE 'LASER%' ) ) LIMIT 1 [ RunTime:0.002191s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5687 LIMIT 4 [ RunTime:0.000499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5687 ORDER BY `minOrder` ASC [ RunTime:0.000452s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5687 ORDER BY `unit` DESC [ RunTime:0.000459s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5687 LIMIT 2 [ RunTime:0.000487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5687 ORDER BY `minOrder` ASC [ RunTime:0.000457s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '516-090-000-302' OR `brand` LIKE 'EDAC%' ) ) LIMIT 1 [ RunTime:0.000533s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8987 LIMIT 4 [ RunTime:0.003312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8987 ORDER BY `minOrder` ASC [ RunTime:0.010505s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8987 ORDER BY `unit` DESC [ RunTime:0.000884s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8987 LIMIT 2 [ RunTime:0.007653s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8987 ORDER BY `minOrder` ASC [ RunTime:0.005455s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0861-0-15-20-82-14-11-0' OR `brand` LIKE 'MILL MAX%' ) ) LIMIT 1 [ RunTime:0.001734s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (695,696,697,698,699,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.006088s ]