💡 For the best experience, set your browser zoom level to 75%

    ‎75%‎ للحصول على أفضل تجربة، اضبط مستوى تكبير المتصفح على 💡

Skip to main content
Completion requirements

Lesson 16 - Assignment

1.    Create a MySQL database named company.

2.    Using Python and the pymysql module:

  • Connect to the MySQL server.
  • Create a table named employees with the following fields:
    • id (INT, PRIMARY KEY)
    • name (VARCHAR(50))
    • position (VARCHAR(50))
    • salary (FLOAT)

Insert at least 3 records into the employees table.