SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001448s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000504s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002655s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.222' ) [ RunTime:0.000402s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002233s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000377s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.001229s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000303s ]
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.000459s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002660s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'P6SMB15CA%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.008947s ]
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 'P6SMB15CA%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008556s ]
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 ('6631110','6629562','6654214','6653813','4772222','4331711','6654982','6629323','4334439','4321508','4313033','4312963','4822','16595','15575','6659773','6659772','6659012','6640978','6640575') ORDER BY FIELD(s.id, 6631110,6629562,6654214,6653813,4772222,4331711,6654982,6629323,4334439,4321508,4313033,4312963,4822,16595,15575,6659773,6659772,6659012,6640978,6640575) [ RunTime:0.008934s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001333s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6631110 LIMIT 4 [ RunTime:0.000866s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001074s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6631110 ORDER BY `minOrder` ASC [ RunTime:0.002021s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002908s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6631110 ORDER BY `unit` DESC [ RunTime:0.001757s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001768s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6631110 LIMIT 2 [ RunTime:0.005392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6631110 ORDER BY `minOrder` ASC [ RunTime:0.002920s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6629562 LIMIT 4 [ RunTime:0.000452s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6629562 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6629562 ORDER BY `unit` DESC [ RunTime:0.001412s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6629562 LIMIT 2 [ RunTime:0.001415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6629562 ORDER BY `minOrder` ASC [ RunTime:0.000623s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6654214 LIMIT 4 [ RunTime:0.001200s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6654214 ORDER BY `minOrder` ASC [ RunTime:0.000743s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6654214 ORDER BY `unit` DESC [ RunTime:0.000969s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6654214 LIMIT 2 [ RunTime:0.001230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6654214 ORDER BY `minOrder` ASC [ RunTime:0.001075s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6653813 LIMIT 4 [ RunTime:0.000978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6653813 ORDER BY `minOrder` ASC [ RunTime:0.000912s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6653813 ORDER BY `unit` DESC [ RunTime:0.000599s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6653813 LIMIT 2 [ RunTime:0.000472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6653813 ORDER BY `minOrder` ASC [ RunTime:0.000152s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4772222 LIMIT 4 [ RunTime:0.000459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4772222 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4772222 ORDER BY `unit` DESC [ RunTime:0.001099s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4772222 LIMIT 2 [ RunTime:0.001576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4772222 ORDER BY `minOrder` ASC [ RunTime:0.000653s ]
select * from pdf where partno='P6SMB15CA' and brandshort='Littelfuse Inc.' limit 1 [ RunTime:0.008103s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4331711 LIMIT 4 [ RunTime:0.006396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4331711 ORDER BY `minOrder` ASC [ RunTime:0.002066s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4331711 ORDER BY `unit` DESC [ RunTime:0.005831s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4331711 LIMIT 2 [ RunTime:0.000420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4331711 ORDER BY `minOrder` ASC [ RunTime:0.000442s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6654982 LIMIT 4 [ RunTime:0.000538s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6654982 ORDER BY `minOrder` ASC [ RunTime:0.002031s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6654982 ORDER BY `unit` DESC [ RunTime:0.003143s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6654982 LIMIT 2 [ RunTime:0.003623s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6654982 ORDER BY `minOrder` ASC [ RunTime:0.003557s ]
select * from pdf where partno='P6SMB15CA-E3/5B' and brandshort='Vishay General Semiconductor - Diodes Division' limit 1 [ RunTime:0.005086s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6629323 LIMIT 4 [ RunTime:0.005144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6629323 ORDER BY `minOrder` ASC [ RunTime:0.001922s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6629323 ORDER BY `unit` DESC [ RunTime:0.000357s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6629323 LIMIT 2 [ RunTime:0.001467s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6629323 ORDER BY `minOrder` ASC [ RunTime:0.003834s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4334439 LIMIT 4 [ RunTime:0.014368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4334439 ORDER BY `minOrder` ASC [ RunTime:0.009256s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4334439 ORDER BY `unit` DESC [ RunTime:0.000416s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4334439 LIMIT 2 [ RunTime:0.009138s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4334439 ORDER BY `minOrder` ASC [ RunTime:0.009868s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4321508 LIMIT 4 [ RunTime:0.020918s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4321508 ORDER BY `minOrder` ASC [ RunTime:0.007833s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4321508 ORDER BY `unit` DESC [ RunTime:0.003818s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4321508 LIMIT 2 [ RunTime:0.011868s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4321508 ORDER BY `minOrder` ASC [ RunTime:0.001579s ]
select * from pdf where partno='P6SMB15CA-E3/52' and brandshort='Vishay General Semiconductor - Diodes Division' limit 1 [ RunTime:0.006701s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4313033 LIMIT 4 [ RunTime:0.001234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4313033 ORDER BY `minOrder` ASC [ RunTime:0.014038s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4313033 ORDER BY `unit` DESC [ RunTime:0.000470s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4313033 LIMIT 2 [ RunTime:0.000403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4313033 ORDER BY `minOrder` ASC [ RunTime:0.001704s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4312963 LIMIT 4 [ RunTime:0.002519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4312963 ORDER BY `minOrder` ASC [ RunTime:0.001611s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4312963 ORDER BY `unit` DESC [ RunTime:0.001619s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4312963 LIMIT 2 [ RunTime:0.000385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4312963 ORDER BY `minOrder` ASC [ RunTime:0.000232s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4822 LIMIT 4 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4822 ORDER BY `minOrder` ASC [ RunTime:0.000610s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4822 ORDER BY `unit` DESC [ RunTime:0.006114s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4822 LIMIT 2 [ RunTime:0.001190s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4822 ORDER BY `minOrder` ASC [ RunTime:0.001546s ]
select * from pdf where partno='P6SMB15CA' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.002897s ]
select foldpath,foldpath2,filename from pdf_file where id=881656 limit 1 [ RunTime:0.001036s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002003s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P6SMB15CA' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.009435s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16595 LIMIT 4 [ RunTime:0.000418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16595 ORDER BY `minOrder` ASC [ RunTime:0.002587s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16595 ORDER BY `unit` DESC [ RunTime:0.004739s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16595 LIMIT 2 [ RunTime:0.003289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16595 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
select * from pdf where partno='P6SMB15CA' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000392s ]
select foldpath,foldpath2,filename from pdf_file where id=881656 limit 1 [ RunTime:0.000236s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P6SMB15CA' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000247s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15575 LIMIT 4 [ RunTime:0.001650s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15575 ORDER BY `minOrder` ASC [ RunTime:0.001888s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15575 ORDER BY `unit` DESC [ RunTime:0.000412s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15575 LIMIT 2 [ RunTime:0.000741s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15575 ORDER BY `minOrder` ASC [ RunTime:0.000279s ]
select * from pdf where partno='P6SMB15CA' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000418s ]
select foldpath,foldpath2,filename from pdf_file where id=881656 limit 1 [ RunTime:0.000233s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'P6SMB15CA' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000238s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6659773 LIMIT 4 [ RunTime:0.000581s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6659773 ORDER BY `minOrder` ASC [ RunTime:0.002320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6659773 ORDER BY `unit` DESC [ RunTime:0.003534s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6659773 LIMIT 2 [ RunTime:0.000375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6659773 ORDER BY `minOrder` ASC [ RunTime:0.001619s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6659772 LIMIT 4 [ RunTime:0.000403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6659772 ORDER BY `minOrder` ASC [ RunTime:0.003943s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6659772 ORDER BY `unit` DESC [ RunTime:0.002463s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6659772 LIMIT 2 [ RunTime:0.001315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6659772 ORDER BY `minOrder` ASC [ RunTime:0.003238s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6659012 LIMIT 4 [ RunTime:0.001013s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6659012 ORDER BY `minOrder` ASC [ RunTime:0.000408s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6659012 ORDER BY `unit` DESC [ RunTime:0.000400s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6659012 LIMIT 2 [ RunTime:0.000373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6659012 ORDER BY `minOrder` ASC [ RunTime:0.003779s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6640978 LIMIT 4 [ RunTime:0.000618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6640978 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6640978 ORDER BY `unit` DESC [ RunTime:0.003679s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6640978 LIMIT 2 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6640978 ORDER BY `minOrder` ASC [ RunTime:0.001920s ]
select * from pdf where partno='P6SMB15CA-M3/52' and brandshort='Vishay General Semiconductor - Diodes Division' limit 1 [ RunTime:0.000803s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6640575 LIMIT 4 [ RunTime:0.001284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6640575 ORDER BY `minOrder` ASC [ RunTime:0.000440s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6640575 ORDER BY `unit` DESC [ RunTime:0.000378s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6640575 LIMIT 2 [ RunTime:0.001755s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6640575 ORDER BY `minOrder` ASC [ RunTime:0.002598s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'P6SMB15CA%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002990s ]