Skip to content

Commit

Permalink
Add new mysql question 103 with image (#3830)
Browse files Browse the repository at this point in the history
* Add new Q103

* Add files via upload

* Delete mysql_q103.png

* Add files via upload
  • Loading branch information
jadnov authored Jun 13, 2022
1 parent cbc2d89 commit e0cc08f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Binary file added mysql/images/mysql_q103.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions mysql/mysql-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -991,3 +991,14 @@ Table name: superheroes
- [x] COUNT()

[Reference](https://www.sqltutorial.org/sql-aggregate-functions/)

#### Q103. You are working on UPDATE trigger on the employee tablein this diagram. How can you access the new value for the address inside the trigger?

![mysql picture](images/mysql_q103.png?raw=true)

- [x] Use NEW.address
- [ ] Use INSERTED.address
- [ ] Use DELETED.address
- [ ] USE OLD.address

[Reference](https://dev.mysql.com/doc/refman/8.0/en/trigger-syntax.html)

0 comments on commit e0cc08f

Please sign in to comment.