SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001371s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000544s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001268s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.37' ) [ RunTime:0.000250s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001337s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000266s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000341s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000198s ]
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.000358s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001411s ]
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 'AQV252G%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004658s ]
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 ('9249790','9250468','7118073','9249791','7117709','9251110','7117708','9249787','9254138','9254139','16984','15966','9248622','29135','19745','6841','9250421','9251298','9251047') ORDER BY FIELD(s.id, 9249790,9250468,7118073,9249791,7117709,9251110,7117708,9249787,9254138,9254139,16984,15966,9248622,29135,19745,6841,9250421,9251298,9251047) [ RunTime:0.002941s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001069s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9249790 LIMIT 4 [ RunTime:0.000873s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000864s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249790 ORDER BY `minOrder` ASC [ RunTime:0.000264s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000796s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9249790 ORDER BY `unit` DESC [ RunTime:0.002973s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001041s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9249790 LIMIT 2 [ RunTime:0.002713s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249790 ORDER BY `minOrder` ASC [ RunTime:0.000194s ]
select * from pdf where partno='AQV252G2S' and brandshort='Panasonic Electric Works' limit 1 [ RunTime:0.001312s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9250468 LIMIT 4 [ RunTime:0.000614s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9250468 ORDER BY `minOrder` ASC [ RunTime:0.010767s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9250468 ORDER BY `unit` DESC [ RunTime:0.005405s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9250468 LIMIT 2 [ RunTime:0.002188s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9250468 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
select * from pdf where partno='AQV252G2SX' and brandshort='Panasonic Electric Works' limit 1 [ RunTime:0.002551s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7118073 LIMIT 4 [ RunTime:0.002790s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7118073 ORDER BY `minOrder` ASC [ RunTime:0.002060s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7118073 ORDER BY `unit` DESC [ RunTime:0.005675s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7118073 LIMIT 2 [ RunTime:0.002070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7118073 ORDER BY `minOrder` ASC [ RunTime:0.002834s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9249791 LIMIT 4 [ RunTime:0.004475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249791 ORDER BY `minOrder` ASC [ RunTime:0.000448s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9249791 ORDER BY `unit` DESC [ RunTime:0.002049s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9249791 LIMIT 2 [ RunTime:0.006353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249791 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7117709 LIMIT 4 [ RunTime:0.000699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7117709 ORDER BY `minOrder` ASC [ RunTime:0.000462s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7117709 ORDER BY `unit` DESC [ RunTime:0.000410s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7117709 LIMIT 2 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7117709 ORDER BY `minOrder` ASC [ RunTime:0.004572s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9251110 LIMIT 4 [ RunTime:0.000680s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251110 ORDER BY `minOrder` ASC [ RunTime:0.000615s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9251110 ORDER BY `unit` DESC [ RunTime:0.002912s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9251110 LIMIT 2 [ RunTime:0.002436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251110 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7117708 LIMIT 4 [ RunTime:0.002319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7117708 ORDER BY `minOrder` ASC [ RunTime:0.000404s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7117708 ORDER BY `unit` DESC [ RunTime:0.000424s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7117708 LIMIT 2 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7117708 ORDER BY `minOrder` ASC [ RunTime:0.000230s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9249787 LIMIT 4 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249787 ORDER BY `minOrder` ASC [ RunTime:0.005007s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9249787 ORDER BY `unit` DESC [ RunTime:0.001168s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9249787 LIMIT 2 [ RunTime:0.010320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249787 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9254138 LIMIT 4 [ RunTime:0.000965s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254138 ORDER BY `minOrder` ASC [ RunTime:0.000394s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9254138 ORDER BY `unit` DESC [ RunTime:0.000387s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9254138 LIMIT 2 [ RunTime:0.001037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254138 ORDER BY `minOrder` ASC [ RunTime:0.002160s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9254139 LIMIT 4 [ RunTime:0.000403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254139 ORDER BY `minOrder` ASC [ RunTime:0.000529s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9254139 ORDER BY `unit` DESC [ RunTime:0.000225s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9254139 LIMIT 2 [ RunTime:0.000231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254139 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16984 LIMIT 4 [ RunTime:0.001358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16984 ORDER BY `minOrder` ASC [ RunTime:0.002593s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16984 ORDER BY `unit` DESC [ RunTime:0.001034s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16984 LIMIT 2 [ RunTime:0.002444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16984 ORDER BY `minOrder` ASC [ RunTime:0.002483s ]
select * from pdf where partno='AQV252G' and brandshort='PANASONIC' limit 1 [ RunTime:0.002850s ]
select foldpath,foldpath2,filename from pdf_file where id=1746134 limit 1 [ RunTime:0.001079s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001265s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252G' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.008257s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15966 LIMIT 4 [ RunTime:0.000498s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15966 ORDER BY `minOrder` ASC [ RunTime:0.002762s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15966 ORDER BY `unit` DESC [ RunTime:0.006318s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15966 LIMIT 2 [ RunTime:0.000454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15966 ORDER BY `minOrder` ASC [ RunTime:0.000207s ]
select * from pdf where partno='AQV252G' and brandshort='PANASONIC' limit 1 [ RunTime:0.000353s ]
select foldpath,foldpath2,filename from pdf_file where id=1746134 limit 1 [ RunTime:0.000201s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252G' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000219s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9248622 LIMIT 4 [ RunTime:0.000507s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9248622 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9248622 ORDER BY `unit` DESC [ RunTime:0.002569s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9248622 LIMIT 2 [ RunTime:0.004569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9248622 ORDER BY `minOrder` ASC [ RunTime:0.001497s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29135 LIMIT 4 [ RunTime:0.002748s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29135 ORDER BY `minOrder` ASC [ RunTime:0.002815s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29135 ORDER BY `unit` DESC [ RunTime:0.004896s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29135 LIMIT 2 [ RunTime:0.002054s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29135 ORDER BY `minOrder` ASC [ RunTime:0.000248s ]
select * from pdf where partno='AQV252GAX' and brandshort='PANASONIC' limit 1 [ RunTime:0.000900s ]
select foldpath,foldpath2,filename from pdf_file where id=1219900 limit 1 [ RunTime:0.004275s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252GAX' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.008783s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19745 LIMIT 4 [ RunTime:0.001818s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19745 ORDER BY `minOrder` ASC [ RunTime:0.000431s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19745 ORDER BY `unit` DESC [ RunTime:0.000387s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19745 LIMIT 2 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19745 ORDER BY `minOrder` ASC [ RunTime:0.002109s ]
select * from pdf where partno='AQV252GAX' and brandshort='PANASONIC' limit 1 [ RunTime:0.000332s ]
select foldpath,foldpath2,filename from pdf_file where id=1219900 limit 1 [ RunTime:0.000218s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252GAX' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6841 LIMIT 4 [ RunTime:0.002638s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6841 ORDER BY `minOrder` ASC [ RunTime:0.006232s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6841 ORDER BY `unit` DESC [ RunTime:0.000684s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6841 LIMIT 2 [ RunTime:0.001898s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6841 ORDER BY `minOrder` ASC [ RunTime:0.000279s ]
select * from pdf where partno='AQV252G' and brandshort='PANASONIC' limit 1 [ RunTime:0.000301s ]
select foldpath,foldpath2,filename from pdf_file where id=1746134 limit 1 [ RunTime:0.000209s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252G' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000289s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9250421 LIMIT 4 [ RunTime:0.002699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9250421 ORDER BY `minOrder` ASC [ RunTime:0.000486s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9250421 ORDER BY `unit` DESC [ RunTime:0.001021s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9250421 LIMIT 2 [ RunTime:0.001287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9250421 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9251298 LIMIT 4 [ RunTime:0.001930s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251298 ORDER BY `minOrder` ASC [ RunTime:0.002721s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9251298 ORDER BY `unit` DESC [ RunTime:0.001511s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9251298 LIMIT 2 [ RunTime:0.001839s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251298 ORDER BY `minOrder` ASC [ RunTime:0.000231s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9251047 LIMIT 4 [ RunTime:0.003155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251047 ORDER BY `minOrder` ASC [ RunTime:0.005703s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9251047 ORDER BY `unit` DESC [ RunTime:0.002082s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9251047 LIMIT 2 [ RunTime:0.000485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251047 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
select * from pdf where partno='AQV252G2SZ' and brandshort='Panasonic Electric Works' limit 1 [ RunTime:0.000806s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'AQV252G%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.003491s ]