摘要:
select 要查询的值,row_number() over(order by 表中某一个值) as 起一个列名 from 要查询的表名例: select distinct user_guid,row_number() over(order by user_guid) as rows from od 阅读全文
摘要:
语法:SELECT * from user WHERE name LIKE '%o%'; 其中user为表名 name为表头 o为查询的数据 P.S. SQL LIKE 子句中使用百分号 %字符来表示任意字符,类似于UNIX或正则表达式中的星号 *。如果没有使用百分号 %, LIKE 子句与等号 = 阅读全文