SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001081s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000395s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001203s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.000214s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001141s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001849s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 133 LIMIT 1 [ RunTime:0.000255s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 133 [ RunTime:0.000188s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 22 [ RunTime:0.000147s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.000923s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 133 ) AND `u`.`lockUser` = '0' [ RunTime:0.000670s ]
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` = 133 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002314s ]
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 ('3434','5841','5993','16768','15749','2920','6410','5995','3435','5840','6409') ORDER BY FIELD(s.id, 3434,5841,5993,16768,15749,2920,6410,5995,3435,5840,6409) [ RunTime:0.002623s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001011s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3434 LIMIT 4 [ RunTime:0.002354s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000852s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3434 ORDER BY `minOrder` ASC [ RunTime:0.000496s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000796s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3434 ORDER BY `unit` DESC [ RunTime:0.000248s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.005045s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3434 LIMIT 2 [ RunTime:0.000599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3434 ORDER BY `minOrder` ASC [ RunTime:0.000197s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000822s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLP521-4' OR `brand` LIKE 'ISOCOM%' ) ) LIMIT 1 [ RunTime:0.001005s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5841 LIMIT 4 [ RunTime:0.002660s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5841 ORDER BY `minOrder` ASC [ RunTime:0.000182s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5841 ORDER BY `unit` DESC [ RunTime:0.000155s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5841 LIMIT 2 [ RunTime:0.000150s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5841 ORDER BY `minOrder` ASC [ RunTime:0.000182s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TCMT1117' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5993 LIMIT 4 [ RunTime:0.000390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5993 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5993 ORDER BY `unit` DESC [ RunTime:0.000230s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5993 LIMIT 2 [ RunTime:0.000224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5993 ORDER BY `minOrder` ASC [ RunTime:0.001172s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KP-1608P1C' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.002103s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16768 LIMIT 4 [ RunTime:0.004399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16768 ORDER BY `minOrder` ASC [ RunTime:0.002611s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16768 ORDER BY `unit` DESC [ RunTime:0.000573s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16768 LIMIT 2 [ RunTime:0.002082s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16768 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
select * from pdf where partno='TCMT1113' and brandshort='VISHAY' limit 1 [ RunTime:0.002038s ]
select foldpath,foldpath2,filename from pdf_file where id=1059931 limit 1 [ RunTime:0.002486s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TCMT1113' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.013681s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15749 LIMIT 4 [ RunTime:0.000774s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15749 ORDER BY `minOrder` ASC [ RunTime:0.000724s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15749 ORDER BY `unit` DESC [ RunTime:0.000523s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15749 LIMIT 2 [ RunTime:0.000497s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15749 ORDER BY `minOrder` ASC [ RunTime:0.000340s ]
select * from pdf where partno='TCMT1113' and brandshort='VISHAY' limit 1 [ RunTime:0.000360s ]
select foldpath,foldpath2,filename from pdf_file where id=1059931 limit 1 [ RunTime:0.000279s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TCMT1113' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000415s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2920 LIMIT 4 [ RunTime:0.000539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2920 ORDER BY `minOrder` ASC [ RunTime:0.002242s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2920 ORDER BY `unit` DESC [ RunTime:0.002802s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2920 LIMIT 2 [ RunTime:0.000556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2920 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ILD621GB' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.013988s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6410 LIMIT 4 [ RunTime:0.003493s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6410 ORDER BY `minOrder` ASC [ RunTime:0.000451s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6410 ORDER BY `unit` DESC [ RunTime:0.000402s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6410 LIMIT 2 [ RunTime:0.000401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6410 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FOD817A3SD' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000426s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5995 LIMIT 4 [ RunTime:0.000640s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5995 ORDER BY `minOrder` ASC [ RunTime:0.000606s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5995 ORDER BY `unit` DESC [ RunTime:0.001789s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5995 LIMIT 2 [ RunTime:0.004234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5995 ORDER BY `minOrder` ASC [ RunTime:0.005251s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L-53P3C' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.005054s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3435 LIMIT 4 [ RunTime:0.001495s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3435 ORDER BY `minOrder` ASC [ RunTime:0.008562s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3435 ORDER BY `unit` DESC [ RunTime:0.000756s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3435 LIMIT 2 [ RunTime:0.000590s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3435 ORDER BY `minOrder` ASC [ RunTime:0.004764s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'H11D1' OR `brand` LIKE 'ISOCOM%' ) ) LIMIT 1 [ RunTime:0.004522s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5840 LIMIT 4 [ RunTime:0.000493s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5840 ORDER BY `minOrder` ASC [ RunTime:0.000554s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5840 ORDER BY `unit` DESC [ RunTime:0.000452s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5840 LIMIT 2 [ RunTime:0.000543s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5840 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TCMT1113' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000332s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6409 LIMIT 4 [ RunTime:0.000466s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6409 ORDER BY `minOrder` ASC [ RunTime:0.005455s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6409 ORDER BY `unit` DESC [ RunTime:0.000917s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6409 LIMIT 2 [ RunTime:0.010951s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6409 ORDER BY `minOrder` ASC [ RunTime:0.000404s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4N35SR2M' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.013699s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 133 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000340s ]