SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001821s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000836s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002448s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.170' ) [ RunTime:0.001591s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001943s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000290s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 534 LIMIT 1 [ RunTime:0.000318s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 534 [ RunTime:0.000219s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 47 [ RunTime:0.000210s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002149s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 534 ) AND `u`.`lockUser` = '0' [ RunTime:0.001519s ]
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` = 534 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000950s ]
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 ('5735','7552','7866','10383','8452','7751','5270','11956','5635','12434','6704','1301') ORDER BY FIELD(s.id, 5735,7552,7866,10383,8452,7751,5270,11956,5635,12434,6704,1301) [ RunTime:0.001597s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002051s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5735 LIMIT 4 [ RunTime:0.001920s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001966s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5735 ORDER BY `minOrder` ASC [ RunTime:0.001791s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003876s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5735 ORDER BY `unit` DESC [ RunTime:0.000914s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007378s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5735 LIMIT 2 [ RunTime:0.000675s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5735 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
select * from pdf where partno='A000067' and brandshort='ARDUINO' limit 1 [ RunTime:0.001924s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002785s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'A000067' OR `brand` LIKE 'ARDUINO%' ) ) LIMIT 1 [ RunTime:0.003153s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7552 LIMIT 4 [ RunTime:0.002528s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7552 ORDER BY `minOrder` ASC [ RunTime:0.003086s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7552 ORDER BY `unit` DESC [ RunTime:0.004128s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7552 LIMIT 2 [ RunTime:0.000592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7552 ORDER BY `minOrder` ASC [ RunTime:0.002979s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NUCLEO-F303RE' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.003040s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7866 LIMIT 4 [ RunTime:0.000297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7866 ORDER BY `minOrder` ASC [ RunTime:0.002137s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7866 ORDER BY `unit` DESC [ RunTime:0.005377s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7866 LIMIT 2 [ RunTime:0.000669s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7866 ORDER BY `minOrder` ASC [ RunTime:0.005343s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407G-DISC1' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.004760s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10383 LIMIT 4 [ RunTime:0.005439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10383 ORDER BY `minOrder` ASC [ RunTime:0.002212s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10383 ORDER BY `unit` DESC [ RunTime:0.000534s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10383 LIMIT 2 [ RunTime:0.000288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10383 ORDER BY `minOrder` ASC [ RunTime:0.000160s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LPC55S69-EVK' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.004267s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8452 LIMIT 4 [ RunTime:0.001326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8452 ORDER BY `minOrder` ASC [ RunTime:0.002293s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8452 ORDER BY `unit` DESC [ RunTime:0.000372s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8452 LIMIT 2 [ RunTime:0.000440s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8452 ORDER BY `minOrder` ASC [ RunTime:0.000161s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BBONE-BLUE' OR `brand` LIKE 'BEAGLEBOARD%' ) ) LIMIT 1 [ RunTime:0.001430s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7751 LIMIT 4 [ RunTime:0.001296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7751 ORDER BY `minOrder` ASC [ RunTime:0.002410s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7751 ORDER BY `unit` DESC [ RunTime:0.003968s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7751 LIMIT 2 [ RunTime:0.006947s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7751 ORDER BY `minOrder` ASC [ RunTime:0.000194s ]
select * from pdf where partno='NUCLEO-L476RG' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.003608s ]
select foldpath,foldpath2,filename from pdf_file where id=1986630 limit 1 [ RunTime:0.003171s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NUCLEO-L476RG' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002952s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5270 LIMIT 4 [ RunTime:0.004926s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5270 ORDER BY `minOrder` ASC [ RunTime:0.002271s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5270 ORDER BY `unit` DESC [ RunTime:0.003798s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5270 LIMIT 2 [ RunTime:0.003037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5270 ORDER BY `minOrder` ASC [ RunTime:0.001360s ]
select * from pdf where partno='P0082' and brandshort='TERASIC TECHNOLOGIES' limit 1 [ RunTime:0.002212s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P0082' OR `brand` LIKE 'TERASIC TECHNOLOGIES%' ) ) LIMIT 1 [ RunTime:0.001174s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11956 LIMIT 4 [ RunTime:0.002574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11956 ORDER BY `minOrder` ASC [ RunTime:0.004290s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11956 ORDER BY `unit` DESC [ RunTime:0.006267s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11956 LIMIT 2 [ RunTime:0.000976s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11956 ORDER BY `minOrder` ASC [ RunTime:0.000549s ]
select * from pdf where partno='471-036-1' and brandshort='DIGILENT' limit 1 [ RunTime:0.004645s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '471-036-1' OR `brand` LIKE 'DIGILENT%' ) ) LIMIT 1 [ RunTime:0.007877s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5635 LIMIT 4 [ RunTime:0.004427s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5635 ORDER BY `minOrder` ASC [ RunTime:0.009230s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5635 ORDER BY `unit` DESC [ RunTime:0.000489s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5635 LIMIT 2 [ RunTime:0.006020s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5635 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MBS-SAM9X35' OR `brand` LIKE 'EMBEST%' ) ) LIMIT 1 [ RunTime:0.001544s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12434 LIMIT 4 [ RunTime:0.002783s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12434 ORDER BY `minOrder` ASC [ RunTime:0.002125s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12434 ORDER BY `unit` DESC [ RunTime:0.003347s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12434 LIMIT 2 [ RunTime:0.007694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12434 ORDER BY `minOrder` ASC [ RunTime:0.001404s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '783525-02' OR `brand` LIKE 'NI%' ) ) LIMIT 1 [ RunTime:0.012494s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6704 LIMIT 4 [ RunTime:0.001997s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6704 ORDER BY `minOrder` ASC [ RunTime:0.001182s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6704 ORDER BY `unit` DESC [ RunTime:0.000669s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6704 LIMIT 2 [ RunTime:0.000345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6704 ORDER BY `minOrder` ASC [ RunTime:0.000248s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MARS BOARD WITH 9.7\"LCD.' OR `brand` LIKE 'EMBEST%' ) ) LIMIT 1 [ RunTime:0.000643s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1301 LIMIT 4 [ RunTime:0.001214s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1301 ORDER BY `minOrder` ASC [ RunTime:0.001708s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1301 ORDER BY `unit` DESC [ RunTime:0.001650s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1301 LIMIT 2 [ RunTime:0.001205s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1301 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RE210-S2' OR `brand` LIKE 'ROTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000724s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 534 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000697s ]