前言:上篇博客用,开篇创建的数据库实例。展示了如何向数据插入数据,与删除数据。数据库的操作大致,分为三类:输入,删除,提取。本篇博客将介绍,如何提取数据库里的内容。这次只是简单的介绍如何提取,后面还会深入介绍select语句的使用。
select语句基本语法:
select * from 表明
例如:查询学生系统里,用户表里的数据。
select * from user_Info
结果:
select where 子句使用:
例如:利用 学生student_ID 查询数据
select * from student_Info where student_ID =1
结果&#x