SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001685s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000472s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001449s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.37' ) [ RunTime:0.000266s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001145s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000245s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000338s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000181s ]
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.000340s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001440s ]
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.000635s ]
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.000912s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002089s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9249790 LIMIT 4 [ RunTime:0.000266s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001979s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249790 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001671s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9249790 ORDER BY `unit` DESC [ RunTime:0.000244s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001671s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9249790 LIMIT 2 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249790 ORDER BY `minOrder` ASC [ RunTime:0.000221s ]
select * from pdf where partno='AQV252G2S' and brandshort='Panasonic Electric Works' limit 1 [ RunTime:0.000756s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9250468 LIMIT 4 [ RunTime:0.000699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9250468 ORDER BY `minOrder` ASC [ RunTime:0.000506s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9250468 ORDER BY `unit` DESC [ RunTime:0.000389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9250468 LIMIT 2 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9250468 ORDER BY `minOrder` ASC [ RunTime:0.000359s ]
select * from pdf where partno='AQV252G2SX' and brandshort='Panasonic Electric Works' limit 1 [ RunTime:0.000533s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7118073 LIMIT 4 [ RunTime:0.000372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7118073 ORDER BY `minOrder` ASC [ RunTime:0.000359s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7118073 ORDER BY `unit` DESC [ RunTime:0.000370s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7118073 LIMIT 2 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7118073 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9249791 LIMIT 4 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249791 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9249791 ORDER BY `unit` DESC [ RunTime:0.000368s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9249791 LIMIT 2 [ RunTime:0.000364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249791 ORDER BY `minOrder` ASC [ RunTime:0.000354s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7117709 LIMIT 4 [ RunTime:0.000367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7117709 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7117709 ORDER BY `unit` DESC [ RunTime:0.000360s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7117709 LIMIT 2 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7117709 ORDER BY `minOrder` ASC [ RunTime:0.000352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9251110 LIMIT 4 [ RunTime:0.000365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251110 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9251110 ORDER BY `unit` DESC [ RunTime:0.000361s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9251110 LIMIT 2 [ RunTime:0.000355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251110 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7117708 LIMIT 4 [ RunTime:0.000355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7117708 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7117708 ORDER BY `unit` DESC [ RunTime:0.000361s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7117708 LIMIT 2 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7117708 ORDER BY `minOrder` ASC [ RunTime:0.000352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9249787 LIMIT 4 [ RunTime:0.000355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249787 ORDER BY `minOrder` ASC [ RunTime:0.000383s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9249787 ORDER BY `unit` DESC [ RunTime:0.000363s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9249787 LIMIT 2 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249787 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9254138 LIMIT 4 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254138 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9254138 ORDER BY `unit` DESC [ RunTime:0.000356s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9254138 LIMIT 2 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254138 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9254139 LIMIT 4 [ RunTime:0.000407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254139 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9254139 ORDER BY `unit` DESC [ RunTime:0.000305s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9254139 LIMIT 2 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254139 ORDER BY `minOrder` ASC [ RunTime:0.000224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16984 LIMIT 4 [ RunTime:0.000211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16984 ORDER BY `minOrder` ASC [ RunTime:0.000222s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16984 ORDER BY `unit` DESC [ RunTime:0.000221s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16984 LIMIT 2 [ RunTime:0.000221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16984 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
select * from pdf where partno='AQV252G' and brandshort='PANASONIC' limit 1 [ RunTime:0.000361s ]
select foldpath,foldpath2,filename from pdf_file where id=1746134 limit 1 [ RunTime:0.000234s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002054s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252G' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000268s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15966 LIMIT 4 [ RunTime:0.000227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15966 ORDER BY `minOrder` ASC [ RunTime:0.000223s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15966 ORDER BY `unit` DESC [ RunTime:0.000225s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15966 LIMIT 2 [ RunTime:0.000222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15966 ORDER BY `minOrder` ASC [ RunTime:0.000214s ]
select * from pdf where partno='AQV252G' and brandshort='PANASONIC' limit 1 [ RunTime:0.000349s ]
select foldpath,foldpath2,filename from pdf_file where id=1746134 limit 1 [ RunTime:0.000226s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252G' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000231s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9248622 LIMIT 4 [ RunTime:0.000224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9248622 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9248622 ORDER BY `unit` DESC [ RunTime:0.000215s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9248622 LIMIT 2 [ RunTime:0.000224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9248622 ORDER BY `minOrder` ASC [ RunTime:0.000216s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29135 LIMIT 4 [ RunTime:0.000211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29135 ORDER BY `minOrder` ASC [ RunTime:0.000225s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29135 ORDER BY `unit` DESC [ RunTime:0.000224s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29135 LIMIT 2 [ RunTime:0.000219s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29135 ORDER BY `minOrder` ASC [ RunTime:0.000214s ]
select * from pdf where partno='AQV252GAX' and brandshort='PANASONIC' limit 1 [ RunTime:0.000342s ]
select foldpath,foldpath2,filename from pdf_file where id=1219900 limit 1 [ RunTime:0.000223s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252GAX' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000234s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19745 LIMIT 4 [ RunTime:0.000226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19745 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19745 ORDER BY `unit` DESC [ RunTime:0.000214s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19745 LIMIT 2 [ RunTime:0.000212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19745 ORDER BY `minOrder` ASC [ RunTime:0.000211s ]
select * from pdf where partno='AQV252GAX' and brandshort='PANASONIC' limit 1 [ RunTime:0.000337s ]
select foldpath,foldpath2,filename from pdf_file where id=1219900 limit 1 [ RunTime:0.000222s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252GAX' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000230s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6841 LIMIT 4 [ RunTime:0.000224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6841 ORDER BY `minOrder` ASC [ RunTime:0.000213s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6841 ORDER BY `unit` DESC [ RunTime:0.000216s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6841 LIMIT 2 [ RunTime:0.000216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6841 ORDER BY `minOrder` ASC [ RunTime:0.000214s ]
select * from pdf where partno='AQV252G' and brandshort='PANASONIC' limit 1 [ RunTime:0.000329s ]
select foldpath,foldpath2,filename from pdf_file where id=1746134 limit 1 [ RunTime:0.000233s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252G' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000228s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9250421 LIMIT 4 [ RunTime:0.000224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9250421 ORDER BY `minOrder` ASC [ RunTime:0.000230s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9250421 ORDER BY `unit` DESC [ RunTime:0.000219s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9250421 LIMIT 2 [ RunTime:0.000212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9250421 ORDER BY `minOrder` ASC [ RunTime:0.000211s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9251298 LIMIT 4 [ RunTime:0.000212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251298 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9251298 ORDER BY `unit` DESC [ RunTime:0.000236s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9251298 LIMIT 2 [ RunTime:0.000227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251298 ORDER BY `minOrder` ASC [ RunTime:0.000224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9251047 LIMIT 4 [ RunTime:0.000223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251047 ORDER BY `minOrder` ASC [ RunTime:0.000228s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9251047 ORDER BY `unit` DESC [ RunTime:0.000216s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9251047 LIMIT 2 [ RunTime:0.000212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251047 ORDER BY `minOrder` ASC [ RunTime:0.000212s ]
select * from pdf where partno='AQV252G2SZ' and brandshort='Panasonic Electric Works' limit 1 [ RunTime:0.000333s ]
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.000287s ]