Entries by Oracle ERP Apps Guide

, , ,

Create TABLE

The CREATE TABLE statement allows you to create and define a table.The basic syntax for a CREATE TABLE statement is:    CREATE TABLE table_name    ( column1 datatype null/not null,      column2 datatype PRIMARY KEY,      column3 datatype PRIMARY KEY,      …    );Each column must have a datatype. The column should either be defined as “null” or “not null” and […]

, , ,

DDL statements

Data definition language (DDL) refers to the subgroup of SQL statements that create, alter, or drop database objects.This sub-category of SQL statements is of particular interest to database architects or database administrators who must define an original database design and who must respond to requirements and extend a database design. It is also of interest […]

, , ,

Multi row subquery

A multi row subquery   returns one or more rows.  Since it returns multiple values, the query must use the set comparison operators (IN,ALL,ANY).   If you use a multi row subquery with the equals comparison operators, the database will return an error if more than one row is returned. Exampe:select last_name from employees where manager_id in(select […]