It looks like you're new here. If you want to get involved, click one of these buttons!
I want to take a value from the user and then display all records from a table in SQL where <some value> = value given by user.
For taking input, you could do:
query = input("please enter a query: ")
And SQL part, I do not know about it. Sorry.