No video

Evaluate Boolean Expression | Advanced SQL Interview Questions | Data Engineer Interview Question

  Рет қаралды 65

Grow with Data

Grow with Data

Күн бұрын

Video 307: This is the 10th video of the SQL Interview Question series.
00:00 - Introduction to dataset and Question
03:20 - Code Explanation
13: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/jeg...
Follow me on,
Website : growwithdata.co/
KZbin : / @growwithdata
TikTok : / growwithdata
LinkedIn : / growwithdata
Facebook : / growwithdata.co
FB Group : groups/datainterviewpreparation
twitter : / growwithdata_co
Instagram : / growwithdata.co
WhatsApp : whatsapp.com/c...
TheWide : thewide.com/pr...
#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

Пікірлер
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 48 МЛН
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 37 МЛН
Full SQL Crash Course - Learn SQL in 90 Minutes
1:28:09
NeuralNine
Рет қаралды 14 М.
The 25 SQL Questions You MUST Know for Data Analyst Interviews
32:47
KSR Datavizon
Рет қаралды 212 М.
5 Super Helpful DAX Tricks!
20:23
Goodly
Рет қаралды 10 М.
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 48 МЛН