Can someone throw me a bone...help pls.

Posts   
 
    
MarcoP avatar
MarcoP
User
Posts: 270
Joined: 29-Sep-2004
# Posted on: 23-Apr-2010 19:13:47   

I am new to Linq and I am having trouble constructing the following query. Any help would b great!


select 
    ucs.actualvalue,
    sum(t.quantity)
from
    userprofile u inner join
    user_customsetting ucs on u.userid = ucs.userid inner join
    customsetting cs on ucs.customsettingid = cs.customsettingid left join
    [transaction] t on t.userid = u.userid
where
    cs.customsettingnm = 'User_LeaderBoardName'
group by
    ucs.actualvalue

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 23-Apr-2010 21:58:48   

What do you have so far? Have you checked the examples in LLBLGen installation folder SourceCode/LinqUnitTests ?

David Elizondo | LLBLGen Support Team