Ip Project - SQL Commands
Ip Project - SQL Commands
Command:
Command:
Q.3- Print the table.
Command:
Output:
Q.4- Write a command to select from employee where dept = sales.
Command:
Output:
Q.5- Write a command to select two columns from the employee.
Command:
Output:
Q.6- Write a command to select names starting with A.
Command:
Output:
Q.7- Count the number of rows in the table.
Command:
Output:
Q.8- double the salary of the employees.
Command:
Output:
Q.9- Write a command to sort the salary in descending order.
Command:
Output:
Q.10- Select the employee between the age of 25 and 30.
Command:
Output:
Q.11- Write a command to arrange the names in alphabetical order.
Command:
Output:
Q.12- Write a command to delete a row from the table.
Command:
Output:
Q.13- Use Describe command.
Command:
Output:
Q.14- Write a command to find the average salary of the employees.
Command:
Output: