SQL Syntax - Some Useful Keywords
来源:互联网 发布:nodejs 定义二维数组 编辑:程序博客网 时间:2024/06/06 16:49
1. SELECT TOP Clause
--TOP used to specify the number of records to return,SQL SERVERSELECT TOP number|percent colNameFROM tableName;
--MySQLSELECT colNameFROM tableNameLIMIT number;
2. Like pattern
% A substitue for zero or more characters
_ A substitue for a single character
[charlist] Sets and ranges of characters to match
[^charlist] or [!charlist] Matches only a character NOT specified within the brackets
3. IN OPERATOR
SELECT colNameFROM tablenameWHERE colname IN(val1, val2, val3,...)
4. Between
SELECT colNameFROM tablenameWEHRE colName (NOT)BETWEEN val1 AND val2;
5. SQL Aliases
--SQL Alias Syntax for columnsSELECT colName AS aliasNameFROM tablename
--SQL ALias Syntax for TablesSELECT colnameFROM TableName AS alias_name;
0 0
- SQL Syntax - Some Useful Keywords
- useful keywords
- some useful select statement of SQL
- some keywords
- Some useful techniques in sql injection [个人总结简洁版]
- some useful links
- Some useful expressions
- some useful websit
- Some useful TextBox Validations
- some useful URL
- Some useful linux commands
- Some Useful -XX Options
- some useful code
- Some useful DQL tips
- Some useful tools
- Some useful english words
- some useful Linux commands
- some useful technology english
- 启用“锁定内存页”选项 (Windows)
- HDU 1045 Fire Net
- 上传图片的验证 验证是否为图片 后缀名验证 (总结)
- 约瑟夫问题 循环链表实现和数字处理实现
- shareplex以前运行正常,用户被锁导致重启后数据不能同步
- SQL Syntax - Some Useful Keywords
- tplink无线路由wds问题
- Python中global用法详解
- PKU 3249 Test for Job
- 如何学习开源项目及Ceph的浅析
- 一套面试题
- 直接push jar包到system/framework,供APK调用此jar包中的类
- 关于连续的几个数中有一个数缺失并一次遍历找出的问题
- 安装和配置SublimeREPL