python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
HANA SQL Select table into variable and for loop issue
I have a table in HANA that has the following columns:
Customer(varchar), Day(varchar), Item(varchar), Quantity (decimal), Cost(decimal)
My goal is to have a sql procedure that will duplicate the tabl...
shaheed313
Votes: 0
Answers: 2
Divide the column into several, based on condition (SQL or Python)
Maybe some of you know how to solve my problem (Hana SQL or Python):
I have a column like this:
id
reason
1
1;2;3;5;6;7;8;10;13
2
1;2;4;5;6
3
4;7;8;9
4
1;2;3;10;11;12;13
5
2;4
And ...
Julia Lukach
Votes: 0
Answers: 1
union and select based on conditions
I have two tables SAP HANA.
I want to do a union of these two tables by selecting some common columns in the them.
Below are the things I want to satisfy while doing the union.
1) SELECT ALL product_k...
nmr
Votes: 0
Answers: 1
Get last value based on a condition on ordered table in SQL
I have a table representing product groups. Groups are defined by row number and their Type. Hence here we have 2 groups, the group is defined by the Type A, the Type B being components.
Row numbe...
tmhnr
Votes: 0
Answers: 1