Store SQL query in a variable and resuse it
with supp as ( Select Fieldname From Table WHERE Something ) SELECT * from supp where FieldName = 1