SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001955s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000673s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001885s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.108' ) [ RunTime:0.001199s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002663s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001248s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.002653s ]
SELECT * FROM `stock_search` WHERE `partno` = 'SMCJ5.0A' LIMIT 1 [ RunTime:0.002498s ]
UPDATE `stock_search` SET `count` = 200 WHERE `partno` = 'SMCJ5.0A' [ RunTime:0.003466s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000272s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000230s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.000428s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002346s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'SMCJ5.0A%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.005098s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `partno` LIKE 'SMCJ5.0A%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 20,20 [ RunTime:0.009413s ]
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 ('4770066','16782','15763','4825','10092130','6651398','6651188','6651187','6647592','6644939','6641379','4800706','4800340','4798929','4782983','4782787','4782368','4782161','4779426','4336856') ORDER BY FIELD(s.id, 4770066,16782,15763,4825,10092130,6651398,6651188,6651187,6647592,6644939,6641379,4800706,4800340,4798929,4782983,4782787,4782368,4782161,4779426,4336856) [ RunTime:0.005044s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001312s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4770066 LIMIT 4 [ RunTime:0.002851s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001481s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4770066 ORDER BY `minOrder` ASC [ RunTime:0.001701s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002402s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4770066 ORDER BY `unit` DESC [ RunTime:0.001591s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001882s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4770066 LIMIT 2 [ RunTime:0.001253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4770066 ORDER BY `minOrder` ASC [ RunTime:0.001417s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16782 LIMIT 4 [ RunTime:0.000675s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16782 ORDER BY `minOrder` ASC [ RunTime:0.007284s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16782 ORDER BY `unit` DESC [ RunTime:0.001716s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16782 LIMIT 2 [ RunTime:0.003239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16782 ORDER BY `minOrder` ASC [ RunTime:0.001485s ]
select * from pdf where partno='SMCJ5.0A' and brandshort='BOURNS' limit 1 [ RunTime:0.008022s ]
select foldpath,foldpath2,filename from pdf_file where id=951223 limit 1 [ RunTime:0.002799s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001296s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMCJ5.0A' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.002862s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15763 LIMIT 4 [ RunTime:0.000843s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15763 ORDER BY `minOrder` ASC [ RunTime:0.003292s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15763 ORDER BY `unit` DESC [ RunTime:0.002731s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15763 LIMIT 2 [ RunTime:0.004193s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15763 ORDER BY `minOrder` ASC [ RunTime:0.001526s ]
select * from pdf where partno='SMCJ5.0A' and brandshort='BOURNS' limit 1 [ RunTime:0.001546s ]
select foldpath,foldpath2,filename from pdf_file where id=951223 limit 1 [ RunTime:0.000252s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMCJ5.0A' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000173s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4825 LIMIT 4 [ RunTime:0.000363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4825 ORDER BY `minOrder` ASC [ RunTime:0.001694s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4825 ORDER BY `unit` DESC [ RunTime:0.001049s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4825 LIMIT 2 [ RunTime:0.001047s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4825 ORDER BY `minOrder` ASC [ RunTime:0.000461s ]
select * from pdf where partno='SMCJ5.0A' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.002138s ]
select foldpath,foldpath2,filename from pdf_file where id=421808 limit 1 [ RunTime:0.002725s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMCJ5.0A' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.007417s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10092130 LIMIT 4 [ RunTime:0.002953s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10092130 ORDER BY `minOrder` ASC [ RunTime:0.001374s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10092130 ORDER BY `unit` DESC [ RunTime:0.002205s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10092130 LIMIT 2 [ RunTime:0.003997s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10092130 ORDER BY `minOrder` ASC [ RunTime:0.000276s ]
select * from pdf where partno='SMCJ5.0A' and brandshort='Littelfuse' limit 1 [ RunTime:0.001984s ]
select foldpath,foldpath2,filename from pdf_file where id=421808 limit 1 [ RunTime:0.001602s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMCJ5.0A' OR `brand` LIKE 'Littelfuse(美国力特)%' ) ) LIMIT 1 [ RunTime:0.005078s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6651398 LIMIT 4 [ RunTime:0.003370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6651398 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6651398 ORDER BY `unit` DESC [ RunTime:0.001292s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6651398 LIMIT 2 [ RunTime:0.000330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6651398 ORDER BY `minOrder` ASC [ RunTime:0.000542s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6651188 LIMIT 4 [ RunTime:0.000589s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6651188 ORDER BY `minOrder` ASC [ RunTime:0.000344s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6651188 ORDER BY `unit` DESC [ RunTime:0.000505s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6651188 LIMIT 2 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6651188 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6651187 LIMIT 4 [ RunTime:0.000599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6651187 ORDER BY `minOrder` ASC [ RunTime:0.002388s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6651187 ORDER BY `unit` DESC [ RunTime:0.004150s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6651187 LIMIT 2 [ RunTime:0.001490s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6651187 ORDER BY `minOrder` ASC [ RunTime:0.003056s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6647592 LIMIT 4 [ RunTime:0.002978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6647592 ORDER BY `minOrder` ASC [ RunTime:0.000535s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6647592 ORDER BY `unit` DESC [ RunTime:0.000615s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6647592 LIMIT 2 [ RunTime:0.000747s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6647592 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6644939 LIMIT 4 [ RunTime:0.003010s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6644939 ORDER BY `minOrder` ASC [ RunTime:0.001453s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6644939 ORDER BY `unit` DESC [ RunTime:0.000335s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6644939 LIMIT 2 [ RunTime:0.004710s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6644939 ORDER BY `minOrder` ASC [ RunTime:0.002673s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6641379 LIMIT 4 [ RunTime:0.003027s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6641379 ORDER BY `minOrder` ASC [ RunTime:0.001492s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6641379 ORDER BY `unit` DESC [ RunTime:0.001989s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6641379 LIMIT 2 [ RunTime:0.001624s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6641379 ORDER BY `minOrder` ASC [ RunTime:0.002330s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4800706 LIMIT 4 [ RunTime:0.001949s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4800706 ORDER BY `minOrder` ASC [ RunTime:0.001625s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4800706 ORDER BY `unit` DESC [ RunTime:0.002420s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4800706 LIMIT 2 [ RunTime:0.001643s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4800706 ORDER BY `minOrder` ASC [ RunTime:0.002262s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4800340 LIMIT 4 [ RunTime:0.002064s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4800340 ORDER BY `minOrder` ASC [ RunTime:0.001763s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4800340 ORDER BY `unit` DESC [ RunTime:0.004749s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4800340 LIMIT 2 [ RunTime:0.001082s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4800340 ORDER BY `minOrder` ASC [ RunTime:0.003760s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4798929 LIMIT 4 [ RunTime:0.001044s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4798929 ORDER BY `minOrder` ASC [ RunTime:0.001888s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4798929 ORDER BY `unit` DESC [ RunTime:0.002671s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4798929 LIMIT 2 [ RunTime:0.004584s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4798929 ORDER BY `minOrder` ASC [ RunTime:0.004678s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4782983 LIMIT 4 [ RunTime:0.003819s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4782983 ORDER BY `minOrder` ASC [ RunTime:0.004712s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4782983 ORDER BY `unit` DESC [ RunTime:0.000676s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4782983 LIMIT 2 [ RunTime:0.002896s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4782983 ORDER BY `minOrder` ASC [ RunTime:0.004225s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4782787 LIMIT 4 [ RunTime:0.002255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4782787 ORDER BY `minOrder` ASC [ RunTime:0.003614s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4782787 ORDER BY `unit` DESC [ RunTime:0.001715s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4782787 LIMIT 2 [ RunTime:0.004855s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4782787 ORDER BY `minOrder` ASC [ RunTime:0.002658s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4782368 LIMIT 4 [ RunTime:0.000995s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4782368 ORDER BY `minOrder` ASC [ RunTime:0.010712s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4782368 ORDER BY `unit` DESC [ RunTime:0.001542s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4782368 LIMIT 2 [ RunTime:0.001627s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4782368 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4782161 LIMIT 4 [ RunTime:0.007799s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4782161 ORDER BY `minOrder` ASC [ RunTime:0.001859s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4782161 ORDER BY `unit` DESC [ RunTime:0.001876s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4782161 LIMIT 2 [ RunTime:0.001986s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4782161 ORDER BY `minOrder` ASC [ RunTime:0.002095s ]
select * from pdf where partno='SMCJ5.0A-T7' and brandshort='Littelfuse Inc.' limit 1 [ RunTime:0.001056s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4779426 LIMIT 4 [ RunTime:0.003012s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4779426 ORDER BY `minOrder` ASC [ RunTime:0.003477s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4779426 ORDER BY `unit` DESC [ RunTime:0.003655s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4779426 LIMIT 2 [ RunTime:0.001727s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4779426 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4336856 LIMIT 4 [ RunTime:0.001009s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4336856 ORDER BY `minOrder` ASC [ RunTime:0.001739s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4336856 ORDER BY `unit` DESC [ RunTime:0.000755s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4336856 LIMIT 2 [ RunTime:0.000676s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4336856 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'SMCJ5.0A%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.007648s ]