SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001921s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000500s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002152s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.187' ) [ RunTime:0.000474s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002198s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001891s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000528s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 21 [ RunTime:0.000273s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131) [ RunTime:0.000576s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002525s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` IN (116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131) ) [ RunTime:0.000477s ]
SELECT `s`.`id`,`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 ( `status` <> 2 AND `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.009816s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002842s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2891 LIMIT 4 [ RunTime:0.000291s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001640s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2891 ORDER BY `minOrder` ASC [ RunTime:0.000282s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001379s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2891 ORDER BY `unit` DESC [ RunTime:0.000241s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001109s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2891 LIMIT 2 [ RunTime:0.000194s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2891 ORDER BY `minOrder` ASC [ RunTime:0.000189s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000984s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SSL-LX3059IGW' OR `brand` LIKE 'LUMEX%' ) ) LIMIT 1 [ RunTime:0.000206s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4530 LIMIT 4 [ RunTime:0.000188s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4530 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4530 ORDER BY `unit` DESC [ RunTime:0.000149s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4530 LIMIT 2 [ RunTime:0.000145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4530 ORDER BY `minOrder` ASC [ RunTime:0.000145s ]
select * from pdf where partno='BAT54S-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000854s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54S-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000385s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4651 LIMIT 4 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4651 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4651 ORDER BY `unit` DESC [ RunTime:0.000921s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4651 LIMIT 2 [ RunTime:0.001612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4651 ORDER BY `minOrder` ASC [ RunTime:0.000295s ]
select * from pdf where partno='BAS70-04-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000411s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS70-04-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000401s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4031 LIMIT 4 [ RunTime:0.005076s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4031 ORDER BY `minOrder` ASC [ RunTime:0.006662s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4031 ORDER BY `unit` DESC [ RunTime:0.004264s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4031 LIMIT 2 [ RunTime:0.000527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4031 ORDER BY `minOrder` ASC [ RunTime:0.005225s ]
select * from pdf where partno='1N4148WT-7' and brandshort='DIODES INC.' limit 1 [ RunTime:0.004478s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WT-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.010257s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10315 LIMIT 4 [ RunTime:0.000881s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10315 ORDER BY `minOrder` ASC [ RunTime:0.002996s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10315 ORDER BY `unit` DESC [ RunTime:0.000367s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10315 LIMIT 2 [ RunTime:0.001088s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10315 ORDER BY `minOrder` ASC [ RunTime:0.000370s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC703-1062' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000365s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14493 LIMIT 4 [ RunTime:0.000345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14493 ORDER BY `minOrder` ASC [ RunTime:0.000341s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14493 ORDER BY `unit` DESC [ RunTime:0.000345s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14493 LIMIT 2 [ RunTime:0.002201s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14493 ORDER BY `minOrder` ASC [ RunTime:0.003263s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LED3-4' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001110s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61 LIMIT 4 [ RunTime:0.000699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61 ORDER BY `unit` DESC [ RunTime:0.002166s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61 LIMIT 2 [ RunTime:0.000337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HLMP-4000' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.002234s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14459 LIMIT 4 [ RunTime:0.000396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14459 ORDER BY `minOrder` ASC [ RunTime:0.000793s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14459 ORDER BY `unit` DESC [ RunTime:0.000402s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14459 LIMIT 2 [ RunTime:0.002083s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14459 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
select * from pdf where partno='BAT54STA' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000641s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54STA' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.003378s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 177 LIMIT 4 [ RunTime:0.001339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 177 ORDER BY `minOrder` ASC [ RunTime:0.002981s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 177 ORDER BY `unit` DESC [ RunTime:0.001029s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 177 LIMIT 2 [ RunTime:0.002676s ]
SELECT * FROM `stock_price` WHERE `stockid` = 177 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLHR4900' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000434s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 293 LIMIT 4 [ RunTime:0.003175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 293 ORDER BY `minOrder` ASC [ RunTime:0.013696s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 293 ORDER BY `unit` DESC [ RunTime:0.010492s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 293 LIMIT 2 [ RunTime:0.010226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 293 ORDER BY `minOrder` ASC [ RunTime:0.000511s ]
select * from pdf where partno='BAT54C,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001658s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54C,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.009313s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13849 LIMIT 4 [ RunTime:0.000554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13849 ORDER BY `minOrder` ASC [ RunTime:0.000508s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13849 ORDER BY `unit` DESC [ RunTime:0.000354s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13849 LIMIT 2 [ RunTime:0.000547s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13849 ORDER BY `minOrder` ASC [ RunTime:0.001457s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KP-2012EC' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.001959s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4523 LIMIT 4 [ RunTime:0.000654s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4523 ORDER BY `minOrder` ASC [ RunTime:0.001744s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4523 ORDER BY `unit` DESC [ RunTime:0.001126s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4523 LIMIT 2 [ RunTime:0.004845s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4523 ORDER BY `minOrder` ASC [ RunTime:0.000436s ]
select * from pdf where partno='BAT54C-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.004183s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54C-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000438s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4686 LIMIT 4 [ RunTime:0.011822s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4686 ORDER BY `minOrder` ASC [ RunTime:0.005176s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4686 ORDER BY `unit` DESC [ RunTime:0.000650s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4686 LIMIT 2 [ RunTime:0.003620s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4686 ORDER BY `minOrder` ASC [ RunTime:0.002775s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS110B' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.002854s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4531 LIMIT 4 [ RunTime:0.001379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4531 ORDER BY `minOrder` ASC [ RunTime:0.002063s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4531 ORDER BY `unit` DESC [ RunTime:0.003989s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4531 LIMIT 2 [ RunTime:0.002013s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4531 ORDER BY `minOrder` ASC [ RunTime:0.003209s ]
select * from pdf where partno='BAS40-04-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001668s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS40-04-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.004990s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14743 LIMIT 4 [ RunTime:0.000431s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14743 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14743 ORDER BY `unit` DESC [ RunTime:0.000677s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14743 LIMIT 2 [ RunTime:0.000401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14743 ORDER BY `minOrder` ASC [ RunTime:0.000789s ]
select * from pdf where partno='BAT48' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000529s ]
select foldpath,foldpath2,filename from pdf_file where id=397613 limit 1 [ RunTime:0.000832s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT48' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001676s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4126 LIMIT 4 [ RunTime:0.000660s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4126 ORDER BY `minOrder` ASC [ RunTime:0.008454s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4126 ORDER BY `unit` DESC [ RunTime:0.002313s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4126 LIMIT 2 [ RunTime:0.007795s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4126 ORDER BY `minOrder` ASC [ RunTime:0.001957s ]
select * from pdf where partno='BAS3010B03WE6327HTSA1' and brandshort='INFINEON' limit 1 [ RunTime:0.004291s ]
select foldpath,foldpath2,filename from pdf_file where id=1306444 limit 1 [ RunTime:0.011246s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS3010B03WE6327HTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.015957s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2210 LIMIT 4 [ RunTime:0.000446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2210 ORDER BY `minOrder` ASC [ RunTime:0.002492s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2210 ORDER BY `unit` DESC [ RunTime:0.003421s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2210 LIMIT 2 [ RunTime:0.002573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2210 ORDER BY `minOrder` ASC [ RunTime:0.000566s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5988070107F' OR `brand` LIKE 'DIALIGHT%' ) ) LIMIT 1 [ RunTime:0.000422s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14744 LIMIT 4 [ RunTime:0.000436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14744 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14744 ORDER BY `unit` DESC [ RunTime:0.002596s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14744 LIMIT 2 [ RunTime:0.002162s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14744 ORDER BY `minOrder` ASC [ RunTime:0.004590s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54JFILM' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000479s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7786 LIMIT 4 [ RunTime:0.000383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7786 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7786 ORDER BY `unit` DESC [ RunTime:0.000379s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7786 LIMIT 2 [ RunTime:0.000373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7786 ORDER BY `minOrder` ASC [ RunTime:0.000375s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HSMG-C190' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.000394s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14825 LIMIT 4 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14825 ORDER BY `minOrder` ASC [ RunTime:0.000373s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14825 ORDER BY `unit` DESC [ RunTime:0.000409s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14825 LIMIT 2 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14825 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
select * from pdf where partno='STPS3L60U' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000510s ]
select foldpath,foldpath2,filename from pdf_file where id=167780 limit 1 [ RunTime:0.000358s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STPS3L60U' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000395s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000596s ]