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

1581. Customer Who Visited but Did Not Make Any Transactions #231

Open
onkar-kota opened this issue Oct 12, 2023 · 1 comment · May be fixed by #232
Open

1581. Customer Who Visited but Did Not Make Any Transactions #231

onkar-kota opened this issue Oct 12, 2023 · 1 comment · May be fixed by #232
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest hacktoberfest contributions

Comments

@onkar-kota
Copy link

Description

1581. Customer Who Visited but Did Not Make Any Transactions

Table: Visits

+-------------+---------+
| Column Name | Type |
+-------------+---------+
| visit_id | int |
| customer_id | int |
+-------------+---------+
visit_id is the column with unique values for this table.
This table contains information about the customers who visited the mall.

Table: Transactions

+----------------+---------+
| Column Name | Type |
+----------------+---------+
| transaction_id | int |
| visit_id | int |
| amount | int |
+----------------+---------+
transaction_id is column with unique values for this table.
This table contains information about the transactions made during the visit_id.

DSA Problem

Q. Write a solution to find the IDs of the users who visited without making any transactions and the number of times they made these types of visits.

Return the result table sorted in any order.

I want to solve this leetCode SQL query can you please assign me and label this as @Hacktoberfest

@onkar-kota onkar-kota added enhancement New feature or request good first issue Good for newcomers hacktoberfest hacktoberfest contributions labels Oct 12, 2023
@onkar-kota onkar-kota changed the title [ISSUE] - <title> 1581. Customer Who Visited but Did Not Make Any Transactions Oct 12, 2023
@onkar-kota onkar-kota linked a pull request Oct 12, 2023 that will close this issue
@Siddhesh-Agarwal
Copy link

I guess, the issue is closed now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest hacktoberfest contributions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants