SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001825s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000627s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001226s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.147' ) [ RunTime:0.000215s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000869s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000187s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000261s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000195s ]
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.000294s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.005006s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` = 3 AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.000301s ]
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` = 3 AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 40,20 [ RunTime:0.001485s ]
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 ('17211','17208','17180','17179','17187','17239','17233','17221','17188','17220','17198','17197','17195','17183','17178','17173','17247','17243','17224','17223') ORDER BY FIELD(s.id, 17211,17208,17180,17179,17187,17239,17233,17221,17188,17220,17198,17197,17195,17183,17178,17173,17247,17243,17224,17223) [ RunTime:0.000901s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.000957s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17211 LIMIT 4 [ RunTime:0.003288s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003193s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17211 ORDER BY `minOrder` ASC [ RunTime:0.002237s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000851s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17211 ORDER BY `unit` DESC [ RunTime:0.019990s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001212s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17211 LIMIT 2 [ RunTime:0.004480s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17211 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
select * from pdf where partno='L4981AD013TR' and brandshort='ST' limit 1 [ RunTime:0.001869s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001639s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L4981AD013TR' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.015278s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17208 LIMIT 4 [ RunTime:0.001183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17208 ORDER BY `minOrder` ASC [ RunTime:0.002713s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17208 ORDER BY `unit` DESC [ RunTime:0.004400s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17208 LIMIT 2 [ RunTime:0.008043s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17208 ORDER BY `minOrder` ASC [ RunTime:0.003683s ]
select * from pdf where partno='AP2127N-2.8TRG1' and brandshort='DIODES' limit 1 [ RunTime:0.005433s ]
select foldpath,foldpath2,filename from pdf_file where id=1600905 limit 1 [ RunTime:0.001454s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AP2127N-2.8TRG1' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.006370s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17180 LIMIT 4 [ RunTime:0.006076s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17180 ORDER BY `minOrder` ASC [ RunTime:0.000340s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17180 ORDER BY `unit` DESC [ RunTime:0.000305s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17180 LIMIT 2 [ RunTime:0.002496s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17180 ORDER BY `minOrder` ASC [ RunTime:0.003068s ]
select * from pdf where partno='GC4344' and brandshort='GLOBALCHIP' limit 1 [ RunTime:0.002585s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GC4344' OR `brand` LIKE 'GLOBALCHIP%' ) ) LIMIT 1 [ RunTime:0.011805s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17179 LIMIT 4 [ RunTime:0.006220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17179 ORDER BY `minOrder` ASC [ RunTime:0.006951s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17179 ORDER BY `unit` DESC [ RunTime:0.003427s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17179 LIMIT 2 [ RunTime:0.007238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17179 ORDER BY `minOrder` ASC [ RunTime:0.002677s ]
select * from pdf where partno='GC1808' and brandshort='GLOBALCHIP' limit 1 [ RunTime:0.013173s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GC1808' OR `brand` LIKE 'GLOBALCHIP%' ) ) LIMIT 1 [ RunTime:0.016053s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17187 LIMIT 4 [ RunTime:0.002849s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17187 ORDER BY `minOrder` ASC [ RunTime:0.005246s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17187 ORDER BY `unit` DESC [ RunTime:0.004987s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17187 LIMIT 2 [ RunTime:0.015151s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17187 ORDER BY `minOrder` ASC [ RunTime:0.003090s ]
select * from pdf where partno='UCC27517AQDBVRQ1' and brandshort='TI' limit 1 [ RunTime:0.005221s ]
select foldpath,foldpath2,filename from pdf_file where id=1126144 limit 1 [ RunTime:0.005174s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UCC27517AQDBVRQ1' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.055830s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17239 LIMIT 4 [ RunTime:0.001992s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17239 ORDER BY `minOrder` ASC [ RunTime:0.000571s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17239 ORDER BY `unit` DESC [ RunTime:0.000525s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17239 LIMIT 2 [ RunTime:0.002169s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17239 ORDER BY `minOrder` ASC [ RunTime:0.003204s ]
select * from pdf where partno='TXS0102DCUR' and brandshort='TI' limit 1 [ RunTime:0.003175s ]
select foldpath,foldpath2,filename from pdf_file where id=651688 limit 1 [ RunTime:0.001169s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TXS0102DCUR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.040472s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17233 LIMIT 4 [ RunTime:0.000577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17233 ORDER BY `minOrder` ASC [ RunTime:0.001848s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17233 ORDER BY `unit` DESC [ RunTime:0.003952s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17233 LIMIT 2 [ RunTime:0.001236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17233 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
select * from pdf where partno='ATA663454-GDQW' and brandshort='MICROCHIP' limit 1 [ RunTime:0.003740s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ATA663454-GDQW' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.012115s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17221 LIMIT 4 [ RunTime:0.001898s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17221 ORDER BY `minOrder` ASC [ RunTime:0.006091s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17221 ORDER BY `unit` DESC [ RunTime:0.000519s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17221 LIMIT 2 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17221 ORDER BY `minOrder` ASC [ RunTime:0.000535s ]
select * from pdf where partno='T55B476M010C0070' and brandshort='VISHAY' limit 1 [ RunTime:0.002028s ]
select foldpath,foldpath2,filename from pdf_file where id=1921870 limit 1 [ RunTime:0.000997s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T55B476M010C0070' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.008759s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17188 LIMIT 4 [ RunTime:0.000462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17188 ORDER BY `minOrder` ASC [ RunTime:0.000370s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17188 ORDER BY `unit` DESC [ RunTime:0.000348s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17188 LIMIT 2 [ RunTime:0.005393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17188 ORDER BY `minOrder` ASC [ RunTime:0.001720s ]
select * from pdf where partno='AP6236' and brandshort='AMPAK' limit 1 [ RunTime:0.001555s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AP6236' OR `brand` LIKE 'AMPAK%' ) ) LIMIT 1 [ RunTime:0.001138s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17220 LIMIT 4 [ RunTime:0.003665s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17220 ORDER BY `minOrder` ASC [ RunTime:0.001915s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17220 ORDER BY `unit` DESC [ RunTime:0.000360s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17220 LIMIT 2 [ RunTime:0.002158s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17220 ORDER BY `minOrder` ASC [ RunTime:0.002588s ]
select * from pdf where partno='SI4174DY-T1-GE3' and brandshort='VISHAY' limit 1 [ RunTime:0.002097s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SI4174DY-T1-GE3' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.010597s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17198 LIMIT 4 [ RunTime:0.004208s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17198 ORDER BY `minOrder` ASC [ RunTime:0.001541s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17198 ORDER BY `unit` DESC [ RunTime:0.005058s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17198 LIMIT 2 [ RunTime:0.000388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17198 ORDER BY `minOrder` ASC [ RunTime:0.001045s ]
select * from pdf where partno='SN65HVD1040QDRQ1' and brandshort='TI' limit 1 [ RunTime:0.001762s ]
select foldpath,foldpath2,filename from pdf_file where id=622500 limit 1 [ RunTime:0.003162s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SN65HVD1040QDRQ1' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.040901s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17197 LIMIT 4 [ RunTime:0.000764s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17197 ORDER BY `minOrder` ASC [ RunTime:0.000519s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17197 ORDER BY `unit` DESC [ RunTime:0.000488s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17197 LIMIT 2 [ RunTime:0.001987s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17197 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
select * from pdf where partno='CC2652P1FRGZR' and brandshort='TI' limit 1 [ RunTime:0.006168s ]
select foldpath,foldpath2,filename from pdf_file where id=2188426 limit 1 [ RunTime:0.001387s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CC2652P1FRGZR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.037232s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17195 LIMIT 4 [ RunTime:0.002056s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17195 ORDER BY `minOrder` ASC [ RunTime:0.001120s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17195 ORDER BY `unit` DESC [ RunTime:0.000342s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17195 LIMIT 2 [ RunTime:0.000338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17195 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
select * from pdf where partno='SN65HVDA1040BQDRQ1' and brandshort='TI' limit 1 [ RunTime:0.001411s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SN65HVDA1040BQDRQ1' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.019408s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17183 LIMIT 4 [ RunTime:0.000484s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17183 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17183 ORDER BY `unit` DESC [ RunTime:0.006571s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17183 LIMIT 2 [ RunTime:0.009372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17183 ORDER BY `minOrder` ASC [ RunTime:0.003247s ]
select * from pdf where partno='HC32F460JETA-LQFP48' and brandshort='XHSC' limit 1 [ RunTime:0.003819s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HC32F460JETA-LQFP48' OR `brand` LIKE 'XHSC%' ) ) LIMIT 1 [ RunTime:0.002847s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17178 LIMIT 4 [ RunTime:0.003603s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17178 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17178 ORDER BY `unit` DESC [ RunTime:0.000349s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17178 LIMIT 2 [ RunTime:0.000345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17178 ORDER BY `minOrder` ASC [ RunTime:0.000661s ]
select * from pdf where partno='HC32L130F8UA-QFN32TR'limit 1 [ RunTime:0.000541s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HC32L130F8UA-QFN32TR' OR `brand` LIKE '华大%' ) ) LIMIT 1 [ RunTime:0.001811s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17173 LIMIT 4 [ RunTime:0.001133s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17173 ORDER BY `minOrder` ASC [ RunTime:0.002113s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17173 ORDER BY `unit` DESC [ RunTime:0.000354s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17173 LIMIT 2 [ RunTime:0.000340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17173 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
select * from pdf where partno='5CEFA2F23C7N' and brandshort='Altera' limit 1 [ RunTime:0.001618s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5CEFA2F23C7N' OR `brand` LIKE 'Altera%' ) ) LIMIT 1 [ RunTime:0.006336s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17247 LIMIT 4 [ RunTime:0.003644s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17247 ORDER BY `minOrder` ASC [ RunTime:0.000594s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17247 ORDER BY `unit` DESC [ RunTime:0.000376s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17247 LIMIT 2 [ RunTime:0.000334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17247 ORDER BY `minOrder` ASC [ RunTime:0.001508s ]
select * from pdf where partno='LAN9252V/ML' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001591s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LAN9252V/ML' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.011283s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17243 LIMIT 4 [ RunTime:0.007363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17243 ORDER BY `minOrder` ASC [ RunTime:0.002049s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17243 ORDER BY `unit` DESC [ RunTime:0.001136s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17243 LIMIT 2 [ RunTime:0.003826s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17243 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
select * from pdf where partno='TSM103WAIDT' and brandshort='STM' limit 1 [ RunTime:0.004214s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TSM103WAIDT' OR `brand` LIKE 'STM%' ) ) LIMIT 1 [ RunTime:0.003544s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17224 LIMIT 4 [ RunTime:0.001119s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17224 ORDER BY `minOrder` ASC [ RunTime:0.003145s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17224 ORDER BY `unit` DESC [ RunTime:0.000510s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17224 LIMIT 2 [ RunTime:0.000395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17224 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
select * from pdf where partno='GM7122' and brandshort='BROADCHIP' limit 1 [ RunTime:0.002418s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GM7122' OR `brand` LIKE 'BROADCHIP%' ) ) LIMIT 1 [ RunTime:0.005637s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17223 LIMIT 4 [ RunTime:0.018133s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17223 ORDER BY `minOrder` ASC [ RunTime:0.013984s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17223 ORDER BY `unit` DESC [ RunTime:0.000813s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17223 LIMIT 2 [ RunTime:0.000529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17223 ORDER BY `minOrder` ASC [ RunTime:0.000347s ]
select * from pdf where partno='NCS8801S' and brandshort='NewCoSemi' limit 1 [ RunTime:0.008211s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCS8801S' OR `brand` LIKE 'NewCoSemi%' ) ) LIMIT 1 [ RunTime:0.005614s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` = 3 AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000487s ]