Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Help with SQL Queries - Multiple Tables
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Help with SQL Queries - Multiple Tables
*
#51833
Help with SQL Queries - Multiple Tables 10 Years, 1 Month ago Karma: 0
Hi Guys,

I have ARI Data Tables installed and configured, but I'm having some troubles creating the SQL queries I need to generate a few reports.

I can get a string to show me data from one table, but I can't seem to create a statement that pulls information from two tables. The final issue is doing a little math on the data to have it display only records that fall within a certain date range. Here's two examples of what we are trying to do.

Can anyone help build these queries? Many Thanks!

New Members
Filter: members with a new subscription since a date we input. (If we can't have an input field, then the filter should be for a subscription any date within the current month.)
Display: userid, name, subscription(s), subscription date(s).

Modified Member Data
Filter: members with modified data in any field except subscription fields since a date we input. (example: we're looking for someone who changed their address, phone, etc.)
Display: userid, any field that was modified.

Thanks again!
The administrator has disabled public write access.
 
#51834
Re:Help with SQL Queries - Multiple Tables 10 Years, 1 Month ago Karma: 760
Hello,

It is possible to use JOIN construction to merge data from several tables.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1