Index experiment exampleIndex-based examples of simple experiments
**************************************** ******************************** ****************
Original works, from "Deep Blue blog" blog, welcome to reprint, reprint please be sure to indicate the source (http://blog.csdn.net/huangyanlong ).
Please leave a message if the statement is incorrect. Thank you very much.
Reminder: Click the directory to view the directory.
*****************************************************************
1. nvl FunctionThe nvl function converts a null value to an actual value. The data type can be date, number, character, and must match: for example:Nvl (commision, 0)Nvl (hiredate, '01-JAN-87 ')Nvl (job_id, 'no manager ')Nvl (to_char (job_id), 'no manager ')Nvl can convert any data type, but the returned value of the converted data type must be the expr type of the first parameter of nvl (expr1, expr2). For example: date, number, varchar2 or charExample: Calculate the annual salary of an employe
script is completed, sqlplus is automatically exited.Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0-64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options@ Pekdc1-vcm-03: [/usr/app/oracle/110203/v04/rdbms/admin]$ Sqlplus scott/tigerSQL * Plus: Release 11.2.0.3.0 Production on Mon Mar 24 10:15:47 2014Copyright (c) 1982,201 1, Oracle. All rights reserved.Connected:Oracle Database 11g Enterprise Edition Release 11.2.0.3.0-64bit Pr
Arabic characters (ASMO 708)720 DOS-720 Arabic characters (DOS)28596 iso-8859-6 Arabic character (ISO)1256 windows-1256 Arabic characters (Windows)1257 windows-1257 Baltic characters (Windows)852 ibm852 Central European character (DOS)28592 iso-8859-2 Central European characters (ISO)1250 windows-1250 Central European characters (Windows)936 gb2312 Simplified Chinese (gb2312)950 big5 traditional Chinese (b
| + ------ + --------- + ------------------- + ------ + --------- + ------ + ------- + ------------------ + -- it is not difficult to see that this is the statistics for each column (iv) Part 4 # status counters (wait 10 seconds) ############# ############ Variable per day per second 295 secsbytes_received 90000000 1000 600000000 7000 bytes_sent 6000 20000 2250 bytes 1 handler_rollback 80 handler_update 2250000 handler_write 800 bytes 25 bytes innodb_buffer_pool_write_requests 10000 7innodb_dat
for different values only.
SQL> select stddev (SAL) from Scott. EMP;
Stddev (SAL)
-----------
1182.5032
SQL> select stddev (distinct Sal) from Scott. EMP;
Stddev (distinctsal)
-------------------
1229.951
64. Variance (distinct | all)Covariance
SQL> select variance (SAL) from Scott. EMP;
Variance (SAL)
-------------
1398313.9
65. GroupIt is mainly used to calculate the number of a group.
SQL> select deptno, count (*), sum (SAL) from Scott. EMP group by deptno;
Deptno count (*) sum (SAL)
-------
The concept of a key-preserved table is fundamental to understanding
Restrictions on modifying join views. A table is key preserved if every key
The table can also be a key of the result of the join. So, a key-preserved
Table has its keys preserved through a join.
Note: it is not necessary that the key or keys of a table be selected for it
To be key preserved. It is sufficient that if the key or keys were selected,
Then they wocould also be key (s) of the result of the join.
Attention: the key
-Euro)
1149
Ibm01149
IBM ebcdic Icelandic (20871 + euro symbol); IBM ebcdic (Icelandic-Euro)
1200
UTF-16
Unicode UTF-16, little endian byte order (BMP of ISO 10646); available only to managed applications
1201
Unicodefffe
Unicode UTF-16, big endian byte order; available only to managed applications
1250
Windows-1250
ANSI Central European; Central E
// close oracle# Service oracle restart // restart oracle
7. Test
A. Auto Start
Copy codeThe Code is as follows: Last login: Mon Nov 26 19:57:06 2012 from 10.0.0.145
[Root @ ORS ~] # Su-oracle
[Oracle @ ORS ~] $ Sqlplus "/as sysdba"
SQL * Plus: Release 10.2.0.1.0-Production on Mon Nov 26 20:07:33 2012
Copyright (c) 1982,200 5, Oracle. All rights reserved.
Connected:Oracle Database 10g Enterprise Edition Release 10.2.0.1.0-ProductionWith the Partitioning, OLAP and Data Mining options
SQL> set l
The following error occurred while uploading the IMG file using glance add----------------------------------------------------------------------- Below is---------------------------------------------------Failed to add image for the problem encountered. Got error:the Request returned a 413 request Entity Too Large.This generally means, limiting or a quota threshold was breached. The response body:% (body) snote:your Image metadata may still is in the registry, but the image ' s status would like
-level feature graphs. That is, the combination of the last column of the original LeNet-5 feature map combo chart. Therefore, a total of 5x5x50 equals 1250 neuron nodes, with (5x5+1) x6x50 equals 7,800 weights, and a total of 1250x26 equals 32,500 lines. 4. Third floor. This layer is a one-dimensional linear arrangement of network nodes, and the previous layer is a fully connected network, the number of nodes set to 100, so that a total of 100x (
A full outer join is a result in which all rows in the table of a join that satisfy the search criteria are displayed in addition to the rows that meet the conditions of the connection.Sql> Select E.empno,e.ename,e.sal,d.grade2 from EMP e full outer join Salgrade D3 on e.sal between D.losal and D.hisal;EMPNO ename SAL GRADE---------- ---------- ---------- ----------7839 KING 5000 57902 FORD 3000 47788 SCOTT 3000 47566 JONES 2975 47698 BLAKE 2850 47782 CLARK 2450 47499 ALLEN 1600 37844 TURNER 150
A full outer join is a result in which all rows in the table of a join that satisfy the search criteria are displayed in addition to the rows that meet the conditions of the connection.Sql> Select E.empno,e.ename,e.sal,d.grade2 from EMP e full outer join Salgrade D3 on e.sal between D.losal and D.hisal;EMPNO ename SAL GRADE---------- ---------- ---------- ----------7839 KING 5000 57902 FORD 3000 47788 SCOTT 3000 47566 JONES 2975 47698 BLAKE 2850 47782 CLARK 2450 47499 ALLEN 1600 37844 TURNER 150
);
}
// Fetch the results of the query
Print"
\ N ";While ($ row = oci_fetch_array ($ stid, OCI_ASSOC + OCI_RETURN_NULLS )){Print"
\ N ";Foreach ($ row as $ item ){Print"
". ($ Item! = Null? Htmlentities ($ item, ENT_QUOTES ):"")."\ N ";}Print"
\ N ";}Print"
\ N ";
Oci_free_statement ($ stid );
Oci_close ($ conn );
Echo "display of Chinese characters on the test page ";
?>
Garbled Chinese characters
As follows:
10.2.0.4.0Oracle Database 10g Enterprise Edition Rele
1732 Fibonacci Series 2time limit: 1 sspace limit: 128000 KBtitle level: Diamonds Diamond SolvingTitle DescriptionDescriptionIn the "1250 Fibonacci series", we find the value of the nth Fibonacci series. But in 1250, nEnter a descriptionInput DescriptionEnter multiple sets of data, one row for each group of data, and an integer n (1 Output descriptionOutput DescriptionOutputs several rows. Output per line (
parallel information is not displayed, even if the plan executes in parallel.
SERIAL: similar to TYPICAL, except that the parallel operation information is not displayed, even if the execution plan has parallel processing.
· ALL: Maximum user level. Includes information displayed with theTYPICAL level with additional information (PROJECTION, ALIASand information about remote SQL if the operation is distributed ).
ALL: displays ALL information.
Next let's take a look. First, we will execute the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.