This project demonstrates basic CRUD operations (Create, Read, Update, Delete) using:
- A relational database (SQL - MySQL)
- A NoSQL database (AWS DynamoDB)
It includes SQL query examples and a beginner-friendly DynamoDB key-value store created via the AWS Console.
CREATE TABLE employees (
id INT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(100),
position VARCHAR(100),
salary DECIMAL(10,2)
);INSERT INTO employees (name, position, salary)
VALUES
('Ada Lovelace', 'Software Engineer', 85000.00),
('Grace Hopper', 'Backend Developer', 92000.00),
('Linus Torvalds', 'System Architect', 110000.00),
('Margaret Hamilton', 'Lead Engineer', 100000.00),
('Tim Berners-Lee', 'Web Developer', 95000.00),
('Donald Knuth', 'Algorithm Expert', 98000.00),
('Barbara Liskov', 'Computer Scientist', 105000.00),
('Alan Turing', 'Cryptanalyst', 115000.00);-- View all employees
SELECT * FROM employees;
-- Find a specific employee
SELECT * FROM employees WHERE name = 'Grace Hopper';-- Update salary of a specific employee
UPDATE employees
SET salary = 95000.00
WHERE name = 'Grace Hopper';-- Delete employees with salary below 90,000
DELETE FROM employees
WHERE salary < 90000.00;If you get an error like
Error Code: 1175, disable "Safe Updates" in MySQL Workbench: Preferences → SQL Editor → Uncheck "Safe Updates" → Reconnect
- Log in to AWS Console
- Search for DynamoDB and open it
- Click “Create table”
- Table name:
KeyValueStore - Partition key:
Key(Type: String)
- Table name:
- Click “Create table”
- Go to the
KeyValueStoretable → Items tab → Create item - Use JSON or form view:
{
"P_Key": "name",
"pets": "Precious Nife"
}- Go to Query tab
- Search with:
Key = pets
- Go to Items tab → Select item → Click Edit
- Change value and click Save
- Select item → Click Actions → Delete item
- Practiced basic SQL operations
- Set up a DynamoDB key-value store via AWS Console
- Learned to perform Create, Read, Update, Delete operations on both systems






