SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001393s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000385s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001128s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000486s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000803s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000189s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 134 LIMIT 1 [ RunTime:0.000179s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 134 [ RunTime:0.000143s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 22 [ RunTime:0.000144s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001312s ]
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.002075s ]
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.007290s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001481s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14959 LIMIT 4 [ RunTime:0.002185s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002035s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14959 ORDER BY `minOrder` ASC [ RunTime:0.000468s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001257s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14959 ORDER BY `unit` DESC [ RunTime:0.000265s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000962s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14959 LIMIT 2 [ RunTime:0.000246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14959 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
select * from pdf where partno='TYN640RG' and brandshort='ST' limit 1 [ RunTime:0.001768s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002695s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TYN640RG' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.011094s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10387 LIMIT 4 [ RunTime:0.003343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10387 ORDER BY `minOrder` ASC [ RunTime:0.001774s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10387 ORDER BY `unit` DESC [ RunTime:0.002067s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10387 LIMIT 2 [ RunTime:0.000499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10387 ORDER BY `minOrder` ASC [ RunTime:0.000162s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAC97A6,116' OR `brand` LIKE 'WEEN SEMICONDUCTORS%' ) ) LIMIT 1 [ RunTime:0.000704s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2254 LIMIT 4 [ RunTime:0.000227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2254 ORDER BY `minOrder` ASC [ RunTime:0.001270s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2254 ORDER BY `unit` DESC [ RunTime:0.002096s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2254 LIMIT 2 [ RunTime:0.000718s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2254 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MOC3051-M' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.007890s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8211 LIMIT 4 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8211 ORDER BY `minOrder` ASC [ RunTime:0.001333s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8211 ORDER BY `unit` DESC [ RunTime:0.001479s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8211 LIMIT 2 [ RunTime:0.001220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8211 ORDER BY `minOrder` ASC [ RunTime:0.002855s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MRA4005T1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.005981s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10983 LIMIT 4 [ RunTime:0.001119s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10983 ORDER BY `minOrder` ASC [ RunTime:0.001531s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10983 ORDER BY `unit` DESC [ RunTime:0.001712s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10983 LIMIT 2 [ RunTime:0.000719s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10983 ORDER BY `minOrder` ASC [ RunTime:0.000869s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'X0202MA 2BL2' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001891s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9216 LIMIT 4 [ RunTime:0.000283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9216 ORDER BY `minOrder` ASC [ RunTime:0.000149s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9216 ORDER BY `unit` DESC [ RunTime:0.000147s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9216 LIMIT 2 [ RunTime:0.000145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9216 ORDER BY `minOrder` ASC [ RunTime:0.000157s ]
select * from pdf where partno='S6X8ES' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000254s ]
select foldpath,foldpath2,filename from pdf_file where id=626060 limit 1 [ RunTime:0.000152s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S6X8ES' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000163s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7435 LIMIT 4 [ RunTime:0.003612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7435 ORDER BY `minOrder` ASC [ RunTime:0.000461s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7435 ORDER BY `unit` DESC [ RunTime:0.000334s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7435 LIMIT 2 [ RunTime:0.004147s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7435 ORDER BY `minOrder` ASC [ RunTime:0.000802s ]
select * from pdf where partno='ACST1235-8FP' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.008133s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACST1235-8FP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.007672s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3433 LIMIT 4 [ RunTime:0.001644s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3433 ORDER BY `minOrder` ASC [ RunTime:0.000317s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3433 ORDER BY `unit` DESC [ RunTime:0.000300s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3433 LIMIT 2 [ RunTime:0.000246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3433 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IS622X' OR `brand` LIKE 'ISOCOM%' ) ) LIMIT 1 [ RunTime:0.000257s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6575 LIMIT 4 [ RunTime:0.000286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6575 ORDER BY `minOrder` ASC [ RunTime:0.000277s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6575 ORDER BY `unit` DESC [ RunTime:0.000264s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6575 LIMIT 2 [ RunTime:0.000235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6575 ORDER BY `minOrder` ASC [ RunTime:0.000234s ]
select * from pdf where partno='BTB24-800BWRG' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000829s ]
select foldpath,foldpath2,filename from pdf_file where id=551017 limit 1 [ RunTime:0.000367s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTB24-800BWRG' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10036 LIMIT 4 [ RunTime:0.007150s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10036 ORDER BY `minOrder` ASC [ RunTime:0.002512s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10036 ORDER BY `unit` DESC [ RunTime:0.001109s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10036 LIMIT 2 [ RunTime:0.000757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10036 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BT151-500R,127' OR `brand` LIKE 'WEEN SEMICONDUCTORS%' ) ) LIMIT 1 [ RunTime:0.001058s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16907 LIMIT 4 [ RunTime:0.000550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16907 ORDER BY `minOrder` ASC [ RunTime:0.000514s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16907 ORDER BY `unit` DESC [ RunTime:0.001486s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16907 LIMIT 2 [ RunTime:0.001800s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16907 ORDER BY `minOrder` ASC [ RunTime:0.000562s ]
select * from pdf where partno='ACST1235-8FP' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000476s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACST1235-8FP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000358s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15889 LIMIT 4 [ RunTime:0.001549s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15889 ORDER BY `minOrder` ASC [ RunTime:0.001889s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15889 ORDER BY `unit` DESC [ RunTime:0.000788s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15889 LIMIT 2 [ RunTime:0.003081s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15889 ORDER BY `minOrder` ASC [ RunTime:0.001219s ]
select * from pdf where partno='ACST1235-8FP' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000481s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACST1235-8FP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000380s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9417 LIMIT 4 [ RunTime:0.000627s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9417 ORDER BY `minOrder` ASC [ RunTime:0.002855s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9417 ORDER BY `unit` DESC [ RunTime:0.000655s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9417 LIMIT 2 [ RunTime:0.000944s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9417 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T3050H-6T' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001315s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3809 LIMIT 4 [ RunTime:0.001269s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3809 ORDER BY `minOrder` ASC [ RunTime:0.008712s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3809 ORDER BY `unit` DESC [ RunTime:0.000583s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3809 LIMIT 2 [ RunTime:0.000490s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3809 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T2535-600G-TR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001380s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9212 LIMIT 4 [ RunTime:0.002133s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9212 ORDER BY `minOrder` ASC [ RunTime:0.006836s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9212 ORDER BY `unit` DESC [ RunTime:0.004840s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9212 LIMIT 2 [ RunTime:0.000965s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9212 ORDER BY `minOrder` ASC [ RunTime:0.000354s ]
select * from pdf where partno='P0080SAMCLRP' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.003608s ]
select foldpath,foldpath2,filename from pdf_file where id=1020732 limit 1 [ RunTime:0.003507s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P0080SAMCLRP' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.006975s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10388 LIMIT 4 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10388 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10388 ORDER BY `unit` DESC [ RunTime:0.000250s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10388 LIMIT 2 [ RunTime:0.000296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10388 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EC103D1WX' OR `brand` LIKE 'WEEN SEMICONDUCTORS%' ) ) LIMIT 1 [ RunTime:0.000252s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9591 LIMIT 4 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9591 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9591 ORDER BY `unit` DESC [ RunTime:0.000243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9591 LIMIT 2 [ RunTime:0.000240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9591 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TISP4040L1BJR-S' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000247s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11343 LIMIT 4 [ RunTime:0.001562s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11343 ORDER BY `minOrder` ASC [ RunTime:0.001768s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11343 ORDER BY `unit` DESC [ RunTime:0.004510s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11343 LIMIT 2 [ RunTime:0.001237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11343 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTA312B-600B,118' OR `brand` LIKE 'WEEN SEMICONDUCTORS%' ) ) LIMIT 1 [ RunTime:0.000681s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7396 LIMIT 4 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7396 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7396 ORDER BY `unit` DESC [ RunTime:0.001002s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7396 LIMIT 2 [ RunTime:0.005931s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7396 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FODM3053R2-NF098' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.008208s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7614 LIMIT 4 [ RunTime:0.000917s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7614 ORDER BY `minOrder` ASC [ RunTime:0.005038s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7614 ORDER BY `unit` DESC [ RunTime:0.000742s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7614 LIMIT 2 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7614 ORDER BY `minOrder` ASC [ RunTime:0.000271s ]
select * from pdf where partno='MCMA140P1600TA' and brandshort='IXYS SEMICONDUCTOR' limit 1 [ RunTime:0.003459s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCMA140P1600TA' OR `brand` LIKE 'IXYS SEMICONDUCTOR%' ) ) LIMIT 1 [ RunTime:0.004923s ]
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.007637s ]