Welcome -
Guest!
Login
/
Register Now
|
Search:
Home
Articles
Forum
Interview FAQ
Activities
News
Videos
Poll
Links
People
Groups
Oracle Articles
Submit Article
Home
»
Articles
»
Oracle
»
Data Definition Lang
RSS Feeds
CREATING A TABLE FROM A TABLE
Posted By:
Matheus Silva
Category:
Oracle
Views:
2054
This article provides an example of CREATING A TABLE FROM A TABLE.
Customer - orders - salespeople database
CREATING A TABLE FROM A TABLE
CREATE TABLE Ahmd_Salespeople(snum,sname,city) AS (SELECT snum,sname,city FROM Salespeople WHERE city='ahmd');
SELECT * FROM Ahmd_Salespeople;
Share:
Previous Post:
ORACLE DATATYPES
Next Post:
EXISTS OPERATOR
Didn't find what you were looking for? Find more on
CREATING A TABLE FROM A TABLE
Or get
search suggestion and latest updates
.
Matheus Silva
author of CREATING A TABLE FROM A TABLE is from Salvador,
Brazil
.
View All Articles
Related Articles and Code:
Example to create table based on existing table
Example to create table, primary key and foreign key in student, course and SC tables
Example to insert records of one table to another table
Example to delete records of customer table which are in Gujarat_cust table
Example of Create Table
CREATE TABLE
Program to accept a name from the user and check whether the name is present in the defined table, If not present then insert the name in the table
Program of multiplication table
Program to prepare Square Root Table
PROGRAM TO COMPUTES AND PRINTS A TABLE OF FACTORIALS OF ANY GIVEN M
Transfer Data of Table from One Database to Another
Program to Describe The Functionality of the two dimention table
Program to describe the Functionality of the table by using File
Program to describes the use of Tables with INPUT Clause
Program to display multiplication table
Program to save the Interrupt Vector Table (IVT) in a file
Program to read the Partition Table Information of Drive C using biosdisk( ) function
Program to read a Non Linear Function, construct and display the Difference Table
Program to print table of values of the function y = e raise to -x
Program to input matrix table
Other Interesting Articles in Oracle:
ALTER USER
Display highest item price of item table using max() function
Write a query to find the last day of the month
Display customers detail in a ascending order of customer name using order by clause in a select query
Display invoice dates in 'month dd,yyyy' format
SELECT
Cursor to update salary details of an employee
Example to add constraint of primary key in a table
Example to find total value of each item based on current stock using multiplication operator in select query
Display total number of items ordered in each invoices
ALTER DATABASE
Display item details in descending order of item price using order by clause in select query
FETCH
WHERE clause
ANY operator
Write a query to change the case of strings using lower and upper function
Display total of each invoices
VIEWS
using NOT EXISTS
Customer - orders - salespeople database
Please enter your Comment
*
*
Comment should be atleast 30 Characters.
Please put code inside [Code] your code [/Code].
Please login to post comment
No Comment Found, Be the First to post comment!
Oracle
View All
Aggregate Functions
Analytical Functions
Common Statements
Constraints
Cursor
Data Control Language
Data Definition Lang
Data Manipulation Lang
Data Type
Database
Date Time Functions
Functions
Index
Interview FAQ
Joins
Math Functions
Operators
Select Query
Sequence
Stored Procedures
String Functions
Sub Query
System Functions
Transaction Control La...
Trigger
View
Assembly Language
Artificial Intelligence
C Programming
C++ Programming
Visual C++
OOAD
Cobol
Java
SQL Server
Asp.net MVC
Rest and WCF Services
Entity Framework
Knockout.Js
Unix / Linux / Ubuntu
Networking
OOPs Concept
HTML
Dos
SQL
System Analysis & Design
Gadgets
Internet
CSS
Javascript
.Net Framework
Asp.net
C#
VB.Net
Python
Perl
Software Engineering
RDBMS Terms
AJAX Framework
Design Pattern
UML
WPF
WCF
SEO
PowerShell
Visual Studio
WWF
BizTalk Server
Azure
General
Testing
Online Certifications
PHP
My SQL
LinQ
Project Management
Silverlight
XML
MS Office
Windows OS
DHTML
Sharepoint