SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.001365s ]
INSERT INTO `visit_log` SET `ip` = '216.73.217.83' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' , `host` = 'https://ic118.com/stock&keyword=210&page=99&srecordnum=7529' [ RunTime:0.005543s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002311s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000684s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001514s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.83' ) [ RunTime:0.000279s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001264s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000277s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001407s ]
SELECT * FROM `stock_search` WHERE `partno` = '210' LIMIT 1 [ RunTime:0.000776s ]
UPDATE `stock_search` SET `count` = 5255 , `updatetime` = '2026-06-08 22:50:53' WHERE `partno` = '210' [ RunTime:0.000380s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000580s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000257s ]
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.006503s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001624s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE '210%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.002127s ]
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 '210%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 1960,20 [ RunTime:0.081381s ]
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 ('10813371','38036224','36760768','35501250','35501192','35498884','35498662','35495697','34448436','34448422','34448314','34448258','34402509','33837427','33619019','33618977','33618622','33618432','33411962','33154302') ORDER BY FIELD(s.id, 10813371,38036224,36760768,35501250,35501192,35498884,35498662,35495697,34448436,34448422,34448314,34448258,34402509,33837427,33619019,33618977,33618622,33618432,33411962,33154302) [ RunTime:0.018701s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001879s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10813371 LIMIT 4 [ RunTime:0.006612s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10813371 ORDER BY `minOrder` ASC [ RunTime:0.004272s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003843s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10813371 ORDER BY `unit` DESC [ RunTime:0.004075s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001781s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10813371 LIMIT 2 [ RunTime:0.004813s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10813371 ORDER BY `minOrder` ASC [ RunTime:0.003994s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 38036224 LIMIT 4 [ RunTime:0.002260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38036224 ORDER BY `minOrder` ASC [ RunTime:0.014270s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 38036224 ORDER BY `unit` DESC [ RunTime:0.022162s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 38036224 LIMIT 2 [ RunTime:0.008703s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38036224 ORDER BY `minOrder` ASC [ RunTime:0.002027s ]
select * from pdf where partno='210-804' and brandshort='WAGO Corporation' limit 1 [ RunTime:0.013342s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003609s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '210-804' OR `brand` LIKE 'WAGO Corporation%' ) ) LIMIT 1 [ RunTime:0.007708s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36760768 LIMIT 4 [ RunTime:0.007558s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36760768 ORDER BY `minOrder` ASC [ RunTime:0.006528s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36760768 ORDER BY `unit` DESC [ RunTime:0.005750s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36760768 LIMIT 2 [ RunTime:0.007057s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36760768 ORDER BY `minOrder` ASC [ RunTime:0.004072s ]
select * from pdf where partno='210-197' and brandshort='WAGO Corporation' limit 1 [ RunTime:0.012264s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '210-197' OR `brand` LIKE 'WAGO Corporation%' ) ) LIMIT 1 [ RunTime:0.003804s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 35501250 LIMIT 4 [ RunTime:0.003340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35501250 ORDER BY `minOrder` ASC [ RunTime:0.004906s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 35501250 ORDER BY `unit` DESC [ RunTime:0.007675s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 35501250 LIMIT 2 [ RunTime:0.003283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35501250 ORDER BY `minOrder` ASC [ RunTime:0.007500s ]
select * from pdf where partno='2107590' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.003508s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2107590' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.001094s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 35501192 LIMIT 4 [ RunTime:0.006030s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35501192 ORDER BY `minOrder` ASC [ RunTime:0.001878s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 35501192 ORDER BY `unit` DESC [ RunTime:0.005168s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 35501192 LIMIT 2 [ RunTime:0.008904s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35501192 ORDER BY `minOrder` ASC [ RunTime:0.001466s ]
select * from pdf where partno='2104366' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.006056s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2104366' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.002222s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 35498884 LIMIT 4 [ RunTime:0.004557s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35498884 ORDER BY `minOrder` ASC [ RunTime:0.016754s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 35498884 ORDER BY `unit` DESC [ RunTime:0.003766s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 35498884 LIMIT 2 [ RunTime:0.000527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35498884 ORDER BY `minOrder` ASC [ RunTime:0.000479s ]
select * from pdf where partno='21035992516' and brandshort='HARTING' limit 1 [ RunTime:0.003487s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '21035992516' OR `brand` LIKE 'HARTING%' ) ) LIMIT 1 [ RunTime:0.000516s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 35498662 LIMIT 4 [ RunTime:0.002129s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35498662 ORDER BY `minOrder` ASC [ RunTime:0.016103s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 35498662 ORDER BY `unit` DESC [ RunTime:0.000567s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 35498662 LIMIT 2 [ RunTime:0.009380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35498662 ORDER BY `minOrder` ASC [ RunTime:0.005907s ]
select * from pdf where partno='2107782' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.001195s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2107782' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.000948s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 35495697 LIMIT 4 [ RunTime:0.005408s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35495697 ORDER BY `minOrder` ASC [ RunTime:0.006117s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 35495697 ORDER BY `unit` DESC [ RunTime:0.000982s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 35495697 LIMIT 2 [ RunTime:0.000477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35495697 ORDER BY `minOrder` ASC [ RunTime:0.008251s ]
select * from pdf where partno='21035492301' and brandshort='HARTING' limit 1 [ RunTime:0.003334s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '21035492301' OR `brand` LIKE 'HARTING%' ) ) LIMIT 1 [ RunTime:0.001957s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 34448436 LIMIT 4 [ RunTime:0.003404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 34448436 ORDER BY `minOrder` ASC [ RunTime:0.010762s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 34448436 ORDER BY `unit` DESC [ RunTime:0.010960s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 34448436 LIMIT 2 [ RunTime:0.003571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 34448436 ORDER BY `minOrder` ASC [ RunTime:0.002675s ]
select * from pdf where partno='21021851405' and brandshort='HARTING' limit 1 [ RunTime:0.008133s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '21021851405' OR `brand` LIKE 'HARTING%' ) ) LIMIT 1 [ RunTime:0.000544s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 34448422 LIMIT 4 [ RunTime:0.009875s ]
SELECT * FROM `stock_price` WHERE `stockid` = 34448422 ORDER BY `minOrder` ASC [ RunTime:0.012402s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 34448422 ORDER BY `unit` DESC [ RunTime:0.011725s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 34448422 LIMIT 2 [ RunTime:0.007653s ]
SELECT * FROM `stock_price` WHERE `stockid` = 34448422 ORDER BY `minOrder` ASC [ RunTime:0.003904s ]
select * from pdf where partno='21033892402' and brandshort='HARTING' limit 1 [ RunTime:0.005188s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '21033892402' OR `brand` LIKE 'HARTING%' ) ) LIMIT 1 [ RunTime:0.000599s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 34448314 LIMIT 4 [ RunTime:0.005429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 34448314 ORDER BY `minOrder` ASC [ RunTime:0.011015s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 34448314 ORDER BY `unit` DESC [ RunTime:0.007355s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 34448314 LIMIT 2 [ RunTime:0.000371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 34448314 ORDER BY `minOrder` ASC [ RunTime:0.017780s ]
select * from pdf where partno='21032122306' and brandshort='HARTING' limit 1 [ RunTime:0.003546s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '21032122306' OR `brand` LIKE 'HARTING%' ) ) LIMIT 1 [ RunTime:0.010079s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 34448258 LIMIT 4 [ RunTime:0.014566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 34448258 ORDER BY `minOrder` ASC [ RunTime:0.003901s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 34448258 ORDER BY `unit` DESC [ RunTime:0.000334s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 34448258 LIMIT 2 [ RunTime:0.007145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 34448258 ORDER BY `minOrder` ASC [ RunTime:0.009086s ]
select * from pdf where partno='21032121407' and brandshort='HARTING' limit 1 [ RunTime:0.007464s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '21032121407' OR `brand` LIKE 'HARTING%' ) ) LIMIT 1 [ RunTime:0.000386s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 34402509 LIMIT 4 [ RunTime:0.004715s ]
SELECT * FROM `stock_price` WHERE `stockid` = 34402509 ORDER BY `minOrder` ASC [ RunTime:0.009700s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 34402509 ORDER BY `unit` DESC [ RunTime:0.009068s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 34402509 LIMIT 2 [ RunTime:0.007892s ]
SELECT * FROM `stock_price` WHERE `stockid` = 34402509 ORDER BY `minOrder` ASC [ RunTime:0.002573s ]
select * from pdf where partno='21033814810' and brandshort='HARTING' limit 1 [ RunTime:0.010273s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '21033814810' OR `brand` LIKE 'HARTING%' ) ) LIMIT 1 [ RunTime:0.024008s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33837427 LIMIT 4 [ RunTime:0.009650s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33837427 ORDER BY `minOrder` ASC [ RunTime:0.034876s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33837427 ORDER BY `unit` DESC [ RunTime:0.015778s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33837427 LIMIT 2 [ RunTime:0.035854s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33837427 ORDER BY `minOrder` ASC [ RunTime:0.003575s ]
select * from pdf where partno='21033816403' and brandshort='HARTING' limit 1 [ RunTime:0.007012s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '21033816403' OR `brand` LIKE 'HARTING%' ) ) LIMIT 1 [ RunTime:0.027864s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33619019 LIMIT 4 [ RunTime:0.005954s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33619019 ORDER BY `minOrder` ASC [ RunTime:0.033417s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33619019 ORDER BY `unit` DESC [ RunTime:0.007314s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33619019 LIMIT 2 [ RunTime:0.017700s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33619019 ORDER BY `minOrder` ASC [ RunTime:0.004000s ]
select * from pdf where partno='2106-1307' and brandshort='WAGO Corporation' limit 1 [ RunTime:0.000824s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2106-1307' OR `brand` LIKE 'WAGO Corporation%' ) ) LIMIT 1 [ RunTime:0.002543s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33618977 LIMIT 4 [ RunTime:0.003364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33618977 ORDER BY `minOrder` ASC [ RunTime:0.013457s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33618977 ORDER BY `unit` DESC [ RunTime:0.009329s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33618977 LIMIT 2 [ RunTime:0.016483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33618977 ORDER BY `minOrder` ASC [ RunTime:0.020904s ]
select * from pdf where partno='2104-1207' and brandshort='WAGO Corporation' limit 1 [ RunTime:0.010602s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2104-1207' OR `brand` LIKE 'WAGO Corporation%' ) ) LIMIT 1 [ RunTime:0.007446s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33618622 LIMIT 4 [ RunTime:0.023579s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33618622 ORDER BY `minOrder` ASC [ RunTime:0.002041s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33618622 ORDER BY `unit` DESC [ RunTime:0.002148s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33618622 LIMIT 2 [ RunTime:0.005473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33618622 ORDER BY `minOrder` ASC [ RunTime:0.013132s ]
select * from pdf where partno='2104-1201' and brandshort='WAGO Corporation' limit 1 [ RunTime:0.000891s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2104-1201' OR `brand` LIKE 'WAGO Corporation%' ) ) LIMIT 1 [ RunTime:0.004381s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33618432 LIMIT 4 [ RunTime:0.014688s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33618432 ORDER BY `minOrder` ASC [ RunTime:0.015350s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33618432 ORDER BY `unit` DESC [ RunTime:0.012304s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33618432 LIMIT 2 [ RunTime:0.000900s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33618432 ORDER BY `minOrder` ASC [ RunTime:0.002824s ]
select * from pdf where partno='2102-5306' and brandshort='WAGO Corporation' limit 1 [ RunTime:0.015431s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2102-5306' OR `brand` LIKE 'WAGO Corporation%' ) ) LIMIT 1 [ RunTime:0.000664s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33411962 LIMIT 4 [ RunTime:0.004485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33411962 ORDER BY `minOrder` ASC [ RunTime:0.020394s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33411962 ORDER BY `unit` DESC [ RunTime:0.006818s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33411962 LIMIT 2 [ RunTime:0.000574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33411962 ORDER BY `minOrder` ASC [ RunTime:0.003351s ]
select * from pdf where partno='21010000018' and brandshort='HARTING' limit 1 [ RunTime:0.000709s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '21010000018' OR `brand` LIKE 'HARTING%' ) ) LIMIT 1 [ RunTime:0.005342s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33154302 LIMIT 4 [ RunTime:0.004061s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33154302 ORDER BY `minOrder` ASC [ RunTime:0.003453s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33154302 ORDER BY `unit` DESC [ RunTime:0.001322s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33154302 LIMIT 2 [ RunTime:0.000371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33154302 ORDER BY `minOrder` ASC [ RunTime:0.002065s ]
select * from pdf where partno='2100FO' and brandshort='Klein Tools, Inc.' limit 1 [ RunTime:0.001025s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2100FO' OR `brand` LIKE 'Klein Tools, Inc.%' ) ) LIMIT 1 [ RunTime:0.002000s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '210%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002491s ]