SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001332s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002358s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001382s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '18.97.14.85' ) [ RunTime:0.000404s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001690s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000449s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001359s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`status` = '3' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001103s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001103s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17204 LIMIT 5 [ RunTime:0.000308s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001083s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17204 ORDER BY `minOrder` ASC [ RunTime:0.001827s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002433s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17204 ORDER BY `unit` DESC [ RunTime:0.001972s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001883s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17204 LIMIT 2 [ RunTime:0.000495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17204 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
select * from pdf where partno='CRSS042N10N' and brandshort='CRMICRO' limit 1 [ RunTime:0.001890s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003570s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRSS042N10N' OR `brand` LIKE 'CRMICRO%' ) ) LIMIT 1 [ RunTime:0.001186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17163 LIMIT 5 [ RunTime:0.000566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17163 ORDER BY `minOrder` ASC [ RunTime:0.000631s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17163 ORDER BY `unit` DESC [ RunTime:0.000667s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17163 LIMIT 2 [ RunTime:0.000670s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17163 ORDER BY `minOrder` ASC [ RunTime:0.000642s ]
select * from pdf where partno='XA7Z020-1CLG400I' and brandshort='XILINX' limit 1 [ RunTime:0.001897s ]
select foldpath,foldpath2,filename from pdf_file where id=1790814 limit 1 [ RunTime:0.000449s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XA7Z020-1CLG400I' OR `brand` LIKE 'XILINX%' ) ) LIMIT 1 [ RunTime:0.000992s ]
SELECT `id` FROM `stock` WHERE `id` <> 17163 AND `partno` = 'XA7Z020-1CLG400I' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%xilinx%' ) [ RunTime:0.001011s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17251 LIMIT 5 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17251 ORDER BY `minOrder` ASC [ RunTime:0.000528s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17251 ORDER BY `unit` DESC [ RunTime:0.000385s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17251 LIMIT 2 [ RunTime:0.000361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17251 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
select * from pdf where partno='X10S' and brandshort='HICHIPS' limit 1 [ RunTime:0.001346s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'X10S' OR `brand` LIKE 'HICHIPS%' ) ) LIMIT 1 [ RunTime:0.002056s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17236 LIMIT 5 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17236 ORDER BY `minOrder` ASC [ RunTime:0.000381s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17236 ORDER BY `unit` DESC [ RunTime:0.000358s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17236 LIMIT 2 [ RunTime:0.000342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17236 ORDER BY `minOrder` ASC [ RunTime:0.000363s ]
select * from pdf where partno='OB2573TCPA' and brandshort='ON-BRIGHT' limit 1 [ RunTime:0.001195s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OB2573TCPA' OR `brand` LIKE 'ON-BRIGHT%' ) ) LIMIT 1 [ RunTime:0.000838s ]
SELECT `id` FROM `stock` WHERE `id` <> 17236 AND `partno` = 'OB2573TCPA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%on-bright%' ) [ RunTime:0.000504s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17235 LIMIT 5 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17235 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17235 ORDER BY `unit` DESC [ RunTime:0.000352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17235 LIMIT 2 [ RunTime:0.000341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17235 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
select * from pdf where partno='OB2372CPA' and brandshort='ON-BRIGHT' limit 1 [ RunTime:0.000487s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OB2372CPA' OR `brand` LIKE 'ON-BRIGHT%' ) ) LIMIT 1 [ RunTime:0.000618s ]
SELECT `id` FROM `stock` WHERE `id` <> 17235 AND `partno` = 'OB2372CPA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%on-bright%' ) [ RunTime:0.000466s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17215 LIMIT 5 [ RunTime:0.000348s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17215 ORDER BY `minOrder` ASC [ RunTime:0.000373s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17215 ORDER BY `unit` DESC [ RunTime:0.000353s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17215 LIMIT 2 [ RunTime:0.000365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17215 ORDER BY `minOrder` ASC [ RunTime:0.000365s ]
select * from pdf where partno='SI2371EDS-T1-GE3' and brandshort='VISHAY' limit 1 [ RunTime:0.001173s ]
select foldpath,foldpath2,filename from pdf_file where id=1462111 limit 1 [ RunTime:0.000414s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SI2371EDS-T1-GE3' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.008074s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17252 LIMIT 5 [ RunTime:0.000349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17252 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17252 ORDER BY `unit` DESC [ RunTime:0.000364s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17252 LIMIT 2 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17252 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
select * from pdf where partno='QX4115'limit 1 [ RunTime:0.001154s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'QX4115' OR `brand` LIKE '泉芯%' ) ) LIMIT 1 [ RunTime:0.001193s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17172 LIMIT 5 [ RunTime:0.000364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17172 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17172 ORDER BY `unit` DESC [ RunTime:0.000347s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17172 LIMIT 2 [ RunTime:0.000340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17172 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
select * from pdf where partno='TPS2061CDBVR' and brandshort='TI' limit 1 [ RunTime:0.001048s ]
select foldpath,foldpath2,filename from pdf_file where id=1060293 limit 1 [ RunTime:0.000429s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPS2061CDBVR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.027421s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17164 LIMIT 5 [ RunTime:0.000425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17164 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17164 ORDER BY `unit` DESC [ RunTime:0.000355s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17164 LIMIT 2 [ RunTime:0.000344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17164 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
select * from pdf where partno='TPS61291DRVR' and brandshort='TI' limit 1 [ RunTime:0.000894s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPS61291DRVR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.025807s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17237 LIMIT 5 [ RunTime:0.000649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17237 ORDER BY `minOrder` ASC [ RunTime:0.000423s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17237 ORDER BY `unit` DESC [ RunTime:0.000307s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17237 LIMIT 2 [ RunTime:0.000288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17237 ORDER BY `minOrder` ASC [ RunTime:0.000301s ]
select * from pdf where partno='VS-3EJH02HM3/6A' and brandshort='VISHAY' limit 1 [ RunTime:0.003269s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VS-3EJH02HM3/6A' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.011750s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17254 LIMIT 5 [ RunTime:0.000729s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17254 ORDER BY `minOrder` ASC [ RunTime:0.000606s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17254 ORDER BY `unit` DESC [ RunTime:0.000688s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17254 LIMIT 2 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17254 ORDER BY `minOrder` ASC [ RunTime:0.000272s ]
select * from pdf where partno='AP3418KTR-G1' and brandshort='diodes' limit 1 [ RunTime:0.000988s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AP3418KTR-G1' OR `brand` LIKE 'diodes%' ) ) LIMIT 1 [ RunTime:0.003973s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17216 LIMIT 5 [ RunTime:0.000281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17216 ORDER BY `minOrder` ASC [ RunTime:0.000299s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17216 ORDER BY `unit` DESC [ RunTime:0.000262s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17216 LIMIT 2 [ RunTime:0.000259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17216 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
select * from pdf where partno='SI1539CDL-T1-GE3' and brandshort='VISHAY' limit 1 [ RunTime:0.000935s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SI1539CDL-T1-GE3' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.006743s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17256 LIMIT 5 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17256 ORDER BY `minOrder` ASC [ RunTime:0.000523s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17256 ORDER BY `unit` DESC [ RunTime:0.000346s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17256 LIMIT 2 [ RunTime:0.000334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17256 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
select * from pdf where partno='SI2305CDS-T1-GE3' and brandshort='VISHAY' limit 1 [ RunTime:0.000660s ]
select foldpath,foldpath2,filename from pdf_file where id=1104513 limit 1 [ RunTime:0.000432s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SI2305CDS-T1-GE3' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.006683s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17219 LIMIT 5 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17219 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17219 ORDER BY `unit` DESC [ RunTime:0.000303s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17219 LIMIT 2 [ RunTime:0.000350s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17219 ORDER BY `minOrder` ASC [ RunTime:0.000391s ]
select * from pdf where partno='SI4178DY-T1-GE3' and brandshort='VISHAY' limit 1 [ RunTime:0.001155s ]
select foldpath,foldpath2,filename from pdf_file where id=959142 limit 1 [ RunTime:0.000444s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SI4178DY-T1-GE3' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.006631s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17217 LIMIT 5 [ RunTime:0.000309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17217 ORDER BY `minOrder` ASC [ RunTime:0.000359s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17217 ORDER BY `unit` DESC [ RunTime:0.000290s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17217 LIMIT 2 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17217 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
select * from pdf where partno='SI2343CDS-T1-GE3' and brandshort='VISHAY' limit 1 [ RunTime:0.000606s ]
select foldpath,foldpath2,filename from pdf_file where id=1127230 limit 1 [ RunTime:0.000432s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SI2343CDS-T1-GE3' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.006614s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17182 LIMIT 5 [ RunTime:0.000448s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17182 ORDER BY `minOrder` ASC [ RunTime:0.000414s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17182 ORDER BY `unit` DESC [ RunTime:0.000419s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17182 LIMIT 2 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17182 ORDER BY `minOrder` ASC [ RunTime:0.000368s ]
select * from pdf where partno='AP6946A' and brandshort='APM' limit 1 [ RunTime:0.000982s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AP6946A' OR `brand` LIKE 'APM%' ) ) LIMIT 1 [ RunTime:0.000732s ]
SELECT `id` FROM `stock` WHERE `id` <> 17182 AND `partno` = 'AP6946A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%apm%' ) [ RunTime:0.001920s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17165 LIMIT 5 [ RunTime:0.000413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17165 ORDER BY `minOrder` ASC [ RunTime:0.000450s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17165 ORDER BY `unit` DESC [ RunTime:0.000385s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17165 LIMIT 2 [ RunTime:0.000397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17165 ORDER BY `minOrder` ASC [ RunTime:0.000423s ]
select * from pdf where partno='STM32F051C8T6' and brandshort='ST' limit 1 [ RunTime:0.001527s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F051C8T6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.011883s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14490 LIMIT 5 [ RunTime:0.000412s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14490 ORDER BY `minOrder` ASC [ RunTime:0.000546s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14490 ORDER BY `unit` DESC [ RunTime:0.000428s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14490 LIMIT 2 [ RunTime:0.000975s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14490 ORDER BY `minOrder` ASC [ RunTime:0.000773s ]
select * from pdf where partno='US1M-E3/61T' and brandshort='vishay' limit 1 [ RunTime:0.001036s ]
select foldpath,foldpath2,filename from pdf_file where id=1504100 limit 1 [ RunTime:0.000352s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'US1M-E3/61T' OR `brand` LIKE 'vishay%' ) ) LIMIT 1 [ RunTime:0.016621s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17177 LIMIT 5 [ RunTime:0.000529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17177 ORDER BY `minOrder` ASC [ RunTime:0.000564s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17177 ORDER BY `unit` DESC [ RunTime:0.000496s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17177 LIMIT 2 [ RunTime:0.000468s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17177 ORDER BY `minOrder` ASC [ RunTime:0.000511s ]
select * from pdf where partno='TLE4266G' and brandshort='INFINEON' limit 1 [ RunTime:0.004654s ]
select foldpath,foldpath2,filename from pdf_file where id=393827 limit 1 [ RunTime:0.000399s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE4266G' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.008588s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17209 LIMIT 5 [ RunTime:0.000432s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17209 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17209 ORDER BY `unit` DESC [ RunTime:0.000292s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17209 LIMIT 2 [ RunTime:0.000252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17209 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
select * from pdf where partno='AH3572-SA-7' and brandshort='DIODES' limit 1 [ RunTime:0.001196s ]
select foldpath,foldpath2,filename from pdf_file where id=2038504 limit 1 [ RunTime:0.000407s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AH3572-SA-7' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.003293s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`status` = '3' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000773s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`status` = '3' ) LIMIT 99 ) tmp GROUP BY `brand` [ RunTime:0.000906s ]
SELECT DISTINCT `categoryid` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`status` = '3' ) AND `categoryid` > 0 LIMIT 99 [ RunTime:0.000690s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` IN (181,132,104) [ RunTime:0.000324s ]