SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001392s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000502s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001689s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000376s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001464s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000278s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 134 LIMIT 1 [ RunTime:0.000338s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 134 [ RunTime:0.000188s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 22 [ RunTime:0.000186s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001242s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 134 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002847s ]
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 IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('14959','10387','2254','8211','10983','9216','7435','3433','6575','10036','16907','15889','9417','3809','9212','10388','9591','11343','7396','7614') ORDER BY FIELD(s.id, 14959,10387,2254,8211,10983,9216,7435,3433,6575,10036,16907,15889,9417,3809,9212,10388,9591,11343,7396,7614) [ RunTime:0.010460s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001233s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14959 LIMIT 4 [ RunTime:0.001612s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001014s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14959 ORDER BY `minOrder` ASC [ RunTime:0.005658s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002864s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14959 ORDER BY `unit` DESC [ RunTime:0.000577s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003019s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14959 LIMIT 2 [ RunTime:0.002115s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14959 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
select * from pdf where partno='TYN640RG' and brandshort='ST' limit 1 [ RunTime:0.003188s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002664s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TYN640RG' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.016549s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10387 LIMIT 4 [ RunTime:0.006309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10387 ORDER BY `minOrder` ASC [ RunTime:0.000447s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10387 ORDER BY `unit` DESC [ RunTime:0.002362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10387 LIMIT 2 [ RunTime:0.008440s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10387 ORDER BY `minOrder` ASC [ RunTime:0.002587s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAC97A6,116' OR `brand` LIKE 'WEEN SEMICONDUCTORS%' ) ) LIMIT 1 [ RunTime:0.000979s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2254 LIMIT 4 [ RunTime:0.008002s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2254 ORDER BY `minOrder` ASC [ RunTime:0.000542s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2254 ORDER BY `unit` DESC [ RunTime:0.000389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2254 LIMIT 2 [ RunTime:0.000751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2254 ORDER BY `minOrder` ASC [ RunTime:0.002634s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MOC3051-M' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.009598s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8211 LIMIT 4 [ RunTime:0.005274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8211 ORDER BY `minOrder` ASC [ RunTime:0.000632s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8211 ORDER BY `unit` DESC [ RunTime:0.003623s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8211 LIMIT 2 [ RunTime:0.000288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8211 ORDER BY `minOrder` ASC [ RunTime:0.000210s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MRA4005T1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.007213s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10983 LIMIT 4 [ RunTime:0.001838s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10983 ORDER BY `minOrder` ASC [ RunTime:0.004693s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10983 ORDER BY `unit` DESC [ RunTime:0.000954s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10983 LIMIT 2 [ RunTime:0.000281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10983 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'X0202MA 2BL2' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000840s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9216 LIMIT 4 [ RunTime:0.002022s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9216 ORDER BY `minOrder` ASC [ RunTime:0.004784s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9216 ORDER BY `unit` DESC [ RunTime:0.000891s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9216 LIMIT 2 [ RunTime:0.000345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9216 ORDER BY `minOrder` ASC [ RunTime:0.000182s ]
select * from pdf where partno='S6X8ES' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001212s ]
select foldpath,foldpath2,filename from pdf_file where id=626060 limit 1 [ RunTime:0.002597s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S6X8ES' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.010558s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7435 LIMIT 4 [ RunTime:0.002709s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7435 ORDER BY `minOrder` ASC [ RunTime:0.004346s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7435 ORDER BY `unit` DESC [ RunTime:0.000590s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7435 LIMIT 2 [ RunTime:0.000546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7435 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
select * from pdf where partno='ACST1235-8FP' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.001799s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACST1235-8FP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.003715s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3433 LIMIT 4 [ RunTime:0.004938s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3433 ORDER BY `minOrder` ASC [ RunTime:0.004517s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3433 ORDER BY `unit` DESC [ RunTime:0.004872s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3433 LIMIT 2 [ RunTime:0.002979s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3433 ORDER BY `minOrder` ASC [ RunTime:0.000420s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IS622X' OR `brand` LIKE 'ISOCOM%' ) ) LIMIT 1 [ RunTime:0.003170s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6575 LIMIT 4 [ RunTime:0.002447s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6575 ORDER BY `minOrder` ASC [ RunTime:0.000802s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6575 ORDER BY `unit` DESC [ RunTime:0.000616s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6575 LIMIT 2 [ RunTime:0.000558s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6575 ORDER BY `minOrder` ASC [ RunTime:0.002286s ]
select * from pdf where partno='BTB24-800BWRG' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.001851s ]
select foldpath,foldpath2,filename from pdf_file where id=551017 limit 1 [ RunTime:0.003716s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTB24-800BWRG' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.010222s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10036 LIMIT 4 [ RunTime:0.008867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10036 ORDER BY `minOrder` ASC [ RunTime:0.006743s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10036 ORDER BY `unit` DESC [ RunTime:0.000731s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10036 LIMIT 2 [ RunTime:0.004006s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10036 ORDER BY `minOrder` ASC [ RunTime:0.000433s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BT151-500R,127' OR `brand` LIKE 'WEEN SEMICONDUCTORS%' ) ) LIMIT 1 [ RunTime:0.002530s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16907 LIMIT 4 [ RunTime:0.001585s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16907 ORDER BY `minOrder` ASC [ RunTime:0.001892s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16907 ORDER BY `unit` DESC [ RunTime:0.000873s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16907 LIMIT 2 [ RunTime:0.000574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16907 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
select * from pdf where partno='ACST1235-8FP' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000756s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACST1235-8FP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000398s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15889 LIMIT 4 [ RunTime:0.000571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15889 ORDER BY `minOrder` ASC [ RunTime:0.003258s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15889 ORDER BY `unit` DESC [ RunTime:0.003915s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15889 LIMIT 2 [ RunTime:0.001224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15889 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
select * from pdf where partno='ACST1235-8FP' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000733s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACST1235-8FP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000400s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9417 LIMIT 4 [ RunTime:0.000613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9417 ORDER BY `minOrder` ASC [ RunTime:0.000570s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9417 ORDER BY `unit` DESC [ RunTime:0.004028s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9417 LIMIT 2 [ RunTime:0.006529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9417 ORDER BY `minOrder` ASC [ RunTime:0.000447s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T3050H-6T' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.006593s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3809 LIMIT 4 [ RunTime:0.002729s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3809 ORDER BY `minOrder` ASC [ RunTime:0.002367s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3809 ORDER BY `unit` DESC [ RunTime:0.002056s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3809 LIMIT 2 [ RunTime:0.000725s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3809 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T2535-600G-TR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001125s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9212 LIMIT 4 [ RunTime:0.000555s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9212 ORDER BY `minOrder` ASC [ RunTime:0.003071s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9212 ORDER BY `unit` DESC [ RunTime:0.003507s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9212 LIMIT 2 [ RunTime:0.000534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9212 ORDER BY `minOrder` ASC [ RunTime:0.006531s ]
select * from pdf where partno='P0080SAMCLRP' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001743s ]
select foldpath,foldpath2,filename from pdf_file where id=1020732 limit 1 [ RunTime:0.000658s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P0080SAMCLRP' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.008500s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10388 LIMIT 4 [ RunTime:0.000513s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10388 ORDER BY `minOrder` ASC [ RunTime:0.000519s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10388 ORDER BY `unit` DESC [ RunTime:0.001649s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10388 LIMIT 2 [ RunTime:0.000506s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10388 ORDER BY `minOrder` ASC [ RunTime:0.000831s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EC103D1WX' OR `brand` LIKE 'WEEN SEMICONDUCTORS%' ) ) LIMIT 1 [ RunTime:0.022079s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9591 LIMIT 4 [ RunTime:0.005482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9591 ORDER BY `minOrder` ASC [ RunTime:0.000620s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9591 ORDER BY `unit` DESC [ RunTime:0.000975s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9591 LIMIT 2 [ RunTime:0.000711s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9591 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TISP4040L1BJR-S' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.003823s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11343 LIMIT 4 [ RunTime:0.000333s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11343 ORDER BY `minOrder` ASC [ RunTime:0.000317s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11343 ORDER BY `unit` DESC [ RunTime:0.000317s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11343 LIMIT 2 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11343 ORDER BY `minOrder` ASC [ RunTime:0.000315s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTA312B-600B,118' OR `brand` LIKE 'WEEN SEMICONDUCTORS%' ) ) LIMIT 1 [ RunTime:0.000330s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7396 LIMIT 4 [ RunTime:0.000311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7396 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7396 ORDER BY `unit` DESC [ RunTime:0.001452s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7396 LIMIT 2 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7396 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FODM3053R2-NF098' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000392s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7614 LIMIT 4 [ RunTime:0.000544s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7614 ORDER BY `minOrder` ASC [ RunTime:0.000555s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7614 ORDER BY `unit` DESC [ RunTime:0.000547s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7614 LIMIT 2 [ RunTime:0.000563s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7614 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
select * from pdf where partno='MCMA140P1600TA' and brandshort='IXYS SEMICONDUCTOR' limit 1 [ RunTime:0.001546s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCMA140P1600TA' OR `brand` LIKE 'IXYS SEMICONDUCTOR%' ) ) LIMIT 1 [ RunTime:0.002159s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 134 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001803s ]