SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001857s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000648s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002770s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000315s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001820s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000268s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 534 LIMIT 1 [ RunTime:0.000296s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 534 [ RunTime:0.000249s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 47 [ RunTime:0.000210s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002027s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 534 ) [ RunTime:0.014278s ]
SELECT `s`.`id`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 534 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004596s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001956s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5735 LIMIT 4 [ RunTime:0.001031s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002350s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5735 ORDER BY `minOrder` ASC [ RunTime:0.005252s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002402s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5735 ORDER BY `unit` DESC [ RunTime:0.000475s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007551s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5735 LIMIT 2 [ RunTime:0.000464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5735 ORDER BY `minOrder` ASC [ RunTime:0.006018s ]
select * from pdf where partno='A000067' and brandshort='ARDUINO' limit 1 [ RunTime:0.012754s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003170s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'A000067' OR `brand` LIKE 'ARDUINO%' ) ) LIMIT 1 [ RunTime:0.006078s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7552 LIMIT 4 [ RunTime:0.007559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7552 ORDER BY `minOrder` ASC [ RunTime:0.010370s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7552 ORDER BY `unit` DESC [ RunTime:0.005055s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7552 LIMIT 2 [ RunTime:0.006678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7552 ORDER BY `minOrder` ASC [ RunTime:0.003663s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NUCLEO-F303RE' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.004069s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7866 LIMIT 4 [ RunTime:0.000933s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7866 ORDER BY `minOrder` ASC [ RunTime:0.005843s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7866 ORDER BY `unit` DESC [ RunTime:0.004867s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7866 LIMIT 2 [ RunTime:0.002141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7866 ORDER BY `minOrder` ASC [ RunTime:0.002818s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407G-DISC1' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002048s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10383 LIMIT 4 [ RunTime:0.000342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10383 ORDER BY `minOrder` ASC [ RunTime:0.002763s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10383 ORDER BY `unit` DESC [ RunTime:0.000912s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10383 LIMIT 2 [ RunTime:0.006624s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10383 ORDER BY `minOrder` ASC [ RunTime:0.002317s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LPC55S69-EVK' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002828s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8452 LIMIT 4 [ RunTime:0.000336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8452 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8452 ORDER BY `unit` DESC [ RunTime:0.000306s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8452 LIMIT 2 [ RunTime:0.001705s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8452 ORDER BY `minOrder` ASC [ RunTime:0.000282s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BBONE-BLUE' OR `brand` LIKE 'BEAGLEBOARD%' ) ) LIMIT 1 [ RunTime:0.000765s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7751 LIMIT 4 [ RunTime:0.000352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7751 ORDER BY `minOrder` ASC [ RunTime:0.009447s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7751 ORDER BY `unit` DESC [ RunTime:0.000418s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7751 LIMIT 2 [ RunTime:0.001439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7751 ORDER BY `minOrder` ASC [ RunTime:0.003260s ]
select * from pdf where partno='NUCLEO-L476RG' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.003473s ]
select foldpath,foldpath2,filename from pdf_file where id=1986630 limit 1 [ RunTime:0.000788s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NUCLEO-L476RG' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000513s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5270 LIMIT 4 [ RunTime:0.000293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5270 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5270 ORDER BY `unit` DESC [ RunTime:0.002756s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5270 LIMIT 2 [ RunTime:0.004976s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5270 ORDER BY `minOrder` ASC [ RunTime:0.000163s ]
select * from pdf where partno='P0082' and brandshort='TERASIC TECHNOLOGIES' limit 1 [ RunTime:0.000640s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P0082' OR `brand` LIKE 'TERASIC TECHNOLOGIES%' ) ) LIMIT 1 [ RunTime:0.002841s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11956 LIMIT 4 [ RunTime:0.002669s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11956 ORDER BY `minOrder` ASC [ RunTime:0.003673s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11956 ORDER BY `unit` DESC [ RunTime:0.001821s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11956 LIMIT 2 [ RunTime:0.001798s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11956 ORDER BY `minOrder` ASC [ RunTime:0.000303s ]
select * from pdf where partno='471-036-1' and brandshort='DIGILENT' limit 1 [ RunTime:0.001303s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '471-036-1' OR `brand` LIKE 'DIGILENT%' ) ) LIMIT 1 [ RunTime:0.002505s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5635 LIMIT 4 [ RunTime:0.000862s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5635 ORDER BY `minOrder` ASC [ RunTime:0.004615s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5635 ORDER BY `unit` DESC [ RunTime:0.001722s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5635 LIMIT 2 [ RunTime:0.002785s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5635 ORDER BY `minOrder` ASC [ RunTime:0.000168s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MBS-SAM9X35' OR `brand` LIKE 'EMBEST%' ) ) LIMIT 1 [ RunTime:0.000368s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12434 LIMIT 4 [ RunTime:0.000232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12434 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12434 ORDER BY `unit` DESC [ RunTime:0.001936s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12434 LIMIT 2 [ RunTime:0.004704s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12434 ORDER BY `minOrder` ASC [ RunTime:0.001388s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '783525-02' OR `brand` LIKE 'NI%' ) ) LIMIT 1 [ RunTime:0.002838s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6704 LIMIT 4 [ RunTime:0.003500s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6704 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6704 ORDER BY `unit` DESC [ RunTime:0.000235s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6704 LIMIT 2 [ RunTime:0.001461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6704 ORDER BY `minOrder` ASC [ RunTime:0.000672s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MARS BOARD WITH 9.7\"LCD.' OR `brand` LIKE 'EMBEST%' ) ) LIMIT 1 [ RunTime:0.000366s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1301 LIMIT 4 [ RunTime:0.002229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1301 ORDER BY `minOrder` ASC [ RunTime:0.001501s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1301 ORDER BY `unit` DESC [ RunTime:0.003548s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1301 LIMIT 2 [ RunTime:0.000395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1301 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RE210-S2' OR `brand` LIKE 'ROTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.001911s ]
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.002112s ]