Salesforce Object Query Language (SOQL) Crash Course | The Complete Hands-on Tutorials | In 1 Hour

Поділитися
Вставка
  • Опубліковано 9 лип 2024
  • SOQL in Salesforce is used to retrieve data from the Salesforce database for specific information. This video covers everything you need to know as a beginner to SOQL from writing your first SOQL query to making you interview ready.
    Check out my other crash courses -
    Salesforce Integration Crash Course: • Salesforce Integration...
    LWC Crash Course: • Lightning Web Componen...
    JS Crash Course: • Modern JS Crash Course...
    SLDS Crash Course: • SLDS Crash Course - Be...
    SOQL Reference Guide - developer.salesforce.com/docs...
    0:00 - What is SOQL? Why do we use it?
    1:15 - Demystify a SOQL query
    1:54 - How to build or write a SOQL query?
    3:21 - Project's object schema overview
    3:55 - Auto Build SOQL using Dev console
    5:29 - Query standard object records using SOQL (Write your first SOQL query)
    6:25 - Querying custom object's records using SOQL
    7:49 - Filtering records using SOQL (Using WHERE clause in SOQL)
    9:00 - AND Operator in SOQL (using multiple filter conditions)
    10:34 - OR Operator in SOQL
    11:28 - Using AND and OR operator together in SOQL
    13:45 - Using multiple OR conditions in SOQL
    14:50 - Using IN operator in SOQL (combining multiple OR conditions together in SOQL)
    16:03 - Using LIKE operator in SOQL (Finding close match records with SOQL)
    19:58 - ORDER BY clause in SOQL (Sorting records using SOQL)
    22:20 - Comparison Operators in SOQL (Equals, greater than, not equals, less than, etc)
    25:50 - Date Literals in SOQL (working with date fields in SOQL)
    28:53 - Using LIMIT keyword in SOQL (Limiting the number of records in resultset in SOQL)
    29:55 - OFFSET keyword in SOQL
    31:07 - Understanding Relationship Queries in SOQL (No join queries)
    33:55 - Getting Relationship Name for SOQL
    36:02 - Inner SOQL Queries on Standard Objects, Fetching Child Records along with Parent in SOQL (Parent to Child Relationship SOQL queries) - Standard Objects
    38:09 - Inner SOQL Queries on Custom Objects, Fetching Child Records along with Parent in SOQL (Parent to Child Relationship SOQL queries)
    41:47 - Child to Parent Relationship Queries on Standard objects
    45:47 - Child to Parent Relationship Queries on Custom objects
    49:00 - Advanced SOQL - GROUP BY Clause Overview
    50:17 - Using Aggregate Function in SOQL (MAX, SUM, AVG, MIN, COUNT functions) - Advanced SOQL
    52:47 - Aggregate functions with GROUP BY clause in SOQL
    About:
    Manish is a highly experienced Software Developer who has worked in big tech companies like Google and Salesforce. Presently he is associated with Amazon as SDE 2.
    He is on his journey to make everyone interview ready for the big 5 FAANG (Facebook, Amazon, Apple, Netflix, Google) companies. Check out his channel for comprehensive tutorials on various technologies and mock google/amazon interviews.
    🎓 My courses on Udemy (discounted links below):
    📹 The Complete Salesforce Development Course - www.udemy.com/course/salesfor...
    📹 The Ultimate Hands-On Lightning Web Component - www.udemy.com/course/lightnin...
    📹 The Practical Guide to SFDX and Salesforce CLI - www.udemy.com/course/salesfor...
    Follow SFDCFacts Academy:
    Website: sfdcfacts.com
    Facebook: / sfdcfacts
    Instagram: / sfdcfacts
    LinkedIn: / sfdcfacts
    Connect with Manish:
    / manish-choudhary
    Twitter: / sfdcfacts
    Become a patron and support my work here: / sfdcfacts
    #SalesforceIntegration #Api #Webservices
    #soql #salesforcetutorial #soqltutorial #sql

КОМЕНТАРІ • 123

  • @SFDCFacts
    @SFDCFacts  2 роки тому +9

    Do you find this video helpful? Here are my other crash courses you might be interested in:
    ⏭ Salesforce Integration Crash Course 🔗 ua-cam.com/video/2myol9hI28c/v-deo.html
    ⏭ LWC Crash Course 🔗 ua-cam.com/video/bLyAsIeDZtw/v-deo.html
    ⏭ Modern Javascript Crash Course 🔗 ua-cam.com/video/dY8li4JnoWQ/v-deo.html
    ⏭ SLDS Crash Course 🔗 ua-cam.com/video/HDsuCGbtqyk/v-deo.html
    ⏭ CSS Filter Crash Course 🔗 ua-cam.com/video/gx25xodfxY8/v-deo.html

    • @kmpkidsdance2195
      @kmpkidsdance2195 2 роки тому

      Can u plz explain lwc progress bar our own customization by using CSS or jquery

  • @demariotucker1176
    @demariotucker1176 2 роки тому +2

    Wow! Definitely some of the best Salesforce content I have encountered yet! Kudos my friend and thanks so much for creating this!

  • @ollenelsonhall7393
    @ollenelsonhall7393 Рік тому

    Fantastic tutorial, keep up the great videos!

  • @chrystalfreeland2862
    @chrystalfreeland2862 Рік тому

    This is an awesome tutorial! Thank you, this helps out a lot.

  • @Halil7236
    @Halil7236 Рік тому

    Great content, thank you for your time and effort. Much appreciated.🙏

  • @kittyvonrosco8116
    @kittyvonrosco8116 Рік тому

    I'm not very technical and this was very well explained with good examples. Thank you!

  • @thfeiroz76
    @thfeiroz76 Рік тому

    I find it much useful in understanding the SOQL topic for beginners. Your presentation is very good with examples. Thank you.

  • @ravirajadhalikar9679
    @ravirajadhalikar9679 2 роки тому

    Very useful, really liked it. Thank you :)

  • @guilhermesouza5366
    @guilhermesouza5366 Рік тому

    Awesome, find this course in a great time, it help me so much, thanks Manish!

  • @sanjaychari9666
    @sanjaychari9666 2 роки тому +1

    You explain it so well.

  • @rajeshbawge9250
    @rajeshbawge9250 Рік тому

    Very nice explanation with proper understanding if anyone have little bit confusion go through this video you can get each and everything without boring. thank you

  • @RandomGuy-hv7tb
    @RandomGuy-hv7tb 2 роки тому +7

    You're one of the best instructor, your udemy course resolved all my doubts.

  • @gsairamsai266
    @gsairamsai266 2 роки тому

    Thanks for the great tutorial on SOQL and its really worth of time...

  • @siddharthanks6843
    @siddharthanks6843 Рік тому

    this helped me brush up. Thanks a lot.

  • @saikumargummalla1709
    @saikumargummalla1709 2 роки тому

    THANK YOU SO MUCH MANISH YOUR SOQL CRASH COURSE HELPS ME ALOTTT

  • @ADITYASINGH-ih2hz
    @ADITYASINGH-ih2hz 2 роки тому +4

    Great crash course as always.
    Thanks, Manish sir .
    In the future, i would really like to see a crash course on Apex + SOQL.
    Please think about it.

  • @saniyahussain2159
    @saniyahussain2159 4 місяці тому

    What a video!
    I belong to a non tech background and the way you are breaking the thing into a simplified manner is just simply boosting my confidence and increasing my interest!!

  • @sivareddycrm
    @sivareddycrm 2 роки тому

    Thanks Manish for wonderful session. In future, I want to learn on list, Map, Set, multiple Maps,obects which are useful while writing apex.

  • @rupeshjha1929
    @rupeshjha1929 2 роки тому +5

    Thanks @ Manish for the wonderful crash-course. This 60 min video is a go to refresher for SOQL anytime for anyone

    • @SFDCFacts
      @SFDCFacts  2 роки тому +1

      Thanks Rupesh, glad you enjoyed it!

  • @swayanpravasahoo8735
    @swayanpravasahoo8735 2 роки тому

    wonderful Manish....very helpful

  • @irmak3885
    @irmak3885 2 роки тому

    Thank you so much. It is an amazing informative video. I love it. Please share more videos.

  • @antrasharma3580
    @antrasharma3580 2 роки тому

    Thank you so much, its really helpful.

  • @lifeinatl-vlog8001
    @lifeinatl-vlog8001 Рік тому

    the second half is a must watch!

  • @birendrachand5286
    @birendrachand5286 11 місяців тому

    Great Video !

  • @amuthak9513
    @amuthak9513 11 місяців тому

    you have explained very clear about the Concepts.Its very useful as i am beginner. Thanks for your content.

  • @gauravbhardwaj2588
    @gauravbhardwaj2588 2 роки тому +1

    Mast bhai. Thanks a lot. Please, make video on regular basis.

  • @rinkibiswas9760
    @rinkibiswas9760 Рік тому

    awesome video sir. being from non IT background I understood all very nicely

  • @fit.shubhh
    @fit.shubhh 2 роки тому +1

    Thanks a lot Manish Sir to provide such a great content🤩...

  • @anishroy8805
    @anishroy8805 2 місяці тому

    Great Explanation Manish bhai 😍

  • @sathishgopi3217
    @sathishgopi3217 7 місяців тому

    Such a Great Broh !!!

  • @ashishsahu1310
    @ashishsahu1310 2 роки тому

    Good content!!

  • @Vishal-cs8bp
    @Vishal-cs8bp 11 місяців тому

    Excellent Explanation

  • @zt3258
    @zt3258 7 місяців тому

    Thank you!

  • @anusha81
    @anusha81 2 роки тому

    Thanks a lot for this video 👍

  • @muralikrishna4243
    @muralikrishna4243 Рік тому

    Ya really use full course. And the way you explained is also very good tq for providing with such type of videos

  • @arnabsaha9483
    @arnabsaha9483 2 роки тому +5

    Keep Updating, Salesforce Development coarse please ... & Add more Coding Challenges in Apex

  • @ranvirk9039
    @ranvirk9039 2 роки тому

    Awsome video...thank you so much

  • @karthikdv158
    @karthikdv158 2 роки тому

    very much useful, Thank you so much

  • @vikassinghal7496
    @vikassinghal7496 2 роки тому

    Love you man

  • @damupawan2518
    @damupawan2518 Рік тому

    Thanks bro... really very helpful 🙂

  • @husnuozaltun3477
    @husnuozaltun3477 5 місяців тому

    Thank you brother.

  • @sravankumares7138
    @sravankumares7138 2 роки тому

    Awesome vedio thanks 😊

  • @yash25dec
    @yash25dec 2 роки тому

    I am admire of your work. There is only one correct Account object isn't the parent of contact/opportunity. there is a lookup relationship( with delete item checkbox). I too got to know it while checking something else.

  • @filmydetective3116
    @filmydetective3116 Рік тому

    Thank you..

  • @gauravpatil4930
    @gauravpatil4930 2 роки тому

    Thank you so much. It is an amazing informative video....Very Helpful

  • @BoomcoreIsLive
    @BoomcoreIsLive 2 роки тому

    Thanks for the great tutorial on SOQL

  • @kaishgupta4376
    @kaishgupta4376 2 роки тому

    How to fetch data when you have alphanumeric character by using like operator

  • @suhaskshirsagar5202
    @suhaskshirsagar5202 2 роки тому

    Nice explanation..👌👌

  • @manishamaradkar6023
    @manishamaradkar6023 Рік тому

    I cleared all my doubt ..thanks for the video...if possible make video on trigger in salesforce.

  • @madebyyasemin
    @madebyyasemin 2 роки тому

    hi i really enjoy while learning with your videos about Salesforce. Can you pls make next video about triggers

  • @learnwithtrailhead2856
    @learnwithtrailhead2856 2 роки тому

    Good one Manish, Keep posting such type of crash courses.
    I am looking for more interview series :P

    • @SFDCFacts
      @SFDCFacts  2 роки тому +1

      This will lead you to clearing an interview ;)

  • @meatswitch9572
    @meatswitch9572 2 роки тому

    This is the top recommended video on this subject, and I'm eager to learn, but I have a really bad auditory processing disorder and I can't understand most accents without asking for clarification. Can you please consider putting closed captions on videos like this?

  • @satoboshi11
    @satoboshi11 2 роки тому

    Thanks for the video! I have a question, I was running a parent-child query and get 50 records as results but when I run a report with the same filters and objects I get 75 records.
    Have this ever happened to you?

  • @riyazpasha6264
    @riyazpasha6264 2 роки тому

    nice explanation bro

  • @selsiaebanezar1308
    @selsiaebanezar1308 2 роки тому

    After querying I need the particular data in Excel what to do for that

  • @suneelkumar-kn4ds
    @suneelkumar-kn4ds 2 роки тому +1

    Hi, is it possible to write a comparision logic in where clause like if I want to get records WHERE ECM_PARTY_ID =ECM_ADDRESS_ROW_ID is it possible through SOQL query

  • @chinomsojohnson8746
    @chinomsojohnson8746 7 місяців тому

    I had an interview question where I was asked to write a soql query on the account field to retrieve all related contacts and I wrote this Select Id, Name (Select Id, Name from Contacts) from Account. The interviewer said it was wrong and we will need to loop through each account record to get the related contacts. Is there a better way to do this. I would love to know incase I see it again. I have gone online but I keep on seeing the same thing I did at the interview

  • @satyaprasad9371
    @satyaprasad9371 2 роки тому

    Super explanation

  • @user-qe2vi4ye9o
    @user-qe2vi4ye9o 2 місяці тому

    nice session

  • @divyasreemareedu7105
    @divyasreemareedu7105 6 місяців тому

    thanks Manish , liked the course. Could you please make a deeper course on relationship soql queries in combination with Apex

  • @shamisyed9285
    @shamisyed9285 2 роки тому

    How to download the columns names and data type in sales force

  • @omkarkulkarni9539
    @omkarkulkarni9539 Рік тому

    Hello Manish,
    Your Videos was awsome for better understanding related the salesforce core concept. but there one humble request to you, please create a crash course lecture video on Visualforce and Asynchrnous process.

  • @anmoldhanvijay2138
    @anmoldhanvijay2138 Рік тому

    What if we want data from a particular field who's having a self relationship. For now I'm able to get I'd only. Any tips for this ,

  • @Tanya-vr2um
    @Tanya-vr2um 2 роки тому

    the one who created his custom object how did he create the table which is the name and the data in city__s how did he create

  • @maruthisainath6080
    @maruthisainath6080 2 роки тому

    Awesome video sir.
    If possible please do video on apex Classes and triggers.

  • @Sai-Krishna786
    @Sai-Krishna786 Рік тому

    Useful

  • @vaibhavbhojne1446
    @vaibhavbhojne1446 Рік тому

    How to write soql query that will retrieve account having 2 contact and 2 opportunity

  • @vinitham8781
    @vinitham8781 2 роки тому

    Thank you so much for this sir, Can u do a video of FFLIB framework

  • @ramesha5243
    @ramesha5243 Рік тому

    Thank you very much, Excellent understanding very clearly, and I think you missed having aquery

  • @pratikshapatil6792
    @pratikshapatil6792 Рік тому

    Thank u

  • @debarunsengupta3555
    @debarunsengupta3555 2 роки тому +6

    I think it would be better if you can include having clause and polymorphic soql as well

    • @rajnishjha5817
      @rajnishjha5817 2 роки тому

      Yes, I thought there is no having clause as such in SOQL ...oh boy!!😆😅

  • @MD-fh4lb
    @MD-fh4lb 2 роки тому

    Good Course

  • @naveenkumar-ib4lm
    @naveenkumar-ib4lm 2 роки тому +1

    usefull information

  • @parvathymc138
    @parvathymc138 2 роки тому +4

    Hi, Thanks so much for detailed videos, could you please publish a video on end to end project explanation which covers all aspects like LWC, Apex programming wiht Triggers, Integration etc.

  • @sailakshmankanukollu5328
    @sailakshmankanukollu5328 2 роки тому +1

    How to get unique records in single query like we use distinct in Oracle

  • @SanamKarki
    @SanamKarki 2 роки тому +3

    Thank you so much for this. I would definitely love to see a course on APEX. Thanks.

  • @Abhishek-yb9kb
    @Abhishek-yb9kb 2 роки тому

    Thanks Manish, one doubt - can i fetch Account name from contact, maybe using inner qurey or in any other way

  • @a.k8058
    @a.k8058 5 місяців тому

    What is difference between SOQL and SQL both are same or different?

  • @ramireddygarivinaykumarred7261
    @ramireddygarivinaykumarred7261 2 роки тому

    Fantastic explanation Manish bro

  • @sandhyasrimahesh9918
    @sandhyasrimahesh9918 2 роки тому +1

    Super

  • @vinayhans161
    @vinayhans161 4 місяці тому

    Hi, Just completed this course and it is very helpful... having 1 question..while fetching data from parent to child soql query, the child data is in json format Because of multiple childs ...can we extract them in relational format??

  • @MD-fh4lb
    @MD-fh4lb 2 роки тому

    Hi Manish, can you write about how to know which profile have access to which objects ?

  • @tejachowdhary1159
    @tejachowdhary1159 2 роки тому

    hello Brother Excellent explanation. can you please make a crash course on TRIGGERS.

  • @saichakravarthi510
    @saichakravarthi510 2 роки тому +1

    superb bro

  • @SeekingSmiles236
    @SeekingSmiles236 Рік тому

    Hello Sir, Please help me understand 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?

  • @dsn910
    @dsn910 2 роки тому

    How to install this tool....

  • @rajeshbawge9250
    @rajeshbawge9250 Рік тому

    Pls you have to make videos on trigger if its already let me know.... Bcz your explanation is very useful
    thank you
    advance

  • @chandrabasetti4893
    @chandrabasetti4893 Рік тому

    How can we track that a user has used Salesforce inspector?

  • @srinivaschandika6153
    @srinivaschandika6153 Рік тому

    Very good Explanation, how to get distinct records using soql. kindly help me

  • @sanjaychari9666
    @sanjaychari9666 2 роки тому +1

    crash course on
    1. Triggers
    2. Apex
    3.Aura Component
    4. Asynchronous-batch Apex

    • @SFDCFacts
      @SFDCFacts  2 роки тому +2

      Thanks for the suggestions Sanjay!

  • @gauravbhardwaj2588
    @gauravbhardwaj2588 2 роки тому +2

    Bhai waiting. I have purchased your all course on udemy

    • @SFDCFacts
      @SFDCFacts  2 роки тому

      Great Gaurav, hope it is helping you by leaps and bounds

    • @gauravbhardwaj2588
      @gauravbhardwaj2588 2 роки тому

      Pl share ur what app no

  • @KumarNaveennaveen
    @KumarNaveennaveen 2 роки тому

    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

  • @ramesha5243
    @ramesha5243 Рік тому

    Could please make all complete course videos series for admin, Development , LWC, Integration for us please

  • @maheshb5703
    @maheshb5703 2 роки тому

    Great job brother. Help me to write this querry. SOQL for {list of accounts which should not have contacts}

    • @moneybee5228
      @moneybee5228 2 роки тому +1

      Select phone, name from account where phone=null or select name, account.name from contact where account.name=null

  • @user-js5ml8id9n
    @user-js5ml8id9n 2 місяці тому

    18:38 % is percentile, not ampersand (&).

  • @rohitpathak3192
    @rohitpathak3192 2 роки тому

    How to retrieve ALL CONTACTS FROM ALL ACCOUNTS IN A SINGLE SOQL ?

  • @tommykindle9774
    @tommykindle9774 Рік тому

    Link to your udemy course?

  • @arthisu8270
    @arthisu8270 2 роки тому

    I am from a non-IT field.Initally i didn`t understand anything in salesforce but now I am learning from your videos,its easy and faster than reading Salesforce help docs.

    • @SFDCFacts
      @SFDCFacts  2 роки тому

      Wow!! This means a lot to me. Best of luck Arthi!!

  • @naveenkumar-ib4lm
    @naveenkumar-ib4lm 2 роки тому +2

    I need test classes for apex classes

    • @SFDCFacts
      @SFDCFacts  2 роки тому

      Nice, write some then :) Just kidding buddy!!

  • @ADITYA-ui6mp
    @ADITYA-ui6mp Рік тому

    🤝👌