SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.003047s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000682s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001448s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.003133s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000954s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.003736s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 19 LIMIT 1 [ RunTime:0.001248s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 19 [ RunTime:0.000183s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (98,99,100,101) [ RunTime:0.001061s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001299s ]
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.001648s ]
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.000799s ]
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.000984s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001135s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14922 LIMIT 4 [ RunTime:0.002850s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000888s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14922 ORDER BY `minOrder` ASC [ RunTime:0.000413s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000960s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14922 ORDER BY `unit` DESC [ RunTime:0.000299s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000965s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14922 LIMIT 2 [ RunTime:0.002642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14922 ORDER BY `minOrder` ASC [ RunTime:0.000192s ]
select * from pdf where partno='PIC16F886-I/SS' and brandshort='MICROCHIP' limit 1 [ RunTime:0.002085s ]
select foldpath,foldpath2,filename from pdf_file where id=882365 limit 1 [ RunTime:0.002485s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001371s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC16F886-I/SS' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.013477s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14985 LIMIT 4 [ RunTime:0.002171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14985 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14985 ORDER BY `unit` DESC [ RunTime:0.000290s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14985 LIMIT 2 [ RunTime:0.001166s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14985 ORDER BY `minOrder` ASC [ RunTime:0.000196s ]
select * from pdf where partno='PIC12F1501T-I/MC' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000983s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC12F1501T-I/MC' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.011782s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14999 LIMIT 4 [ RunTime:0.000436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14999 ORDER BY `minOrder` ASC [ RunTime:0.000355s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14999 ORDER BY `unit` DESC [ RunTime:0.000289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14999 LIMIT 2 [ RunTime:0.000287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14999 ORDER BY `minOrder` ASC [ RunTime:0.000498s ]
select * from pdf where partno='STM32F407VGT6' and brandshort='ST' limit 1 [ RunTime:0.003174s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VGT6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.011481s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14923 LIMIT 4 [ RunTime:0.000399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14923 ORDER BY `unit` DESC [ RunTime:0.000280s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14923 LIMIT 2 [ RunTime:0.002766s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14923 ORDER BY `minOrder` ASC [ RunTime:0.000166s ]
select * from pdf where partno='PIC16F887-I/PT' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000909s ]
select foldpath,foldpath2,filename from pdf_file where id=882365 limit 1 [ RunTime:0.000851s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PIC16F887-I/PT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.010475s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14994 LIMIT 4 [ RunTime:0.000188s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14994 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14994 ORDER BY `unit` DESC [ RunTime:0.000160s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14994 LIMIT 2 [ RunTime:0.000160s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14994 ORDER BY `minOrder` ASC [ RunTime:0.000181s ]
select * from pdf where partno='SGM800-2.93YN5G' and brandshort='SGMICRO' limit 1 [ RunTime:0.000281s ]
select foldpath,foldpath2,filename from pdf_file where id=1999174 limit 1 [ RunTime:0.000173s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SGM800-2.93YN5G' OR `brand` LIKE 'SGMICRO%' ) ) LIMIT 1 [ RunTime:0.000207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14997 LIMIT 4 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14997 ORDER BY `minOrder` ASC [ RunTime:0.000362s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14997 ORDER BY `unit` DESC [ RunTime:0.000171s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14997 LIMIT 2 [ RunTime:0.000147s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14997 ORDER BY `minOrder` ASC [ RunTime:0.000147s ]
select * from pdf where partno='SGM2030-2.8YUDG4G' and brandshort='SGMICRO' limit 1 [ RunTime:0.000430s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SGM2030-2.8YUDG4G' OR `brand` LIKE 'SGMICRO%' ) ) LIMIT 1 [ RunTime:0.000190s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14996 LIMIT 4 [ RunTime:0.000175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14996 ORDER BY `minOrder` ASC [ RunTime:0.000340s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14996 ORDER BY `unit` DESC [ RunTime:0.000158s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14996 LIMIT 2 [ RunTime:0.000150s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14996 ORDER BY `minOrder` ASC [ RunTime:0.000148s ]
select * from pdf where partno='SGM2030-3.3YUDG4G' and brandshort='SGMICRO' limit 1 [ RunTime:0.000426s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SGM2030-3.3YUDG4G' OR `brand` LIKE 'SGMICRO%' ) ) LIMIT 1 [ RunTime:0.000188s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14998 LIMIT 4 [ RunTime:0.000273s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14998 ORDER BY `minOrder` ASC [ RunTime:0.001780s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14998 ORDER BY `unit` DESC [ RunTime:0.000252s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14998 LIMIT 2 [ RunTime:0.000279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14998 ORDER BY `minOrder` ASC [ RunTime:0.000160s ]
select * from pdf where partno='STM32F407VET6' and brandshort='ST' limit 1 [ RunTime:0.003957s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32F407VET6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.009557s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14938 LIMIT 4 [ RunTime:0.000285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14938 ORDER BY `minOrder` ASC [ RunTime:0.002264s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14938 ORDER BY `unit` DESC [ RunTime:0.001019s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14938 LIMIT 2 [ RunTime:0.003039s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14938 ORDER BY `minOrder` ASC [ RunTime:0.000160s ]
select * from pdf where partno='STM32H743VIT6' and brandshort='ST' limit 1 [ RunTime:0.002170s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STM32H743VIT6' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.008294s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14989 LIMIT 4 [ RunTime:0.005086s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14989 ORDER BY `minOrder` ASC [ RunTime:0.003853s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14989 ORDER BY `unit` DESC [ RunTime:0.012119s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14989 LIMIT 2 [ RunTime:0.002639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14989 ORDER BY `minOrder` ASC [ RunTime:0.000207s ]
select * from pdf where partno='LFE2M20E-6FN256C-5I' and brandshort='LATTICE' limit 1 [ RunTime:0.001262s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LFE2M20E-6FN256C-5I' OR `brand` LIKE 'LATTICE%' ) ) LIMIT 1 [ RunTime:0.009097s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14988 LIMIT 4 [ RunTime:0.002146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14988 ORDER BY `minOrder` ASC [ RunTime:0.007823s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14988 ORDER BY `unit` DESC [ RunTime:0.002465s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14988 LIMIT 2 [ RunTime:0.000351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14988 ORDER BY `minOrder` ASC [ RunTime:0.002838s ]
select * from pdf where partno='TMS320DM8127BCYE1' and brandshort='TI' limit 1 [ RunTime:0.006361s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TMS320DM8127BCYE1' OR `brand` LIKE 'TI%' ) ) LIMIT 1 [ RunTime:0.045568s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14987 LIMIT 4 [ RunTime:0.001060s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14987 ORDER BY `minOrder` ASC [ RunTime:0.004856s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14987 ORDER BY `unit` DESC [ RunTime:0.000558s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14987 LIMIT 2 [ RunTime:0.000547s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14987 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
select * from pdf where partno='CY8C5868AXI-LP035' and brandshort='CYPRESS' limit 1 [ RunTime:0.011386s ]
select foldpath,foldpath2,filename from pdf_file where id=1087426 limit 1 [ RunTime:0.002243s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CY8C5868AXI-LP035' OR `brand` LIKE 'CYPRESS%' ) ) LIMIT 1 [ RunTime:0.006950s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14986 LIMIT 4 [ RunTime:0.000517s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14986 ORDER BY `minOrder` ASC [ RunTime:0.001283s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14986 ORDER BY `unit` DESC [ RunTime:0.007006s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14986 LIMIT 2 [ RunTime:0.002115s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14986 ORDER BY `minOrder` ASC [ RunTime:0.000228s ]
select * from pdf where partno='EP3C120F780C7N' and brandshort='ALTERA' limit 1 [ RunTime:0.002789s ]
select foldpath,foldpath2,filename from pdf_file where id=1114110 limit 1 [ RunTime:0.009137s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EP3C120F780C7N' OR `brand` LIKE 'ALTERA%' ) ) LIMIT 1 [ RunTime:0.010401s ]
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.000835s ]