SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002160s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000574s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002690s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000420s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002321s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.002347s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000418s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000284s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.000473s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002469s ]
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 ( `partno` LIKE 'SS54%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008838s ]
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 ('4639397','5293387','9145381','4688','29047','27615','19657','18225','9147099','9147091','4639552','4639549') ORDER BY FIELD(s.id, 4639397,5293387,9145381,4688,29047,27615,19657,18225,9147099,9147091,4639552,4639549) [ RunTime:0.011800s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001157s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4639397 LIMIT 4 [ RunTime:0.004206s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4639397 ORDER BY `minOrder` ASC [ RunTime:0.001704s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000883s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4639397 ORDER BY `unit` DESC [ RunTime:0.001434s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000862s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4639397 LIMIT 2 [ RunTime:0.001098s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4639397 ORDER BY `minOrder` ASC [ RunTime:0.000167s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5293387 LIMIT 4 [ RunTime:0.000516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5293387 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5293387 ORDER BY `unit` DESC [ RunTime:0.000239s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5293387 LIMIT 2 [ RunTime:0.002195s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5293387 ORDER BY `minOrder` ASC [ RunTime:0.001403s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9145381 LIMIT 4 [ RunTime:0.000591s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9145381 ORDER BY `minOrder` ASC [ RunTime:0.003498s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9145381 ORDER BY `unit` DESC [ RunTime:0.003995s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9145381 LIMIT 2 [ RunTime:0.004383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9145381 ORDER BY `minOrder` ASC [ RunTime:0.000200s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4688 LIMIT 4 [ RunTime:0.000274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4688 ORDER BY `minOrder` ASC [ RunTime:0.001780s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4688 ORDER BY `unit` DESC [ RunTime:0.000278s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4688 LIMIT 2 [ RunTime:0.000232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4688 ORDER BY `minOrder` ASC [ RunTime:0.000187s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001154s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS54' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000667s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29047 LIMIT 4 [ RunTime:0.006065s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29047 ORDER BY `minOrder` ASC [ RunTime:0.003967s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29047 ORDER BY `unit` DESC [ RunTime:0.007231s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29047 LIMIT 2 [ RunTime:0.001867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29047 ORDER BY `minOrder` ASC [ RunTime:0.003374s ]
select * from pdf where partno='SS54 SMB' and brandshort='NA' limit 1 [ RunTime:0.001746s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS54 SMB' OR `brand` LIKE 'NA%' ) ) LIMIT 1 [ RunTime:0.006473s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27615 LIMIT 4 [ RunTime:0.009316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27615 ORDER BY `minOrder` ASC [ RunTime:0.003262s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27615 ORDER BY `unit` DESC [ RunTime:0.000406s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27615 LIMIT 2 [ RunTime:0.007119s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27615 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
select * from pdf where partno='SS54B' and brandshort='YANGJIE' limit 1 [ RunTime:0.003696s ]
select foldpath,foldpath2,filename from pdf_file where id=938513 limit 1 [ RunTime:0.000778s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS54B' OR `brand` LIKE 'YANGJIE(扬杰)%' ) ) LIMIT 1 [ RunTime:0.001588s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19657 LIMIT 4 [ RunTime:0.000388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19657 ORDER BY `minOrder` ASC [ RunTime:0.000505s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19657 ORDER BY `unit` DESC [ RunTime:0.007076s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19657 LIMIT 2 [ RunTime:0.001218s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19657 ORDER BY `minOrder` ASC [ RunTime:0.003502s ]
select * from pdf where partno='SS54 SMB' and brandshort='NA' limit 1 [ RunTime:0.000318s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS54 SMB' OR `brand` LIKE 'NA%' ) ) LIMIT 1 [ RunTime:0.000260s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18225 LIMIT 4 [ RunTime:0.000447s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18225 ORDER BY `minOrder` ASC [ RunTime:0.000487s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18225 ORDER BY `unit` DESC [ RunTime:0.000490s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18225 LIMIT 2 [ RunTime:0.002195s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18225 ORDER BY `minOrder` ASC [ RunTime:0.000720s ]
select * from pdf where partno='SS54B' and brandshort='YANGJIE' limit 1 [ RunTime:0.000647s ]
select foldpath,foldpath2,filename from pdf_file where id=938513 limit 1 [ RunTime:0.002187s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS54B' OR `brand` LIKE 'YANGJIE(扬杰)%' ) ) LIMIT 1 [ RunTime:0.000267s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9147099 LIMIT 4 [ RunTime:0.004075s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9147099 ORDER BY `minOrder` ASC [ RunTime:0.001021s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9147099 ORDER BY `unit` DESC [ RunTime:0.000610s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9147099 LIMIT 2 [ RunTime:0.001554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9147099 ORDER BY `minOrder` ASC [ RunTime:0.000840s ]
select * from pdf where partno='SS549BT' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.000805s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9147091 LIMIT 4 [ RunTime:0.001197s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9147091 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9147091 ORDER BY `unit` DESC [ RunTime:0.000386s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9147091 LIMIT 2 [ RunTime:0.003164s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9147091 ORDER BY `minOrder` ASC [ RunTime:0.000225s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4639552 LIMIT 4 [ RunTime:0.000824s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4639552 ORDER BY `minOrder` ASC [ RunTime:0.001943s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4639552 ORDER BY `unit` DESC [ RunTime:0.001665s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4639552 LIMIT 2 [ RunTime:0.003625s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4639552 ORDER BY `minOrder` ASC [ RunTime:0.001084s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4639549 LIMIT 4 [ RunTime:0.000428s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4639549 ORDER BY `minOrder` ASC [ RunTime:0.008265s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4639549 ORDER BY `unit` DESC [ RunTime:0.001156s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4639549 LIMIT 2 [ RunTime:0.001301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4639549 ORDER BY `minOrder` ASC [ RunTime:0.000266s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'SS54%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000927s ]