SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002160s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002027s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002505s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '18.97.9.171' ) [ RunTime:0.000616s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001869s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000569s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 21 [ RunTime:0.000582s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003015s ]
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` FORCE INDEX ( idx_categoryid ) LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` IN ('116','117','118','119','120','121','122','123','124','125','126','127','128','129','130','131') ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004534s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001931s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2891 LIMIT 5 [ RunTime:0.000444s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001930s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2891 ORDER BY `minOrder` ASC [ RunTime:0.000729s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001862s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2891 ORDER BY `unit` DESC [ RunTime:0.000444s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001836s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2891 LIMIT 2 [ RunTime:0.000415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2891 ORDER BY `minOrder` ASC [ RunTime:0.000485s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001777s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SSL-LX3059IGW' OR `brand` LIKE 'LUMEX%' ) ) LIMIT 1 [ RunTime:0.001203s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4530 LIMIT 5 [ RunTime:0.000418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4530 ORDER BY `minOrder` ASC [ RunTime:0.000854s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4530 ORDER BY `unit` DESC [ RunTime:0.000677s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4530 LIMIT 2 [ RunTime:0.000559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4530 ORDER BY `minOrder` ASC [ RunTime:0.000276s ]
select * from pdf where partno='BAT54S-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001474s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54S-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000720s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4651 LIMIT 5 [ RunTime:0.000344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4651 ORDER BY `minOrder` ASC [ RunTime:0.000646s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4651 ORDER BY `unit` DESC [ RunTime:0.000322s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4651 LIMIT 2 [ RunTime:0.000307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4651 ORDER BY `minOrder` ASC [ RunTime:0.000324s ]
select * from pdf where partno='BAS70-04-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001097s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS70-04-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000401s ]
SELECT `id` FROM `stock` WHERE `id` <> 4651 AND `partno` = 'BAS70-04-7-F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes inc.%' ) [ RunTime:0.000450s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4031 LIMIT 5 [ RunTime:0.000297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4031 ORDER BY `minOrder` ASC [ RunTime:0.000665s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4031 ORDER BY `unit` DESC [ RunTime:0.000460s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4031 LIMIT 2 [ RunTime:0.000290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4031 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
select * from pdf where partno='1N4148WT-7' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000818s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WT-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000523s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10315 LIMIT 5 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10315 ORDER BY `minOrder` ASC [ RunTime:0.000680s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10315 ORDER BY `unit` DESC [ RunTime:0.000319s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10315 LIMIT 2 [ RunTime:0.000297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10315 ORDER BY `minOrder` ASC [ RunTime:0.000323s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC703-1062' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000679s ]
SELECT `id` FROM `stock` WHERE `id` <> 10315 AND `partno` = 'MC703-1062' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%multicomp pro%' ) [ RunTime:0.000837s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14493 LIMIT 5 [ RunTime:0.000290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14493 ORDER BY `minOrder` ASC [ RunTime:0.000541s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14493 ORDER BY `unit` DESC [ RunTime:0.000325s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14493 LIMIT 2 [ RunTime:0.000312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14493 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LED3-4' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000664s ]
SELECT `id` FROM `stock` WHERE `id` <> 14493 AND `partno` = 'LED3-4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%multicomp pro%' ) [ RunTime:0.000810s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61 LIMIT 5 [ RunTime:0.000294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61 ORDER BY `minOrder` ASC [ RunTime:0.000701s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61 ORDER BY `unit` DESC [ RunTime:0.000452s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61 LIMIT 2 [ RunTime:0.000430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61 ORDER BY `minOrder` ASC [ RunTime:0.000276s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HLMP-4000' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.003138s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14459 LIMIT 5 [ RunTime:0.000250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14459 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14459 ORDER BY `unit` DESC [ RunTime:0.000369s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14459 LIMIT 2 [ RunTime:0.000286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14459 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
select * from pdf where partno='BAT54STA' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000776s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54STA' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000325s ]
SELECT `id` FROM `stock` WHERE `id` <> 14459 AND `partno` = 'BAT54STA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes inc.%' ) [ RunTime:0.000431s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 177 LIMIT 5 [ RunTime:0.000287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 177 ORDER BY `minOrder` ASC [ RunTime:0.000441s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 177 ORDER BY `unit` DESC [ RunTime:0.000314s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 177 LIMIT 2 [ RunTime:0.000290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 177 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLHR4900' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.006847s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 293 LIMIT 5 [ RunTime:0.000296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 293 ORDER BY `minOrder` ASC [ RunTime:0.000564s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 293 ORDER BY `unit` DESC [ RunTime:0.000287s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 293 LIMIT 2 [ RunTime:0.000231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 293 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
select * from pdf where partno='BAT54C,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000664s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54C,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.003273s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13849 LIMIT 5 [ RunTime:0.000240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13849 ORDER BY `minOrder` ASC [ RunTime:0.000461s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13849 ORDER BY `unit` DESC [ RunTime:0.000297s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13849 LIMIT 2 [ RunTime:0.000279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13849 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KP-2012EC' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.000973s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4523 LIMIT 5 [ RunTime:0.000231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4523 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4523 ORDER BY `unit` DESC [ RunTime:0.000293s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4523 LIMIT 2 [ RunTime:0.000235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4523 ORDER BY `minOrder` ASC [ RunTime:0.000265s ]
select * from pdf where partno='BAT54C-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000610s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54C-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000570s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4686 LIMIT 5 [ RunTime:0.000393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4686 ORDER BY `minOrder` ASC [ RunTime:0.000372s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4686 ORDER BY `unit` DESC [ RunTime:0.000396s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4686 LIMIT 2 [ RunTime:0.000417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4686 ORDER BY `minOrder` ASC [ RunTime:0.000476s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS110B' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000407s ]
SELECT `id` FROM `stock` WHERE `id` <> 4686 AND `partno` = 'SS110B' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%multicomp pro%' ) [ RunTime:0.000875s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4531 LIMIT 5 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4531 ORDER BY `minOrder` ASC [ RunTime:0.000391s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4531 ORDER BY `unit` DESC [ RunTime:0.000334s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4531 LIMIT 2 [ RunTime:0.000352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4531 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
select * from pdf where partno='BAS40-04-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001168s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS40-04-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000434s ]
SELECT `id` FROM `stock` WHERE `id` <> 4531 AND `partno` = 'BAS40-04-7-F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes inc.%' ) [ RunTime:0.000432s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14743 LIMIT 5 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14743 ORDER BY `minOrder` ASC [ RunTime:0.000588s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14743 ORDER BY `unit` DESC [ RunTime:0.000342s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14743 LIMIT 2 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14743 ORDER BY `minOrder` ASC [ RunTime:0.000368s ]
select * from pdf where partno='BAT48' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.001405s ]
select foldpath,foldpath2,filename from pdf_file where id=397613 limit 1 [ RunTime:0.000459s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT48' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000404s ]
SELECT `id` FROM `stock` WHERE `id` <> 14743 AND `partno` = 'BAT48' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%stmicroelectronics%' ) [ RunTime:0.000749s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15830 [ RunTime:0.000351s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16849 [ RunTime:0.000320s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44091086 [ RunTime:0.000340s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4126 LIMIT 5 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4126 ORDER BY `minOrder` ASC [ RunTime:0.000729s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4126 ORDER BY `unit` DESC [ RunTime:0.000453s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4126 LIMIT 2 [ RunTime:0.000341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4126 ORDER BY `minOrder` ASC [ RunTime:0.000437s ]
select * from pdf where partno='BAS3010B03WE6327HTSA1' and brandshort='INFINEON' limit 1 [ RunTime:0.002215s ]
select foldpath,foldpath2,filename from pdf_file where id=1306444 limit 1 [ RunTime:0.000498s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS3010B03WE6327HTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.008744s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2210 LIMIT 5 [ RunTime:0.000474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2210 ORDER BY `minOrder` ASC [ RunTime:0.000806s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2210 ORDER BY `unit` DESC [ RunTime:0.000429s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2210 LIMIT 2 [ RunTime:0.000414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2210 ORDER BY `minOrder` ASC [ RunTime:0.000383s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5988070107F' OR `brand` LIKE 'DIALIGHT%' ) ) LIMIT 1 [ RunTime:0.001216s ]
SELECT `id` FROM `stock` WHERE `id` <> 2210 AND `partno` = '5988070107F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%dialight%' ) [ RunTime:0.001108s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11229460 [ RunTime:0.000716s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14744 LIMIT 5 [ RunTime:0.000411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14744 ORDER BY `minOrder` ASC [ RunTime:0.000464s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14744 ORDER BY `unit` DESC [ RunTime:0.000438s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14744 LIMIT 2 [ RunTime:0.000404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14744 ORDER BY `minOrder` ASC [ RunTime:0.000443s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54JFILM' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000515s ]
SELECT `id` FROM `stock` WHERE `id` <> 14744 AND `partno` = 'BAT54JFILM' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%stmicroelectronics%' ) [ RunTime:0.000701s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44093776 [ RunTime:0.000420s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7786 LIMIT 5 [ RunTime:0.000330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7786 ORDER BY `minOrder` ASC [ RunTime:0.000783s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7786 ORDER BY `unit` DESC [ RunTime:0.000398s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7786 LIMIT 2 [ RunTime:0.000336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7786 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HSMG-C190' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.002465s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14825 LIMIT 5 [ RunTime:0.000428s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14825 ORDER BY `minOrder` ASC [ RunTime:0.000814s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14825 ORDER BY `unit` DESC [ RunTime:0.000455s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14825 LIMIT 2 [ RunTime:0.000412s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14825 ORDER BY `minOrder` ASC [ RunTime:0.000451s ]
select * from pdf where partno='STPS3L60U' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.001339s ]
select foldpath,foldpath2,filename from pdf_file where id=167780 limit 1 [ RunTime:0.000527s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STPS3L60U' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000589s ]
SELECT `id` FROM `stock` WHERE `id` <> 14825 AND `partno` = 'STPS3L60U' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%stmicroelectronics%' ) [ RunTime:0.000967s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44079505 [ RunTime:0.000438s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` FORCE INDEX ( idx_categoryid ) LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` IN ('116','117','118','119','120','121','122','123','124','125','126','127','128','129','130','131') ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002798s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND `s`.`categoryid` IN ('116','117','118','119','120','121','122','123','124','125','126','127','128','129','130','131') ) LIMIT 374 ) tmp GROUP BY `brand` [ RunTime:0.004060s ]