﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-少年阿宾-随笔分类-javaWork</title><link>http://www.blogjava.net/stevenjohn/category/51106.html</link><description>那些青春的岁月</description><language>zh-cn</language><lastBuildDate>Fri, 27 Sep 2013 00:13:19 GMT</lastBuildDate><pubDate>Fri, 27 Sep 2013 00:13:19 GMT</pubDate><ttl>60</ttl><item><title>java  相关技术点</title><link>http://www.blogjava.net/stevenjohn/archive/2013/09/26/404451.html</link><dc:creator>abin</dc:creator><author>abin</author><pubDate>Thu, 26 Sep 2013 01:24:00 GMT</pubDate><guid>http://www.blogjava.net/stevenjohn/archive/2013/09/26/404451.html</guid><wfw:comment>http://www.blogjava.net/stevenjohn/comments/404451.html</wfw:comment><comments>http://www.blogjava.net/stevenjohn/archive/2013/09/26/404451.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/stevenjohn/comments/commentRss/404451.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/stevenjohn/services/trackbacks/404451.html</trackback:ping><description><![CDATA[文件上传方面的：&nbsp;plupload+fastdfs &nbsp;&nbsp;plupload负责上传，fastdfs&nbsp;负责存储<div></div><img src ="http://www.blogjava.net/stevenjohn/aggbug/404451.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/stevenjohn/" target="_blank">abin</a> 2013-09-26 09:24 <a href="http://www.blogjava.net/stevenjohn/archive/2013/09/26/404451.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>大公司职称和薪资等级</title><link>http://www.blogjava.net/stevenjohn/archive/2013/09/16/404142.html</link><dc:creator>abin</dc:creator><author>abin</author><pubDate>Mon, 16 Sep 2013 08:41:00 GMT</pubDate><guid>http://www.blogjava.net/stevenjohn/archive/2013/09/16/404142.html</guid><wfw:comment>http://www.blogjava.net/stevenjohn/comments/404142.html</wfw:comment><comments>http://www.blogjava.net/stevenjohn/archive/2013/09/16/404142.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/stevenjohn/comments/commentRss/404142.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/stevenjohn/services/trackbacks/404142.html</trackback:ping><description><![CDATA[<div>百度</div><div>T2:7k~10k</div><div>T3:11k~13k</div><div>T4:14k~16k</div><div>T5:16k~20k</div><div>T6:20k~25k</div><div></div><img src ="http://www.blogjava.net/stevenjohn/aggbug/404142.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/stevenjohn/" target="_blank">abin</a> 2013-09-16 16:41 <a href="http://www.blogjava.net/stevenjohn/archive/2013/09/16/404142.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>互联网公司校园招聘</title><link>http://www.blogjava.net/stevenjohn/archive/2012/05/22/378840.html</link><dc:creator>abin</dc:creator><author>abin</author><pubDate>Tue, 22 May 2012 07:05:00 GMT</pubDate><guid>http://www.blogjava.net/stevenjohn/archive/2012/05/22/378840.html</guid><wfw:comment>http://www.blogjava.net/stevenjohn/comments/378840.html</wfw:comment><comments>http://www.blogjava.net/stevenjohn/archive/2012/05/22/378840.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/stevenjohn/comments/commentRss/378840.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/stevenjohn/services/trackbacks/378840.html</trackback:ping><description><![CDATA[<span style="text-align: left; widows: 2; text-transform: none; background-color: rgb(165,214,238); text-indent: 0px; font: 14px/21px simsun; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(50,62,50); word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" class="Apple-style-span"> 
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px"><strong style="font-weight: bold">百度移动终端研发工程师</strong></p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">1.写一个字符串逆序的程序，时间复杂度和空间复杂度最低，效率越高越好。</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">2.实质：二叉树的层序遍历，每层的结点用单链表输出。</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">3.1-N（N最大32000，且未知），内存只有4K，找出其中的重复数</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">4.编程题，比较复杂，是个系统设计题，与《编程之美》中3.2，电话号码对应英语单词类似。</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px"><strong style="font-weight: bold">百度软件开发工程师</strong></p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">1.有101个数，为[1，100]之间的数，其中一个数是重复的，如何寻找这个重复的数，其时间复杂度和空间复杂度是多少？</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">2.Java中抽象类与接口的区别。</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">3.进程与线程之间的联系与区别。（多家公司都在问，好好研究一下）</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">4.谈谈对设计模式的认识与理解，简单介绍一下你所知道的设计模式。（多家公司都问，Android方向面试必考的）</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">5.线程、多线程相关<strong style="font-weight: bold">（必问）</strong></p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">6.Linux常用的命令，shell编程，grep命令的使用。</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">7.海量数据查找或者排序，有资源限制要求。<strong style="font-weight: bold">（常考的）</strong></p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px"><strong style="font-weight: bold">Sina无线客户端开发工程师</strong></p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">笔试的题目和7月22日实习生的题目差不多。面试主要问了：</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">1.二叉树的一些基础知识。</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">2.Java多线程，对stop()方法的认识，如何安全的终止一个线程。</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">3.设计模式相关的问题</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">4.谈谈你对面向对象编程中继承的认识</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">5.排序算法</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px"><strong style="font-weight: bold">网易2012校招无线客户端开发</strong></p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">1.面向对象编程中多态的概念，用伪代码展示出来。</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">2.斐波那契数列编程，效率越高越好（详见《编程之美》2.9）</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">3.60W长度为32的字符串一次性读入内存中，大约占用多少内存空间？</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">4.一个X向量n，如何求其内部的最大距离。</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">5.在浏览器中输入<a style="color: rgb(153,63,43); text-decoration: none" href="http://www.163.com/" target="_blank">http://www.163.com</a>，从输入到页面在浏览器中显示出来，期间发生了哪些过程，越详细越好。</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">6.简单介绍一下Android系统中的Activity,Service, Intent, ContentProvider组件。</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">7.编程解析一段josn格式内容，并在界面上显示出来。</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">8.英文阅读，考察英语能力。</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">9.网络应用分析，发挥自己的主观能动性和积累。</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px"><strong style="font-weight: bold">搜狗</strong></p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">&nbsp;<wbr><span class="Apple-converted-space">&nbsp;</span>搜狗的题目出的很全，所有职位的题目都在一份卷子上，涉及到数据结构、网络、操作系统、算法、软件工程等多方面，根据自己所投递的职位，有针对性的选择要答的题目即可。</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px"><strong style="font-weight: bold">金山</strong></p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">&nbsp;<wbr><span class="Apple-converted-space">&nbsp;</span>为了保险，做了运维的题目，难度不大，主要是网络和Linux操作系统方面的，稍微准备一下即可。答题的时候自我感觉良好，结果没收到面试通知，被鄙视了，o(&#9583;&#9633;&#9584;)o</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px"><strong style="font-weight: bold">Android开发工程师</strong></p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">1.Activity的生命周期<strong style="font-weight: bold">（最基本的）</strong>。</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">2.Android基本框架结构。</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">3.Android终止一个进程的方法，如何彻底终止一个程序。</p>
<p style="text-align: left; padding-bottom: 0px; line-height: 26px; border-right-width: 0px; background-color: rgb(255,255,255); list-style-type: none; margin: 0px 0px 5px; padding-left: 0px; padding-right: 0px; word-wrap: normal; border-top-width: 0px; border-bottom-width: 0px; color: rgb(51,51,51); word-break: normal; border-left-width: 0px; padding-top: 0px">4.如何改写程序，改变android手机中返回键的功能（西安TCL研究院技术面试）。</p></span><br class="Apple-interchange-newline" /><img src ="http://www.blogjava.net/stevenjohn/aggbug/378840.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/stevenjohn/" target="_blank">abin</a> 2012-05-22 15:05 <a href="http://www.blogjava.net/stevenjohn/archive/2012/05/22/378840.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>sql 相关操作</title><link>http://www.blogjava.net/stevenjohn/archive/2012/05/22/378837.html</link><dc:creator>abin</dc:creator><author>abin</author><pubDate>Tue, 22 May 2012 06:42:00 GMT</pubDate><guid>http://www.blogjava.net/stevenjohn/archive/2012/05/22/378837.html</guid><wfw:comment>http://www.blogjava.net/stevenjohn/comments/378837.html</wfw:comment><comments>http://www.blogjava.net/stevenjohn/archive/2012/05/22/378837.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/stevenjohn/comments/commentRss/378837.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/stevenjohn/services/trackbacks/378837.html</trackback:ping><description><![CDATA[一、SQL删除某些字段重复的记录(只保留一条)&nbsp; <br />1.查询出来重复的记录数：<br />select t.* from test2 t inner join(select name,age from test2 s group by name,age having count(*)&gt;1)b<br />on t.name=b.name and t.age=b.age<br /><br />select t.name,t.age,count(*) as num1 from test2 t group by name,age having count(*)&gt;1<br />2.删除重复的记录数（只保留一条）：<br />delete from test2 t where t.id not in (select max(id) from test2 s group by name,age)<br /><br />二、一个表中有一个id字段，选出重复大于三的字段：<br />select id,count(name) from test t group by id having count(name)&gt;=3<br /><br />两个日期间的天数 :<br />select floor(sysdate - to_date('20020405','yyyymmdd')) from dual;<img src ="http://www.blogjava.net/stevenjohn/aggbug/378837.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/stevenjohn/" target="_blank">abin</a> 2012-05-22 14:42 <a href="http://www.blogjava.net/stevenjohn/archive/2012/05/22/378837.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>