1.--查询表的所有内容SELECT * FROM emp;2.--查询员工编号,姓名,基本工资SELECT e.empno,e.ename,e.salFROM emp e;3.--查询职位并去掉重复SELECT DISTINCT e.jobFROM emp e;4.--查询员工编号,姓名,基本工资...
分类:
其他好文 时间:
2015-01-05 21:45:20
阅读次数:
332
/*例子:得到一个用户下所有表的数据条数*/Declare v_tableName VARCHAR2(256);/*存取游标获取的变量*/ v_count NUMBER; Cursor c_tableName is Select Distinct table_name from dba_table....
分类:
数据库 时间:
2015-01-04 16:46:50
阅读次数:
164
之前因为需要 在长传日志表中通过上传时间查询基础信息表 用到了这些语句--根据公司查上传时间select distinct aae036 from CJSCRZ where CJGS='A'--根据上传时间查乡镇编号select distinct aae030 from CJSCRZ wher...
分类:
数据库 时间:
2015-01-04 16:39:17
阅读次数:
231
题目描述
We all understand that an integer set is a collection of distinct integers. Now the question is: given an integer set, can you find all its addtive equations? To explain what an addi...
分类:
其他好文 时间:
2015-01-04 06:29:52
阅读次数:
229
Longest Common SubsequenceGiven two strings, find the longest comment subsequence (LCS).Your code should return the length of LCS.样例For "ABCD" and "ED...
分类:
其他好文 时间:
2015-01-03 15:55:06
阅读次数:
177
Common SubsequenceTime Limit: 2 SecMemory Limit: 64 MBSubmit: 951Solved: 374DescriptionA subsequence of a given sequence is the given sequence with so...
分类:
其他好文 时间:
2015-01-02 15:52:53
阅读次数:
112
不知不觉居然已经写了200多篇随笔了,现在查找的时候经常要翻好久,很不方便。故给自己做个目录~Leetcode1、动态规划Palindrome Partitioning II(hard) ☆Distinct Subsequences(hard)Edit Distance (hard)Interlea...
分类:
其他好文 时间:
2015-01-02 14:32:34
阅读次数:
183
题目:(DP)Given a stringSand a stringT, count the number of distinct subsequences ofTinS.A subsequence of a string is a new string which is formed from t...
分类:
其他好文 时间:
2015-01-02 10:55:22
阅读次数:
120
Given two strings, find the longest comment subsequence (LCS).Your code should return the length of LCS.ExampleFor "ABCD" and "EDCA", the LCS is "A" (...
分类:
其他好文 时间:
2015-01-01 00:12:17
阅读次数:
122
Distinct SubsequencesGiven a stringSand a stringT, count the number of distinct subsequences ofTinS.A subsequence of a string is a new string which is...
分类:
其他好文 时间:
2014-12-31 20:03:18
阅读次数:
373