Skip to main content

12 docs tagged with "Database"

View all tags

Consecutive Numbers(LeetCode)

Given a table named Logs with two columns id and num we have to find all the numbers which are repeated three times consecutively.

Consecutive Numbers(LeetCode)

Given a table named Logs with two columns id and num we have to find all the numbers which are repeated three times consecutively.

Department Top Three Salaries(LeetCode)

Given two tables named Employee table with four columns named id, name, salary, departmentId and Department table with two columns named id, name we have to to find the employees who are high earners in each of the departments.

Human-Traffic-Of-Stadium

This question solve important question of sql which gives us knowledge about writing of sql command.

Top Travellers

This document provides solutions for the Kids With the Top Travellers problem.

Tree Node

SQL Schema: Given a table with nodes, write an SQL query to find all nodes which are the only child nodes.