SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002485s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001816s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001510s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.001364s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001260s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000278s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000447s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 21 [ RunTime:0.000287s ]
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.000362s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003079s ]
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.006952s ]
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.005030s ]
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.005847s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002046s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2891 LIMIT 4 [ RunTime:0.004281s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001042s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2891 ORDER BY `minOrder` ASC [ RunTime:0.001486s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000986s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2891 ORDER BY `unit` DESC [ RunTime:0.001229s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2891 LIMIT 2 [ RunTime:0.004149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2891 ORDER BY `minOrder` ASC [ RunTime:0.005021s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001351s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SSL-LX3059IGW' OR `brand` LIKE 'LUMEX%' ) ) LIMIT 1 [ RunTime:0.002997s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4530 LIMIT 4 [ RunTime:0.002739s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4530 ORDER BY `minOrder` ASC [ RunTime:0.002414s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4530 ORDER BY `unit` DESC [ RunTime:0.000610s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4530 LIMIT 2 [ RunTime:0.002744s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4530 ORDER BY `minOrder` ASC [ RunTime:0.001197s ]
select * from pdf where partno='BAT54S-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001006s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54S-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000841s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4651 LIMIT 4 [ RunTime:0.001627s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4651 ORDER BY `minOrder` ASC [ RunTime:0.001527s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4651 ORDER BY `unit` DESC [ RunTime:0.000313s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4651 LIMIT 2 [ RunTime:0.000500s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4651 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
select * from pdf where partno='BAS70-04-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.002471s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS70-04-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000386s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4031 LIMIT 4 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4031 ORDER BY `minOrder` ASC [ RunTime:0.000272s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4031 ORDER BY `unit` DESC [ RunTime:0.000965s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4031 LIMIT 2 [ RunTime:0.002182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4031 ORDER BY `minOrder` ASC [ RunTime:0.000503s ]
select * from pdf where partno='1N4148WT-7' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001112s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WT-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000813s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10315 LIMIT 4 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10315 ORDER BY `minOrder` ASC [ RunTime:0.003675s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10315 ORDER BY `unit` DESC [ RunTime:0.002711s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10315 LIMIT 2 [ RunTime:0.000308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10315 ORDER BY `minOrder` ASC [ RunTime:0.001525s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC703-1062' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000407s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14493 LIMIT 4 [ RunTime:0.009729s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14493 ORDER BY `minOrder` ASC [ RunTime:0.004530s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14493 ORDER BY `unit` DESC [ RunTime:0.000555s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14493 LIMIT 2 [ RunTime:0.000921s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14493 ORDER BY `minOrder` ASC [ RunTime:0.000199s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LED3-4' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000607s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61 LIMIT 4 [ RunTime:0.006500s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61 ORDER BY `minOrder` ASC [ RunTime:0.000340s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61 ORDER BY `unit` DESC [ RunTime:0.001274s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61 LIMIT 2 [ RunTime:0.005514s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61 ORDER BY `minOrder` ASC [ RunTime:0.002023s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HLMP-4000' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.004531s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14459 LIMIT 4 [ RunTime:0.000332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14459 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14459 ORDER BY `unit` DESC [ RunTime:0.003997s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14459 LIMIT 2 [ RunTime:0.000289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14459 ORDER BY `minOrder` ASC [ RunTime:0.001608s ]
select * from pdf where partno='BAT54STA' and brandshort='DIODES INC.' limit 1 [ RunTime:0.002402s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54STA' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.002222s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 177 LIMIT 4 [ RunTime:0.000220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 177 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 177 ORDER BY `unit` DESC [ RunTime:0.000186s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 177 LIMIT 2 [ RunTime:0.000183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 177 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLHR4900' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000197s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 293 LIMIT 4 [ RunTime:0.001867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 293 ORDER BY `minOrder` ASC [ RunTime:0.001517s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 293 ORDER BY `unit` DESC [ RunTime:0.003794s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 293 LIMIT 2 [ RunTime:0.001903s ]
SELECT * FROM `stock_price` WHERE `stockid` = 293 ORDER BY `minOrder` ASC [ RunTime:0.003444s ]
select * from pdf where partno='BAT54C,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001065s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54C,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.012307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13849 LIMIT 4 [ RunTime:0.011674s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13849 ORDER BY `minOrder` ASC [ RunTime:0.002922s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13849 ORDER BY `unit` DESC [ RunTime:0.004811s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13849 LIMIT 2 [ RunTime:0.006880s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13849 ORDER BY `minOrder` ASC [ RunTime:0.001092s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KP-2012EC' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.001695s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4523 LIMIT 4 [ RunTime:0.010851s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4523 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4523 ORDER BY `unit` DESC [ RunTime:0.001393s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4523 LIMIT 2 [ RunTime:0.000419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4523 ORDER BY `minOrder` ASC [ RunTime:0.000293s ]
select * from pdf where partno='BAT54C-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000441s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54C-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.004308s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4686 LIMIT 4 [ RunTime:0.000246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4686 ORDER BY `minOrder` ASC [ RunTime:0.002517s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4686 ORDER BY `unit` DESC [ RunTime:0.000555s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4686 LIMIT 2 [ RunTime:0.000267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4686 ORDER BY `minOrder` ASC [ RunTime:0.000960s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS110B' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000228s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4531 LIMIT 4 [ RunTime:0.006598s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4531 ORDER BY `minOrder` ASC [ RunTime:0.000476s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4531 ORDER BY `unit` DESC [ RunTime:0.002890s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4531 LIMIT 2 [ RunTime:0.016068s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4531 ORDER BY `minOrder` ASC [ RunTime:0.003456s ]
select * from pdf where partno='BAS40-04-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.007769s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS40-04-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.005907s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14743 LIMIT 4 [ RunTime:0.000393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14743 ORDER BY `minOrder` ASC [ RunTime:0.003565s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14743 ORDER BY `unit` DESC [ RunTime:0.000452s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14743 LIMIT 2 [ RunTime:0.000471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14743 ORDER BY `minOrder` ASC [ RunTime:0.003931s ]
select * from pdf where partno='BAT48' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.021218s ]
select foldpath,foldpath2,filename from pdf_file where id=397613 limit 1 [ RunTime:0.001591s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT48' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.003078s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4126 LIMIT 4 [ RunTime:0.004732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4126 ORDER BY `minOrder` ASC [ RunTime:0.003814s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4126 ORDER BY `unit` DESC [ RunTime:0.000326s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4126 LIMIT 2 [ RunTime:0.000290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4126 ORDER BY `minOrder` ASC [ RunTime:0.000586s ]
select * from pdf where partno='BAS3010B03WE6327HTSA1' and brandshort='INFINEON' limit 1 [ RunTime:0.016117s ]
select foldpath,foldpath2,filename from pdf_file where id=1306444 limit 1 [ RunTime:0.004299s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS3010B03WE6327HTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.013474s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2210 LIMIT 4 [ RunTime:0.006446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2210 ORDER BY `minOrder` ASC [ RunTime:0.004782s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2210 ORDER BY `unit` DESC [ RunTime:0.004261s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2210 LIMIT 2 [ RunTime:0.003044s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2210 ORDER BY `minOrder` ASC [ RunTime:0.004202s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5988070107F' OR `brand` LIKE 'DIALIGHT%' ) ) LIMIT 1 [ RunTime:0.011882s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14744 LIMIT 4 [ RunTime:0.002630s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14744 ORDER BY `minOrder` ASC [ RunTime:0.000805s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14744 ORDER BY `unit` DESC [ RunTime:0.000318s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14744 LIMIT 2 [ RunTime:0.008600s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14744 ORDER BY `minOrder` ASC [ RunTime:0.000430s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54JFILM' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000559s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7786 LIMIT 4 [ RunTime:0.006823s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7786 ORDER BY `minOrder` ASC [ RunTime:0.000643s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7786 ORDER BY `unit` DESC [ RunTime:0.002755s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7786 LIMIT 2 [ RunTime:0.009414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7786 ORDER BY `minOrder` ASC [ RunTime:0.000291s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HSMG-C190' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.002764s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14825 LIMIT 4 [ RunTime:0.000394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14825 ORDER BY `minOrder` ASC [ RunTime:0.005883s ]
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.002336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14825 ORDER BY `minOrder` ASC [ RunTime:0.004685s ]
select * from pdf where partno='STPS3L60U' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.001371s ]
select foldpath,foldpath2,filename from pdf_file where id=167780 limit 1 [ RunTime:0.002192s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STPS3L60U' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002502s ]
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.005051s ]