Due on 2023-10-12, 23:59 IST
Complete the code segment to insert the following data using prepared statement in the existing table ‘PLAYERS’.
Column | UID | First_Name | Last_Name | Age |
Row 1 | 1 | Ram | Gopal | 26 |
Row 2 | 2 | John | Mayer | 22
|
Due on 2023-10-12, 23:59 IST
Write the required code in order to update the following data in the table ‘PLAYERS’.
Column | UID | First_Name | Last_Name | Age |
From | 1 | Ram | Gopal | 26 |
To | 1 | Rama | Gopala | 24 |
Due on 2023-10-12, 23:59 IST
Write the appropriate code in order to delete the following data in the table ‘PLAYERS’.
Column | UID | First_Name | Last_Name | Age |
Delete | 1 | Rama | Gopala | 24 |
Due on 2023-10-12, 23:59 IST
Complete the following program to calculate the average age of the players in the table ‘PLAYERS’.
Structure of Table 'PLAYERS' is given below:
Column | UID | First_Name | Last_Name | Age |
Type | Integer | Varchar (45) | Varchar (45) | Integer |
Due on 2023-10-12, 23:59 IST
Complete the code segment to drop the table named ‘PLAYERS’.
No comments