SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001445s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000484s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001461s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000264s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001120s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000227s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000245s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000182s ]
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.000332s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001348s ]
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 'LT1963AES8%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004496s ]
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 ('5266948','5266949','4626077','7047676','6020850','6010453','5266951','13194','9086169','29452','27114','20062','17724','6012889','9083632','9083401','9083087') ORDER BY FIELD(s.id, 5266948,5266949,4626077,7047676,6020850,6010453,5266951,13194,9086169,29452,27114,20062,17724,6012889,9083632,9083401,9083087) [ RunTime:0.003940s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001334s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5266948 LIMIT 4 [ RunTime:0.005909s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5266948 ORDER BY `minOrder` ASC [ RunTime:0.000406s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001013s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5266948 ORDER BY `unit` DESC [ RunTime:0.000291s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001011s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5266948 LIMIT 2 [ RunTime:0.003842s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5266948 ORDER BY `minOrder` ASC [ RunTime:0.001321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5266949 LIMIT 4 [ RunTime:0.001654s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5266949 ORDER BY `minOrder` ASC [ RunTime:0.001077s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5266949 ORDER BY `unit` DESC [ RunTime:0.000304s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5266949 LIMIT 2 [ RunTime:0.006088s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5266949 ORDER BY `minOrder` ASC [ RunTime:0.001612s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4626077 LIMIT 4 [ RunTime:0.001339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4626077 ORDER BY `minOrder` ASC [ RunTime:0.000712s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4626077 ORDER BY `unit` DESC [ RunTime:0.000280s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4626077 LIMIT 2 [ RunTime:0.000273s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4626077 ORDER BY `minOrder` ASC [ RunTime:0.002297s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7047676 LIMIT 4 [ RunTime:0.002712s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7047676 ORDER BY `minOrder` ASC [ RunTime:0.001288s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7047676 ORDER BY `unit` DESC [ RunTime:0.000939s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7047676 LIMIT 2 [ RunTime:0.000692s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7047676 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6020850 LIMIT 4 [ RunTime:0.000488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6020850 ORDER BY `minOrder` ASC [ RunTime:0.000224s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6020850 ORDER BY `unit` DESC [ RunTime:0.000238s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6020850 LIMIT 2 [ RunTime:0.002145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6020850 ORDER BY `minOrder` ASC [ RunTime:0.002296s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6010453 LIMIT 4 [ RunTime:0.001492s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6010453 ORDER BY `minOrder` ASC [ RunTime:0.001130s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6010453 ORDER BY `unit` DESC [ RunTime:0.000973s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6010453 LIMIT 2 [ RunTime:0.001335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6010453 ORDER BY `minOrder` ASC [ RunTime:0.000154s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5266951 LIMIT 4 [ RunTime:0.000251s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5266951 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5266951 ORDER BY `unit` DESC [ RunTime:0.001870s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5266951 LIMIT 2 [ RunTime:0.002803s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5266951 ORDER BY `minOrder` ASC [ RunTime:0.000203s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13194 LIMIT 4 [ RunTime:0.001113s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13194 ORDER BY `minOrder` ASC [ RunTime:0.001148s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13194 ORDER BY `unit` DESC [ RunTime:0.000649s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13194 LIMIT 2 [ RunTime:0.000556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13194 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000920s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LT1963AES8#TRPBF' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000838s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9086169 LIMIT 4 [ RunTime:0.003724s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9086169 ORDER BY `minOrder` ASC [ RunTime:0.008047s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9086169 ORDER BY `unit` DESC [ RunTime:0.001295s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9086169 LIMIT 2 [ RunTime:0.001104s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9086169 ORDER BY `minOrder` ASC [ RunTime:0.000200s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29452 LIMIT 4 [ RunTime:0.000818s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29452 ORDER BY `minOrder` ASC [ RunTime:0.000419s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29452 ORDER BY `unit` DESC [ RunTime:0.000339s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29452 LIMIT 2 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29452 ORDER BY `minOrder` ASC [ RunTime:0.001852s ]
select * from pdf where partno='LT1963AES8-2.5#PBF' and brandshort='Linear' limit 1 [ RunTime:0.002102s ]
select foldpath,foldpath2,filename from pdf_file where id=408517 limit 1 [ RunTime:0.003580s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LT1963AES8-2.5#PBF' OR `brand` LIKE 'Linear%' ) ) LIMIT 1 [ RunTime:0.003226s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27114 LIMIT 4 [ RunTime:0.001233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27114 ORDER BY `minOrder` ASC [ RunTime:0.000868s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27114 ORDER BY `unit` DESC [ RunTime:0.000920s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27114 LIMIT 2 [ RunTime:0.000730s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27114 ORDER BY `minOrder` ASC [ RunTime:0.002470s ]
select * from pdf where partno='LT1963AES8#TRPBF' and brandshort='ADI' limit 1 [ RunTime:0.001038s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LT1963AES8#TRPBF' OR `brand` LIKE 'ADI%' ) ) LIMIT 1 [ RunTime:0.024130s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20062 LIMIT 4 [ RunTime:0.001290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20062 ORDER BY `minOrder` ASC [ RunTime:0.005932s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20062 ORDER BY `unit` DESC [ RunTime:0.000549s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20062 LIMIT 2 [ RunTime:0.000448s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20062 ORDER BY `minOrder` ASC [ RunTime:0.001997s ]
select * from pdf where partno='LT1963AES8-2.5#PBF' and brandshort='Linear' limit 1 [ RunTime:0.000396s ]
select foldpath,foldpath2,filename from pdf_file where id=408517 limit 1 [ RunTime:0.000304s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LT1963AES8-2.5#PBF' OR `brand` LIKE 'Linear%' ) ) LIMIT 1 [ RunTime:0.000276s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17724 LIMIT 4 [ RunTime:0.000345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17724 ORDER BY `minOrder` ASC [ RunTime:0.004678s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17724 ORDER BY `unit` DESC [ RunTime:0.001624s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17724 LIMIT 2 [ RunTime:0.001340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17724 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
select * from pdf where partno='LT1963AES8#TRPBF' and brandshort='ADI' limit 1 [ RunTime:0.000480s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LT1963AES8#TRPBF' OR `brand` LIKE 'ADI%' ) ) LIMIT 1 [ RunTime:0.000274s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6012889 LIMIT 4 [ RunTime:0.000492s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6012889 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6012889 ORDER BY `unit` DESC [ RunTime:0.002133s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6012889 LIMIT 2 [ RunTime:0.004933s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6012889 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9083632 LIMIT 4 [ RunTime:0.001984s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9083632 ORDER BY `minOrder` ASC [ RunTime:0.001483s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9083632 ORDER BY `unit` DESC [ RunTime:0.001186s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9083632 LIMIT 2 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9083632 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9083401 LIMIT 4 [ RunTime:0.000476s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9083401 ORDER BY `minOrder` ASC [ RunTime:0.000317s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9083401 ORDER BY `unit` DESC [ RunTime:0.002039s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9083401 LIMIT 2 [ RunTime:0.005003s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9083401 ORDER BY `minOrder` ASC [ RunTime:0.000346s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9083087 LIMIT 4 [ RunTime:0.002161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9083087 ORDER BY `minOrder` ASC [ RunTime:0.002026s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9083087 ORDER BY `unit` DESC [ RunTime:0.001517s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9083087 LIMIT 2 [ RunTime:0.000422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9083087 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'LT1963AES8%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000947s ]