I have a string in which i am using string formatting:
'SELECT {} FROM {} WHERE country={} AND \{\}'.format("apples", "tables","home")
Currently this doesnt work though; How to escape the { and } so that the string prints:
SELECT apples FROM tables WHERE country=home AND {}
?