- Posts: 132
- Thank you received: 19
SQL statement question
- John Willems
- Topic Author
- Offline
- Premium Member
-
Less
More
4 years 8 months ago #140452
by John Willems
SQL statement question was created by John Willems
I need to create a custom report from using the Membership Pro database. The report needs to show a list of subscribers who paid sales tax last year. It needs to show the amount of the sales tax paid for our state. In looking at the MySQL data tables its is not apparent what tables/columns I would use to the pull the needed data.
I will assume I am not the only person who needs to do this so this probably has been answered. Can someone help get me pointed to the right directions concerning tables and columns?
Any help is appreciated.
I will assume I am not the only person who needs to do this so this probably has been answered. Can someone help get me pointed to the right directions concerning tables and columns?
Any help is appreciated.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
4 years 8 months ago #140462
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic SQL statement question
Hello John
I can only tell you the table is #__osmembership_subscribers. The columns you might need is created_date, tax_amount, gross_amount. Look at that table, you might need other columns, depends on your need
Regards,
Tuan
I can only tell you the table is #__osmembership_subscribers. The columns you might need is created_date, tax_amount, gross_amount. Look at that table, you might need other columns, depends on your need
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- John Willems
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 132
- Thank you received: 19
4 years 8 months ago #140498
by John Willems
Replied by John Willems on topic SQL statement question
Tuan
Thanks! this at least gives me a starting place to search for the data.
John W
Thanks! this at least gives me a starting place to search for the data.
John W
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
4 years 8 months ago #140499
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic SQL statement question
OK, Great.
Please Log in or Create an account to join the conversation.
- John Willems
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 132
- Thank you received: 19
4 years 8 months ago #140500
by John Willems
Replied by John Willems on topic SQL statement question
Update - With your help I was able to track down what I needed and create the report.
Thanks again!
Thanks again!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
4 years 8 months ago #140501
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic SQL statement question
Great. Happy to hear that.
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.