It is possible to create a nested SQL query for a report?

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
Paul_Atreides
Posts: 1
Joined: Wed May 14, 2014 7:21 pm

It is possible to create a nested SQL query for a report?

Post by Paul_Atreides »

Hello to everybody. I am newby on this forum but I have been working with iX-Developer for about two years. I am wondering if it is possible to do a nested SQL query in a .xls template in order to create a report in Excel. I´ve been studying some examples about xls template but I never seen a nested query, it is possible to do that? If it is possible please give one example to get the idea.
My thanks in advance. ;)

User avatar
Russ C.
Posts: 213
Joined: Thu Nov 16, 2017 3:32 pm
Contact:

Re: It is possible to create a nested SQL query for a report

Post by Russ C. »

A nested query as in

Code: Select all

SELECT id FROM users WHERE id IN (SELECT DISTINCT user_id FROM user_orders)?
Best regards,

Russ
(801) 708-6690
Technical Support
Contact Us

Beijer Electronics AB
http://www.beijerelectronics.us

Post Reply