笔试题1:

1、select * from tablex where name = "张*" order by age  默认升序

     select * from tablex where name contains ”张“ order by  age desc 降序

2   select name from tablex ,tabley where tablex.code=tabley.code
and class="计算机" and score<60;

3  select name ,class,score from tablex ,tabley where tablex.code=tabley.code

select name ,class,score from tablex  inner join  tabley   on  tablex.code=tabley.code

4 select name ,class,score from tablex lift join tabley on tablex.code=tabley.code

5  insert into tablex(code,name,age)values("97005","赵六",“20”)

6  update tablex set age =21 where code =97004

 
7  delete  * from tablex where code not in (select code form tabley where score is null )   # not  in 语句容易出bug

最新文章

  1. 3ds max旋转简化后模型
  2. 分表的一个记录---Ruby
  3. TCP重传率高的监控
  4. 匹配字符串的KMP算法
  5. centos6 pyotp bug修复
  6. iOS七大手势识别
  7. BinaryWrite方法输出验证码
  8. WPF 本周、本月、本季、本年的第一天与最后一天取法
  9. ExtJS笔记--applyTo和renderTo的差别
  10. WIN32_FIND_DATA 循环获取文件大小BUG
  11. UNITY3D MAC版本号破解
  12. HMC5883L地磁传感器驱动
  13. 结队编程-基于gui的四则运算生成器
  14. Node.js 系统
  15. Linux多线程实践(10) --使用 C++11 编写 Linux 多线程程序
  16. LeetCode之“链表”:Reverse Linked List &amp;&amp; Reverse Linked List II
  17. C# Asp.net中简单操作MongoDB数据库(一)
  18. go等待N个线程完成操作总结
  19. 【blog】mysql字段类型datetime和timestamp的区别
  20. LeetCode--434--字符串中的单词数

热门文章

  1. Kail Linux的安装方法
  2. Jinja2用法总结
  3. CentOS7 firewalld 打开关闭端口
  4. 基于Android的模拟点击探索
  5. Linux 压缩某个文件夹命令
  6. JAVA进阶23
  7. 03 前端篇(JS)
  8. 软工+C(9): 助教指南,持续更新...
  9. 工具(1): 极简Word排版示例(Example by Word2013)
  10. Appium 客户端类库