PROBLEM STATEMENT: We define an employee’s total earnings to be their monthly salary*months worked, and the maximum total earnings to be the maximum total earnings for any employee in …
PROBLEM STATEMENT: You are given a table, BTREE, containing two columns: Value and Parent, where ‘Value’ represents the value of a node in Binary Tree, and ‘Parent’ is the …
PROBLEM STATEMENT: one of the conglomerate corporations just acquired some new companies. Each of the companies follows this hierarchy. Given the table schemas below, write a query to print …
PROBLEM STATEMENT: The Trips table holds all taxi trips. Each trip has a unique Id, while Client_Id and Driver_Id are both foreign keys to the Users_Id at the Users …
PROBLEM STATEMENT: Given a text file file.txt, transpose its content. You may assume that each row has the same number of columns and each field is separated by the …
Problem Statement: Given a text file file.txt that contains list of phone numbers (one per line), write a one liner bash script to print all valid phone numbers. You …
Write a bash script to calculate the frequency of each word in a text file words.txt. words.txt contains only lowercase characters and space ‘ ‘ characters. Each word must …
The Employee table holds all employees. Every employee has an Id, and there is also a column for the Department Id. ID Name Salary DepartmentId 1 Joe 85000 1 …