Consider the following Employee Table and the SQL query given: id Date Work_hour 1 2020-10-18 8 1 2020-10-17 8 1 2020-10-16 9 2 2020-10-18 7 2…
Consider the following Employee Table and the SQL query given:
| id | Date | Work_hour |
| 1 | 2020-10-18 | 8 |
| 1 | 2020-10-17 | 8 |
| 1 | 2020-10-16 | 9 |
| 2 | 2020-10-18 | 7 |
| 2 | 2020-10-16 | 8 |
| 3 | 2020-10-16 | 6 |
SELECT id, sum(work_hour) from Employee Where Work_hour>6 Group BY ID;
How many rows are returned by the SQL query?
From the Janata Bank Assistant Network Engineer 2020 – Written exam, question 30 of 68.
More from this paper
- Previous: After a transaction completes successfully, the changes it has made to the database persist, even if there are system failures. This…
- Next: Suppose you need to assign IPv4 addresses to two computers of your company so that both computers belong to the subnet 255.255.255.240…
- All questions in Janata Bank Assistant Network Engineer 2020 – Written