SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002186s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.003267s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002561s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000383s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002485s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000648s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 403 LIMIT 1 [ RunTime:0.000459s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 403 [ RunTime:0.000248s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 39 [ RunTime:0.000246s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002344s ]
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` = 403 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002106s ]
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 ('14916','14961','10843','14914','9734','14977','9412','7531','9415','10888','9414','14980','11359','2642','6598','8033','10864','14711','9835','3713') ORDER BY FIELD(s.id, 14916,14961,10843,14914,9734,14977,9412,7531,9415,10888,9414,14980,11359,2642,6598,8033,10864,14711,9835,3713) [ RunTime:0.006337s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001141s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14916 LIMIT 4 [ RunTime:0.000276s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000772s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14916 ORDER BY `minOrder` ASC [ RunTime:0.000268s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000929s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14916 ORDER BY `unit` DESC [ RunTime:0.000514s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000979s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14916 LIMIT 2 [ RunTime:0.000246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14916 ORDER BY `minOrder` ASC [ RunTime:0.000154s ]
select * from pdf where partno='AT24C04D-SSHM-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001696s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001473s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT24C04D-SSHM-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.016172s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14961 LIMIT 4 [ RunTime:0.002890s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14961 ORDER BY `minOrder` ASC [ RunTime:0.002036s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14961 ORDER BY `unit` DESC [ RunTime:0.000459s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14961 LIMIT 2 [ RunTime:0.000414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14961 ORDER BY `minOrder` ASC [ RunTime:0.000305s ]
select * from pdf where partno='AT24C04D-SSHM-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000437s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT24C04D-SSHM-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000334s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10843 LIMIT 4 [ RunTime:0.000390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10843 ORDER BY `minOrder` ASC [ RunTime:0.002841s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10843 ORDER BY `unit` DESC [ RunTime:0.005378s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10843 LIMIT 2 [ RunTime:0.007258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10843 ORDER BY `minOrder` ASC [ RunTime:0.001269s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24M01-DWMN3TP/K' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000979s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14914 LIMIT 4 [ RunTime:0.000419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14914 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14914 ORDER BY `unit` DESC [ RunTime:0.000704s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14914 LIMIT 2 [ RunTime:0.000404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14914 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
select * from pdf where partno='AT25128B-SSHL-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001352s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT25128B-SSHL-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.012556s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9734 LIMIT 4 [ RunTime:0.005181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9734 ORDER BY `minOrder` ASC [ RunTime:0.003463s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9734 ORDER BY `unit` DESC [ RunTime:0.001169s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9734 LIMIT 2 [ RunTime:0.000745s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9734 ORDER BY `minOrder` ASC [ RunTime:0.000323s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24C02-RDW6TP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000799s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14977 LIMIT 4 [ RunTime:0.000411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14977 ORDER BY `minOrder` ASC [ RunTime:0.003042s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14977 ORDER BY `unit` DESC [ RunTime:0.003531s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14977 LIMIT 2 [ RunTime:0.001160s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14977 ORDER BY `minOrder` ASC [ RunTime:0.000391s ]
select * from pdf where partno='AT24C04D-SSHM-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000435s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT24C04D-SSHM-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000356s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9412 LIMIT 4 [ RunTime:0.005131s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9412 ORDER BY `minOrder` ASC [ RunTime:0.000858s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9412 ORDER BY `unit` DESC [ RunTime:0.000436s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9412 LIMIT 2 [ RunTime:0.000564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9412 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24M01-DFMN6TP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000897s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7531 LIMIT 4 [ RunTime:0.001910s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7531 ORDER BY `minOrder` ASC [ RunTime:0.002154s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7531 ORDER BY `unit` DESC [ RunTime:0.000651s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7531 LIMIT 2 [ RunTime:0.000522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7531 ORDER BY `minOrder` ASC [ RunTime:0.002574s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CAT24C256YI-GT3' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.010584s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9415 LIMIT 4 [ RunTime:0.010472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9415 ORDER BY `minOrder` ASC [ RunTime:0.006190s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9415 ORDER BY `unit` DESC [ RunTime:0.002984s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9415 LIMIT 2 [ RunTime:0.002694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9415 ORDER BY `minOrder` ASC [ RunTime:0.000348s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M95M02-DRCS6TP/K' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000992s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10888 LIMIT 4 [ RunTime:0.000361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10888 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10888 ORDER BY `unit` DESC [ RunTime:0.005250s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10888 LIMIT 2 [ RunTime:0.000619s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10888 ORDER BY `minOrder` ASC [ RunTime:0.000509s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24C04-FMC6TG' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.004796s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9414 LIMIT 4 [ RunTime:0.002649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9414 ORDER BY `minOrder` ASC [ RunTime:0.002610s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9414 ORDER BY `unit` DESC [ RunTime:0.002984s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9414 LIMIT 2 [ RunTime:0.000602s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9414 ORDER BY `minOrder` ASC [ RunTime:0.003290s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M95M01-DWMN3TP/K' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002587s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14980 LIMIT 4 [ RunTime:0.002364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14980 ORDER BY `minOrder` ASC [ RunTime:0.002199s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14980 ORDER BY `unit` DESC [ RunTime:0.000472s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14980 LIMIT 2 [ RunTime:0.000418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14980 ORDER BY `minOrder` ASC [ RunTime:0.001169s ]
select * from pdf where partno='AT25128B-SSHL-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000606s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT25128B-SSHL-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000331s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11359 LIMIT 4 [ RunTime:0.000442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11359 ORDER BY `minOrder` ASC [ RunTime:0.006753s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11359 ORDER BY `unit` DESC [ RunTime:0.000481s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11359 LIMIT 2 [ RunTime:0.000542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11359 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
select * from pdf where partno='M95640-WMN6TP' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.001638s ]
select foldpath,foldpath2,filename from pdf_file where id=466715 limit 1 [ RunTime:0.002989s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M95640-WMN6TP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.006508s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2642 LIMIT 4 [ RunTime:0.007139s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2642 ORDER BY `minOrder` ASC [ RunTime:0.007603s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2642 ORDER BY `unit` DESC [ RunTime:0.003492s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2642 LIMIT 2 [ RunTime:0.000525s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2642 ORDER BY `minOrder` ASC [ RunTime:0.001779s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '93LC56BT-I/OT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.010128s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6598 LIMIT 4 [ RunTime:0.001626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6598 ORDER BY `minOrder` ASC [ RunTime:0.006995s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6598 ORDER BY `unit` DESC [ RunTime:0.001846s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6598 LIMIT 2 [ RunTime:0.002302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6598 ORDER BY `minOrder` ASC [ RunTime:0.003119s ]
select * from pdf where partno='AT93C46DN-SH-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001799s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT93C46DN-SH-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.011937s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8033 LIMIT 4 [ RunTime:0.005543s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8033 ORDER BY `minOrder` ASC [ RunTime:0.003137s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8033 ORDER BY `unit` DESC [ RunTime:0.000653s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8033 LIMIT 2 [ RunTime:0.000554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8033 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS24B33+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000909s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10864 LIMIT 4 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10864 ORDER BY `minOrder` ASC [ RunTime:0.005729s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10864 ORDER BY `unit` DESC [ RunTime:0.001072s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10864 LIMIT 2 [ RunTime:0.000453s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10864 ORDER BY `minOrder` ASC [ RunTime:0.000303s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M93C56-RMN6TP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002765s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14711 LIMIT 4 [ RunTime:0.004222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14711 ORDER BY `minOrder` ASC [ RunTime:0.000593s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14711 ORDER BY `unit` DESC [ RunTime:0.000844s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14711 LIMIT 2 [ RunTime:0.001555s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14711 ORDER BY `minOrder` ASC [ RunTime:0.003032s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '24LC256-I/P' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.012182s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9835 LIMIT 4 [ RunTime:0.000485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9835 ORDER BY `minOrder` ASC [ RunTime:0.000601s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9835 ORDER BY `unit` DESC [ RunTime:0.000379s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9835 LIMIT 2 [ RunTime:0.002586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9835 ORDER BY `minOrder` ASC [ RunTime:0.000760s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '24LC04BT-E/SN' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.013393s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3713 LIMIT 4 [ RunTime:0.002726s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3713 ORDER BY `minOrder` ASC [ RunTime:0.000642s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3713 ORDER BY `unit` DESC [ RunTime:0.000615s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3713 LIMIT 2 [ RunTime:0.000566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3713 ORDER BY `minOrder` ASC [ RunTime:0.001178s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CAT24C256WI-GT3.' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.010036s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 403 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000469s ]