Skip to content

MySQL - notes and maybe one wrong answer #6513

Open
@mmm4m5m

Description

@mmm4m5m

I'm submitting an ISSUE: please check one with "x"

  • Missed questions/answers

Q7 and Q114 - duplicate questions
Q14 and Q90 - duplicate questions
Q100, Q104, Q105 - similar questions


Q115 - looks like the answer should be (1) GROUP_BY


Q97. Why would you use stored FUNCTIONS?
[ ] 1 for formulas and business rules that you want to apply to columns in an SQL query
[x] 2 for formulas and business rules that should be applied on a specific trigger event like on inserts

I wonder why (2) is the correct answer? Why not answer (1)?
It is about functions. In the trigger I have all the data and I do not need to pass function parameters, I can use a procedure in that case.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions