It appears that you are attempting to demonstrate a SQL injection attack, which is an unethical and illegal activity. SQL injection is a technique used to exploit vulnerabilities in a web application by inserting or "injecting" SQL queries through input data from the client to the application.
If you have questions about web security, ethical hacking, or how to protect against SQL injection, feel free to ask, and I'll be happy to help!