MySQL的基本语法
今天是開學第三天,算是正式開始學習了吧。第一天基本是老師在向我們介紹軟件測試要了解什么方面的知識,以后要做些什么。第二天主要是練習了一下怎么寫需求文檔,感覺這個確實挺難寫的,畢竟我文字表達能力感覺不是太好,只能說以后慢慢練習吧。
今天學了MySQL的幾個基本語法,感覺確實挺蛋疼的,最主要是沒有提示這一點感覺有點不太舒服。之前學的OC相對來說會感覺好很多。而且感覺好多東西都沒講啊,像是數據類型 ,感覺還是稍微有必要講一下的有一些數據后面要填什么內容都要自己專門去查=-=。
也不知道在說些什么了?只能用作業來頂了。
1.select sno,sname,ssex from student;
2.select distinct depart from teacher;
3.select * from student;
4.select * from score where degree between 60 and 80;(大于等于60 小于等于80)
??select * from score where degree>=60 and degree<=80;
5.select * from score where degree=86 or degree=85 or degree=88;
select *from score where degree in(85,86,88);
6.select * from student where class="95031" or ssex="女";
7.select * from student order by class;
8.select * from score order by sno and degree desc;
9.select count(*) from student where class="95031";
10.
11.
12.
13.select sno from score where degree between 70 and 90;
14.
其他=-=
真的是不會了 整個人都懵逼了。 上網查說真的都不知道該如何查了 蛋疼?
?
?
轉載于:https://www.cnblogs.com/assassin3154/p/7774772.html
總結
以上是生活随笔為你收集整理的MySQL的基本语法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 2017年11月1号复习
- 下一篇: Ubuntu+Django+Nginx+