Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Unable to execute Inner join

$
0
0

Hi All,

 

I have executed the below query and the validation is failed because of Invalid table name. But I have created both the tables Customer and Sales_Order .I have checked the data inthose tables also. But not sure why this error is coming.

 

SELECT T2."OrderID", T1."CustomerID", T1."CustomerName", T2."Product", T2."Total_Units"

     from "CUSTOMER" AS T1

        INNER JOIN

    "SALES_ORDER" AS T2

        ON T1."CustomerID" = T2."CustomerID";

 

Error:

Could not execute 'SELECT T2."OrderID", T1."CustomerID", T1."CustomerName", T2."Product", T2."Total_Units" from ...' in 3 ms 270 µs .

SAP DBTech JDBC: [259] (at 145): invalid table name:  Could not find table/view SALES_ORDER in schema XXXX: line 4 col 8 (at pos 145)

 

Please help me on this.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>