热搜词: 

数据库查询表内数据

发布:尧孟姿

DQL(DataQueryLanguage):数据查询语言,用于查询数据库中的表中的记录(数据)。

##DQL:查询表中的记录1.语法:selectfieldcolumnnamefromtablenamelistwherecondition/*Createastudenttableinlxydatabase*/createtablestudent(idint,namevarchar(20ExcelEFunction)工具中,ETSQLBase可以直接从数据库中查询数据,例如作为MySQLPOSTGRESQLSQL服务器。

SELECT*.FROMusersWHEREage>=18;此语句将返回用户表中年龄列大于等于18的所有行和列。

以上就是关于数据库查询表内数据的全部内容,希望能够帮到您。

大家都在看

查看更多综合百科