SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.003429s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000612s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001505s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.000272s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001176s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000254s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 615 LIMIT 1 [ RunTime:0.000264s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 615 [ RunTime:0.000180s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000189s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001294s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 615 ) AND `u`.`lockUser` = '0' [ RunTime:0.004366s ]
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` = 615 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005298s ]
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 ('5354','14707','2251','10287','5852','3548','7891','2841','14710','7677','5357','4987','5356','1728','7679','5851','2753','2247','12692','11210') ORDER BY FIELD(s.id, 5354,14707,2251,10287,5852,3548,7891,2841,14710,7677,5357,4987,5356,1728,7679,5851,2753,2247,12692,11210) [ RunTime:0.015531s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001091s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5354 LIMIT 4 [ RunTime:0.004598s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001664s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5354 ORDER BY `minOrder` ASC [ RunTime:0.000451s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003293s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5354 ORDER BY `unit` DESC [ RunTime:0.001793s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001943s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5354 LIMIT 2 [ RunTime:0.000383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5354 ORDER BY `minOrder` ASC [ RunTime:0.002040s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.004178s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL431AIDBZR,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.004146s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14707 LIMIT 4 [ RunTime:0.002384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14707 ORDER BY `minOrder` ASC [ RunTime:0.006012s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14707 ORDER BY `unit` DESC [ RunTime:0.002653s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14707 LIMIT 2 [ RunTime:0.008934s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14707 ORDER BY `minOrder` ASC [ RunTime:0.001381s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM317T' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.009706s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2251 LIMIT 4 [ RunTime:0.001216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2251 ORDER BY `minOrder` ASC [ RunTime:0.004908s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2251 ORDER BY `unit` DESC [ RunTime:0.002293s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2251 LIMIT 2 [ RunTime:0.008187s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2251 ORDER BY `minOrder` ASC [ RunTime:0.001210s ]
select * from pdf where partno='LD1117S33CTR' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.005858s ]
select foldpath,foldpath2,filename from pdf_file where id=533327 limit 1 [ RunTime:0.006644s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LD1117S33CTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.008870s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10287 LIMIT 4 [ RunTime:0.008042s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10287 ORDER BY `minOrder` ASC [ RunTime:0.006595s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10287 ORDER BY `unit` DESC [ RunTime:0.006767s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10287 LIMIT 2 [ RunTime:0.006204s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10287 ORDER BY `minOrder` ASC [ RunTime:0.003467s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCP718ASN330T1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.006550s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5852 LIMIT 4 [ RunTime:0.000691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5852 ORDER BY `minOrder` ASC [ RunTime:0.004498s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5852 ORDER BY `unit` DESC [ RunTime:0.006192s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5852 LIMIT 2 [ RunTime:0.001529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5852 ORDER BY `minOrder` ASC [ RunTime:0.003020s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L78M05CDT-TR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.004156s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3548 LIMIT 4 [ RunTime:0.001482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3548 ORDER BY `minOrder` ASC [ RunTime:0.000651s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3548 ORDER BY `unit` DESC [ RunTime:0.003616s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3548 LIMIT 2 [ RunTime:0.009022s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3548 ORDER BY `minOrder` ASC [ RunTime:0.007863s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'A4403GEUTR-T' OR `brand` LIKE 'ALLEGRO MICROSYSTEMS%' ) ) LIMIT 1 [ RunTime:0.001628s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7891 LIMIT 4 [ RunTime:0.003208s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7891 ORDER BY `minOrder` ASC [ RunTime:0.006106s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7891 ORDER BY `unit` DESC [ RunTime:0.001924s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7891 LIMIT 2 [ RunTime:0.002017s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7891 ORDER BY `minOrder` ASC [ RunTime:0.001120s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MIC5504-3.3YM5-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.023541s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2841 LIMIT 4 [ RunTime:0.014760s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2841 ORDER BY `minOrder` ASC [ RunTime:0.004512s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2841 ORDER BY `unit` DESC [ RunTime:0.004113s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2841 LIMIT 2 [ RunTime:0.000554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2841 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TC2117-3.3VDBTR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.017103s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14710 LIMIT 4 [ RunTime:0.003135s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14710 ORDER BY `minOrder` ASC [ RunTime:0.003431s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14710 ORDER BY `unit` DESC [ RunTime:0.005278s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14710 LIMIT 2 [ RunTime:0.001215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14710 ORDER BY `minOrder` ASC [ RunTime:0.008425s ]
select * from pdf where partno='L7824CV' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.005008s ]
select foldpath,foldpath2,filename from pdf_file where id=375849 limit 1 [ RunTime:0.006276s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L7824CV' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.011631s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7677 LIMIT 4 [ RunTime:0.003752s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7677 ORDER BY `minOrder` ASC [ RunTime:0.000924s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7677 ORDER BY `unit` DESC [ RunTime:0.003584s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7677 LIMIT 2 [ RunTime:0.011601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7677 ORDER BY `minOrder` ASC [ RunTime:0.000286s ]
select * from pdf where partno='TLE42744DV50ATMA1' and brandshort='INFINEON' limit 1 [ RunTime:0.004697s ]
select foldpath,foldpath2,filename from pdf_file where id=1472930 limit 1 [ RunTime:0.012667s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE42744DV50ATMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.014143s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5357 LIMIT 4 [ RunTime:0.003819s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5357 ORDER BY `minOrder` ASC [ RunTime:0.005858s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5357 ORDER BY `unit` DESC [ RunTime:0.002447s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5357 LIMIT 2 [ RunTime:0.001659s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5357 ORDER BY `minOrder` ASC [ RunTime:0.000760s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL431BQDBZR,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.010779s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4987 LIMIT 4 [ RunTime:0.020461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4987 ORDER BY `minOrder` ASC [ RunTime:0.010590s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4987 ORDER BY `unit` DESC [ RunTime:0.012755s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4987 LIMIT 2 [ RunTime:0.002451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4987 ORDER BY `minOrder` ASC [ RunTime:0.002678s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NCV4274ADT50RKG' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.013363s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5356 LIMIT 4 [ RunTime:0.005307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5356 ORDER BY `minOrder` ASC [ RunTime:0.001855s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5356 ORDER BY `unit` DESC [ RunTime:0.008634s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5356 LIMIT 2 [ RunTime:0.009418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5356 ORDER BY `minOrder` ASC [ RunTime:0.000484s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TL431BIDBZR,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.010632s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1728 LIMIT 4 [ RunTime:0.001774s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1728 ORDER BY `minOrder` ASC [ RunTime:0.004786s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1728 ORDER BY `unit` DESC [ RunTime:0.000667s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1728 LIMIT 2 [ RunTime:0.001007s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1728 ORDER BY `minOrder` ASC [ RunTime:0.000428s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L78M05ABDT-TR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002905s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7679 LIMIT 4 [ RunTime:0.002305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7679 ORDER BY `minOrder` ASC [ RunTime:0.002636s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7679 ORDER BY `unit` DESC [ RunTime:0.000619s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7679 LIMIT 2 [ RunTime:0.001735s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7679 ORDER BY `minOrder` ASC [ RunTime:0.000436s ]
select * from pdf where partno='TLE4284DV50ATMA1' and brandshort='INFINEON' limit 1 [ RunTime:0.002961s ]
select foldpath,foldpath2,filename from pdf_file where id=1472939 limit 1 [ RunTime:0.002071s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE4284DV50ATMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.006872s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5851 LIMIT 4 [ RunTime:0.000689s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5851 ORDER BY `minOrder` ASC [ RunTime:0.005535s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5851 ORDER BY `unit` DESC [ RunTime:0.006575s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5851 LIMIT 2 [ RunTime:0.020172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5851 ORDER BY `minOrder` ASC [ RunTime:0.000472s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L78L05ABUTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002460s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2753 LIMIT 4 [ RunTime:0.001686s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2753 ORDER BY `minOrder` ASC [ RunTime:0.006785s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2753 ORDER BY `unit` DESC [ RunTime:0.013328s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2753 LIMIT 2 [ RunTime:0.002403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2753 ORDER BY `minOrder` ASC [ RunTime:0.003437s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCP1824T-ADJE/OT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.038669s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2247 LIMIT 4 [ RunTime:0.014221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2247 ORDER BY `minOrder` ASC [ RunTime:0.023521s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2247 ORDER BY `unit` DESC [ RunTime:0.017389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2247 LIMIT 2 [ RunTime:0.022173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2247 ORDER BY `minOrder` ASC [ RunTime:0.005552s ]
select * from pdf where partno='L78L05ABUTR' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.002934s ]
select foldpath,foldpath2,filename from pdf_file where id=126063 limit 1 [ RunTime:0.000705s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L78L05ABUTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000560s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12692 LIMIT 4 [ RunTime:0.003569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12692 ORDER BY `minOrder` ASC [ RunTime:0.002172s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12692 ORDER BY `unit` DESC [ RunTime:0.001652s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12692 LIMIT 2 [ RunTime:0.001200s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12692 ORDER BY `minOrder` ASC [ RunTime:0.000423s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE4269GMXUMA2' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.015637s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11210 LIMIT 4 [ RunTime:0.002693s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11210 ORDER BY `minOrder` ASC [ RunTime:0.001041s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11210 ORDER BY `unit` DESC [ RunTime:0.007740s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11210 LIMIT 2 [ RunTime:0.003518s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11210 ORDER BY `minOrder` ASC [ RunTime:0.000494s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE4254GSXUMA4' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.018423s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 615 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.004912s ]