Learn SOQL in Salesforce Development |LockdownLearning Day 2|Tutorials for beginners by Shrey Sharma

Поделиться
HTML-код
  • Опубликовано: 10 дек 2024

Комментарии • 34

  • @swaathikr6923
    @swaathikr6923 4 года назад +2

    Hi Shrey, Kindly give us some updates regarding PD1 certification contents.

  • @vinayakwalhe9130
    @vinayakwalhe9130 4 года назад

    Start from 3:11

  • @revanthkumar6735
    @revanthkumar6735 4 года назад +1

    Thank you Shrey

  • @ravinderkd
    @ravinderkd 4 года назад

    Can anyone share Aman Pathak's answer for Day-2 Challenge here. I couldn't able to see his answer in comments

  • @sruthinikomaragiri9291
    @sruthinikomaragiri9291 4 года назад +1

    Hii shrey, can you start teaching Salesforce admin plz ..

    • @SalesforceHulk
      @SalesforceHulk  4 года назад

      Coming up a series for it. WIll be posted in 2 days

  • @shubhamrahud9211
    @shubhamrahud9211 4 года назад

    Hii Could upload video about design multiple assessments by configuring assessment questions.

  • @yuvrajsinghshekhawat7146
    @yuvrajsinghshekhawat7146 4 года назад +1

    Hi, I am waiting for SOQL challange, and I am very excited to win Salesforce hulk t-shirt 😊 .... please update challenge link.....

  • @latarishabh
    @latarishabh 4 года назад

    Really very useful... Thanks Shrey

  • @sheetalk7528
    @sheetalk7528 4 года назад +3

    Shrey can we have some salesforce videos with respect to testing and how can we automate tests for the business process. Thanks!

  • @harshpanchamiya6533
    @harshpanchamiya6533 4 года назад

    Answer to the Challenge:
    Answer to 1st question:
    List agg = [select SUM(Amount),CALENDAR_YEAR(CreatedDate)
    from Opportunity
    where (Amount != null) AND
    (StageName ='Closed Won' OR StageName ='Closed Lost')
    AND OwnerId= :UserInfo.getUserId()
    Group by CALENDAR_YEAR(CreatedDate)] ;

    for(AggregateResult a:agg)
    {
    System.debug('Sum= '+(Decimal) a.get('expr0'));
    System.debug(' Year= '+(Integer)a.get('expr1'));
    }
    Answer to 2nd question:
    public static void fun2 (String firstDate,String SecondDate){
    Date one = Date.valueOf(firstDate);
    Date two = Date.valueOf(SecondDate);
    List lst = [Select o.Name,o.CloseDate from Opportunity o
    where o.CloseDate > :one
    AND o.CloseDate < :two
    AND o.Owner.FirstName='Saurman'
    AND o.Owner.LastName='D\'souza' ];
    for(Opportunity opp :lst)
    {
    System.debug(opp);
    }
    }

  • @rajeshshaw2002
    @rajeshshaw2002 4 года назад

    Hi Shrey, can you please dive little deeper into these topics .It would be a great help for all of us.

  • @phanikumar3335
    @phanikumar3335 4 года назад

    SOQL full form Salesforce Object Query Language sir

  • @shreyachoithani3334
    @shreyachoithani3334 4 года назад

    Hello Shrey,
    Thank you for the initiative!
    I am a Salesforce Certified Admin (2X). So these videos will be very helpful for me to start learning development.
    I have a doubt on one of the topic - SOQL Variable Binding.
    In the end why did we System Debug the conlist2 with the index 0?
    Than you!

    • @rajeshshaw2002
      @rajeshshaw2002 4 года назад +3

      So that we can print the details of first index of conlist2 . The list can have more than one records but here we are printing only first record.

  • @lovefrommars7468
    @lovefrommars7468 3 года назад +1

    Mic ka issue solve karo yar

  • @anandkapkar7156
    @anandkapkar7156 4 года назад

    Bro i m waiting for this topic.... Thnks.

  • @sflearner9388
    @sflearner9388 4 года назад

    Challenge 1 : SOQL Answer
    SOQL Assignemnet
    Assignemnet 1:
    String userid = userinfo.getuserId();
    List agg = [SELECT SUM(Amount) ,CALENDAR_YEAR(CreatedDate)
    FROM Opportunity
    WHERE ownerId=:userid and (stagename='Closed won' or stageName='Closed Lost') group by CALENDAR_YEAR(CreatedDate)] ;
    Map sumtoYear = new Map() ;
    for(AggregateResult a : agg){
    sumtoYear.put((Integer)a.get('expr1') ,(Decimal) a.get('expr0')) ;
    }
    System.debug('sumtoYear'+sumtoYear);
    Assignemnet 2:
    Public static void method2(date dateparam1,date dateparam2 )
    {
    List oppLst = [Select CreatedDate, Id, LastModifiedDate from Opportunity where CreatedDate >: dateparam1 and CreatedDate

  • @shreyagoyal2585
    @shreyagoyal2585 4 года назад

    SOQL1 -
    SELECT SUM(Amount), FISCAL_YEAR(CreatedDate) FROM Opportunity WHERE IsClosed=true AND Ownerid=: UserInfo.getUserId() group by FISCAL_YEAR(CreatedDate)
    SOQL2-
    String ownername='Saurman D\'Souza'
    SELECT Name FROM Opportunity WHERE CloseDate>=:firstDate AND CloseDate

  • @farahghanem3387
    @farahghanem3387 4 года назад

    I loved your admin videos and learned alot from them .. but after watching this one i'm a little disappointed .. I thought it would have more details and examples .. even the trailhead module has more content than this one .. please work on this

    • @SalesforceHulk
      @SalesforceHulk  4 года назад +1

      Thanks for the feedback, Farah!
      I will try to make these live sessions more detail in the available time that I have.

    • @farahghanem3387
      @farahghanem3387 4 года назад

      Thank you sir

  • @shaliniyadav8393
    @shaliniyadav8393 4 года назад

    Y do u fumble so much 😄

  • @reflectionstillz
    @reflectionstillz 4 года назад

    Why does he go blank finding simple words ?