SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002172s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002034s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002426s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '18.97.14.88' ) [ RunTime:0.000326s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002440s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.033134s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002401s ]
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.032995s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17204 LIMIT 5 [ RunTime:0.013445s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001840s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17204 ORDER BY `minOrder` ASC [ RunTime:0.004793s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002041s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17204 ORDER BY `unit` DESC [ RunTime:0.000390s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001850s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17204 LIMIT 2 [ RunTime:0.000497s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17204 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
select * from pdf where partno='CRSS042N10N' and brandshort='CRMICRO' limit 1 [ RunTime:0.000793s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002328s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRSS042N10N' OR `brand` LIKE 'CRMICRO%' ) ) LIMIT 1 [ RunTime:0.007525s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17163 LIMIT 5 [ RunTime:0.003897s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17163 ORDER BY `minOrder` ASC [ RunTime:0.003844s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17163 ORDER BY `unit` DESC [ RunTime:0.008249s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17163 LIMIT 2 [ RunTime:0.006223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17163 ORDER BY `minOrder` ASC [ RunTime:0.008494s ]
select * from pdf where partno='XA7Z020-1CLG400I' and brandshort='XILINX' limit 1 [ RunTime:0.013225s ]
select foldpath,foldpath2,filename from pdf_file where id=1790814 limit 1 [ RunTime:0.010416s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XA7Z020-1CLG400I' OR `brand` LIKE 'XILINX%' ) ) LIMIT 1 [ RunTime:0.038096s ]
SELECT `id` FROM `stock` WHERE `id` <> 17163 AND `partno` = 'XA7Z020-1CLG400I' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%xilinx%' ) [ RunTime:0.006270s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17251 LIMIT 5 [ RunTime:0.029947s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17251 ORDER BY `minOrder` ASC [ RunTime:0.010855s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17251 ORDER BY `unit` DESC [ RunTime:0.011146s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17251 LIMIT 2 [ RunTime:0.010083s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17251 ORDER BY `minOrder` ASC [ RunTime:0.003433s ]
select * from pdf where partno='X10S' and brandshort='HICHIPS' limit 1 [ RunTime:0.019107s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'X10S' OR `brand` LIKE 'HICHIPS%' ) ) LIMIT 1 [ RunTime:0.010509s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17236 LIMIT 5 [ RunTime:0.031755s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17236 ORDER BY `minOrder` ASC [ RunTime:0.002274s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17236 ORDER BY `unit` DESC [ RunTime:0.007432s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17236 LIMIT 2 [ RunTime:0.009942s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17236 ORDER BY `minOrder` ASC [ RunTime:0.018737s ]
select * from pdf where partno='OB2573TCPA' and brandshort='ON-BRIGHT' limit 1 [ RunTime:0.006569s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OB2573TCPA' OR `brand` LIKE 'ON-BRIGHT%' ) ) LIMIT 1 [ RunTime:0.016055s ]
SELECT `id` FROM `stock` WHERE `id` <> 17236 AND `partno` = 'OB2573TCPA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%on-bright%' ) [ RunTime:0.021992s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17235 LIMIT 5 [ RunTime:0.000817s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17235 ORDER BY `minOrder` ASC [ RunTime:0.001788s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17235 ORDER BY `unit` DESC [ RunTime:0.013703s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17235 LIMIT 2 [ RunTime:0.006701s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17235 ORDER BY `minOrder` ASC [ RunTime:0.000464s ]
select * from pdf where partno='OB2372CPA' and brandshort='ON-BRIGHT' limit 1 [ RunTime:0.000894s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OB2372CPA' OR `brand` LIKE 'ON-BRIGHT%' ) ) LIMIT 1 [ RunTime:0.004411s ]
SELECT `id` FROM `stock` WHERE `id` <> 17235 AND `partno` = 'OB2372CPA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%on-bright%' ) [ RunTime:0.003277s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17215 LIMIT 5 [ RunTime:0.005141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17215 ORDER BY `minOrder` ASC [ RunTime:0.000719s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17215 ORDER BY `unit` DESC [ RunTime:0.000708s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17215 LIMIT 2 [ RunTime:0.000605s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17215 ORDER BY `minOrder` ASC [ RunTime:0.002918s ]
select * from pdf where partno='SI2371EDS-T1-GE3' and brandshort='VISHAY' limit 1 [ RunTime:0.001864s ]
select foldpath,foldpath2,filename from pdf_file where id=1462111 limit 1 [ RunTime:0.011694s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SI2371EDS-T1-GE3' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.020870s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17252 LIMIT 5 [ RunTime:0.002750s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17252 ORDER BY `minOrder` ASC [ RunTime:0.006405s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17252 ORDER BY `unit` DESC [ RunTime:0.009584s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17252 LIMIT 2 [ RunTime:0.005612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17252 ORDER BY `minOrder` ASC [ RunTime:0.002984s ]
select * from pdf where partno='QX4115'limit 1 [ RunTime:0.009220s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'QX4115' OR `brand` LIKE '泉芯%' ) ) LIMIT 1 [ RunTime:0.005933s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17172 LIMIT 5 [ RunTime:0.004748s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17172 ORDER BY `minOrder` ASC [ RunTime:0.000751s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17172 ORDER BY `unit` DESC [ RunTime:0.000644s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17172 LIMIT 2 [ RunTime:0.006979s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17172 ORDER BY `minOrder` ASC [ RunTime:0.001777s ]
select * from pdf where partno='TPS2061CDBVR' and brandshort='TI' limit 1 [ RunTime:0.002966s ]
select foldpath,foldpath2,filename from pdf_file where id=1060293 limit 1 [ RunTime:0.001097s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPS2061CDBVR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.050612s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17164 LIMIT 5 [ RunTime:0.001164s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17164 ORDER BY `minOrder` ASC [ RunTime:0.000634s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17164 ORDER BY `unit` DESC [ RunTime:0.000648s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17164 LIMIT 2 [ RunTime:0.000563s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17164 ORDER BY `minOrder` ASC [ RunTime:0.001914s ]
select * from pdf where partno='TPS61291DRVR' and brandshort='TI' limit 1 [ RunTime:0.001993s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TPS61291DRVR' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.030835s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17237 LIMIT 5 [ RunTime:0.001794s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17237 ORDER BY `minOrder` ASC [ RunTime:0.007701s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17237 ORDER BY `unit` DESC [ RunTime:0.001334s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17237 LIMIT 2 [ RunTime:0.000524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17237 ORDER BY `minOrder` ASC [ RunTime:0.000279s ]
select * from pdf where partno='VS-3EJH02HM3/6A' and brandshort='VISHAY' limit 1 [ RunTime:0.001032s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VS-3EJH02HM3/6A' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.021967s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17254 LIMIT 5 [ RunTime:0.004692s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17254 ORDER BY `minOrder` ASC [ RunTime:0.000970s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17254 ORDER BY `unit` DESC [ RunTime:0.000933s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17254 LIMIT 2 [ RunTime:0.000499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17254 ORDER BY `minOrder` ASC [ RunTime:0.000357s ]
select * from pdf where partno='AP3418KTR-G1' and brandshort='diodes' limit 1 [ RunTime:0.001517s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AP3418KTR-G1' OR `brand` LIKE 'diodes%' ) ) LIMIT 1 [ RunTime:0.016189s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17216 LIMIT 5 [ RunTime:0.008034s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17216 ORDER BY `minOrder` ASC [ RunTime:0.006086s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17216 ORDER BY `unit` DESC [ RunTime:0.006315s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17216 LIMIT 2 [ RunTime:0.016541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17216 ORDER BY `minOrder` ASC [ RunTime:0.022663s ]
select * from pdf where partno='SI1539CDL-T1-GE3' and brandshort='VISHAY' limit 1 [ RunTime:0.056281s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SI1539CDL-T1-GE3' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.023986s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17256 LIMIT 5 [ RunTime:0.008951s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17256 ORDER BY `minOrder` ASC [ RunTime:0.003132s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17256 ORDER BY `unit` DESC [ RunTime:0.008578s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17256 LIMIT 2 [ RunTime:0.001316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17256 ORDER BY `minOrder` ASC [ RunTime:0.007540s ]
select * from pdf where partno='SI2305CDS-T1-GE3' and brandshort='VISHAY' limit 1 [ RunTime:0.005922s ]
select foldpath,foldpath2,filename from pdf_file where id=1104513 limit 1 [ RunTime:0.011273s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SI2305CDS-T1-GE3' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.014456s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17219 LIMIT 5 [ RunTime:0.005858s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17219 ORDER BY `minOrder` ASC [ RunTime:0.006400s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17219 ORDER BY `unit` DESC [ RunTime:0.007626s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17219 LIMIT 2 [ RunTime:0.001655s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17219 ORDER BY `minOrder` ASC [ RunTime:0.000499s ]
select * from pdf where partno='SI4178DY-T1-GE3' and brandshort='VISHAY' limit 1 [ RunTime:0.001777s ]
select foldpath,foldpath2,filename from pdf_file where id=959142 limit 1 [ RunTime:0.002509s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SI4178DY-T1-GE3' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.017554s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17217 LIMIT 5 [ RunTime:0.000789s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17217 ORDER BY `minOrder` ASC [ RunTime:0.000770s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17217 ORDER BY `unit` DESC [ RunTime:0.001769s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17217 LIMIT 2 [ RunTime:0.018319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17217 ORDER BY `minOrder` ASC [ RunTime:0.000522s ]
select * from pdf where partno='SI2343CDS-T1-GE3' and brandshort='VISHAY' limit 1 [ RunTime:0.001402s ]
select foldpath,foldpath2,filename from pdf_file where id=1127230 limit 1 [ RunTime:0.001496s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SI2343CDS-T1-GE3' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.019606s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17182 LIMIT 5 [ RunTime:0.010620s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17182 ORDER BY `minOrder` ASC [ RunTime:0.005196s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17182 ORDER BY `unit` DESC [ RunTime:0.000670s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17182 LIMIT 2 [ RunTime:0.008655s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17182 ORDER BY `minOrder` ASC [ RunTime:0.000495s ]
select * from pdf where partno='AP6946A' and brandshort='APM' limit 1 [ RunTime:0.001849s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AP6946A' OR `brand` LIKE 'APM%' ) ) LIMIT 1 [ RunTime:0.003192s ]
SELECT `id` FROM `stock` WHERE `id` <> 17182 AND `partno` = 'AP6946A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%apm%' ) [ RunTime:0.008325s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17165 LIMIT 5 [ RunTime:0.003130s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17165 ORDER BY `minOrder` ASC [ RunTime:0.009136s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17165 ORDER BY `unit` DESC [ RunTime:0.031845s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17165 LIMIT 2 [ RunTime:0.000694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17165 ORDER BY `minOrder` ASC [ RunTime:0.003978s ]
select * from pdf where partno='STM32F051C8T6' and brandshort='ST' limit 1 [ RunTime:0.005480s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F051C8T6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.019656s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14490 LIMIT 5 [ RunTime:0.011552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14490 ORDER BY `minOrder` ASC [ RunTime:0.014082s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14490 ORDER BY `unit` DESC [ RunTime:0.004799s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14490 LIMIT 2 [ RunTime:0.014330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14490 ORDER BY `minOrder` ASC [ RunTime:0.000834s ]
select * from pdf where partno='US1M-E3/61T' and brandshort='vishay' limit 1 [ RunTime:0.004311s ]
select foldpath,foldpath2,filename from pdf_file where id=1504100 limit 1 [ RunTime:0.015048s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'US1M-E3/61T' OR `brand` LIKE 'vishay%' ) ) LIMIT 1 [ RunTime:0.027703s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17177 LIMIT 5 [ RunTime:0.004822s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17177 ORDER BY `minOrder` ASC [ RunTime:0.016533s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17177 ORDER BY `unit` DESC [ RunTime:0.009198s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17177 LIMIT 2 [ RunTime:0.035808s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17177 ORDER BY `minOrder` ASC [ RunTime:0.003150s ]
select * from pdf where partno='TLE4266G' and brandshort='INFINEON' limit 1 [ RunTime:0.002508s ]
select foldpath,foldpath2,filename from pdf_file where id=393827 limit 1 [ RunTime:0.009073s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE4266G' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.014529s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17209 LIMIT 5 [ RunTime:0.005721s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17209 ORDER BY `minOrder` ASC [ RunTime:0.007668s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17209 ORDER BY `unit` DESC [ RunTime:0.012702s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17209 LIMIT 2 [ RunTime:0.025389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17209 ORDER BY `minOrder` ASC [ RunTime:0.016281s ]
select * from pdf where partno='AH3572-SA-7' and brandshort='DIODES' limit 1 [ RunTime:0.030706s ]
select foldpath,foldpath2,filename from pdf_file where id=2038504 limit 1 [ RunTime:0.006493s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AH3572-SA-7' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.008759s ]
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.017435s ]
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.013482s ]
SELECT DISTINCT `categoryid` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`status` = '3' ) AND `categoryid` > 0 LIMIT 99 [ RunTime:0.015714s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` IN (181,132,104) [ RunTime:0.007209s ]