Skip to content

calebkomen/database-wk-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 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 πŸš€

About

test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •