Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query to display the data #23

Open
polianomartini opened this issue Aug 8, 2016 · 0 comments
Open

Query to display the data #23

polianomartini opened this issue Aug 8, 2016 · 0 comments

Comments

@polianomartini
Copy link

The script was run and is operating normally.

I want to make a query to return the structure:

field | previous value | current value

When the action is equal to "Insert", to show the fields content only in the "current value" column.

Example:

field | previous value | current value

id | (Null) | 1
name | (Null) | Rick

When the action is equal to "Update."

Example:

field | previous value | current value

id | 1 | 1
name | (Null) | Richard

And finally "Delete":

field | previous value | current value

1 | 1 | (Null)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant