Skip to content

software-development-course-2025/database-wk-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📝 Assignment: Data Manipulation and Transactions

🎯 Learning Objectives

  • ➕ Create tables and define the structure of a database.
  • ✍️ Insert records into a table.
  • 🔄 Modify data in a table through updates.
  • 💻 Practice basic SQL operations that are fundamental to database management.

📋 What You'll Need

  • 💻 A computer with internet access.
  • ✍️ A code editor (e.g., Visual Studio Code).
  • 🖥️ MySQL Workbench or another SQL database environment.

📝 Submission Instructions

📂 Write all your SQL queries in the answers.sql file.
✍️ Answer each question concisely and ensure your queries are clear and correct.
🗣️ Structure your responses clearly, and use comments if necessary to explain your approach.


📚 Assignment Questions

Question 1 🧑‍🎓

Write an SQL statement to create a table named student with the following columns:

  • id (an integer and the primary key)
  • fullName (a text field with a maximum of 100 characters)
  • age (an integer)

Question 2 ➕

Write an SQL statement to insert at least 3 records into the student table.


Question 3 🔄

Write an SQL statement to update the age of the student with ID 2 to 20 in the student table.


Good luck 🚀


❗ Submission Note

Completion Date: 17-Sep-2025
Note: This assignment was completed after the official deadline (Wednesday, 20-August-2025).
It is being submitted solely for learning and practice purposes. I understand it will not be reviewed, but wanted to demonstrate completion and personal commitment to the course.

About

SQL solutions for the Data Manipulation and Transactions assignment. Includes table creation, inserts, and updates using MySQL.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published