தமிழில் - Evaluate Boolean Expression | Advanced SQL Interview Questions | FAANG Interview | SQL

Поділитися
Вставка
  • Опубліковано 2 лип 2024
  • Video 308: This is the 10th video of the SQL Interview Question series.
    00:00 - Introduction to dataset and Question
    03:25 - Code Explanation
    12:30 - Conclusion
    We are given two tables Variables and Expressions
    Variables table has the variable name and values
    name is the primary key for this table.
    Expressions table contains a variable name and operator.
    column (left_operand, operator, right_operand) is the primary key for this table.
    operator is an enum that takes one of the values ('GT', 'LT', '=')
    This table contains a boolean expression that should be evaluated.
    The values of left_operand and right_operand are guaranteed to be in the Variables table.
    We are asked to Evaluate the boolean expressions in Expressions table.
    To solve this problem, we need to evaluate each boolean expression in the Expressions table using the values from the Variables table. We can achieve this by joining the Variables table twice to get the values for the left_operand and right_operand and then evaluating the expressions.
    For a comprehensive understanding of these SQL methodologies and their application, please refer to this explanatory video.
    code: github.com/jeganpillai/adv_sq...
    Follow me on,
    Website : growwithdata.co/
    UA-cam : / @growwithdata
    TikTok : / growwithdata
    LinkedIn : / growwithdata
    Facebook : / growwithdata.co
    FB Group : groups/datainterviewpreparation
    twitter : / growwithdata_co
    Instagram : / growwithdata.co
    WhatsApp : whatsapp.com/channel/0029VaF8...
    TheWide : thewide.com/profile/891
    #sql #dataengineers #tablejoins #ceil #floor #bucket #meta #google #facebook #apple #paypal #netflix #amazon #deinterview #sqlinterview #interviewquestions #leetcode #faang #maanga #mysql #oracle #dbms #query #sqlserver #mysql #coderpad #aggregates #aggregation #nonaggregation #database #placementpreparation #lead #lag #windowsfunction #nullcheck #coalesce #sqlperformance #ifnull #case #lead #lag #windowsfunction #tamil #tamilpython #tamilinterview #tamilinterviewlatest #tamilinterviewquestions #sqlintamil

КОМЕНТАРІ • 1