Question: Cl. Given a MySQL database called Company that contains a table called Employee defined as follows: Field ID Name Salary 10 Data type 3 digits

 Cl. Given a MySQL database called "Company that contains a table

Cl. Given a MySQL database called "Company that contains a table called "Employee" defined as follows: Field ID Name Salary 10 Data type 3 digits Up to 40 characters double Constraint Primary key and auto-increment The table "Employee" contains the following records: ID 1 2 3 4 5 Name Salem Ahmad Amal Fatma Abdullah Salary 800 1300 900 1600 960 a. Write a PHP script to delete the first employee (with ID-1). [5 marks] b. Write a PHP script to retrieve all records from the table Employee and display them as an HTML table

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!