SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001739s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000526s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001713s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.000307s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001255s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001475s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 623 LIMIT 1 [ RunTime:0.000640s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 623 [ RunTime:0.000191s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000201s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001718s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 623 ) AND `u`.`lockUser` = '0' [ RunTime:0.020271s ]
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` = 623 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008702s ]
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 ('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.022729s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003889s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6987 LIMIT 4 [ RunTime:0.004918s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005701s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6987 ORDER BY `minOrder` ASC [ RunTime:0.000852s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001433s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6987 ORDER BY `unit` DESC [ RunTime:0.016102s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001674s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6987 LIMIT 2 [ RunTime:0.013700s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6987 ORDER BY `minOrder` ASC [ RunTime:0.017748s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002328s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ANT1204F002R0433A' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.020068s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16771 LIMIT 4 [ RunTime:0.013828s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16771 ORDER BY `minOrder` ASC [ RunTime:0.017937s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16771 ORDER BY `unit` DESC [ RunTime:0.007234s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16771 LIMIT 2 [ RunTime:0.016463s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16771 ORDER BY `minOrder` ASC [ RunTime:0.002311s ]
select * from pdf where partno='ACAG0301-24505500-T' and brandshort='ABRACON' limit 1 [ RunTime:0.006911s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACAG0301-24505500-T' OR `brand` LIKE 'ABRACON%' ) ) LIMIT 1 [ RunTime:0.003796s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15752 LIMIT 4 [ RunTime:0.000442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15752 ORDER BY `minOrder` ASC [ RunTime:0.013077s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15752 ORDER BY `unit` DESC [ RunTime:0.005629s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15752 LIMIT 2 [ RunTime:0.000510s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15752 ORDER BY `minOrder` ASC [ RunTime:0.000201s ]
select * from pdf where partno='ACAG0301-24505500-T' and brandshort='ABRACON' limit 1 [ RunTime:0.000304s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACAG0301-24505500-T' OR `brand` LIKE 'ABRACON%' ) ) LIMIT 1 [ RunTime:0.002395s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9690 LIMIT 4 [ RunTime:0.005356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9690 ORDER BY `minOrder` ASC [ RunTime:0.002591s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9690 ORDER BY `unit` DESC [ RunTime:0.004207s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9690 LIMIT 2 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9690 ORDER BY `minOrder` ASC [ RunTime:0.001754s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2450AT18D0100E' OR `brand` LIKE 'JOHANSON TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000870s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9909 LIMIT 4 [ RunTime:0.000892s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9909 ORDER BY `minOrder` ASC [ RunTime:0.000459s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9909 ORDER BY `unit` DESC [ RunTime:0.002149s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9909 LIMIT 2 [ RunTime:0.005540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9909 ORDER BY `minOrder` ASC [ RunTime:0.003692s ]
select * from pdf where partno='ACAG0301-24505500-T' and brandshort='ABRACON' limit 1 [ RunTime:0.004030s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ACAG0301-24505500-T' OR `brand` LIKE 'ABRACON%' ) ) LIMIT 1 [ RunTime:0.001205s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9691 LIMIT 4 [ RunTime:0.002703s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9691 ORDER BY `minOrder` ASC [ RunTime:0.000283s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9691 ORDER BY `unit` DESC [ RunTime:0.000261s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9691 LIMIT 2 [ RunTime:0.000230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9691 ORDER BY `minOrder` ASC [ RunTime:0.000154s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2450AT42E010BE' OR `brand` LIKE 'JOHANSON TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.008815s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11664 LIMIT 4 [ RunTime:0.008146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11664 ORDER BY `minOrder` ASC [ RunTime:0.001555s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11664 ORDER BY `unit` DESC [ RunTime:0.004888s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11664 LIMIT 2 [ RunTime:0.009744s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11664 ORDER BY `minOrder` ASC [ RunTime:0.005998s ]
select * from pdf where partno='BGSA402ML10E6327XTSA1' and brandshort='INFINEON' limit 1 [ RunTime:0.003176s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BGSA402ML10E6327XTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.011957s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10168 LIMIT 4 [ RunTime:0.008135s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10168 ORDER BY `minOrder` ASC [ RunTime:0.006149s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10168 ORDER BY `unit` DESC [ RunTime:0.002261s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10168 LIMIT 2 [ RunTime:0.000409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10168 ORDER BY `minOrder` ASC [ RunTime:0.002085s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AP.25F.07.0078A' OR `brand` LIKE 'TAOGLAS%' ) ) LIMIT 1 [ RunTime:0.007172s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2983 LIMIT 4 [ RunTime:0.000444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2983 ORDER BY `minOrder` ASC [ RunTime:0.000464s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2983 ORDER BY `unit` DESC [ RunTime:0.003029s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2983 LIMIT 2 [ RunTime:0.007411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2983 ORDER BY `minOrder` ASC [ RunTime:0.017072s ]
select * from pdf where partno='MRF24J40MA-I/RM' and brandshort='MICROCHIP' limit 1 [ RunTime:0.028150s ]
select foldpath,foldpath2,filename from pdf_file where id=879795 limit 1 [ RunTime:0.010703s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MRF24J40MA-I/RM' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.025310s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12338 LIMIT 4 [ RunTime:0.004423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12338 ORDER BY `minOrder` ASC [ RunTime:0.006883s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12338 ORDER BY `unit` DESC [ RunTime:0.004309s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12338 LIMIT 2 [ RunTime:0.000853s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12338 ORDER BY `minOrder` ASC [ RunTime:0.000412s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2361492-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.027747s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10004 LIMIT 4 [ RunTime:0.020269s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10004 ORDER BY `minOrder` ASC [ RunTime:0.005146s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10004 ORDER BY `unit` DESC [ RunTime:0.002058s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10004 LIMIT 2 [ RunTime:0.012038s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10004 ORDER BY `minOrder` ASC [ RunTime:0.000483s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M620720' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.006577s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10169 LIMIT 4 [ RunTime:0.004068s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10169 ORDER BY `minOrder` ASC [ RunTime:0.004682s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10169 ORDER BY `unit` DESC [ RunTime:0.003292s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10169 LIMIT 2 [ RunTime:0.001366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10169 ORDER BY `minOrder` ASC [ RunTime:0.003271s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CGGP.25.4.E.02' OR `brand` LIKE 'TAOGLAS%' ) ) LIMIT 1 [ RunTime:0.001864s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10211 LIMIT 4 [ RunTime:0.004211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10211 ORDER BY `minOrder` ASC [ RunTime:0.006482s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10211 ORDER BY `unit` DESC [ RunTime:0.001505s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10211 LIMIT 2 [ RunTime:0.001072s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10211 ORDER BY `minOrder` ASC [ RunTime:0.000563s ]
select * from pdf where partno='AEACAD097015-S698' and brandshort='ABRACON' limit 1 [ RunTime:0.009070s ]
select foldpath,foldpath2,filename from pdf_file where id=1341553 limit 1 [ RunTime:0.003402s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AEACAD097015-S698' OR `brand` LIKE 'ABRACON%' ) ) LIMIT 1 [ RunTime:0.007054s ]
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.015270s ]