ch06 - 6. SQL 2 SQL L � � SEQUEL(Structured...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 6. SQL 2 SQL L � � SEQUEL(Structured English QUEry Language) 2 � � 1974 Q , IBM [ � � IBM Q 'SYSTEM R' q O � � & * � %  ž � � ‹ � � ž + � SQL 1986 Q , SQL-86 Q SQL1 1992 2 , SQL/92, SQL-92 Q SQL2 : SQL3, SQL-99 Q Q DBMS Q DB2 Q SQL/DS ORACLE, INFORMIX, SYBASE [ D (ANSI) q (ISO) � � � � 3 SQL(Structured Query Language) SQL 2 � � & 0 { * � p + � � � � &  * %  ž + � š � � � + � Ù * (DDL), X D (DML), D (DCL) H æ 4 SQL L � � & & �  Ü + � & & �  + � � � � � � � Q + � � Ü * � Ø SQL Q � RDBMS t+ � � L & � � � 7  � � � � @  @ � && � @ æ � " � t+  * � � %  ž + � � � � + � 5 SQL L (2) * & & %  + � � � � + � Java, COBOL, C/C++ > � � � @ & L � & � 7 gV � ) @ � � � � Û æ � � � ! � t X { * SQL t � � � ž + (access path) Q � Note O � > � � � � � � Û æ � � � � � 8 ç , * , � 8 6 SQL & 0 { * � & & & � � � � & &  0 { * ( Q )  � � % ž � � Œ � � ž � � 1 0 { * , q + � � � � � � , ( Q , Q , Q , Q , 2 � Q ) Q CREATE SCHEMA UNIVERSITY AUTHORIZATION SHLEE ; S  � � CREATE SCHEMA  CREATE DATABASE     SQL q x � � � � � � � � Û æ Information_schema : O > � � Û æ D � & � æ � � ÿ Ù æ D � � ð Ù æ D � � � Ù æ L � � & � � g @ � V @ � � � @ æ D � � ! � 7 0 { * � (1) 9 y CREATE DOMAIN Q _ X | _ Q [ 2 � _ Q ] [ Q � _ Q � � _ X { ]; ex) CREATE DOMAIN Dept CHAR (4) DEFAULT '??? CONSTRAINT VALID-DEPT CHECK ( VALUE IN ('COMP', 'ME', 'EE', 'ARCH', '???'));...
View Full Document

This note was uploaded on 11/03/2009 for the course CS db taught by Professor Prof.kim during the Fall '09 term at 홍익대학교.

Page1 / 62

ch06 - 6. SQL 2 SQL L � � SEQUEL(Structured...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online