SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001492s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000530s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001809s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.147' ) [ RunTime:0.000312s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001334s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001128s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 100 LIMIT 1 [ RunTime:0.000808s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 100 [ RunTime:0.002425s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 19 [ RunTime:0.000290s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002683s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 100 ) AND `u`.`lockUser` = '0' [ RunTime:0.001658s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 100 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001067s ]
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 = 1) ) AND `s`.`id` IN ('14922','14985','14999','14923','14998','14938','14989','14988','14987','14986') ORDER BY FIELD(s.id, 14922,14985,14999,14923,14998,14938,14989,14988,14987,14986) [ RunTime:0.001892s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001194s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14922 LIMIT 4 [ RunTime:0.005731s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000977s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14922 ORDER BY `minOrder` ASC [ RunTime:0.000891s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001264s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14922 ORDER BY `unit` DESC [ RunTime:0.006503s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001005s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14922 LIMIT 2 [ RunTime:0.008247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14922 ORDER BY `minOrder` ASC [ RunTime:0.002145s ]
select * from pdf where partno='PIC16F886-I/SS' and brandshort='MICROCHIP' limit 1 [ RunTime:0.002128s ]
select foldpath,foldpath2,filename from pdf_file where id=882365 limit 1 [ RunTime:0.002544s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002440s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC16F886-I/SS' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.018745s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14985 LIMIT 4 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14985 ORDER BY `minOrder` ASC [ RunTime:0.000204s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14985 ORDER BY `unit` DESC [ RunTime:0.000188s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14985 LIMIT 2 [ RunTime:0.000180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14985 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
select * from pdf where partno='PIC12F1501T-I/MC' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000343s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC12F1501T-I/MC' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000219s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14999 LIMIT 4 [ RunTime:0.000485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14999 ORDER BY `minOrder` ASC [ RunTime:0.000521s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14999 ORDER BY `unit` DESC [ RunTime:0.000299s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14999 LIMIT 2 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14999 ORDER BY `minOrder` ASC [ RunTime:0.001554s ]
select * from pdf where partno='STM32F407VGT6' and brandshort='ST' limit 1 [ RunTime:0.011569s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VGT6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.013081s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14923 LIMIT 4 [ RunTime:0.001660s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923 ORDER BY `minOrder` ASC [ RunTime:0.002981s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14923 ORDER BY `unit` DESC [ RunTime:0.000401s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14923 LIMIT 2 [ RunTime:0.002277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923 ORDER BY `minOrder` ASC [ RunTime:0.001213s ]
select * from pdf where partno='PIC16F887-I/PT' and brandshort='MICROCHIP' limit 1 [ RunTime:0.004429s ]
select foldpath,foldpath2,filename from pdf_file where id=882365 limit 1 [ RunTime:0.000355s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC16F887-I/PT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.008478s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14998 LIMIT 4 [ RunTime:0.000491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14998 ORDER BY `minOrder` ASC [ RunTime:0.000441s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14998 ORDER BY `unit` DESC [ RunTime:0.011003s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14998 LIMIT 2 [ RunTime:0.003330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14998 ORDER BY `minOrder` ASC [ RunTime:0.003358s ]
select * from pdf where partno='STM32F407VET6' and brandshort='ST' limit 1 [ RunTime:0.002080s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VET6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.012234s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14938 LIMIT 4 [ RunTime:0.001672s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14938 ORDER BY `minOrder` ASC [ RunTime:0.002623s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14938 ORDER BY `unit` DESC [ RunTime:0.000368s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14938 LIMIT 2 [ RunTime:0.000336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14938 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
select * from pdf where partno='STM32H743VIT6' and brandshort='ST' limit 1 [ RunTime:0.003173s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32H743VIT6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.015163s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14989 LIMIT 4 [ RunTime:0.000416s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14989 ORDER BY `minOrder` ASC [ RunTime:0.002358s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14989 ORDER BY `unit` DESC [ RunTime:0.000351s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14989 LIMIT 2 [ RunTime:0.000347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14989 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
select * from pdf where partno='LFE2M20E-6FN256C-5I' and brandshort='LATTICE' limit 1 [ RunTime:0.001336s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LFE2M20E-6FN256C-5I' OR `brand` LIKE 'LATTICE%' ) ) LIMIT 1 [ RunTime:0.001724s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14988 LIMIT 4 [ RunTime:0.000584s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14988 ORDER BY `minOrder` ASC [ RunTime:0.000618s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14988 ORDER BY `unit` DESC [ RunTime:0.002153s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14988 LIMIT 2 [ RunTime:0.005083s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14988 ORDER BY `minOrder` ASC [ RunTime:0.000594s ]
select * from pdf where partno='TMS320DM8127BCYE1' and brandshort='TI' limit 1 [ RunTime:0.002056s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TMS320DM8127BCYE1' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.027495s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14987 LIMIT 4 [ RunTime:0.007862s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14987 ORDER BY `minOrder` ASC [ RunTime:0.003336s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14987 ORDER BY `unit` DESC [ RunTime:0.000365s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14987 LIMIT 2 [ RunTime:0.001249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14987 ORDER BY `minOrder` ASC [ RunTime:0.003005s ]
select * from pdf where partno='CY8C5868AXI-LP035' and brandshort='CYPRESS' limit 1 [ RunTime:0.003575s ]
select foldpath,foldpath2,filename from pdf_file where id=1087426 limit 1 [ RunTime:0.005648s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CY8C5868AXI-LP035' OR `brand` LIKE 'CYPRESS%' ) ) LIMIT 1 [ RunTime:0.004857s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14986 LIMIT 4 [ RunTime:0.000379s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14986 ORDER BY `minOrder` ASC [ RunTime:0.001051s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14986 ORDER BY `unit` DESC [ RunTime:0.001649s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14986 LIMIT 2 [ RunTime:0.001710s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14986 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
select * from pdf where partno='EP3C120F780C7N' and brandshort='ALTERA' limit 1 [ RunTime:0.006366s ]
select foldpath,foldpath2,filename from pdf_file where id=1114110 limit 1 [ RunTime:0.000739s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EP3C120F780C7N' OR `brand` LIKE 'ALTERA%' ) ) LIMIT 1 [ RunTime:0.000815s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 100 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001234s ]