Home
Manage Your Code
Snippet: Creating table in teradat when one column is derived from other column (ActionScript)
Title: Creating table in teradat when one column is derived from other column Language: ActionScript
Description: when few columns are derived Views: 104
Author: satyakam rai Date Added: 2/3/2012
Copy Code  
create table  TBNAME as
(Select emp_num, manager_employee_number, job_code, last_name, first_name, 
salary, salary+5 (NAMED salary1), 
salary1*2 (NAMED salary2)
From DBNAME.TBNAME
where salary2 >2000 ) with data 
PRIMARY INDEX (emp_num) ;