SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001220s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.051337s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003825s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.37' ) [ RunTime:0.014278s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002046s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.044515s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.009934s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.025576s ]
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.012390s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003272s ]
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 'DT04-2P%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046672s ]
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 ('3022531','1898876','3026539','1901170','3035769','3026536','1901197','1899666','3029262','3203811','3035777','3034615','3035748','1900726','3035749','3022534','3033197','1900481','1892166','3022875') ORDER BY FIELD(s.id, 3022531,1898876,3026539,1901170,3035769,3026536,1901197,1899666,3029262,3203811,3035777,3034615,3035748,1900726,3035749,3022534,3033197,1900481,1892166,3022875) [ RunTime:0.037729s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002208s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3022531 LIMIT 4 [ RunTime:0.029725s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.008871s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3022531 ORDER BY `minOrder` ASC [ RunTime:0.011809s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.009114s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3022531 ORDER BY `unit` DESC [ RunTime:0.012529s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001259s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3022531 LIMIT 2 [ RunTime:0.006979s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3022531 ORDER BY `minOrder` ASC [ RunTime:0.014510s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1898876 LIMIT 4 [ RunTime:0.010972s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1898876 ORDER BY `minOrder` ASC [ RunTime:0.024500s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1898876 ORDER BY `unit` DESC [ RunTime:0.013546s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1898876 LIMIT 2 [ RunTime:0.023090s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1898876 ORDER BY `minOrder` ASC [ RunTime:0.015936s ]
select * from pdf where partno='DT04-2P-CE03' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.013531s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3026539 LIMIT 4 [ RunTime:0.015699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3026539 ORDER BY `minOrder` ASC [ RunTime:0.013441s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3026539 ORDER BY `unit` DESC [ RunTime:0.007391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3026539 LIMIT 2 [ RunTime:0.007243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3026539 ORDER BY `minOrder` ASC [ RunTime:0.005389s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1901170 LIMIT 4 [ RunTime:0.004276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1901170 ORDER BY `minOrder` ASC [ RunTime:0.003112s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1901170 ORDER BY `unit` DESC [ RunTime:0.013134s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1901170 LIMIT 2 [ RunTime:0.011956s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1901170 ORDER BY `minOrder` ASC [ RunTime:0.004641s ]
select * from pdf where partno='DT04-2P-TN31' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.009436s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3035769 LIMIT 4 [ RunTime:0.004432s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3035769 ORDER BY `minOrder` ASC [ RunTime:0.010679s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3035769 ORDER BY `unit` DESC [ RunTime:0.008058s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3035769 LIMIT 2 [ RunTime:0.009678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3035769 ORDER BY `minOrder` ASC [ RunTime:0.005627s ]
select * from pdf where partno='DT04-2P-TE81' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.000617s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3026536 LIMIT 4 [ RunTime:0.007380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3026536 ORDER BY `minOrder` ASC [ RunTime:0.009552s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3026536 ORDER BY `unit` DESC [ RunTime:0.009049s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3026536 LIMIT 2 [ RunTime:0.004733s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3026536 ORDER BY `minOrder` ASC [ RunTime:0.003882s ]
select * from pdf where partno='DT04-2P-C015' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.002952s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1901197 LIMIT 4 [ RunTime:0.002049s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1901197 ORDER BY `minOrder` ASC [ RunTime:0.002313s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1901197 ORDER BY `unit` DESC [ RunTime:0.001462s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1901197 LIMIT 2 [ RunTime:0.002541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1901197 ORDER BY `minOrder` ASC [ RunTime:0.000751s ]
select * from pdf where partno='DT04-2P-TN32' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.002134s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1899666 LIMIT 4 [ RunTime:0.003281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1899666 ORDER BY `minOrder` ASC [ RunTime:0.004431s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1899666 ORDER BY `unit` DESC [ RunTime:0.006617s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1899666 LIMIT 2 [ RunTime:0.001042s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1899666 ORDER BY `minOrder` ASC [ RunTime:0.000786s ]
select * from pdf where partno='DT04-2P-CE04' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.001057s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3029262 LIMIT 4 [ RunTime:0.000665s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3029262 ORDER BY `minOrder` ASC [ RunTime:0.001346s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3029262 ORDER BY `unit` DESC [ RunTime:0.004740s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3029262 LIMIT 2 [ RunTime:0.001420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3029262 ORDER BY `minOrder` ASC [ RunTime:0.004986s ]
select * from pdf where partno='DT04-2P-E004' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.007114s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3203811 LIMIT 4 [ RunTime:0.011656s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3203811 ORDER BY `minOrder` ASC [ RunTime:0.010177s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3203811 ORDER BY `unit` DESC [ RunTime:0.008195s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3203811 LIMIT 2 [ RunTime:0.005309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3203811 ORDER BY `minOrder` ASC [ RunTime:0.002985s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3035777 LIMIT 4 [ RunTime:0.002497s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3035777 ORDER BY `minOrder` ASC [ RunTime:0.002525s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3035777 ORDER BY `unit` DESC [ RunTime:0.001739s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3035777 LIMIT 2 [ RunTime:0.001155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3035777 ORDER BY `minOrder` ASC [ RunTime:0.000903s ]
select * from pdf where partno='DT04-2P-TE31' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.001033s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3034615 LIMIT 4 [ RunTime:0.001110s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3034615 ORDER BY `minOrder` ASC [ RunTime:0.006565s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3034615 ORDER BY `unit` DESC [ RunTime:0.007196s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3034615 LIMIT 2 [ RunTime:0.001128s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3034615 ORDER BY `minOrder` ASC [ RunTime:0.002846s ]
select * from pdf where partno='DT04-2P-TN82' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.007311s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3035748 LIMIT 4 [ RunTime:0.001319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3035748 ORDER BY `minOrder` ASC [ RunTime:0.005655s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3035748 ORDER BY `unit` DESC [ RunTime:0.005767s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3035748 LIMIT 2 [ RunTime:0.011182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3035748 ORDER BY `minOrder` ASC [ RunTime:0.004678s ]
select * from pdf where partno='DT04-2P-TN81' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.004239s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1900726 LIMIT 4 [ RunTime:0.003673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1900726 ORDER BY `minOrder` ASC [ RunTime:0.003567s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1900726 ORDER BY `unit` DESC [ RunTime:0.001515s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1900726 LIMIT 2 [ RunTime:0.001199s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1900726 ORDER BY `minOrder` ASC [ RunTime:0.000906s ]
select * from pdf where partno='DT04-2P-RT25' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.001138s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3035749 LIMIT 4 [ RunTime:0.000606s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3035749 ORDER BY `minOrder` ASC [ RunTime:0.001651s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3035749 ORDER BY `unit` DESC [ RunTime:0.001555s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3035749 LIMIT 2 [ RunTime:0.003230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3035749 ORDER BY `minOrder` ASC [ RunTime:0.004157s ]
select * from pdf where partno='DT04-2P-TE82' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.002449s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3022534 LIMIT 4 [ RunTime:0.006191s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3022534 ORDER BY `minOrder` ASC [ RunTime:0.012217s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3022534 ORDER BY `unit` DESC [ RunTime:0.001775s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3022534 LIMIT 2 [ RunTime:0.005283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3022534 ORDER BY `minOrder` ASC [ RunTime:0.004648s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3033197 LIMIT 4 [ RunTime:0.007799s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3033197 ORDER BY `minOrder` ASC [ RunTime:0.005026s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3033197 ORDER BY `unit` DESC [ RunTime:0.016679s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3033197 LIMIT 2 [ RunTime:0.003709s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3033197 ORDER BY `minOrder` ASC [ RunTime:0.004064s ]
select * from pdf where partno='DT04-2P-CE01' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.001308s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1900481 LIMIT 4 [ RunTime:0.000873s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1900481 ORDER BY `minOrder` ASC [ RunTime:0.002167s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1900481 ORDER BY `unit` DESC [ RunTime:0.001003s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1900481 LIMIT 2 [ RunTime:0.000818s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1900481 ORDER BY `minOrder` ASC [ RunTime:0.000620s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1892166 LIMIT 4 [ RunTime:0.000848s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1892166 ORDER BY `minOrder` ASC [ RunTime:0.002604s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1892166 ORDER BY `unit` DESC [ RunTime:0.002758s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1892166 LIMIT 2 [ RunTime:0.000726s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1892166 ORDER BY `minOrder` ASC [ RunTime:0.000490s ]
select * from pdf where partno='DT04-2P-E003' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.002879s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3022875 LIMIT 4 [ RunTime:0.002549s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3022875 ORDER BY `minOrder` ASC [ RunTime:0.006089s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3022875 ORDER BY `unit` DESC [ RunTime:0.004232s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3022875 LIMIT 2 [ RunTime:0.000980s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3022875 ORDER BY `minOrder` ASC [ RunTime:0.002908s ]
select * from pdf where partno='DT04-2P-TE32' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.000753s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'DT04-2P%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001629s ]