SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.001551s ]
INSERT INTO `visit_log` SET `ip` = '216.73.217.116' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' , `host` = 'https://www.ic118.com/stock?typeid=26' [ RunTime:0.001819s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001111s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000631s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003033s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.116' ) [ RunTime:0.000477s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.003192s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000394s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 26 [ RunTime:0.000400s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002619s ]
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` FORCE INDEX ( idx_categoryid ) LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` IN ('160','161','162','163','164','165','166','167','168','169','170','171','172','173','174','175','176','177','178','179','180','181','182','183','184','185','186') ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011478s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002480s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17251 LIMIT 5 [ RunTime:0.000359s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002219s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17251 ORDER BY `minOrder` ASC [ RunTime:0.007826s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002285s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17251 ORDER BY `unit` DESC [ RunTime:0.000390s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003002s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17251 LIMIT 2 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17251 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
select * from pdf where partno='X10S' and brandshort='HICHIPS' limit 1 [ RunTime:0.000328s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002119s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'X10S' OR `brand` LIKE 'HICHIPS%' ) ) LIMIT 1 [ RunTime:0.000296s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 951 LIMIT 5 [ RunTime:0.000758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 951 ORDER BY `minOrder` ASC [ RunTime:0.000486s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 951 ORDER BY `unit` DESC [ RunTime:0.001441s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 951 LIMIT 2 [ RunTime:0.000342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 951 ORDER BY `minOrder` ASC [ RunTime:0.003024s ]
select * from pdf where partno='1393774-1' and brandshort='AXICOM - TE CONNECTIVITY' limit 1 [ RunTime:0.001209s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1393774-1' OR `brand` LIKE 'AXICOM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001465s ]
SELECT `id` FROM `stock` WHERE `id` <> 951 AND `partno` = '1393774-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%axicom - te connectivity%' ) [ RunTime:0.000506s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8234 LIMIT 5 [ RunTime:0.000213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8234 ORDER BY `minOrder` ASC [ RunTime:0.000227s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8234 ORDER BY `unit` DESC [ RunTime:0.000210s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8234 LIMIT 2 [ RunTime:0.000202s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8234 ORDER BY `minOrder` ASC [ RunTime:0.000210s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC33039DR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000212s ]
SELECT `id` FROM `stock` WHERE `id` <> 8234 AND `partno` = 'MC33039DR2G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.000225s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14211950 [ RunTime:0.000202s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14946 LIMIT 5 [ RunTime:0.000206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14946 ORDER BY `minOrder` ASC [ RunTime:0.000204s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14946 ORDER BY `unit` DESC [ RunTime:0.000208s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14946 LIMIT 2 [ RunTime:0.000213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14946 ORDER BY `minOrder` ASC [ RunTime:0.000209s ]
select * from pdf where partno='F75909MB' and brandshort='FINTEK' limit 1 [ RunTime:0.000294s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'F75909MB' OR `brand` LIKE 'FINTEK%' ) ) LIMIT 1 [ RunTime:0.000217s ]
SELECT `id` FROM `stock` WHERE `id` <> 14946 AND `partno` = 'F75909MB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%fintek%' ) [ RunTime:0.000243s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20826 [ RunTime:0.000197s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 953 LIMIT 5 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 953 ORDER BY `minOrder` ASC [ RunTime:0.000358s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 953 ORDER BY `unit` DESC [ RunTime:0.000214s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 953 LIMIT 2 [ RunTime:0.003718s ]
SELECT * FROM `stock_price` WHERE `stockid` = 953 ORDER BY `minOrder` ASC [ RunTime:0.007022s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RTE24024' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000333s ]
SELECT `id` FROM `stock` WHERE `id` <> 953 AND `partno` = 'RTE24024' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%schrack - te connectivity%' ) [ RunTime:0.010016s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13416 LIMIT 5 [ RunTime:0.002255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13416 ORDER BY `minOrder` ASC [ RunTime:0.001628s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13416 ORDER BY `unit` DESC [ RunTime:0.000291s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13416 LIMIT 2 [ RunTime:0.000411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13416 ORDER BY `minOrder` ASC [ RunTime:0.002845s ]
select * from pdf where partno='106529-2.' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000416s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '106529-2.' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.011366s ]
SELECT `id` FROM `stock` WHERE `id` <> 13416 AND `partno` = '106529-2.' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amp - te connectivity%' ) [ RunTime:0.006520s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6840 LIMIT 5 [ RunTime:0.026584s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6840 ORDER BY `minOrder` ASC [ RunTime:0.019416s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6840 ORDER BY `unit` DESC [ RunTime:0.016039s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6840 LIMIT 2 [ RunTime:0.002373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6840 ORDER BY `minOrder` ASC [ RunTime:0.011818s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VO1400AEFTR' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.001265s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3600 LIMIT 5 [ RunTime:0.005939s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3600 ORDER BY `minOrder` ASC [ RunTime:0.010632s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3600 ORDER BY `unit` DESC [ RunTime:0.020740s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3600 LIMIT 2 [ RunTime:0.001039s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3600 ORDER BY `minOrder` ASC [ RunTime:0.002055s ]
select * from pdf where partno='PYC-A1.' and brandshort='OMRON INDUSTRIAL AUTOMATION' limit 1 [ RunTime:0.026097s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PYC-A1.' OR `brand` LIKE 'OMRON INDUSTRIAL AUTOMATION%' ) ) LIMIT 1 [ RunTime:0.011502s ]
SELECT `id` FROM `stock` WHERE `id` <> 3600 AND `partno` = 'PYC-A1.' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omron industrial automation%' ) [ RunTime:0.008570s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14983 LIMIT 5 [ RunTime:0.011920s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14983 ORDER BY `minOrder` ASC [ RunTime:0.021600s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14983 ORDER BY `unit` DESC [ RunTime:0.019996s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14983 LIMIT 2 [ RunTime:0.008246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14983 ORDER BY `minOrder` ASC [ RunTime:0.001623s ]
select * from pdf where partno='STMPS2151STR' and brandshort='ST' limit 1 [ RunTime:0.002799s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STMPS2151STR' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.019009s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14931 LIMIT 5 [ RunTime:0.015406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14931 ORDER BY `minOrder` ASC [ RunTime:0.008431s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14931 ORDER BY `unit` DESC [ RunTime:0.003143s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14931 LIMIT 2 [ RunTime:0.006166s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14931 ORDER BY `minOrder` ASC [ RunTime:0.003879s ]
select * from pdf where partno='ISL6617CRZ-T' and brandshort='INTERSIL' limit 1 [ RunTime:0.002565s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ISL6617CRZ-T' OR `brand` LIKE 'INTERSIL%' ) ) LIMIT 1 [ RunTime:0.007297s ]
SELECT `id` FROM `stock` WHERE `id` <> 14931 AND `partno` = 'ISL6617CRZ-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%intersil%' ) [ RunTime:0.009015s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13397 LIMIT 5 [ RunTime:0.001981s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13397 ORDER BY `minOrder` ASC [ RunTime:0.001247s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13397 ORDER BY `unit` DESC [ RunTime:0.002823s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13397 LIMIT 2 [ RunTime:0.003196s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13397 ORDER BY `minOrder` ASC [ RunTime:0.000521s ]
select * from pdf where partno='G6K-2P DC5' and brandshort='OMRON ELECTRONIC COMPONENTS' limit 1 [ RunTime:0.000553s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G6K-2P DC5' OR `brand` LIKE 'OMRON ELECTRONIC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000463s ]
SELECT `id` FROM `stock` WHERE `id` <> 13397 AND `partno` = 'G6K-2P DC5' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omron electronic components%' ) [ RunTime:0.004413s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 654 LIMIT 5 [ RunTime:0.012978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 654 ORDER BY `minOrder` ASC [ RunTime:0.011465s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 654 ORDER BY `unit` DESC [ RunTime:0.000497s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 654 LIMIT 2 [ RunTime:0.005243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 654 ORDER BY `minOrder` ASC [ RunTime:0.004996s ]
select * from pdf where partno='TX2-24V' and brandshort='PANASONIC' limit 1 [ RunTime:0.007556s ]
select foldpath,foldpath2,filename from pdf_file where id=1060653 limit 1 [ RunTime:0.003801s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TX2-24V' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.002063s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14958 LIMIT 5 [ RunTime:0.000569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14958 ORDER BY `minOrder` ASC [ RunTime:0.009891s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14958 ORDER BY `unit` DESC [ RunTime:0.000765s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14958 LIMIT 2 [ RunTime:0.000498s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14958 ORDER BY `minOrder` ASC [ RunTime:0.006595s ]
select * from pdf where partno='RTD2281CL-CG' and brandshort='REALTEK' limit 1 [ RunTime:0.009627s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RTD2281CL-CG' OR `brand` LIKE 'REALTEK%' ) ) LIMIT 1 [ RunTime:0.023977s ]
SELECT `id` FROM `stock` WHERE `id` <> 14958 AND `partno` = 'RTD2281CL-CG' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%realtek%' ) [ RunTime:0.012531s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20748 [ RunTime:0.023227s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 896 LIMIT 5 [ RunTime:0.022352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 896 ORDER BY `minOrder` ASC [ RunTime:0.001005s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 896 ORDER BY `unit` DESC [ RunTime:0.007768s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 896 LIMIT 2 [ RunTime:0.003831s ]
SELECT * FROM `stock_price` WHERE `stockid` = 896 ORDER BY `minOrder` ASC [ RunTime:0.000499s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62.82.8.230.0000' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.002083s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3980 LIMIT 5 [ RunTime:0.012329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3980 ORDER BY `minOrder` ASC [ RunTime:0.002081s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3980 ORDER BY `unit` DESC [ RunTime:0.011805s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3980 LIMIT 2 [ RunTime:0.007111s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3980 ORDER BY `minOrder` ASC [ RunTime:0.002725s ]
select * from pdf where partno='6-1415537-5' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.011769s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '6-1415537-5' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.023788s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 892 LIMIT 5 [ RunTime:0.016506s ]
SELECT * FROM `stock_price` WHERE `stockid` = 892 ORDER BY `minOrder` ASC [ RunTime:0.015281s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 892 ORDER BY `unit` DESC [ RunTime:0.001929s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 892 LIMIT 2 [ RunTime:0.026628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 892 ORDER BY `minOrder` ASC [ RunTime:0.007500s ]
select * from pdf where partno='40.52.7.024.0000' and brandshort='FINDER' limit 1 [ RunTime:0.000772s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '40.52.7.024.0000' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.000515s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14952 LIMIT 5 [ RunTime:0.000705s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14952 ORDER BY `minOrder` ASC [ RunTime:0.000675s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14952 ORDER BY `unit` DESC [ RunTime:0.013192s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14952 LIMIT 2 [ RunTime:0.003841s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14952 ORDER BY `minOrder` ASC [ RunTime:0.002366s ]
select * from pdf where partno='TPS40195RGYR' and brandshort='TI' limit 1 [ RunTime:0.019338s ]
select foldpath,foldpath2,filename from pdf_file where id=2027444 limit 1 [ RunTime:0.000882s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPS40195RGYR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.053516s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14933 LIMIT 5 [ RunTime:0.008437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14933 ORDER BY `minOrder` ASC [ RunTime:0.013155s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14933 ORDER BY `unit` DESC [ RunTime:0.009596s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14933 LIMIT 2 [ RunTime:0.022583s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14933 ORDER BY `minOrder` ASC [ RunTime:0.041580s ]
select * from pdf where partno='LTM4608IV#PBF' and brandshort='LINEAR' limit 1 [ RunTime:0.036882s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LTM4608IV#PBF' OR `brand` LIKE 'LINEAR%' ) ) LIMIT 1 [ RunTime:0.003454s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8847 LIMIT 5 [ RunTime:0.016767s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8847 ORDER BY `minOrder` ASC [ RunTime:0.006248s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8847 ORDER BY `unit` DESC [ RunTime:0.005965s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8847 LIMIT 2 [ RunTime:0.028191s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8847 ORDER BY `minOrder` ASC [ RunTime:0.020294s ]
select * from pdf where partno='LB1867M-TLM-H' and brandshort='ONSEMI' limit 1 [ RunTime:0.021641s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LB1867M-TLM-H' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.002832s ]
SELECT `id` FROM `stock` WHERE `id` <> 8847 AND `partno` = 'LB1867M-TLM-H' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.003284s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19092993 [ RunTime:0.001846s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1132 LIMIT 5 [ RunTime:0.029064s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1132 ORDER BY `minOrder` ASC [ RunTime:0.047956s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1132 ORDER BY `unit` DESC [ RunTime:0.007394s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1132 LIMIT 2 [ RunTime:0.041517s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1132 ORDER BY `minOrder` ASC [ RunTime:0.012604s ]
select * from pdf where partno='TX2-5V' and brandshort='PANASONIC' limit 1 [ RunTime:0.010919s ]
select foldpath,foldpath2,filename from pdf_file where id=1152169 limit 1 [ RunTime:0.006251s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TX2-5V' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.011865s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` FORCE INDEX ( idx_categoryid ) LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` IN ('160','161','162','163','164','165','166','167','168','169','170','171','172','173','174','175','176','177','178','179','180','181','182','183','184','185','186') ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037560s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` IN ('160','161','162','163','164','165','166','167','168','169','170','171','172','173','174','175','176','177','178','179','180','181','182','183','184','185','186') ) LIMIT 126 ) tmp GROUP BY `brand` [ RunTime:0.043381s ]