Numbers game

 DROP TABLE IF EXISTS Employees;


CREATE TABLE Employees (

    id INT PRIMARY KEY,

    name VARCHAR(50),

    joiningdate DATE

);



INSERT INTO Employees (id, name, joiningdate)

VALUES

(1, 'Bob', '2020-03-22'),

(2, 'Alice', '2021-01-15'),

(3, 'Charlie', '2019-11-30'),

(4, 'David', '2022-07-19'),

(5, 'Eve', '2023-02-01'),

(6,'Chris', '2023-02-02');


SELECT * FROM Employees


Comments

Popular posts from this blog

50 Essential SQL Questions to Land Your Dream Job

How to find all the customers who placed orders on three consecutive days | SQL Scenario questions

ACCENTURE SQL INTERVIEW QUESTION | Change the ProductIDs