从多个表创建一个表而不影响数据仓库

时间:2019-09-16 08:33:31

标签: qlikview

我想从多个表中在qlikview中创建一个表,而又不影响数据仓库。还可以找到合成密钥以及如何删除它们。

empLeave:     
LOAD SickLeaveHours ,     
    VacationHours ;     
SQL SELECT SickLeaveHours,     
    VacationHours     
FROM databaseConnection;     



empDetails:      
LOAD BirthDate,     
    EmployeeID ,     
    Gender,      
    Title;      
SQL SELECT BirthDate,     
    EmployeeID,     
    Gender,     
    Title      
FROM databaseConnection;     


empAddress:     
LOAD AddressID,     
    ModifiedDate;     
SQL SELECT AddressID,    
    ModifiedDate     
FROM databaseConnection;     

empDepartment:     
LOAD DepartmentID,     
    GroupName,     
    Name;     
SQL SELECT DepartmentID,     
    GroupName,     
    Name     
FROMdatabaseConnection;      

empRate:    
LOAD PayFrequency,    
    Rate;      
SQL SELECT PayFrequency,     
    Rate     
FROM databaseConnection;     


empshift:     
LOAD EndTime,    
     Name as name,    
     ShiftID,    
     StartTime;    
SQL SELECT EndTime,    
    Name,   
    ShiftID,   
    StartTime    
FROM databaseConnection;    
//need to make newtable with EmployeeiD,ShiftID,Vaccationhours, SickleaveHours,departmentID

需要使用小数位数使表命名为newtable

EmployeeID     
ShiftID    
Rate 
SickLeaveHours     
VacationHours
DepartmentID

0 个答案:

没有答案