SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001278s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.005805s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001327s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.000292s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001181s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000244s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000248s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 21 [ RunTime:0.000189s ]
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.000247s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001794s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` IN (116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131) ) AND `u`.`lockUser` = '0' [ RunTime:0.003087s ]
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` <> 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.007899s ]
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 ('2891','4530','4651','4031','10315','14493','61','14459','177','293','13849','4523','4686','4531','14743','4126','2210','14744','7786','14825') ORDER BY FIELD(s.id, 2891,4530,4651,4031,10315,14493,61,14459,177,293,13849,4523,4686,4531,14743,4126,2210,14744,7786,14825) [ RunTime:0.006496s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001233s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2891 LIMIT 4 [ RunTime:0.001431s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001088s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2891 ORDER BY `minOrder` ASC [ RunTime:0.002065s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001927s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2891 ORDER BY `unit` DESC [ RunTime:0.001853s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001074s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2891 LIMIT 2 [ RunTime:0.000463s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2891 ORDER BY `minOrder` ASC [ RunTime:0.000205s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001502s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SSL-LX3059IGW' OR `brand` LIKE 'LUMEX%' ) ) LIMIT 1 [ RunTime:0.007527s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4530 LIMIT 4 [ RunTime:0.003345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4530 ORDER BY `minOrder` ASC [ RunTime:0.001101s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4530 ORDER BY `unit` DESC [ RunTime:0.000197s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4530 LIMIT 2 [ RunTime:0.004171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4530 ORDER BY `minOrder` ASC [ RunTime:0.001026s ]
select * from pdf where partno='BAT54S-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001454s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54S-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.004015s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4651 LIMIT 4 [ RunTime:0.005709s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4651 ORDER BY `minOrder` ASC [ RunTime:0.000982s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4651 ORDER BY `unit` DESC [ RunTime:0.004689s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4651 LIMIT 2 [ RunTime:0.003256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4651 ORDER BY `minOrder` ASC [ RunTime:0.000448s ]
select * from pdf where partno='BAS70-04-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.002872s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS70-04-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000966s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4031 LIMIT 4 [ RunTime:0.000402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4031 ORDER BY `minOrder` ASC [ RunTime:0.001024s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4031 ORDER BY `unit` DESC [ RunTime:0.002738s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4031 LIMIT 2 [ RunTime:0.000402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4031 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
select * from pdf where partno='1N4148WT-7' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001580s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WT-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.003186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10315 LIMIT 4 [ RunTime:0.002373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10315 ORDER BY `minOrder` ASC [ RunTime:0.000823s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10315 ORDER BY `unit` DESC [ RunTime:0.000531s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10315 LIMIT 2 [ RunTime:0.000345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10315 ORDER BY `minOrder` ASC [ RunTime:0.000194s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC703-1062' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000796s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14493 LIMIT 4 [ RunTime:0.000276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14493 ORDER BY `minOrder` ASC [ RunTime:0.000505s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14493 ORDER BY `unit` DESC [ RunTime:0.000415s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14493 LIMIT 2 [ RunTime:0.007230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14493 ORDER BY `minOrder` ASC [ RunTime:0.001098s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LED3-4' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.014096s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61 LIMIT 4 [ RunTime:0.009686s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61 ORDER BY `minOrder` ASC [ RunTime:0.002528s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61 ORDER BY `unit` DESC [ RunTime:0.000464s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61 LIMIT 2 [ RunTime:0.002479s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61 ORDER BY `minOrder` ASC [ RunTime:0.003567s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HLMP-4000' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.013202s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14459 LIMIT 4 [ RunTime:0.013031s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14459 ORDER BY `minOrder` ASC [ RunTime:0.008309s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14459 ORDER BY `unit` DESC [ RunTime:0.000501s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14459 LIMIT 2 [ RunTime:0.004383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14459 ORDER BY `minOrder` ASC [ RunTime:0.004208s ]
select * from pdf where partno='BAT54STA' and brandshort='DIODES INC.' limit 1 [ RunTime:0.003812s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54STA' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.001312s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 177 LIMIT 4 [ RunTime:0.000905s ]
SELECT * FROM `stock_price` WHERE `stockid` = 177 ORDER BY `minOrder` ASC [ RunTime:0.000804s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 177 ORDER BY `unit` DESC [ RunTime:0.000415s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 177 LIMIT 2 [ RunTime:0.000386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 177 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLHR4900' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.014627s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 293 LIMIT 4 [ RunTime:0.005142s ]
SELECT * FROM `stock_price` WHERE `stockid` = 293 ORDER BY `minOrder` ASC [ RunTime:0.004253s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 293 ORDER BY `unit` DESC [ RunTime:0.001819s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 293 LIMIT 2 [ RunTime:0.009260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 293 ORDER BY `minOrder` ASC [ RunTime:0.003599s ]
select * from pdf where partno='BAT54C,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.007168s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54C,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.007596s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13849 LIMIT 4 [ RunTime:0.001589s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13849 ORDER BY `minOrder` ASC [ RunTime:0.000690s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13849 ORDER BY `unit` DESC [ RunTime:0.000496s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13849 LIMIT 2 [ RunTime:0.009406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13849 ORDER BY `minOrder` ASC [ RunTime:0.002256s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KP-2012EC' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.004326s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4523 LIMIT 4 [ RunTime:0.002873s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4523 ORDER BY `minOrder` ASC [ RunTime:0.002362s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4523 ORDER BY `unit` DESC [ RunTime:0.001570s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4523 LIMIT 2 [ RunTime:0.000460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4523 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
select * from pdf where partno='BAT54C-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000957s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54C-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.007806s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4686 LIMIT 4 [ RunTime:0.010770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4686 ORDER BY `minOrder` ASC [ RunTime:0.007325s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4686 ORDER BY `unit` DESC [ RunTime:0.000663s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4686 LIMIT 2 [ RunTime:0.000613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4686 ORDER BY `minOrder` ASC [ RunTime:0.002008s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS110B' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001569s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4531 LIMIT 4 [ RunTime:0.005942s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4531 ORDER BY `minOrder` ASC [ RunTime:0.000805s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4531 ORDER BY `unit` DESC [ RunTime:0.000519s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4531 LIMIT 2 [ RunTime:0.000451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4531 ORDER BY `minOrder` ASC [ RunTime:0.001615s ]
select * from pdf where partno='BAS40-04-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.005618s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS40-04-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.008068s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14743 LIMIT 4 [ RunTime:0.003690s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14743 ORDER BY `minOrder` ASC [ RunTime:0.000783s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14743 ORDER BY `unit` DESC [ RunTime:0.006667s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14743 LIMIT 2 [ RunTime:0.013073s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14743 ORDER BY `minOrder` ASC [ RunTime:0.013660s ]
select * from pdf where partno='BAT48' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.009002s ]
select foldpath,foldpath2,filename from pdf_file where id=397613 limit 1 [ RunTime:0.000615s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT48' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.005297s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4126 LIMIT 4 [ RunTime:0.006882s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4126 ORDER BY `minOrder` ASC [ RunTime:0.002629s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4126 ORDER BY `unit` DESC [ RunTime:0.004865s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4126 LIMIT 2 [ RunTime:0.000459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4126 ORDER BY `minOrder` ASC [ RunTime:0.000352s ]
select * from pdf where partno='BAS3010B03WE6327HTSA1' and brandshort='INFINEON' limit 1 [ RunTime:0.001374s ]
select foldpath,foldpath2,filename from pdf_file where id=1306444 limit 1 [ RunTime:0.006165s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS3010B03WE6327HTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.008808s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2210 LIMIT 4 [ RunTime:0.002046s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2210 ORDER BY `minOrder` ASC [ RunTime:0.003800s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2210 ORDER BY `unit` DESC [ RunTime:0.000612s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2210 LIMIT 2 [ RunTime:0.000450s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2210 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5988070107F' OR `brand` LIKE 'DIALIGHT%' ) ) LIMIT 1 [ RunTime:0.003069s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14744 LIMIT 4 [ RunTime:0.000460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14744 ORDER BY `minOrder` ASC [ RunTime:0.000431s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14744 ORDER BY `unit` DESC [ RunTime:0.000468s ]
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.000567s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54JFILM' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.008502s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7786 LIMIT 4 [ RunTime:0.002267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7786 ORDER BY `minOrder` ASC [ RunTime:0.005131s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7786 ORDER BY `unit` DESC [ RunTime:0.001343s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7786 LIMIT 2 [ RunTime:0.000624s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7786 ORDER BY `minOrder` ASC [ RunTime:0.000357s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HSMG-C190' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.009662s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14825 LIMIT 4 [ RunTime:0.006082s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14825 ORDER BY `minOrder` ASC [ RunTime:0.001461s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14825 ORDER BY `unit` DESC [ RunTime:0.005244s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14825 LIMIT 2 [ RunTime:0.001423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14825 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
select * from pdf where partno='STPS3L60U' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.001899s ]
select foldpath,foldpath2,filename from pdf_file where id=167780 limit 1 [ RunTime:0.000533s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STPS3L60U' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.012625s ]
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.005189s ]