- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Merging 2 tables with similar column name SAP HANA database
This can be done by using UNION or UNION ALL operator as follows
select id, Empl_name, DeptId from table1 union select id, Empl_name, DeptId from table2
The difference between UNION and UNION ALL is that UNION removes the duplicates while UNION ALL shows duplicates as well.
- Related Articles
- Unloading tables in SAP HANA database
- Checking tables in a schema in SAP HANA database
- Creating column table in SAP HANA database
- Using column base tables in SAP HANA Calculation view with Star Join
- Creating Index in Column based tables in SAP HANA
- Advantages of using Column based tables in SAP HANA
- Maximum Column name length in SAP HANA
- Comparison of SAP HANA with conventional database
- SAP HANA Modeling on top of row and column base tables
- SAP HANA database functions in HANA Cockpit
- Differentiating between row and column store table in SAP HANA database
- Understanding a database view in SAP HANA database
- Finding a database view in SAP HANA database
- Using database view in SAP HANA
- Dropping a SAP HANA database view

Advertisements