⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 orderbyelimination.out

📁 derby database source code.good for you.
💻 OUT
📖 第 1 页 / 共 5 页
字号:
			start position: 	>= on first 2 column(s).	Ordered null semantics on the following columns: 			stop position: 	> on first 2 column(s).	Ordered null semantics on the following columns: 			qualifiers:Noneij> -- order by and unionselect c1 from t1 union select c2 from t1 order by 1;1          ------------3         -2         -1         1          2          3          4          ij> values SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS();1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Statement Name: 	nullStatement Text: 	-- order by and unionselect c1 from t1 union select c2 from t1 order by 1Parse Time: 0Bind Time: 0Optimize Time: 0Generate Time: 0Compile Time: 0Execute Time: 0Begin Compilation Timestamp : nullEnd Compilation Timestamp : nullBegin Execution Timestamp : nullEnd Execution Timestamp : nullStatement Execution Plan Text: Sort ResultSet:Number of opens = 1Rows input = 20Rows returned = 7Eliminate duplicates = trueIn sorted order = falseSort information: 	Number of rows input=20	Number of rows output=7	constructor time (milliseconds) = 0	open time (milliseconds) = 0	next time (milliseconds) = 0	close time (milliseconds) = 0Source result set:	Union ResultSet:	Number of opens = 1	Rows seen from the left = 10	Rows seen from the right = 10	Rows returned = 20		constructor time (milliseconds) = 0		open time (milliseconds) = 0		next time (milliseconds) = 0		close time (milliseconds) = 0	Left result set:		Index Scan ResultSet for T1 using index I1 at serializable isolation level using share table locking chosen by the optimizer		Number of opens = 1		Rows seen = 10		Rows filtered = 0		Fetch Size = 16			constructor time (milliseconds) = 0			open time (milliseconds) = 0			next time (milliseconds) = 0			close time (milliseconds) = 0			next time in milliseconds/row = 0		scan information: 			Bit set of columns fetched={0}			Number of columns fetched=1			Number of deleted rows visited=0			Number of pages visited=1			Number of rows qualified=10			Number of rows visited=10			Scan type=btree			Tree height=1			start position: 	None			stop position: 	None			qualifiers:None	Right result set:		Index Scan ResultSet for T1 using index I1 at serializable isolation level using share table locking chosen by the optimizer		Number of opens = 1		Rows seen = 10		Rows filtered = 0		Fetch Size = 16			constructor time (milliseconds) = 0			open time (milliseconds) = 0			next time (milliseconds) = 0			close time (milliseconds) = 0			next time in milliseconds/row = 0		scan information: 			Bit set of columns fetched={1}			Number of columns fetched=1			Number of deleted rows visited=0			Number of pages visited=1			Number of rows qualified=10			Number of rows visited=10			Scan type=btree			Tree height=1			start position: 	None			stop position: 	None			qualifiers:Noneij> select c1 from t1 union select c2 as c1 from t1 order by c1;C1         ------------3         -2         -1         1          2          3          4          ij> values SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS();1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Statement Name: 	nullStatement Text: 	select c1 from t1 union select c2 as c1 from t1 order by c1Parse Time: 0Bind Time: 0Optimize Time: 0Generate Time: 0Compile Time: 0Execute Time: 0Begin Compilation Timestamp : nullEnd Compilation Timestamp : nullBegin Execution Timestamp : nullEnd Execution Timestamp : nullStatement Execution Plan Text: Sort ResultSet:Number of opens = 1Rows input = 20Rows returned = 7Eliminate duplicates = trueIn sorted order = falseSort information: 	Number of rows input=20	Number of rows output=7	constructor time (milliseconds) = 0	open time (milliseconds) = 0	next time (milliseconds) = 0	close time (milliseconds) = 0Source result set:	Union ResultSet:	Number of opens = 1	Rows seen from the left = 10	Rows seen from the right = 10	Rows returned = 20		constructor time (milliseconds) = 0		open time (milliseconds) = 0		next time (milliseconds) = 0		close time (milliseconds) = 0	Left result set:		Index Scan ResultSet for T1 using index I1 at serializable isolation level using share table locking chosen by the optimizer		Number of opens = 1		Rows seen = 10		Rows filtered = 0		Fetch Size = 16			constructor time (milliseconds) = 0			open time (milliseconds) = 0			next time (milliseconds) = 0			close time (milliseconds) = 0			next time in milliseconds/row = 0		scan information: 			Bit set of columns fetched={0}			Number of columns fetched=1			Number of deleted rows visited=0			Number of pages visited=1			Number of rows qualified=10			Number of rows visited=10			Scan type=btree			Tree height=1			start position: 	None			stop position: 	None			qualifiers:None	Right result set:		Index Scan ResultSet for T1 using index I1 at serializable isolation level using share table locking chosen by the optimizer		Number of opens = 1		Rows seen = 10		Rows filtered = 0		Fetch Size = 16			constructor time (milliseconds) = 0			open time (milliseconds) = 0			next time (milliseconds) = 0			close time (milliseconds) = 0			next time in milliseconds/row = 0		scan information: 			Bit set of columns fetched={1}			Number of columns fetched=1			Number of deleted rows visited=0			Number of pages visited=1			Number of rows qualified=10			Number of rows visited=10			Scan type=btree			Tree height=1			start position: 	None			stop position: 	None			qualifiers:Noneij> -- RESOLVE: next 2 will do 2 sorts (bug 58)select c3, c4 from t1 union select c2, c1 from t1 order by 2;1          |2          ------------------------4         |-5         -3         |-4         -3         |-2         -2         |-1         4          |1          3          |1          2          |1          4          |2          3          |2          1          |2          4          |3          2          |3          3          |4          2          |4          4          |5          ij> values SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS();1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Statement Name: 	nullStatement Text: 	-- RESOLVE: next 2 will do 2 sorts (bug 58)select c3, c4 from t1 union select c2, c1 from t1 order by 2Parse Time: 0Bind Time: 0Optimize Time: 0Generate Time: 0Compile Time: 0Execute Time: 0Begin Compilation Timestamp : nullEnd Compilation Timestamp : nullBegin Execution Timestamp : nullEnd Execution Timestamp : nullStatement Execution Plan Text: Sort ResultSet:Number of opens = 1Rows input = 15Rows returned = 15Eliminate duplicates = falseIn sorted order = falseSort information: 	Number of rows input=15	Number of rows output=15	constructor time (milliseconds) = 0	open time (milliseconds) = 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -