发布网友
共2个回答
热心网友
mysql> select * from student where 学生 like "李%";
+------+------+------+
| 学生 | 学科 | 成绩 |
+------+------+------+
| 李四 | 语文 | 70 |
| 李四 | 数学 | 80 |
| 李四 | 英语 | 80 |
+------+------+------+
3 rows in set (0.00 sec)
追问我在eclipse中不行
追答DBTest.java
这个文件是否能发过来
热心网友
select*fromstudent;selectstudentid,姓名fromstudent;selectdistinct(专业)fromstudent;selecttop3*fromstudent;selecttop20percent*fromstudent;selectcount(*)fromstudent;select*fromstudentwhere生日between'1990-01-01'and'1991-01-01';selectmax(年龄),min(年龄)fromstudent;