SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001927s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000532s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002089s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.37' ) [ RunTime:0.000324s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001820s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000300s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000339s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000228s ]
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.000390s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002111s ]
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.002879s ]
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.004814s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001045s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9249790 LIMIT 4 [ RunTime:0.005003s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002775s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249790 ORDER BY `minOrder` ASC [ RunTime:0.005720s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001042s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9249790 ORDER BY `unit` DESC [ RunTime:0.000328s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002423s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9249790 LIMIT 2 [ RunTime:0.005387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249790 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
select * from pdf where partno='AQV252G2S' and brandshort='Panasonic Electric Works' limit 1 [ RunTime:0.002190s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9250468 LIMIT 4 [ RunTime:0.010367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9250468 ORDER BY `minOrder` ASC [ RunTime:0.001843s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9250468 ORDER BY `unit` DESC [ RunTime:0.001255s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9250468 LIMIT 2 [ RunTime:0.000689s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9250468 ORDER BY `minOrder` ASC [ RunTime:0.000434s ]
select * from pdf where partno='AQV252G2SX' and brandshort='Panasonic Electric Works' limit 1 [ RunTime:0.000791s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7118073 LIMIT 4 [ RunTime:0.001010s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7118073 ORDER BY `minOrder` ASC [ RunTime:0.000705s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7118073 ORDER BY `unit` DESC [ RunTime:0.003491s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7118073 LIMIT 2 [ RunTime:0.000931s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7118073 ORDER BY `minOrder` ASC [ RunTime:0.000467s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9249791 LIMIT 4 [ RunTime:0.000722s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249791 ORDER BY `minOrder` ASC [ RunTime:0.000659s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9249791 ORDER BY `unit` DESC [ RunTime:0.006637s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9249791 LIMIT 2 [ RunTime:0.002945s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249791 ORDER BY `minOrder` ASC [ RunTime:0.003657s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7117709 LIMIT 4 [ RunTime:0.000919s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7117709 ORDER BY `minOrder` ASC [ RunTime:0.000750s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7117709 ORDER BY `unit` DESC [ RunTime:0.004284s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7117709 LIMIT 2 [ RunTime:0.000581s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7117709 ORDER BY `minOrder` ASC [ RunTime:0.000822s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9251110 LIMIT 4 [ RunTime:0.005959s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251110 ORDER BY `minOrder` ASC [ RunTime:0.009921s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9251110 ORDER BY `unit` DESC [ RunTime:0.004367s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9251110 LIMIT 2 [ RunTime:0.000669s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251110 ORDER BY `minOrder` ASC [ RunTime:0.000420s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7117708 LIMIT 4 [ RunTime:0.000615s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7117708 ORDER BY `minOrder` ASC [ RunTime:0.002517s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7117708 ORDER BY `unit` DESC [ RunTime:0.006163s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7117708 LIMIT 2 [ RunTime:0.002149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7117708 ORDER BY `minOrder` ASC [ RunTime:0.000504s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9249787 LIMIT 4 [ RunTime:0.000808s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249787 ORDER BY `minOrder` ASC [ RunTime:0.000763s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9249787 ORDER BY `unit` DESC [ RunTime:0.002809s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9249787 LIMIT 2 [ RunTime:0.002145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9249787 ORDER BY `minOrder` ASC [ RunTime:0.000417s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9254138 LIMIT 4 [ RunTime:0.002677s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254138 ORDER BY `minOrder` ASC [ RunTime:0.002035s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9254138 ORDER BY `unit` DESC [ RunTime:0.001736s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9254138 LIMIT 2 [ RunTime:0.000714s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254138 ORDER BY `minOrder` ASC [ RunTime:0.000497s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9254139 LIMIT 4 [ RunTime:0.000656s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254139 ORDER BY `minOrder` ASC [ RunTime:0.000624s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9254139 ORDER BY `unit` DESC [ RunTime:0.002813s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9254139 LIMIT 2 [ RunTime:0.003428s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9254139 ORDER BY `minOrder` ASC [ RunTime:0.001924s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16984 LIMIT 4 [ RunTime:0.000632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16984 ORDER BY `minOrder` ASC [ RunTime:0.005308s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16984 ORDER BY `unit` DESC [ RunTime:0.000781s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16984 LIMIT 2 [ RunTime:0.001907s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16984 ORDER BY `minOrder` ASC [ RunTime:0.000372s ]
select * from pdf where partno='AQV252G' and brandshort='PANASONIC' limit 1 [ RunTime:0.009172s ]
select foldpath,foldpath2,filename from pdf_file where id=1746134 limit 1 [ RunTime:0.003352s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002840s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252G' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.012421s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15966 LIMIT 4 [ RunTime:0.003855s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15966 ORDER BY `minOrder` ASC [ RunTime:0.008445s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15966 ORDER BY `unit` DESC [ RunTime:0.003904s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15966 LIMIT 2 [ RunTime:0.001853s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15966 ORDER BY `minOrder` ASC [ RunTime:0.000341s ]
select * from pdf where partno='AQV252G' and brandshort='PANASONIC' limit 1 [ RunTime:0.000627s ]
select foldpath,foldpath2,filename from pdf_file where id=1746134 limit 1 [ RunTime:0.000279s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252G' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000319s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9248622 LIMIT 4 [ RunTime:0.000553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9248622 ORDER BY `minOrder` ASC [ RunTime:0.000346s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9248622 ORDER BY `unit` DESC [ RunTime:0.000325s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9248622 LIMIT 2 [ RunTime:0.002332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9248622 ORDER BY `minOrder` ASC [ RunTime:0.003625s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29135 LIMIT 4 [ RunTime:0.007755s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29135 ORDER BY `minOrder` ASC [ RunTime:0.000879s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29135 ORDER BY `unit` DESC [ RunTime:0.000673s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29135 LIMIT 2 [ RunTime:0.000463s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29135 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
select * from pdf where partno='AQV252GAX' and brandshort='PANASONIC' limit 1 [ RunTime:0.001091s ]
select foldpath,foldpath2,filename from pdf_file where id=1219900 limit 1 [ RunTime:0.005157s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252GAX' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.007864s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19745 LIMIT 4 [ RunTime:0.000502s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19745 ORDER BY `minOrder` ASC [ RunTime:0.000623s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19745 ORDER BY `unit` DESC [ RunTime:0.000449s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19745 LIMIT 2 [ RunTime:0.000435s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19745 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
select * from pdf where partno='AQV252GAX' and brandshort='PANASONIC' limit 1 [ RunTime:0.000865s ]
select foldpath,foldpath2,filename from pdf_file where id=1219900 limit 1 [ RunTime:0.000358s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252GAX' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000326s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6841 LIMIT 4 [ RunTime:0.003693s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6841 ORDER BY `minOrder` ASC [ RunTime:0.009368s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6841 ORDER BY `unit` DESC [ RunTime:0.001708s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6841 LIMIT 2 [ RunTime:0.000514s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6841 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
select * from pdf where partno='AQV252G' and brandshort='PANASONIC' limit 1 [ RunTime:0.000500s ]
select foldpath,foldpath2,filename from pdf_file where id=1746134 limit 1 [ RunTime:0.000315s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AQV252G' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000263s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9250421 LIMIT 4 [ RunTime:0.000827s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9250421 ORDER BY `minOrder` ASC [ RunTime:0.000380s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9250421 ORDER BY `unit` DESC [ RunTime:0.000387s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9250421 LIMIT 2 [ RunTime:0.000312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9250421 ORDER BY `minOrder` ASC [ RunTime:0.001128s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9251298 LIMIT 4 [ RunTime:0.001395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251298 ORDER BY `minOrder` ASC [ RunTime:0.001134s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9251298 ORDER BY `unit` DESC [ RunTime:0.000327s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9251298 LIMIT 2 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251298 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9251047 LIMIT 4 [ RunTime:0.000451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251047 ORDER BY `minOrder` ASC [ RunTime:0.000764s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9251047 ORDER BY `unit` DESC [ RunTime:0.003437s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9251047 LIMIT 2 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251047 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
select * from pdf where partno='AQV252G2SZ' and brandshort='Panasonic Electric Works' limit 1 [ RunTime:0.001552s ]
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.001467s ]