SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002467s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000571s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002903s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000456s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002547s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001472s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 623 LIMIT 1 [ RunTime:0.000354s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 623 [ RunTime:0.000283s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000277s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002512s ]
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` = 623 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001714s ]
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 ('6987','16771','15752','9690','9909','9691','11664','10168','2983','12338','10004','10169','10211') ORDER BY FIELD(s.id, 6987,16771,15752,9690,9909,9691,11664,10168,2983,12338,10004,10169,10211) [ RunTime:0.004138s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001133s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6987 LIMIT 4 [ RunTime:0.000398s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001124s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6987 ORDER BY `minOrder` ASC [ RunTime:0.000700s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002536s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6987 ORDER BY `unit` DESC [ RunTime:0.000382s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003981s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6987 LIMIT 2 [ RunTime:0.016296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6987 ORDER BY `minOrder` ASC [ RunTime:0.003498s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001137s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ANT1204F002R0433A' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.008402s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16771 LIMIT 4 [ RunTime:0.002164s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16771 ORDER BY `minOrder` ASC [ RunTime:0.001554s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16771 ORDER BY `unit` DESC [ RunTime:0.001421s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16771 LIMIT 2 [ RunTime:0.003467s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16771 ORDER BY `minOrder` ASC [ RunTime:0.000668s ]
select * from pdf where partno='ACAG0301-24505500-T' and brandshort='ABRACON' limit 1 [ RunTime:0.002135s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACAG0301-24505500-T' OR `brand` LIKE 'ABRACON%' ) ) LIMIT 1 [ RunTime:0.003307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15752 LIMIT 4 [ RunTime:0.002196s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15752 ORDER BY `minOrder` ASC [ RunTime:0.000942s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15752 ORDER BY `unit` DESC [ RunTime:0.000292s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15752 LIMIT 2 [ RunTime:0.000274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15752 ORDER BY `minOrder` ASC [ RunTime:0.001390s ]
select * from pdf where partno='ACAG0301-24505500-T' and brandshort='ABRACON' limit 1 [ RunTime:0.000271s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACAG0301-24505500-T' OR `brand` LIKE 'ABRACON%' ) ) LIMIT 1 [ RunTime:0.000201s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9690 LIMIT 4 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9690 ORDER BY `minOrder` ASC [ RunTime:0.004411s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9690 ORDER BY `unit` DESC [ RunTime:0.002098s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9690 LIMIT 2 [ RunTime:0.000542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9690 ORDER BY `minOrder` ASC [ RunTime:0.000163s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2450AT18D0100E' OR `brand` LIKE 'JOHANSON TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000758s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9909 LIMIT 4 [ RunTime:0.000233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9909 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9909 ORDER BY `unit` DESC [ RunTime:0.001924s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9909 LIMIT 2 [ RunTime:0.003566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9909 ORDER BY `minOrder` ASC [ RunTime:0.001302s ]
select * from pdf where partno='ACAG0301-24505500-T' and brandshort='ABRACON' limit 1 [ RunTime:0.000645s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACAG0301-24505500-T' OR `brand` LIKE 'ABRACON%' ) ) LIMIT 1 [ RunTime:0.000316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9691 LIMIT 4 [ RunTime:0.000506s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9691 ORDER BY `minOrder` ASC [ RunTime:0.000871s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9691 ORDER BY `unit` DESC [ RunTime:0.000289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9691 LIMIT 2 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9691 ORDER BY `minOrder` ASC [ RunTime:0.004368s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2450AT42E010BE' OR `brand` LIKE 'JOHANSON TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000268s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11664 LIMIT 4 [ RunTime:0.000413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11664 ORDER BY `minOrder` ASC [ RunTime:0.000417s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11664 ORDER BY `unit` DESC [ RunTime:0.000404s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11664 LIMIT 2 [ RunTime:0.003418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11664 ORDER BY `minOrder` ASC [ RunTime:0.004789s ]
select * from pdf where partno='BGSA402ML10E6327XTSA1' and brandshort='INFINEON' limit 1 [ RunTime:0.001204s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BGSA402ML10E6327XTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.009410s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10168 LIMIT 4 [ RunTime:0.005099s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10168 ORDER BY `minOrder` ASC [ RunTime:0.005976s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10168 ORDER BY `unit` DESC [ RunTime:0.010471s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10168 LIMIT 2 [ RunTime:0.001793s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10168 ORDER BY `minOrder` ASC [ RunTime:0.000353s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AP.25F.07.0078A' OR `brand` LIKE 'TAOGLAS%' ) ) LIMIT 1 [ RunTime:0.001188s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2983 LIMIT 4 [ RunTime:0.000345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2983 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2983 ORDER BY `unit` DESC [ RunTime:0.000310s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2983 LIMIT 2 [ RunTime:0.000313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2983 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
select * from pdf where partno='MRF24J40MA-I/RM' and brandshort='MICROCHIP' limit 1 [ RunTime:0.007478s ]
select foldpath,foldpath2,filename from pdf_file where id=879795 limit 1 [ RunTime:0.001839s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MRF24J40MA-I/RM' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.002202s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12338 LIMIT 4 [ RunTime:0.000318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12338 ORDER BY `minOrder` ASC [ RunTime:0.003509s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12338 ORDER BY `unit` DESC [ RunTime:0.000948s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12338 LIMIT 2 [ RunTime:0.000311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12338 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2361492-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10004 LIMIT 4 [ RunTime:0.002167s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10004 ORDER BY `minOrder` ASC [ RunTime:0.002121s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10004 ORDER BY `unit` DESC [ RunTime:0.003533s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10004 LIMIT 2 [ RunTime:0.000508s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10004 ORDER BY `minOrder` ASC [ RunTime:0.003033s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M620720' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.005802s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10169 LIMIT 4 [ RunTime:0.002156s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10169 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10169 ORDER BY `unit` DESC [ RunTime:0.000256s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10169 LIMIT 2 [ RunTime:0.000255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10169 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGGP.25.4.E.02' OR `brand` LIKE 'TAOGLAS%' ) ) LIMIT 1 [ RunTime:0.000263s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10211 LIMIT 4 [ RunTime:0.000472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10211 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10211 ORDER BY `unit` DESC [ RunTime:0.000328s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10211 LIMIT 2 [ RunTime:0.001257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10211 ORDER BY `minOrder` ASC [ RunTime:0.002505s ]
select * from pdf where partno='AEACAD097015-S698' and brandshort='ABRACON' limit 1 [ RunTime:0.004108s ]
select foldpath,foldpath2,filename from pdf_file where id=1341553 limit 1 [ RunTime:0.001777s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AEACAD097015-S698' OR `brand` LIKE 'ABRACON%' ) ) LIMIT 1 [ RunTime:0.003345s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 623 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001422s ]