SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002416s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000740s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002691s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.25' ) [ RunTime:0.000419s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002211s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000363s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.003540s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000322s ]
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.002136s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001707s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'AQV252G%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.001680s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `partno` LIKE 'AQV252G%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010797s ]
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 ('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.012862s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001246s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9249790 LIMIT 4 [ RunTime:0.001684s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001076s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249790 ORDER BY `minOrder` ASC [ RunTime:0.003492s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006554s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9249790 ORDER BY `unit` DESC [ RunTime:0.002280s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002023s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9249790 LIMIT 2 [ RunTime:0.000623s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249790 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
select * from pdf where partno='AQV252G2S' and brandshort='Panasonic Electric Works' limit 1 [ RunTime:0.007441s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9250468 LIMIT 4 [ RunTime:0.001697s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9250468 ORDER BY `minOrder` ASC [ RunTime:0.002743s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9250468 ORDER BY `unit` DESC [ RunTime:0.000497s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9250468 LIMIT 2 [ RunTime:0.000490s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9250468 ORDER BY `minOrder` ASC [ RunTime:0.001932s ]
select * from pdf where partno='AQV252G2SX' and brandshort='Panasonic Electric Works' limit 1 [ RunTime:0.001351s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7118073 LIMIT 4 [ RunTime:0.003643s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7118073 ORDER BY `minOrder` ASC [ RunTime:0.000520s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7118073 ORDER BY `unit` DESC [ RunTime:0.000854s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7118073 LIMIT 2 [ RunTime:0.001898s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7118073 ORDER BY `minOrder` ASC [ RunTime:0.004194s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9249791 LIMIT 4 [ RunTime:0.000566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249791 ORDER BY `minOrder` ASC [ RunTime:0.009043s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9249791 ORDER BY `unit` DESC [ RunTime:0.007258s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9249791 LIMIT 2 [ RunTime:0.000607s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249791 ORDER BY `minOrder` ASC [ RunTime:0.002610s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7117709 LIMIT 4 [ RunTime:0.000685s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7117709 ORDER BY `minOrder` ASC [ RunTime:0.006808s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7117709 ORDER BY `unit` DESC [ RunTime:0.000546s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7117709 LIMIT 2 [ RunTime:0.010666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7117709 ORDER BY `minOrder` ASC [ RunTime:0.002276s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9251110 LIMIT 4 [ RunTime:0.008522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251110 ORDER BY `minOrder` ASC [ RunTime:0.000541s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9251110 ORDER BY `unit` DESC [ RunTime:0.002824s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9251110 LIMIT 2 [ RunTime:0.014073s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251110 ORDER BY `minOrder` ASC [ RunTime:0.005813s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7117708 LIMIT 4 [ RunTime:0.006825s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7117708 ORDER BY `minOrder` ASC [ RunTime:0.000444s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7117708 ORDER BY `unit` DESC [ RunTime:0.000375s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7117708 LIMIT 2 [ RunTime:0.002510s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7117708 ORDER BY `minOrder` ASC [ RunTime:0.002719s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9249787 LIMIT 4 [ RunTime:0.002858s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249787 ORDER BY `minOrder` ASC [ RunTime:0.003631s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9249787 ORDER BY `unit` DESC [ RunTime:0.000463s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9249787 LIMIT 2 [ RunTime:0.010139s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249787 ORDER BY `minOrder` ASC [ RunTime:0.000449s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9254138 LIMIT 4 [ RunTime:0.000671s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254138 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9254138 ORDER BY `unit` DESC [ RunTime:0.002534s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9254138 LIMIT 2 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254138 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9254139 LIMIT 4 [ RunTime:0.003073s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254139 ORDER BY `minOrder` ASC [ RunTime:0.000427s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9254139 ORDER BY `unit` DESC [ RunTime:0.002294s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9254139 LIMIT 2 [ RunTime:0.003563s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254139 ORDER BY `minOrder` ASC [ RunTime:0.000570s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16984 LIMIT 4 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16984 ORDER BY `minOrder` ASC [ RunTime:0.005547s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16984 ORDER BY `unit` DESC [ RunTime:0.000532s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16984 LIMIT 2 [ RunTime:0.000609s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16984 ORDER BY `minOrder` ASC [ RunTime:0.007172s ]
select * from pdf where partno='AQV252G' and brandshort='PANASONIC' limit 1 [ RunTime:0.005824s ]
select foldpath,foldpath2,filename from pdf_file where id=1746134 limit 1 [ RunTime:0.004015s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001373s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252G' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.007674s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15966 LIMIT 4 [ RunTime:0.000402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15966 ORDER BY `minOrder` ASC [ RunTime:0.002323s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15966 ORDER BY `unit` DESC [ RunTime:0.009151s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15966 LIMIT 2 [ RunTime:0.000363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15966 ORDER BY `minOrder` ASC [ RunTime:0.001374s ]
select * from pdf where partno='AQV252G' and brandshort='PANASONIC' limit 1 [ RunTime:0.002216s ]
select foldpath,foldpath2,filename from pdf_file where id=1746134 limit 1 [ RunTime:0.000391s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252G' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000295s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9248622 LIMIT 4 [ RunTime:0.001456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9248622 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9248622 ORDER BY `unit` DESC [ RunTime:0.000354s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9248622 LIMIT 2 [ RunTime:0.000330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9248622 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29135 LIMIT 4 [ RunTime:0.000331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29135 ORDER BY `minOrder` ASC [ RunTime:0.001190s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29135 ORDER BY `unit` DESC [ RunTime:0.000734s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29135 LIMIT 2 [ RunTime:0.003838s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29135 ORDER BY `minOrder` ASC [ RunTime:0.000282s ]
select * from pdf where partno='AQV252GAX' and brandshort='PANASONIC' limit 1 [ RunTime:0.001307s ]
select foldpath,foldpath2,filename from pdf_file where id=1219900 limit 1 [ RunTime:0.002718s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252GAX' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.011828s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19745 LIMIT 4 [ RunTime:0.000448s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19745 ORDER BY `minOrder` ASC [ RunTime:0.005971s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19745 ORDER BY `unit` DESC [ RunTime:0.003342s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19745 LIMIT 2 [ RunTime:0.006830s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19745 ORDER BY `minOrder` ASC [ RunTime:0.002881s ]
select * from pdf where partno='AQV252GAX' and brandshort='PANASONIC' limit 1 [ RunTime:0.000484s ]
select foldpath,foldpath2,filename from pdf_file where id=1219900 limit 1 [ RunTime:0.001263s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252GAX' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000366s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6841 LIMIT 4 [ RunTime:0.000480s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6841 ORDER BY `minOrder` ASC [ RunTime:0.006400s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6841 ORDER BY `unit` DESC [ RunTime:0.003676s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6841 LIMIT 2 [ RunTime:0.001299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6841 ORDER BY `minOrder` ASC [ RunTime:0.000713s ]
select * from pdf where partno='AQV252G' and brandshort='PANASONIC' limit 1 [ RunTime:0.001913s ]
select foldpath,foldpath2,filename from pdf_file where id=1746134 limit 1 [ RunTime:0.000431s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252G' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.003204s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9250421 LIMIT 4 [ RunTime:0.008930s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9250421 ORDER BY `minOrder` ASC [ RunTime:0.007236s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9250421 ORDER BY `unit` DESC [ RunTime:0.004842s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9250421 LIMIT 2 [ RunTime:0.001006s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9250421 ORDER BY `minOrder` ASC [ RunTime:0.000418s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9251298 LIMIT 4 [ RunTime:0.000616s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251298 ORDER BY `minOrder` ASC [ RunTime:0.000419s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9251298 ORDER BY `unit` DESC [ RunTime:0.006093s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9251298 LIMIT 2 [ RunTime:0.001935s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251298 ORDER BY `minOrder` ASC [ RunTime:0.000317s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9251047 LIMIT 4 [ RunTime:0.000591s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251047 ORDER BY `minOrder` ASC [ RunTime:0.000437s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9251047 ORDER BY `unit` DESC [ RunTime:0.000395s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9251047 LIMIT 2 [ RunTime:0.000366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251047 ORDER BY `minOrder` ASC [ RunTime:0.008340s ]
select * from pdf where partno='AQV252G2SZ' and brandshort='Panasonic Electric Works' limit 1 [ RunTime:0.004573s ]
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.000449s ]