SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002084s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000601s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002197s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.108' ) [ RunTime:0.001491s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002106s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000330s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 47 LIMIT 1 [ RunTime:0.000363s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 47 [ RunTime:0.003032s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (534,535,536,537,538,539) [ RunTime:0.000325s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002336s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` IN (534,535,536,537,538,539) ) AND `u`.`lockUser` = '0' [ RunTime:0.002883s ]
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 (534,535,536,537,538,539) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001296s ]
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.002824s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001397s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5735 LIMIT 4 [ RunTime:0.000352s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000932s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5735 ORDER BY `minOrder` ASC [ RunTime:0.001740s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004146s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5735 ORDER BY `unit` DESC [ RunTime:0.007211s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001993s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5735 LIMIT 2 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5735 ORDER BY `minOrder` ASC [ RunTime:0.001965s ]
select * from pdf where partno='A000067' and brandshort='ARDUINO' limit 1 [ RunTime:0.001452s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001345s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'A000067' OR `brand` LIKE 'ARDUINO%' ) ) LIMIT 1 [ RunTime:0.002220s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7552 LIMIT 4 [ RunTime:0.002417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7552 ORDER BY `minOrder` ASC [ RunTime:0.001507s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7552 ORDER BY `unit` DESC [ RunTime:0.000415s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7552 LIMIT 2 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7552 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NUCLEO-F303RE' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000920s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7866 LIMIT 4 [ RunTime:0.001099s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7866 ORDER BY `minOrder` ASC [ RunTime:0.002682s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7866 ORDER BY `unit` DESC [ RunTime:0.001873s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7866 LIMIT 2 [ RunTime:0.001665s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7866 ORDER BY `minOrder` ASC [ RunTime:0.000196s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407G-DISC1' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001828s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10383 LIMIT 4 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10383 ORDER BY `minOrder` ASC [ RunTime:0.000508s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10383 ORDER BY `unit` DESC [ RunTime:0.000302s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10383 LIMIT 2 [ RunTime:0.001465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10383 ORDER BY `minOrder` ASC [ RunTime:0.002934s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LPC55S69-EVK' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.006774s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8452 LIMIT 4 [ RunTime:0.002789s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8452 ORDER BY `minOrder` ASC [ RunTime:0.001066s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8452 ORDER BY `unit` DESC [ RunTime:0.001197s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8452 LIMIT 2 [ RunTime:0.000985s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8452 ORDER BY `minOrder` ASC [ RunTime:0.004615s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BBONE-BLUE' OR `brand` LIKE 'BEAGLEBOARD%' ) ) LIMIT 1 [ RunTime:0.001053s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7751 LIMIT 4 [ RunTime:0.003080s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7751 ORDER BY `minOrder` ASC [ RunTime:0.003329s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7751 ORDER BY `unit` DESC [ RunTime:0.000545s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7751 LIMIT 2 [ RunTime:0.000413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7751 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
select * from pdf where partno='NUCLEO-L476RG' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.003408s ]
select foldpath,foldpath2,filename from pdf_file where id=1986630 limit 1 [ RunTime:0.008359s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NUCLEO-L476RG' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000790s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5270 LIMIT 4 [ RunTime:0.002082s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5270 ORDER BY `minOrder` ASC [ RunTime:0.000874s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5270 ORDER BY `unit` DESC [ RunTime:0.001949s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5270 LIMIT 2 [ RunTime:0.002199s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5270 ORDER BY `minOrder` ASC [ RunTime:0.002299s ]
select * from pdf where partno='P0082' and brandshort='TERASIC TECHNOLOGIES' limit 1 [ RunTime:0.001356s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P0082' OR `brand` LIKE 'TERASIC TECHNOLOGIES%' ) ) LIMIT 1 [ RunTime:0.005754s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11956 LIMIT 4 [ RunTime:0.001748s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11956 ORDER BY `minOrder` ASC [ RunTime:0.001107s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11956 ORDER BY `unit` DESC [ RunTime:0.001249s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11956 LIMIT 2 [ RunTime:0.001794s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11956 ORDER BY `minOrder` ASC [ RunTime:0.002782s ]
select * from pdf where partno='471-036-1' and brandshort='DIGILENT' limit 1 [ RunTime:0.006422s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '471-036-1' OR `brand` LIKE 'DIGILENT%' ) ) LIMIT 1 [ RunTime:0.002102s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5635 LIMIT 4 [ RunTime:0.003065s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5635 ORDER BY `minOrder` ASC [ RunTime:0.004112s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5635 ORDER BY `unit` DESC [ RunTime:0.000602s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5635 LIMIT 2 [ RunTime:0.001938s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5635 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MBS-SAM9X35' OR `brand` LIKE 'EMBEST%' ) ) LIMIT 1 [ RunTime:0.004975s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12434 LIMIT 4 [ RunTime:0.003017s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12434 ORDER BY `minOrder` ASC [ RunTime:0.003599s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12434 ORDER BY `unit` DESC [ RunTime:0.002998s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12434 LIMIT 2 [ RunTime:0.001167s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12434 ORDER BY `minOrder` ASC [ RunTime:0.000465s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '783525-02' OR `brand` LIKE 'NI%' ) ) LIMIT 1 [ RunTime:0.003501s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6704 LIMIT 4 [ RunTime:0.000552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6704 ORDER BY `minOrder` ASC [ RunTime:0.002063s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6704 ORDER BY `unit` DESC [ RunTime:0.003395s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6704 LIMIT 2 [ RunTime:0.000856s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6704 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MARS BOARD WITH 9.7\"LCD.' OR `brand` LIKE 'EMBEST%' ) ) LIMIT 1 [ RunTime:0.000964s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1301 LIMIT 4 [ RunTime:0.003644s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1301 ORDER BY `minOrder` ASC [ RunTime:0.003018s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1301 ORDER BY `unit` DESC [ RunTime:0.001056s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1301 LIMIT 2 [ RunTime:0.000760s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1301 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RE210-S2' OR `brand` LIKE 'ROTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.001240s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (534,535,536,537,538,539) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001505s ]