Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get result by multiple index #79

Open
Insua opened this issue Sep 5, 2020 · 2 comments
Open

How to get result by multiple index #79

Insua opened this issue Sep 5, 2020 · 2 comments

Comments

@Insua
Copy link

Insua commented Sep 5, 2020

Like sql "SELECT * FROM table WHERE A=1 AND B=2"

@TheWinds
Copy link

hello,to slove this problem you can use the CompoundMultiIndex.
if you want the program automic decide which index to choose,you should implement index match by yourself and then filter the reuslt for the field which not matched.

@AhmedSiddiquibBenchMatrix

How to use group by clause in memdb like
SELECT SUM(CLIENT.TRANSACTIONS.TRANSACTION_AMT) TOTAL_AMOUNT,COUNT(CLIENT.TRANSACTIONS.TRANSACTION_ID) NO_OF_TRANACTIONS,CLIENT.TRANSACTIONS.CUSTOMER_ID
FROM CLIENT.TRANSACTIONS GROUP BY CLIENT.TRANSACTIONS.CUSTOMER_ID
I want to execute this query but how to do this in memdb

absolutelightning added a commit that referenced this issue Jul 20, 2024
* optmized seekprefix watch

* clone fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants