Hi Lukas:

Great, thanks!  I will indeed give that a try!

Mike.


On Sunday, November 26, 2017 at 8:47:17 PM UTC-5, Michael Redlich wrote:
>
> Hello:
>
> I'm still new to jOOQ.  I'm trying to duplicate the following SQL 
> statement:
>
> String sql = "SELECT CONCAT(last_name,', ',first_name,' (home)') AS 
> name,home_email FROM attendees WHERE list = 1 UNION SELECT 
> CONCAT(last_name,', ',first_name,' (work)') AS name,work_email FROM attendees 
> WHERE list = 1";
>
> I've tried the *.union()* method in conjunction with *.selectFrom()* and with 
> *.select()* methods and still getting errors relative to types, etc..
>
> I would appreciate any help...thanks!
>
> Mike.
>
>

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to