Exercise 3
Exercise 3

First, i am going to download the test3.java file from GitHub.

Click save as and store the file into the exe3 folder.

Then I need to download the connector File the file I download is test3.java.txt but need test3.java so I'm going to convert the file using the move command.

Then open the test3.java into gvim editor firstly going to change the username and password because using the user root.

Here we create a table named student then insert data then update and delete going to insert one more student data into the student table.

I'm going to insert one more student data into the student table and store this query into the sq17 variable.

Then going to delete one record into the student table by using the DELETE command and store this query into the sq19 variable.

Going to execute the above commands and print the statement.

Then execute the query sq18.

Again execute the query Sq19 and write the commands for this.

After these changings save the file by clicking the save button.

Then complete the test3.java copy the command from the canvas and then copy the command to run the test3.java from the canvas.

After executing the run command a small error occurs.

Again open the gvim editor to fix the error and compile and run the test3.java at this time we get out the output table.