Basic of SOQL and SOSL in Salesforce | SOQL Crash Course | DAY 4 Part 1

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 พ.ย. 2024

ความคิดเห็น • 82

  • @apexhours
    @apexhours  2 ปีที่แล้ว +2

    Check this post to PPT and code for this session www.apexhours.com/soql-sosl-dml-in-salesforce/

  • @prajwalsrinivas5157
    @prajwalsrinivas5157 2 หลายเดือนก่อน

    This is the best no non-sense tutorial I have come across for the first time. You guys have done a fabulous job in teaching us in a way we all can understand. We need more instructors like you.

  • @testmovies09
    @testmovies09 2 ปีที่แล้ว +6

    All Lectures are really align and proper learning path.. Great work by Apexhour team.. Content like this not even explained in paid courses also. Thank you guys.

    • @AnnaSzabo
      @AnnaSzabo ปีที่แล้ว

      These teachers and content designers deserve the BEST OF THE BEST AWARD 🥇

  • @markusw7833
    @markusw7833 ปีที่แล้ว +1

    Some of these videos have good breakdowns of what's essential. Useful.

    • @apexhours
      @apexhours  ปีที่แล้ว +1

      Glad it was helpful!

  • @arunaanala8992
    @arunaanala8992 4 ปีที่แล้ว +5

    Your Lectures are awesome please make course for certification on PD1

    • @apexhours
      @apexhours  4 ปีที่แล้ว +3

      This course will cover lots of topic but we will plan one soon for PD1 exam as well.

  • @michaeljjan6344
    @michaeljjan6344 2 ปีที่แล้ว +2

    For 32:30, did you create the account_name__C object off-screen? For my demo, it exists in the account, but not in opportunities.

  • @SalesforceUSA
    @SalesforceUSA 2 ปีที่แล้ว

    Good video. I recommend it.

  • @FirstLast-cy8og
    @FirstLast-cy8og 3 ปีที่แล้ว +1

    Exactly what I was looking for

    • @apexhours
      @apexhours  3 ปีที่แล้ว

      Keep watching

  • @vinuvarghese2851
    @vinuvarghese2851 4 ปีที่แล้ว +1

    Excellent presentation

    • @apexhours
      @apexhours  4 ปีที่แล้ว

      Glad you liked it

  • @claudiacontreras33
    @claudiacontreras33 2 ปีที่แล้ว +3

    This is really good! Thank you!

    • @apexhours
      @apexhours  2 ปีที่แล้ว

      Keep watching

  • @ahmetkilicer4531
    @ahmetkilicer4531 ปีที่แล้ว

    Great Content, Thanks guys!!

  • @revanthkumar6735
    @revanthkumar6735 4 ปีที่แล้ว +2

    Thank you so much sir, helpful video

    • @apexhours
      @apexhours  4 ปีที่แล้ว

      Happy to help. Keep watching

  • @kaszaspeter77
    @kaszaspeter77 2 ปีที่แล้ว

    What is "less" or "more" in query cost? Is 1 a good value? What is a good range?

  • @sophieyyyhh0057
    @sophieyyyhh0057 2 ปีที่แล้ว +3

    Excellent teaching sir👌👌👌
    Also could u pls make session on copado tutorials?

  • @kratigupta7051
    @kratigupta7051 3 ปีที่แล้ว +1

    Very Helpful video

    • @apexhours
      @apexhours  3 ปีที่แล้ว

      Glad you think so!

  • @CastorPolux74
    @CastorPolux74 5 หลายเดือนก่อน

    Excelente. Gracias.

    • @apexhours
      @apexhours  5 หลายเดือนก่อน

      Thanks

  • @AnnaSzabo
    @AnnaSzabo ปีที่แล้ว +1

    This is so helpful! Thank you 😊

    • @apexhours
      @apexhours  ปีที่แล้ว +1

      Keep watching

    • @AnnaSzabo
      @AnnaSzabo ปีที่แล้ว

      @@apexhours I am! 🙂

  • @sudeepreddy8066
    @sudeepreddy8066 4 ปีที่แล้ว

    Q) 1:09:11 Why did u use String s = 'Acme'; (What is the significance of 'string s' over SOQL in for loop iteration)

    • @apexhours
      @apexhours  4 ปีที่แล้ว

      Can you please post full code here

  • @heikokraemer2735
    @heikokraemer2735 4 ปีที่แล้ว +3

    An other great session - thank you guys!!
    One question: The child record query from 1:06:30 - could we use that to initiate a map instead of list? How to write that?

    • @apexhours
      @apexhours  4 ปีที่แล้ว +1

      Can you please share the code ?

    • @heikokraemer2735
      @heikokraemer2735 4 ปีที่แล้ว +1

      @@apexhours Yes, sure. The code shown in 1:06:30 is like this: List lstAcc = [SELECT Name, (SELECT Id, Name, CloseDate FROM Opportunities) FROM Account];
      I wonder if it's possible to use a map instead, where the AccountId is the key and Opportunities the values Map. Can I use a single Query to introduce a map? I believe not - but what do I know, I'm beginner …
      Have tried: Map lstAcc = [SELECT Id, (SELECT Id, Name, CloseDate FROM Opportunities) FROM Account];
      ERROR: Illegal assignment from List to Map
      Makes total sense … probably a dumb question … sorry, think I've answered it for myself 😅

    • @somyatiwari8870
      @somyatiwari8870 4 ปีที่แล้ว +1

      @@heikokraemer2735 i guess a bit of external processing you can do that
      Map accMap = [SELECT ID, (SELECT ID FROM OPPORTUNITY) FROM ACCOUNT] ;
      Map oppMap = new Map();
      for(Id accid : accMap.keySet())
      {
      Account acc = accMap.get(accid);
      If(oppMap.contains(accid))
      {
      LIST temp = oppMap.get(accid);
      Temp.addall(acc.opportunities);
      OppMap.put(accid, temp) ;
      }
      Kindly ignrke some basic mistake, wrote this on a phone....

  • @awesome_harish
    @awesome_harish 2 ปีที่แล้ว

    Cand we query the data definition of table like table name , column name , data type , size , etc

  • @vickyvijay1515
    @vickyvijay1515 4 ปีที่แล้ว +4

    Can post lighting videos

  • @KumarNaveennaveen
    @KumarNaveennaveen 3 ปีที่แล้ว

    If have created a report and report type contains Accounts, Custom object lets say B.
    I am filtering in report using Account record type and record type from B.
    COULD YOU PLEASE TELL ME HOW CAN WE WRITE A SOQL QUERY FOR THIS?? PLEASE

  • @rafaellopezreyes386
    @rafaellopezreyes386 4 ปีที่แล้ว +2

    One cuestion, you have a course complete for developers Salesforce?, thanks i liked this video

    • @apexhours
      @apexhours  4 ปีที่แล้ว +1

      Yes. Please check our developer playlist www.apexhours.com/apex-hours-for-students-developer-program/

  • @djtyros
    @djtyros 7 หลายเดือนก่อน +1

    Compared to the previous videos, i am struggling to understand this gentleman.

    • @apexhours
      @apexhours  7 หลายเดือนก่อน +1

      Sorry about that

    • @djtyros
      @djtyros 7 หลายเดือนก่อน

      @@apexhours thanks, that's ok. I'm listening over a few times to understand

  • @asish681
    @asish681 2 ปีที่แล้ว +1

    First of all thank you for this. This is really informative. But one thing wanna know that, you have used for loop under another for loop which is not a best practice. Let know if I am not wrong. Thanks

    • @apexhours
      @apexhours  2 ปีที่แล้ว

      You are correct . You should use map to avoid for loop inside for loop

    • @narenp8471
      @narenp8471 2 ปีที่แล้ว

      Can you please post the correct alternative code here! Thanks in advance

    • @shivanishikha8552
      @shivanishikha8552 2 ปีที่แล้ว

      @@narenp8471 did you get the answer?

    • @shivanishikha8552
      @shivanishikha8552 2 ปีที่แล้ว

      @@apexhours can you please share the alternate code ... Please

  • @devsharma8760
    @devsharma8760 3 ปีที่แล้ว +2

    Do you have a course complete for admin Salesforce?

    • @apexhours
      @apexhours  3 ปีที่แล้ว

      check here www.apexhours.com/salesforce-apex-hours-for-students/

  • @yatin1370
    @yatin1370 ปีที่แล้ว

    SOSL could have been elaborated more. It was rushed. Rest was explained good.

  • @narinari9595
    @narinari9595 3 ปีที่แล้ว +1

    excellent

    • @apexhours
      @apexhours  3 ปีที่แล้ว

      Glad it was helpful! keep watching

  • @AnnaSzabo
    @AnnaSzabo ปีที่แล้ว +1

    I want to send you some money as a thank you. Typically, there’s a THANK YOU button on a monetized channel where a viewer like me can click and send you cash 💰 Why don’t you have the THANK YOU button to accept money from grateful viewers? I’ve learned so much, I’m so grateful 😇

    • @apexhours
      @apexhours  ปีที่แล้ว +1

      Thank you so much for your kind words. Your appreciation is more then money for us.

    • @AnnaSzabo
      @AnnaSzabo ปีที่แล้ว

      @@apexhours Understood. Well... in that case, please accept $10000000 worth of my appreciation ❤

  • @HIMANSHURISHUSINGH
    @HIMANSHURISHUSINGH 4 ปีที่แล้ว +1

    niceee

  • @vaishnavi36
    @vaishnavi36 4 ปีที่แล้ว +1

    Thank you!!

    • @apexhours
      @apexhours  4 ปีที่แล้ว

      Glad you liked it

  • @sai.kumarpogula3335
    @sai.kumarpogula3335 3 ปีที่แล้ว +1

    When i was trying same Query i am getting unknown parse error and something Aggregate parse error could you help me this error

    • @apexhours
      @apexhours  3 ปีที่แล้ว

      Can you please share more detail like code and etc

  • @kiranvrao9714
    @kiranvrao9714 10 หลายเดือนก่อน

    T hank you

    • @apexhours
      @apexhours  10 หลายเดือนก่อน

      Glad you like it

  • @SeekingSmiles236
    @SeekingSmiles236 ปีที่แล้ว

    SHello Sir can you help me with this?? Select AccountId,max(Amount) from Opportunity where AccountId = '0015i00000NCb9lAAD'
    group by AccountID
    I should get the result as 915000 but getting 91500 . Can you explain me why this is happening?

  • @vipinkumar-bd5ib
    @vipinkumar-bd5ib 3 ปีที่แล้ว

    at 32:24 how did you get the API name for Account Name in Opportunity because when i look in field and relationship for opportunity in object manager field Name for Account Name is AccountId. please explain i am new in salesforce and i am having hard time finding those value api name.

    • @m.p.5232
      @m.p.5232 3 ปีที่แล้ว

      He has created a custom field for that, you can see it from how the API name of the field ends

    • @sambitkumarnayak8041
      @sambitkumarnayak8041 3 ปีที่แล้ว +1

      AccountId is a standard field refers to the salesforce Id of the account but if you want to fetch any field values from child to parent you need to eliminate the Id key word and refer the account fields with Account.AccountfieldAPIname but if its custom field then you need to append __r.AccountfieldAPIname. So lets say if the custom lookup field API name is AccountId__c then you need to use AccountId__r.AccountfieldAPIname

  • @VipinSharma-oc3uu
    @VipinSharma-oc3uu 3 ปีที่แล้ว +1

    Sql and soql is same ?

    • @apexhours
      @apexhours  3 ปีที่แล้ว +2

      almost same.

    • @VipinSharma-oc3uu
      @VipinSharma-oc3uu 3 ปีที่แล้ว

      Can I be Salesforce engineer after pgdca

  • @madvillain6547
    @madvillain6547 3 ปีที่แล้ว +1

    32.48 I got some error

    • @apexhours
      @apexhours  3 ปีที่แล้ว

      what error you got ?

  • @akashsadhu1430
    @akashsadhu1430 ปีที่แล้ว

    sokel sosel

  • @shahidghafoor3541
    @shahidghafoor3541 3 ปีที่แล้ว

    Very boring

    • @apexhours
      @apexhours  3 ปีที่แล้ว +2

      Sorry about that. We will try to improve in future. Thanks for your feedback. Keep watching

    • @chrisw1898
      @chrisw1898 2 ปีที่แล้ว +3

      @@apexhours Don't listen to him. It's a very informative video. Thanks for putting out the content!