SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001966s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000470s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002411s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.21' ) [ RunTime:0.000876s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001891s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000278s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000260s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000233s ]
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.000882s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002011s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` = 4 AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.001745s ]
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` = 4 AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 380,20 [ RunTime:0.000869s ]
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 ('15874','15873','15872','15871','15870','15869','15868','15867','15866','15865','15864','15863','15862','15861','15860','15859','15858','15857','15856','15855') ORDER BY FIELD(s.id, 15874,15873,15872,15871,15870,15869,15868,15867,15866,15865,15864,15863,15862,15861,15860,15859,15858,15857,15856,15855) [ RunTime:0.002661s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002036s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15874 LIMIT 4 [ RunTime:0.000494s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001675s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15874 ORDER BY `minOrder` ASC [ RunTime:0.000513s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001971s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15874 ORDER BY `unit` DESC [ RunTime:0.000535s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002122s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15874 LIMIT 2 [ RunTime:0.001213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15874 ORDER BY `minOrder` ASC [ RunTime:0.004424s ]
select * from pdf where partno='170673-1046' and brandshort='MOLEX' limit 1 [ RunTime:0.006406s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001849s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '170673-1046' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.003329s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15873 LIMIT 4 [ RunTime:0.000478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15873 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15873 ORDER BY `unit` DESC [ RunTime:0.000662s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15873 LIMIT 2 [ RunTime:0.005215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15873 ORDER BY `minOrder` ASC [ RunTime:0.001494s ]
select * from pdf where partno='S1223' and brandshort='HAMAMATSU' limit 1 [ RunTime:0.000521s ]
select foldpath,foldpath2,filename from pdf_file where id=613920 limit 1 [ RunTime:0.000367s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S1223' OR `brand` LIKE 'HAMAMATSU%' ) ) LIMIT 1 [ RunTime:0.000364s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15872 LIMIT 4 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15872 ORDER BY `minOrder` ASC [ RunTime:0.000681s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15872 ORDER BY `unit` DESC [ RunTime:0.000709s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15872 LIMIT 2 [ RunTime:0.009040s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15872 ORDER BY `minOrder` ASC [ RunTime:0.007232s ]
select * from pdf where partno='AP2210K-ADJTRG1' and brandshort='DIODES INC.' limit 1 [ RunTime:0.004651s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AP2210K-ADJTRG1' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.009567s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15871 LIMIT 4 [ RunTime:0.000383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15871 ORDER BY `minOrder` ASC [ RunTime:0.004745s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15871 ORDER BY `unit` DESC [ RunTime:0.000494s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15871 LIMIT 2 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15871 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
select * from pdf where partno='30023' and brandshort='3M' limit 1 [ RunTime:0.000561s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '30023' OR `brand` LIKE '3M%' ) ) LIMIT 1 [ RunTime:0.001095s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15870 LIMIT 4 [ RunTime:0.000338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15870 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15870 ORDER BY `unit` DESC [ RunTime:0.000352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15870 LIMIT 2 [ RunTime:0.000371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15870 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
select * from pdf where partno='744772101' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.000561s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '744772101' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000401s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15869 LIMIT 4 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15869 ORDER BY `minOrder` ASC [ RunTime:0.000353s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15869 ORDER BY `unit` DESC [ RunTime:0.000359s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15869 LIMIT 2 [ RunTime:0.000439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15869 ORDER BY `minOrder` ASC [ RunTime:0.000409s ]
select * from pdf where partno='201298-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000630s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '201298-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000460s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15868 LIMIT 4 [ RunTime:0.000402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15868 ORDER BY `minOrder` ASC [ RunTime:0.007914s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15868 ORDER BY `unit` DESC [ RunTime:0.002410s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15868 LIMIT 2 [ RunTime:0.000438s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15868 ORDER BY `minOrder` ASC [ RunTime:0.000384s ]
select * from pdf where partno='BZV55-C3V6,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000606s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BZV55-C3V6,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000404s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15867 LIMIT 4 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15867 ORDER BY `minOrder` ASC [ RunTime:0.000898s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15867 ORDER BY `unit` DESC [ RunTime:0.000407s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15867 LIMIT 2 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15867 ORDER BY `minOrder` ASC [ RunTime:0.000963s ]
select * from pdf where partno='TPSD106K035R0300' and brandshort='KYOCERA AVX' limit 1 [ RunTime:0.000576s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPSD106K035R0300' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.000393s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15866 LIMIT 4 [ RunTime:0.000364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15866 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15866 ORDER BY `unit` DESC [ RunTime:0.000372s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15866 LIMIT 2 [ RunTime:0.000372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15866 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
select * from pdf where partno='66102-7' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000567s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '66102-7' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000404s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15865 LIMIT 4 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15865 ORDER BY `minOrder` ASC [ RunTime:0.000372s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15865 ORDER BY `unit` DESC [ RunTime:0.000368s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15865 LIMIT 2 [ RunTime:0.000431s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15865 ORDER BY `minOrder` ASC [ RunTime:0.000380s ]
select * from pdf where partno='PMEG3010EH,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000591s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PMEG3010EH,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000382s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15864 LIMIT 4 [ RunTime:0.000372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15864 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15864 ORDER BY `unit` DESC [ RunTime:0.008656s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15864 LIMIT 2 [ RunTime:0.006613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15864 ORDER BY `minOrder` ASC [ RunTime:0.000872s ]
select * from pdf where partno='33RH17.5X28.5X10.7' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000565s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '33RH17.5X28.5X10.7' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15863 LIMIT 4 [ RunTime:0.000363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15863 ORDER BY `minOrder` ASC [ RunTime:0.000363s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15863 ORDER BY `unit` DESC [ RunTime:0.000369s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15863 LIMIT 2 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15863 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
select * from pdf where partno='STM32F303CBT6' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000624s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F303CBT6' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000350s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15862 LIMIT 4 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15862 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15862 ORDER BY `unit` DESC [ RunTime:0.009402s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15862 LIMIT 2 [ RunTime:0.000864s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15862 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
select * from pdf where partno='400PK33MEFC12.5X25' and brandshort='RUBYCON' limit 1 [ RunTime:0.000564s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '400PK33MEFC12.5X25' OR `brand` LIKE 'RUBYCON%' ) ) LIMIT 1 [ RunTime:0.000348s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15861 LIMIT 4 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15861 ORDER BY `minOrder` ASC [ RunTime:0.007229s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15861 ORDER BY `unit` DESC [ RunTime:0.001268s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15861 LIMIT 2 [ RunTime:0.000373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15861 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
select * from pdf where partno='MAX3490AEGSA+' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.000382s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX3490AEGSA+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15860 LIMIT 4 [ RunTime:0.002403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15860 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15860 ORDER BY `unit` DESC [ RunTime:0.000327s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15860 LIMIT 2 [ RunTime:0.000316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15860 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
select * from pdf where partno='FKS2D014701A00JSSD' and brandshort='WIMA' limit 1 [ RunTime:0.000967s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FKS2D014701A00JSSD' OR `brand` LIKE 'WIMA%' ) ) LIMIT 1 [ RunTime:0.000346s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15859 LIMIT 4 [ RunTime:0.000481s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15859 ORDER BY `minOrder` ASC [ RunTime:0.001301s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15859 ORDER BY `unit` DESC [ RunTime:0.002528s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15859 LIMIT 2 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15859 ORDER BY `minOrder` ASC [ RunTime:0.000317s ]
select * from pdf where partno='341002-6' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000363s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '341002-6' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000336s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15858 LIMIT 4 [ RunTime:0.001050s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15858 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15858 ORDER BY `unit` DESC [ RunTime:0.000326s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15858 LIMIT 2 [ RunTime:0.000316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15858 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
select * from pdf where partno='SC20M1TK6' and brandshort='SOURIAU-SUNBANK / EATON' limit 1 [ RunTime:0.000361s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SC20M1TK6' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.000340s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15857 LIMIT 4 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15857 ORDER BY `minOrder` ASC [ RunTime:0.002427s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15857 ORDER BY `unit` DESC [ RunTime:0.004601s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15857 LIMIT 2 [ RunTime:0.000366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15857 ORDER BY `minOrder` ASC [ RunTime:0.000346s ]
select * from pdf where partno='CRCW12060000Z0EAHP' and brandshort='VISHAY' limit 1 [ RunTime:0.000503s ]
select foldpath,foldpath2,filename from pdf_file where id=1121447 limit 1 [ RunTime:0.000287s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW12060000Z0EAHP' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000304s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15856 LIMIT 4 [ RunTime:0.000183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15856 ORDER BY `minOrder` ASC [ RunTime:0.000167s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15856 ORDER BY `unit` DESC [ RunTime:0.000243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15856 LIMIT 2 [ RunTime:0.000230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15856 ORDER BY `minOrder` ASC [ RunTime:0.000228s ]
select * from pdf where partno='182645-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000243s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '182645-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000214s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15855 LIMIT 4 [ RunTime:0.000202s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15855 ORDER BY `minOrder` ASC [ RunTime:0.000203s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15855 ORDER BY `unit` DESC [ RunTime:0.000216s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15855 LIMIT 2 [ RunTime:0.000201s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15855 ORDER BY `minOrder` ASC [ RunTime:0.000198s ]
select * from pdf where partno='CH74-2032LF' and brandshort='MULTICOMP' limit 1 [ RunTime:0.000219s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CH74-2032LF' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.000212s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` = 4 AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000308s ]