zoukankan      html  css  js  c++  java
  • 20170617面试

    名医众禾

    1.全国省级市连表查询

    code    name   parentCode

    001     中国     0

    002    辽宁      001

    等等

    查询出 所有数据关联关系

    2.数据去重

    delete from table where id not in(
    select max(id) from table group by type
    )

    3.冒泡排序算法

    4.mybatis 数据 #执行的sql是什么形式的

    5.mybatis拦截器分页技术

    http://blog.csdn.net/leozhou13/article/details/50394242

    6.查询男女年龄的数据 分布 ,查询 每个年龄段包含的数量

    select count(*)  from table group by sex 

    select count(*) from table where age >20 and age < 30  union 

    select count(*) from table where age >30 and age < 40  union 

    。。。。。

    7.数据库左连接数据多少

    8.union 和 union all 区别  union all 不去重复

    9.数据对象比大小 

    http://blog.csdn.net/fmwind/article/details/52183869

    10.list数据排序

    未名企鹅

    1.abccba查看数据是否对称  ==和quals区别

    String src = "abcdcba";
    String dst = new StringBuffer(src).reverse().toString();
    System.out.println(dst);
    System.out.println(src.equals(dst));
    String a = new String("good");
    String b = new String("good");
    System.out.println(a==b);
    System.out.println(a.equals(b));

    2.重复提交的问题

    3.数据库sql优化方案

    4.redis哪里需要使用

    5.token过期情况

    6.行级锁的概念

    美团点评:

    1.多线程只是

    2.synchronized方法放在方法体和代码块的区别

    3.多线程的几种状态

    4.单利模式的优缺点

    5.sleep和wait  

    6.死锁的条件 什么是死锁

    7.object 和String 是不是继承hashcode 

    8.lock

    9.mysql的 btree

  • 相关阅读:
    2,SFDC 管理员篇
    1,SFDC 管理员篇
    0,SFDC 管理员篇
    Java控制台中输入中文输出乱码的解决办法
    struts1和struts2线程安全问题
    PL/SQL Developer使用技巧、快捷键
    SpringMVC前传--从Struts 1.x-2.x MVC-Spring 3.0 MVC
    H5元素拖拽使用事件数据传输
    js实现拼图小游戏
    js实现简单轮播图效果
  • 原文地址:https://www.cnblogs.com/sj521/p/7044563.html
Copyright © 2011-2022 走看看