31. |
Write SQL statements (Query) for following tables: Employee(EmpNo, EmpName, JoiningDate, Salary, City) DELETE ALL THE RECORDS OF EMPLOYEE TABLE HAVING SALARY GREATER THAN AND EQUALS TO 14000.
|
||||||||
Answer:
Option (a) |
32. |
Write SQL statements (Query) for following tables: Employee(EmpNo, EmpName, JoiningDate, Salary, City) DELETE ALL THE EMPLOYEES WHO BELONGS TO ‘RAJKOT’ CITY.
|
||||||||
Answer:
Option (c) |
33. |
Write SQL statements (Query) for following tables: Employee(EmpNo, EmpName, JoiningDate, Salary, City) DELETE ALL THE EMPLOYEES WHO JOINED AFTER 1-1-2007.
|
||||||||
Answer:
Option (b) |
34. |
Write SQL statements (Query) for following tables: Employee(EmpNo, EmpName, JoiningDate, Salary, City) DELETE ALL THE RECORDS IN WHICH EMPLOYEE NAME STARTS WITH ‘B’.
|
||||||||
Answer:
Option (d) |
35. |
Write SQL statements (Query) for following tables: Employee(EmpNo, EmpName, JoiningDate, Salary, City) DELETE ALL THE RECORDS OF EMPLOYEE TABLE. (USE TRUNCATE)
|
||||||||
Answer:
Option (a) |
36. |
Write SQL statements (Query) for following tables: Employee(EmpNo, EmpName, JoiningDate, Salary, City) REMOVE EMPLOYEE TABLE. (USE DROP)
|
||||||||
Answer:
Option (b) |
37. |
Write SQL statements (Query) for following tables: Employee(EmpNo, EmpName, JoiningDate, Salary, City) FIND ALL END OF MONTH OF DATE FOR JOININGDATE.
|
||||||||
Answer:
Option (c) |
38. |
Write SQL statements (Query) for following tables: Employee(EmpNo, EmpName, JoiningDate, Salary, City) FIND DIFFERENCE OF JOININGDATE INFORM OF MONTH WITH REFERENCE TO TODAY’S DATE.
|
||||||||
Answer:
Option (b) |
39. |
Write SQL statements (Query) for following tables: Employee(EmpNo, EmpName, JoiningDate, Salary, City) FIND DAY, MONTH & YEAR OF JOINING DATE WITH EMPLOYEE NUMBER.
|
||||||||
Answer:
Option (a) |
40. |
Write SQL statements (Query) for following tables: Employee(EmpNo, EmpName, JoiningDate, Salary, City) FIND ALL THE RECORDS IN WHICH DIFFERENCE OF JOININGDATE WITH TODAY’S DATE IS NOT MORE THAN 35.
|
||||||||
Answer:
Option (c) |