SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001249s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.012128s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001402s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.005049s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001077s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001192s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 19 LIMIT 1 [ RunTime:0.005086s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 19 [ RunTime:0.005463s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (98,99,100,101) [ RunTime:0.006338s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001413s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` IN (98,99,100,101) ) AND `u`.`lockUser` = '0' [ RunTime:0.004827s ]
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` IN (98,99,100,101) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011692s ]
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','14994','14997','14996','14998','14938','14989','14988','14987','14986') ORDER BY FIELD(s.id, 14922,14985,14999,14923,14994,14997,14996,14998,14938,14989,14988,14987,14986) [ RunTime:0.014062s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001168s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14922 LIMIT 4 [ RunTime:0.011765s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.006388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14922 ORDER BY `minOrder` ASC [ RunTime:0.012076s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001370s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14922 ORDER BY `unit` DESC [ RunTime:0.001352s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001089s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14922 LIMIT 2 [ RunTime:0.000674s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14922 ORDER BY `minOrder` ASC [ RunTime:0.000193s ]
select * from pdf where partno='PIC16F886-I/SS' and brandshort='MICROCHIP' limit 1 [ RunTime:0.002766s ]
select foldpath,foldpath2,filename from pdf_file where id=882365 limit 1 [ RunTime:0.002742s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001834s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC16F886-I/SS' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.001450s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14985 LIMIT 4 [ RunTime:0.016252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14985 ORDER BY `minOrder` ASC [ RunTime:0.006020s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14985 ORDER BY `unit` DESC [ RunTime:0.000476s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14985 LIMIT 2 [ RunTime:0.006504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14985 ORDER BY `minOrder` ASC [ RunTime:0.004751s ]
select * from pdf where partno='PIC12F1501T-I/MC' and brandshort='MICROCHIP' limit 1 [ RunTime:0.004783s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC12F1501T-I/MC' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.004203s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14999 LIMIT 4 [ RunTime:0.025718s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14999 ORDER BY `minOrder` ASC [ RunTime:0.005080s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14999 ORDER BY `unit` DESC [ RunTime:0.000402s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14999 LIMIT 2 [ RunTime:0.004114s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14999 ORDER BY `minOrder` ASC [ RunTime:0.003874s ]
select * from pdf where partno='STM32F407VGT6' and brandshort='ST' limit 1 [ RunTime:0.003926s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VGT6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.006658s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14923 LIMIT 4 [ RunTime:0.006307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923 ORDER BY `minOrder` ASC [ RunTime:0.006778s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14923 ORDER BY `unit` DESC [ RunTime:0.000414s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14923 LIMIT 2 [ RunTime:0.000382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923 ORDER BY `minOrder` ASC [ RunTime:0.002648s ]
select * from pdf where partno='PIC16F887-I/PT' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001960s ]
select foldpath,foldpath2,filename from pdf_file where id=882365 limit 1 [ RunTime:0.015553s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC16F887-I/PT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.010133s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14994 LIMIT 4 [ RunTime:0.016953s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14994 ORDER BY `minOrder` ASC [ RunTime:0.012629s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14994 ORDER BY `unit` DESC [ RunTime:0.003949s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14994 LIMIT 2 [ RunTime:0.004734s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14994 ORDER BY `minOrder` ASC [ RunTime:0.004468s ]
select * from pdf where partno='SGM800-2.93YN5G' and brandshort='SGMICRO' limit 1 [ RunTime:0.001614s ]
select foldpath,foldpath2,filename from pdf_file where id=1999174 limit 1 [ RunTime:0.008258s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SGM800-2.93YN5G' OR `brand` LIKE 'SGMICRO%' ) ) LIMIT 1 [ RunTime:0.006800s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14997 LIMIT 4 [ RunTime:0.022506s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14997 ORDER BY `minOrder` ASC [ RunTime:0.006756s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14997 ORDER BY `unit` DESC [ RunTime:0.005794s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14997 LIMIT 2 [ RunTime:0.005406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14997 ORDER BY `minOrder` ASC [ RunTime:0.004082s ]
select * from pdf where partno='SGM2030-2.8YUDG4G' and brandshort='SGMICRO' limit 1 [ RunTime:0.007149s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SGM2030-2.8YUDG4G' OR `brand` LIKE 'SGMICRO%' ) ) LIMIT 1 [ RunTime:0.013794s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14996 LIMIT 4 [ RunTime:0.009029s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14996 ORDER BY `minOrder` ASC [ RunTime:0.006325s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14996 ORDER BY `unit` DESC [ RunTime:0.010554s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14996 LIMIT 2 [ RunTime:0.002280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14996 ORDER BY `minOrder` ASC [ RunTime:0.005690s ]
select * from pdf where partno='SGM2030-3.3YUDG4G' and brandshort='SGMICRO' limit 1 [ RunTime:0.014584s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SGM2030-3.3YUDG4G' OR `brand` LIKE 'SGMICRO%' ) ) LIMIT 1 [ RunTime:0.014673s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14998 LIMIT 4 [ RunTime:0.006272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14998 ORDER BY `minOrder` ASC [ RunTime:0.000900s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14998 ORDER BY `unit` DESC [ RunTime:0.003756s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14998 LIMIT 2 [ RunTime:0.001268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14998 ORDER BY `minOrder` ASC [ RunTime:0.005599s ]
select * from pdf where partno='STM32F407VET6' and brandshort='ST' limit 1 [ RunTime:0.008545s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VET6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.000495s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14938 LIMIT 4 [ RunTime:0.015301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14938 ORDER BY `minOrder` ASC [ RunTime:0.006086s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14938 ORDER BY `unit` DESC [ RunTime:0.006470s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14938 LIMIT 2 [ RunTime:0.015514s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14938 ORDER BY `minOrder` ASC [ RunTime:0.011594s ]
select * from pdf where partno='STM32H743VIT6' and brandshort='ST' limit 1 [ RunTime:0.015115s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32H743VIT6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.006025s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14989 LIMIT 4 [ RunTime:0.012905s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14989 ORDER BY `minOrder` ASC [ RunTime:0.016295s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14989 ORDER BY `unit` DESC [ RunTime:0.012423s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14989 LIMIT 2 [ RunTime:0.007874s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14989 ORDER BY `minOrder` ASC [ RunTime:0.004832s ]
select * from pdf where partno='LFE2M20E-6FN256C-5I' and brandshort='LATTICE' limit 1 [ RunTime:0.002287s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LFE2M20E-6FN256C-5I' OR `brand` LIKE 'LATTICE%' ) ) LIMIT 1 [ RunTime:0.001637s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14988 LIMIT 4 [ RunTime:0.010201s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14988 ORDER BY `minOrder` ASC [ RunTime:0.006495s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14988 ORDER BY `unit` DESC [ RunTime:0.005540s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14988 LIMIT 2 [ RunTime:0.002259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14988 ORDER BY `minOrder` ASC [ RunTime:0.002862s ]
select * from pdf where partno='TMS320DM8127BCYE1' and brandshort='TI' limit 1 [ RunTime:0.009008s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TMS320DM8127BCYE1' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.008882s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14987 LIMIT 4 [ RunTime:0.012245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14987 ORDER BY `minOrder` ASC [ RunTime:0.002830s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14987 ORDER BY `unit` DESC [ RunTime:0.007175s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14987 LIMIT 2 [ RunTime:0.009170s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14987 ORDER BY `minOrder` ASC [ RunTime:0.001602s ]
select * from pdf where partno='CY8C5868AXI-LP035' and brandshort='CYPRESS' limit 1 [ RunTime:0.004817s ]
select foldpath,foldpath2,filename from pdf_file where id=1087426 limit 1 [ RunTime:0.000466s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CY8C5868AXI-LP035' OR `brand` LIKE 'CYPRESS%' ) ) LIMIT 1 [ RunTime:0.007183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14986 LIMIT 4 [ RunTime:0.036860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14986 ORDER BY `minOrder` ASC [ RunTime:0.008315s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14986 ORDER BY `unit` DESC [ RunTime:0.020514s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14986 LIMIT 2 [ RunTime:0.008824s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14986 ORDER BY `minOrder` ASC [ RunTime:0.007173s ]
select * from pdf where partno='EP3C120F780C7N' and brandshort='ALTERA' limit 1 [ RunTime:0.007181s ]
select foldpath,foldpath2,filename from pdf_file where id=1114110 limit 1 [ RunTime:0.008061s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EP3C120F780C7N' OR `brand` LIKE 'ALTERA%' ) ) LIMIT 1 [ RunTime:0.002728s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (98,99,100,101) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.023451s ]